I have three years of experience in developing application in PHP.
From last one and half year i am working with rails.
i found me very comfortable with rails. In PHP we cannot develop app
with test cases and test driven. and every PHP guys have his own style
to write a code or develop applications.
This horse has been beaten to death already so many times that this is just a pointless discussion.
Besides, the MVC frameworks for PHP, whether that’s Symphony or CakePHP or Framework X also have a testing framework built-in and also make you follow a certain convention.
Is PHP bad? No. Will I ever use it again? I certainly hope not. I feel more productive and comfortable with Rails and especially Ruby.
I did an extensive research on web frameworks last year before
starting a project and concluded that the more powerful, productive
and fun one was RoR. But we cannot simply dismiss PHP as crap.
Nowadays it really sucks, but back in 1998 it was absolutely
amazing!!! I implemented a whole e-Learning system based on it and it
was such a fantastic tool. I simply would not have made it without
PHP.
PHP was a pioneer that actually revolutionized web development.
But we cannot simply dismiss PHP as crap.
Nowadays it really sucks
Dont these two statements kinda contradict each other?
PHP was a pioneer that actually revolutionized web development.
A lot of the PHP frameworks like symfony have used a lot of good ideas
from RoR and Django. While RoR is very nice (I like it!), I would not
automatically dismiss all other frameworks either.
Its also a little bit disingenuous to compare RoR (i.e. a framework) with
PHP (a language).
As in all of these kinds of discussions its possible to write bad code in
*any* programming language.
Nothing is invented via TDD. That would be TDI But I don't know
the answer to your question. You could check the code base and see
what kind of test suite there is or isn't.
Also, what's the relation between PHP and Perl? Is it a fork of
Perl? If so, why?