First of all I'd like to suggest a silent death for this thread. It has been
very popular, as such threads often are, but most of us know how easily
comparisons between languages of choice lead to flames. This list has so far
been very well behaving, and I for sure would like to keep it that way.
However, since I did not get my word in on the (off)topic yet, here goes, in
reply to Christopher:
> From: Christopher Jordan
> The other thing I find a pain in the rear to do in PHP is deal with
> databases. Take for example this:
-- snip a huge deal of down-to-roots code about connecting to db with PHP --
I hope you realize, that not really anyone, except when dealing with really
tiny apps, does that stuff by hand with PHP anymore? The new frameworks,
such as CakePHP have really brought the whole language to another level, and
you can get (RoR style) huge chunks of data off your database just by doing
something like
$this->Customer->find("id='7'"), automatically fetching related associated
data from other tables automatically formatted in nested arrays ready to
use. And that's just for starters without even going into deeper stuff. Even
if you did do something smaller you'd propably end up using some other
database abstraction stuff (PEAR, ADODB), so you could as well use DSN's and
ODBC, if you wish. I will not go to compare with CF at all, since I know
practically null about it. I would like to point out, however, that PHP with
a framework such as CakePHP gets closer to rapid development than anything
I've ever seen. Add jQuery and you're in heaven. People who use(d) PHP like
it was in 3.0 ought to have a new look.
It is obvious that most developers like their choice of language the best,
which is perfectly understandable. It's also pretty obvious that once you
know one language well enough, you can do stuff very easily with it, and
thus other languages, which you know less, seem really difficult and
cumbersome. It doesn't, however, really mean they actually are.
Doing objective comparing of programming languages is next to impossible,
so, in my opinion, we should not do it unless we are really sure we can do
it in an objective manner. Feel free to say out your opinions, but please
try to refrain from giving out "advice" that might be outright wrong or
misleading. It's not good for you, the person asking the questions, or this
list for that matter.
And I'm definately not trying to flame anyone, apologies if I accidentally
did :)
--
Suni
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/