Language Selection

English French German Italian Portuguese Spanish

Linux is Best for PHP Development

Filed under
Software

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

Games for GNU/Linux

Linux Devices

  • This week in vc4 (2016-12-05): SDTV, 3DMMES, HDMI audio, DSI
    The Raspberry Pi Foundation recently started contracting with Free Electrons to give me some support on the display side of the stack. Last week I got to review and release their first big piece of work: Boris Brezillon's code for SDTV support. I had suggested that we use this as the first project because it should have been small and self contained. It ended up that we had some clock bugs Boris had to fix, and a bug in my core VC4 CRTC code, but he got a working patch series together shockingly quickly. He did one respin for a couple more fixes once I had tested it, and it's now out on the list waiting for devicetree maintainer review. If nothing goes wrong, we should have composite out support in 4.11 (we're probably a week late for 4.10).
  • Raspberry Pi VC4 Driver Work On SDTV, HDMI Audio & More
    Eric Anholt's latest weekly blog post on the VC4 development highlights SDTV support coming together, the Raspberry Pi Foundation contracting Free Electrons to provide more development help on the display stack, HDMI audio support for VC4 DRM driver continuing to inch along, DSI fixes, some code generation improvements for VC4 Gallium3D, and other work.
  • Rugged Skylake embedded PC has wide range power
    Axiomtek’s “eBOX565-500-FL” computer runs Linux or Windows on dual-core Intel 6th Gen CPUs, and offers four USB 3.0 ports and wide-range power. The eBOX565-500-FL updates the two-year-old eBOX560-880-FL embedded PC, which provides dual-core Intel 4th Gen “Haswell” Core and Celeron CPUs. The very similar eBOX565-500-FL instead taps the 14nm Intel 6th Gen “Skylake” ULT processors, once again offering two dual-core options: the 2.4GHz Core i5-6300U and the 2.0GHz Celeron 3955U.

Servers/Networks

  • Docker acquires file syncing and sharing app Infinit, will open-source the software
    Docker, the startup that pushes open source software for packaging up code into containers that can be deployed on many machines, today announced its latest acquisition: file transfer app Infinit. Yes, that’s right, Docker bought a company with a consumer-friendly app. It lets you sync files to your other devices or send them to others.
  • How Virtualized Networks Will Save Us From Dropped Calls
    We’ve all been the victim of a dropped mobile phone call and know how frustrating it can be. However, virtualized networks provide network operators with powerful tools to detect and recover from network disruptions, or “faults,” that can drop calls for thousands of subscribers simultaneously. The Open Platform for Network Functions Virtualization (OPNFV) project together with OpenStack have developed features in software that add resiliency to mobile networks and enable them to recover from network and other outages.
  • It’s Brexploitation! Microsoft punishes UK for Brexit with cloud price-gouging
    “My own story would not have been possible but for the democratizing force of Microsoft technology reaching me where I was growing up,” CEO Satya Nadella told shareholders this week. But the price of that “democratizing force” is about to go up, with Britons uniquely singled out. Microsoft has reiterated to Azure customers that prices will go up by 22 per cent from January 1st. The problem? The price rise is far greater than any exchange rate post-Brexit fluctuations might justify. Microsoft’s biggest European data centre is in Dublin, a member of the Euro currency. The Euro hovered around €1.28 to one pound for the first six months of the year, before crashing after Brexit. It’s now €1.19, a depreciation of just 9 cents, or 7 per cent. The value of the British pound has weakened more dramatically against the US dollar, dropping by 18.9 per cent since 24 June - the day after Brits voted to leave the EU. For new Office or Azure cloud customers in the UK, no exchange rate can justify any price rise at all. In September, Microsoft made Azure available in UK data centres.

Android Leftovers