Looking for a photo gallery?

Posted by Stu @ 2:09 AM, Mon 03 May 04

Filed under: Photography,PHP

No Comments

I\’ve just committed an ebuild for mypictures. It\’s a simple but effective photo gallery. I\’m using it myself for my own photo gallery. If you need something to publish your photos, give it a try.

Comments Off

Don\’t overlook PHP in the Enterprise

Posted by Stu @ 10:48 PM, Sun 02 May 04

Filed under: Linux,PHP

No Comments

One of the things in life that I\’ve never been able to understand is the amount of outright hostility there is against PHP.

I can understand there being hostility against a lot of the software floating around that\’s been written in PHP. The PHP community has a well-earned reputation for badly designed and buggy software, and much of this is because many of the people writing PHP do not have a software engineering background. That said, there\’s a huge amount of excellent PHP software too, and the improvements that PHP 5 is going to deliver can only help. Exceptions will finally leave PHP programmers with no excuses (except a lack of professionalism) for producing software that isn\’t robust. And interfaces will (I hope!) finally encourage PHP programmers to standardise how important tasks such as authentication are done, so that it\’s a lot easier to aggregate two or more separate PHP programs into a single site.

The hostility I keep coming across is at the very idea of using PHP.

A lot of it is sheer ignorance from people who should know better – people who are happy to pass themselves off as \’experts\’ in one field or another. They\’ll happily sit in IRC chat rooms, and proclaim that PHP suffers from all sorts of imaginary evils. They\’re not speaking from their own experience – they never use PHP. So where do they get these impressions from? I actually know people who go out of their way to avoid using PHP and software written in PHP. What is it that they are so afraid of?

I have no idea.

It\’s true that many programmers – and many organisations – get hung up on the idea that the same technology should be used everywhere. No matter what the cost, no matter what the problems. Some companies – and I\’ve been unfortunate enough to work for at least two firms where this has happened – refuse to change technologies even when the end-product is suffering.

Any entrenched position on technology just turns today\’s leaders into tomorrow\’s dinosaurs.

There\’s no reason to be afraid about accepting PHP into the enterprise. Or into your programmer\’s toolbox. The runtime environment is simple to deploy, has zero maintenance, and is robust. Security problems are rare, and are quickly addressed when they are reported. Performance is good (although it could always be better) and runtime overheads are low. PHP is certainly suited to high traffic / high volume sites, something that has been proved time and time again. The language itself is sensible, with a syntax that most experienced programmers will have no trouble at all in picking up. One really practical feature is that you can mix both object-orientated and traditional procedure-based programming as you wish. PHP doesn\’t force you to do things the one way. It comes with a rich runtime API, and probably the best online manual for any programming language in use today. The productivity of PHP programmers is high, and like any language the quality of the code is down to the quality of the programmer at the keyboard.

So the next time you start to say \’No\’ to a PHP solution, take a good look in the mirror and ask yourself whether you\’re one of tomorrow\’s leaders – or one of tomorrow\’s dinosaurs.

Comments Off
« Previous Page

This Month

April 2014
S M T W T F S
« Dec    
 12345
6789101112
13141516171819
20212223242526
27282930  

Recent Comments