Forgot your password?
typodupeerror
PHP Programming Upgrades

The New PHP 254

Posted by Soulskill
from the less-filling-tastes-great dept.
An anonymous reader writes "This article at O'Reilly Programming suggests that PHP, a language known as much for its weaknesses as its strengths, has made steady progress over the past few years in fixing its problems. From the article: 'A few years ago, PHP had several large frameworks (e.g. CakePHP, CodeIgniter, and so on). Each framework was an island and provided its own implementation of features commonly found in other frameworks. Unfortunately, these insular implementations were likely not compatible with each other and forced developers to lock themselves in with a specific framework for a given project. Today the story is different. The new PHP community uses package management and component libraries to mix and match the best available tools. ... There are also exciting things happening with PHP under the hood, too. The PHP Zend Engine recently introduced memory usage optimizations. The memory usage in PHP 5.5 is far less than earlier versions.'"
This discussion has been archived. No new comments can be posted.

The New PHP

Comments Filter:
  • Re:One question (Score:5, Informative)

    by dackroyd (468778) on Tuesday March 04, 2014 @07:17PM (#46403313) Homepage

    yeah - http://php.net/password_hash [php.net]

    It's now pretty easy to do password hashing correctly.

  • by Mister Liberty (769145) on Tuesday March 04, 2014 @08:37PM (#46404105)

    Make PHP the lauging stock of many a programmer.
    The language's development has been in the wrong hands from day one.

    You can do great things in Python because of Python.
    You can do great things in PHP in spite of PHP.

  • Moving to Python (Score:5, Informative)

    by EmperorOfCanada (1332175) on Tuesday March 04, 2014 @09:06PM (#46404311)
    I have build some very large PHP based web systems(over the last 10 years) and recently dipped my toes into the Python pond. My python skills might be a tiny fraction of my PHP or C++ skills and I doubt that I am using Python anywhere near its potential, yet my productivity is already much higher and getting faster. I am waiting for there to be a catch but so far I haven't found one.

    It is shaping up to be one of these things where my only regret is not switching sooner.

    I was a huge defender of PHP for a long time but that time is over. There are interesting things like HHVM that are another bandaid for PHP but I am sick of making PHP work. I am sick of typing all those stupid dollar signs. I'll just say what so many have said before, "Python is like typing pseudo code, except you are actually coding." I don't look at my python and shudder.

    PHP reminds me of some of my own projects where I changed course many times leaving strange little architectures and changes in philosophy. The longer the project goes on and the more it changes direction the more debris it leaves behind. It is not necessarily broken just sort of all just off.

    Where Python is a tiny problem with the web is that setting up a development environment took me a tiny bit more work than the usual LAMP setup. This might make it harder for beginners but maybe that is a good thing. I don't mind leaving the beginners back in PHP land.
  • Re:Inconsistency (Score:2, Informative)

    by Anonymous Coward on Tuesday March 04, 2014 @11:46PM (#46405141)

    I agree they are incomparable. Javascript is much worse in so many ways...

Nothing will dispel enthusiasm like a small admission fee. -- Kim Hubbard

Working...