« June 2006 | Main | August 2006 »

July 31, 2006

Unit tests in PHP

ONLamp.com: Testing PHP Code with PHPUnit

Posted by pj at 10:14 PM

Relationship extension to FOAF

RELATIONSHIP: A vocabulary for describing relationships between people

Posted by pj at 08:22 PM

July 26, 2006

Bundle for Apache, PHP and MySQL

apache friends - xampp

Posted by pj at 11:43 AM | Comments (0)

July 19, 2006

Java bean for getting VAT values from a database table and splitting the figure over the number of transactions

InvoiceItemsVAT.java

Posted by pj at 10:35 AM | Comments (0)

JSP / XSLT combo

The following is an XSLT sheet dynamically generated from JSP and demonstrating use of <xsl:sort/> and batching:

<xsl:sort select="metadata/dc:title"
order="ascending"
data-type="text"/>
<xsl:if test="position() >= ($page * $pagesize) + 1">
<xsl:if test="position() <= $pagesize + ($pagesize * $page)">
<xsl:apply-templates/>
</xsl:if>
</xsl:if>

keys.xsl.jsp

Posted by pj at 10:06 AM | Comments (0)

July 18, 2006

Rounding monetary values to two decimal places in Java

/*Use banker's rounding to round the value to two decimal places. Multiply by 100 then use Math.rint to round to nearest integer, then finally divide by 100 again.*/

return(Math.rint(addedVat*100.0)/100.0);


Posted by pj at 04:15 PM | Comments (0)

July 12, 2006

Rapid Java Development Using Spring, Hibernate, Eclipse and Other Open Source Tools

Amazon.co.uk: Rapid Java Development Using Spring, Hibernate, Eclipse and Other Open Source Tools: Books: Anil Hemrajani

Posted by pj at 01:28 PM

July 04, 2006

We love PHPTAL

PHPTAL :: Template Attribute Language for PHP

Posted by pj at 01:40 PM | Comments (0)

Creative Commons UK

Creative Commons UK : CCUK

Posted by pj at 11:19 AM | Comments (0)

MSc in e-learning at Edinburgh

MSc in E-learning: about the programme

Posted by pj at 10:18 AM | Comments (0)