SEO, PHP and Javascript Web Dev

Search Engine Optimisation, Web Development and Network Administration Ramblings

17  08 2008

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 (mptt structure) in order for this to work.

Read more…


12  08 2008

Tip of the week : CakePHP deployment errors

If you have set cakephp up so that DocumentRoot of apache is pointing to app/webroot/ you might have encountered a couple of errors like these - not the first time you set it up, but consequent attempts to remove and replace the files.

Read more…


31  07 2008

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 the web framework within the UK.

Read more…


30  07 2008

Tip of the Week : CakePHP redirect to admin methods

If you have admin routing set:

Configure::write('Routing.admin', 'admin');

Redirecting between admin_* and non admin functions inside the controller, or linking to admin_* functions from non admin views can throw an error unless you pass an admin variable in the URL.

Read more…


27  07 2008

Geek Must Have : Autonomous Paintball Sentry

Not exactly web development related, but this is certainly one of the coolest toys I’ve seen in a while - and its hilarious seeing this guy test it out for your entertainment, especially the trampoline bit.

You’d want to be pretty sure it didn’t target your pets though…


Next Page »
-->
  • Photography