Language Selection

English French German Italian Portuguese Spanish

Linux is Best for PHP Development

Filed under

It's been a few years since I echo'd my first HELLO WORLD script. PHP has developed and evolved and yes, it has changed since it was first devised as little Perl extensions on Rasmus Lerdorf's localhost. Still, for a little Home Page script, it has grown into something that is now used on over 200 million websites around the world. That is nothing to be scoffed at. In this article we'll discuss the two most important things we should try to remember when developing in PHP.

While we all know that PHP is not perfect, I seriously doubt that anything can be done about that right away. That said, there are not many languages that can run pretty much the same in version 6 as they could in version 3 (Yes, I did read what I just said, and I have an old php3 script that still runs on PHP 5, and should run on PHP 6, ok? Ok.) Development in PHP is always a tricky road to follow considering that you are developing something that will not usually run on a server that you have real control over--unless you are lucky enough to be able to afford your own server--and be viewed on a multitude of browsers that all display elements differently, anywhere in the world, over a connection that is usually shakey at best.

Knowing all of this, what are the two most important things we should we try to remember when developing in PHP?

Rest Here

re: PHP Dev

Hopefully the guy writes code better then he does articles.

The guy's premise is that Linux is better for dev work. As his proof, he rattles on about mixed case differences between Linux and Window platforms. Then he throws in that your code is most likely to land on a *Nix box. Really?

That's it? One reason - and it's case handling?

With such underwhelming arguments it's safe to say I'm not convinced (especially since we do pretty much ALL our dev work on Window workstations for code that run's on Linux clusters - why you ask? - because the IDE, Dev, and Debug tools are WAY way WaY wAy WAy waY Way better).

Plus it's a moot point anyways because you can always run your target server in a VM on whatever platform you dev on.

It's "WAY way WaY wAy WAy waY Way better"?

OK, I'm convinced. Who can repute such a strong argument.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

An Everyday Linux User Review Of Chakra Linux 2015.11 "Fermi"

Chakra probably also isn't for you if you are a casual computer user who has chosen Linux because you prefer it to Windows but you still like it to be straight forward with perhaps menus, point and click installers and straight forward connections to your hardware. Chakra might be for you however if you have been using Linux for quite some time and you are looking to have more control, use the command line a little more and have a closer affinity with how things really work. Read more

What is hacker culture?

Eric Raymond, author of The Cathedral and the Bazaar (an important work describing the effectiveness of open collaboration and development), recently wrote a piece calling for "Social Justice Warriors" to be ejected from the hacker community. The primary thrust of his argument is that by calling for a removal of the "cult of meritocracy", these SJWs are attacking the central aspect of hacker culture - that the quality of code is all that matters. Read more