Posts Tagged ‘Domi’

XSL Style Sheet to find the minimum and maximum values from a XML node list

Lets say you have a XML node list of timestamps or numbers and you want to display things like the oldest date, newest date, lowest number, largest number. Using XSL Style Sheets you can do this.

Read the rest of this entry »

XSL style sheet template to format a phone number

I store phone numbers in the database as 10 digit numbers. My PHP framework pulls a phone number from the database and attaches it to XML using Domi. Then I have the XSL style sheet format the phone number for me using a xsl:template.

Read the rest of this entry »

How to create a Select list of numbers in an XSL style sheet

While creating a XSL style sheet I needed a select in my form that had the numbers 1-100. I needed a way to get this done without writing 100 options lines. My solution was to write an XSL function, otherwise knows as a template.

Read the rest of this entry »

PHP Script to get Hosting and Expiration Date for a domain from the Internet

Here is the scenario, I have a Page that displays client information including the clients domain, hosting, and expiration date for the domain. The problem is that the hosting and expiration for the domain were not given by the Client only the domain. Instead of having an employee go out to the Internet each time [...]

Read the rest of this entry »

Duel order forms with different structures and naming conventions

On my old selling site when an order was completed the data is put into a serialized array. On the ‘new client’ page of the admin site I have a drop down of the clients who have completed an order.

Read the rest of this entry »

Software Frameworks

Framework – reusable abstractions of code wrapped in a well-defined API(application programming interface). My experience with software frameworks.

Read the rest of this entry »
 
Stop SOPA!

SOPA breaks our internet freedom!
Any site can be shut down whether or not we've done anything wrong.

Stop SOPA!