Archive for the ‘PHP’ Category

Getting started with PHP

Monday, January 17th, 2005

Well believe it or not, I’ve never had the time or requirement to get into PHP for a medium/large project.
Recently I’ve had both the time and the requirement.

Firststop was to install PHP on my OSX Powerbook.
Marc Liyanage’s excellent Mac OS packages website made that extremely easy
Just follow the instructions here

http://www.entropy.ch/software/macosx/php/

Next thing I needed was a PHP friendly editor. Since I already use Eclipse as an editor for Java, I decided on the PHP plugin.
Download it here, www.phpeclipse.de . Hasn’t got Debugging yet, but good otherwise.

Given my experience in Java web applications, I was keen to find two bits of functionality for my new PHP web application.

First I needed a templating engine, so I can do some presentation/logic separation.

I’ve decided to try smarty,
http://smarty.php.net/

Second I needed some DB abstraction, and the consensess seems to be to use PEAR, http://pear.php.net

Any other suggestions welcome

We will see how we get on!