SEO, PHP and Javascript Web Dev

Search Engine Optimisation, Web Development and Network Administration Ramblings

Translate a nested heirarchical array into another heirarchical array

Yes, that does sound like a pointless title. Let me explain the situation, we have a self referential model, Pages, which has child pages and a parent page. Because I’m using CakePHP for this project I have added the Tree Behaviour to the model also which is really handy, but you don’t need that behaviour […]

Comparing web development frameworks by Opportunity

Graphs provided by IT Jobs Watch.
Demand chart provides the 3-month moving totals beginning in 2004 of IT contractor jobs citing the web framework, within the UK as a proportion of the total demand within the Application Development category.
Daily rate charts provide the 3-month moving average for daily rates quoted in IT contract jobs citing […]

Debate Composition for a Free Sitewide Link - PHP5 Patterns

Using the composition pattern to generate, clean, well organised, flexible object orientated PHP code is a popular method with todays web programmers. Below is an example of two possible approaches to store a reference of one object to another - a form of composition.
To inspire some interaction we will give the best comment to […]

Validate Unicode/UTF-8 Form Input (Language Specific Characters)

Validating language specific characters in user input can be a bit of a pain, especially if you are using regular expressions to filter user submitted data.
Not only that, but testing your methods can also be a pain - firstly you will need some shortcuts for entering UTF-8/Unicode chars into form inputs if you […]

PHP Error Handling Class

Error handling is obviously fairly important so I have finally invested time into a custom error handling class for PHP 4 and above. It is a fairly small and simple class (only about 150 lines), I’m quite happy with it so far, of course you can download the class below and try it out for […]

Next Page »
-->
  • Photography