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

DebianDog Is a Useful Pocket Pup

The earlier versions of DebianDog work flawlessly, but the latest release seems to suffer from some work-in-progress flaws. I had very little trouble running the default software as-is. When I changed system settings or configured applications a certain way, those changes either did not work or were accompanied by a variety of glitches. I also had some trouble getting the persistent memory options to work. A related problem was setting up the personal save storage file. These issues cropped up or did not appear at all, depending on the hardware I was using. I used the same boot CD and bootable DVD drive on all of my test computers. DebianDog Linux is a good alternative for Linux users looking for something different. It is a very good OS choice if you work on multiple computers or travel around to various work locations and want all your work files on the same OS configuration that you carry in your pocket. DebianDog can be a very workable alternative to lugging a laptop around. Read more

Princeton University’

Missouri vs Ole Miss Live Streaming Minnesota vs Penn St. Live Streaming Villanova vs Creighton Live Streaming Miami (OH) vs Bowling Green Live Streaming Robert Morris vs Sacred Heart Live Streaming Cleveland St. vs Youngstown St. Live Streaming Louisiana Monroe vs Appalachian St Live Streaming

Leftovers: OSS

  • Diving into Drupal: Princeton’s Multi-site Migration Success with Open-source
    Princeton University’s web team had a complex and overwhelming digital ecosystem comprised of many different websites, created from pre-built templates and hosted exclusively on internal servers. Fast forward six years: Princeton continues to manage a their multisite and flagship endeavors on the open-source Drupal platform, and have seen some great results since their migration back in 2011. However, this success did not come overnight. Organizational buy-in, multi-site migration and authentication were a few of the many challenges Princeton ran into when making the decision to move to the cloud.
  • GitHub Invites Developers to Contribute to the Open Source Guides
    GitHub has recently launched its Open Source Guides, a collection of resources addressing the most common scenarios and best practices for both contributors and maintainers of open source projects. The guides themselves are open source and GitHub is actively inviting developers to participate and share their stories.
  • Top open source projects
    TechRadar recently posted an article about "The best open source software 2017" where they list a few of their favorite open source software projects. It's really hard for an open source software project to become popular if it has poor usability—so I thought I'd add a few quick comments of my own about each.
  • Dropbox releases open-source Slack bot
    Dropbox is looking to tackle unauthorized access and other security incidents in the workplace with a chatbot. Called Securitybot, it that can automatically grab alerts from security monitoring tools and verify incidents with other employers. The company says that through the use of the chatbot, which is open source, it will no longer be necessary to manually reach out to employees to verify access, every time someone enters a sensitive part of the system. The bot is built primarily for Slack, but it is designed to be transferable to other platforms as well.
  • Dropbox’s tool shows how chatbots could be future of cybersecurity
    Disillusion with chatbots has set in across the tech industry and yet Dropbox’s deep thinkers believe they have spotted the technology’s hidden talent: cybersecurity.

Desktop GNU/Linux

  • Entroware have unleashed the 'Aether' laptop for Linux enthusiasts featuring Intel's 7th generation CPUs
  • New Entroware Aether Laptop Pairs Intel Kaby Lake with Ubuntu
    The new Entroware Aether is the latest Linux powered laptop from British company Entroware, and is powered by the latest Intel Kaby Lake processors.
  • Freedom From Microsoft v1.01
    But we can be Free from Microsoft! As we saw above, there is a powerful – and now popular movement afoot to make alternative software available. The Free Software Foundation, and the GNU Project, both founded by Richard Stallman, provide Free software to users with licenses that guarantee users rights: the rights to view, modify, and distribute the software source code. With GNU-licensed software, such as Linux, the user is in complete control over the software they employ. And as people contribute to modify Free Software source code, and are required to share those modifications again, the aggregate creative acts give rise to the availability of many more, much more useful results. Value is created beyond what anyone thought possible, and our freedom multiplies.
  • Review of the week 2017/08
    This week we had to cancel a couple snapshots, as a regression in grub was detected, that caused issues on chain-loading bootloaders. But thanks to our genius maintainers, the issue could be found, fixed and integrated into Tumbleweed (and this despite being busy with hackweek! A great THANK YOU!). Despite those canceled snapshots, this review will still span 4 revisions: 0216, 0218, 0219 and 0224. And believe me, there have been quite some things coming your way.