One nice thing about PHP is that despite its archaism it keeps growing as a language. The 5.3 release alone added anonymous functions, namespaces, consts and many internal improvements. I recently rewrote one of my projects from the 4.x era for version 5.3 and found myself thinking that I don't hate PHP so much anymore. I still don't like it either, but at least I know the language is in good hands anyway.
Ask HN: Is PHP/MySQL Still Practical for Building Web Applications?
91–100 of 104 posts
Re: Ask HN: Is PHP/MySQL Still Practical for Building Web Applications?
#92One nice thing about PHP is that despite its archaism it keeps growing as a language. The 5.3 release alone added anonymous functions, namespaces, consts and many internal improvements. I recently rewrote one of my projects from the 4.x era for version 5.3 and found myself thinking that I don't hate PHP so much anymore. I still don't like it either, but at least I know the language is in good hands anyway.
The problem is that they add them without breaking any backwards compatability, so you end up with unpleasantries like the \ namespace separator.
Re: Ask HN: Is PHP/MySQL Still Practical for Building Web Applications?
#93You can just as easily say RoR is slower (than, say, Symfony 2.0 on PHP with an opcode cache) and harder to work with (from a system administration perspective). Take a look down the top 100 website list, and of those sites that are web applications, more of them will be built on PHP than not. I don't think there's even a Ruby application among the top 100 sites except parts of Twitter, but I could be forgetting some…
It's extremely important to draw a distinction between cool and practical. HN is all about the cool new hotness. People here are always on the bleeding edge of technology, so they tend to flock towards those instead. Also, hiring PHP developers is easier than developers. There are just more people with PHP knowledge. Not saying that is a good reason to use a language, but it is a factor.
Re: Ask HN: Is PHP/MySQL Still Practical for Building Web Applications?
#94Earlier quoted context omitted.
Seconded, Kohana really wipes the floor with CI nowadays (this from someone still forced to maintain a couple of CI-based sites...) :P
I like Kohana much more than CI, if only for tossing PHP4 support. However, but I've found that there is lots of fragmenting in the community/documentation. See the differences between 2.3.4 -> 2.4 (lots of breaking changes) -> 3.0 (almost entirely different framework). Which is kind of a bummer when using it for long-life projects (we have a few projects are stuck on 2.3.4). That said - Symfony 2.0 looks fantastic,…
Re: Ask HN: Is PHP/MySQL Still Practical for Building Web Applications?
#95Earlier quoted context omitted.
I like Kohana much more than CI, if only for tossing PHP4 support. However, but I've found that there is lots of fragmenting in the community/documentation. See the differences between 2.3.4 -> 2.4 (lots of breaking changes) -> 3.0 (almost entirely different framework). Which is kind of a bummer when using it for long-life projects (we have a few projects are stuck on 2.3.4). That said - Symfony 2.0 looks fantastic,…
Exactly the same story here. Our primary product is stuck on Kohana 2.3.4 because of the lack of care that the Kohana team put into backwards compatibility. I wouldn't be surprised if they decide to essentially rewrite things again in the future either. If I could go back in time, I'd pick something else.
They just make the framework better with every new version, although in case of Ko3 minor versions are backward compatible (for example 3.0.8 with 3.0.1., but 3.1.0 will not be, at least concerning the response object and the ORM logics).
Re: Ask HN: Is PHP/MySQL Still Practical for Building Web Applications?
#96Earlier quoted context omitted.
Seconded, Kohana really wipes the floor with CI nowadays (this from someone still forced to maintain a couple of CI-based sites...) :P
I like Kohana much more than CI, if only for tossing PHP4 support. However, but I've found that there is lots of fragmenting in the community/documentation. See the differences between 2.3.4 -> 2.4 (lots of breaking changes) -> 3.0 (almost entirely different framework). Which is kind of a bummer when using it for long-life projects (we have a few projects are stuck on 2.3.4). That said - Symfony 2.0 looks fantastic,…
Re: Ask HN: Is PHP/MySQL Still Practical for Building Web Applications?
#97Earlier quoted context omitted.
The problem is that they add them without breaking any backwards compatability, so you end up with unpleasantries like the \ namespace separator.
On the other hand breaking compatibility the way they did with Python 3 is reckless. Ask someone who has a huge code base with, say, test scripts that do 'print' a lot if they are eager to switch to Python 3.
Re: Ask HN: Is PHP/MySQL Still Practical for Building Web Applications?
#98Re: Ask HN: Is PHP/MySQL Still Practical for Building Web Applications?
#99PHP is totally fine. The question is more: Do you like, do you want to work with PHP, or do you want to work with Python, Ruby, Smalltalk, Lisp, etc.
Re: Ask HN: Is PHP/MySQL Still Practical for Building Web Applications?
#100Earlier quoted context omitted.
I like Kohana much more than CI, if only for tossing PHP4 support. However, but I've found that there is lots of fragmenting in the community/documentation. See the differences between 2.3.4 -> 2.4 (lots of breaking changes) -> 3.0 (almost entirely different framework). Which is kind of a bummer when using it for long-life projects (we have a few projects are stuck on 2.3.4). That said - Symfony 2.0 looks fantastic,…
Exactly the same story here. Our primary product is stuck on Kohana 2.3.4 because of the lack of care that the Kohana team put into backwards compatibility. I wouldn't be surprised if they decide to essentially rewrite things again in the future either. If I could go back in time, I'd pick something else.