Which PHP5 Framework is Your Favorite? 138
matt_j_99 asks: "With all the talk about Ruby on Rails, I've been thinking about PHP frameworks. Ruby on Rails looks pretty cool, but frankly, I don't want to learn a new language. It seems that with all the slashdot discussion about RoR, somebody always makes the valid point that PHP is not a framework. But with PHP5's, Object Oriented features, a standard framework might emerge. Prado, Carthag, BlueShoes, and PHITE all seem like interesting frameworks. What PHP frameworks have you used in your applications? What were the pros and cons of each? Which framework do you think will have the best chance of long-term viability and maintenance?"
yet another framework (Score:3, Informative)
Re:Which PHP5 Framework is Your Favorite? (Score:3, Informative)
+5, Awesome
eGroupWare, of course! (Score:4, Informative)
After searching all over for several weeks, I chose eGroupWare [sourceforge.net]. Their "etemplates" framework settled the issue for me.
Ruby is a passing fad, a PhD's toy (Score:2, Informative)
Yes, sure, if you worry about "metaprogramming", "refactor object fields", or "Exposes variables vs. variable references", then Ruby is the language for you, but... how about Oberon? Now that's one language I'm sure you'll love!
OTOH, if you aren't in an ivory tower and have to program for a living, then PHP is like C, a language the "perfessors" hate,but it keeps working just fine for the 99.5% of us.
Ruby resources (Score:4, Informative)
Heh, well, no offense but, people that use to reply like you haven't tried Ruby, or don't understand it. Otherwise you would be in love with it already.
We cannot compare PHP and Ruby. It's like comparing BASIC and Perl, you get the idea. Remember when you discovered Perl and all its magic? Well, that's what happens when you get into Ruby. It's a true object oriented and dynamic language ready for real applications.
This might or not make sense to you. It depends on the use you are giving to your language of choice. If you write one-liners in Perl, you might not feel motivated to move to Ruby. If you are writing templates in PHP for your web applications and you're doing fine, you might not need Ruby either.
You see the light :) when you want to write OO applications/scripts. PHP used to have an awful hack (I haven't seen PHP 5), so does Perl 5. Python would be your choice, but for some reasons I cannot explain (yes, this is subjective) Ruby feels more natural.
Ok, I have fallen again in the "I love Ruby so much" that gets you so bored. So, here is some homework for you (some very nice presentations and small articles):
Ruby: A transparent, object-oriented programming language [pragmaticprogrammer.com]
10 Things Every Java Programmer Should Know About Ruby [onestepback.org]
The Ruby Programming Language [informit.com] (by Matz, Ruby's author)
Thirty-seven reasons I love Ruby [rubyhacker.com]
Blocks and closures in Ruby [artima.com]
Re:Which PHP App? (Score:3, Informative)
http://php.net/pdo [php.net]
"Namespaces? Why would anyone need that?"
it's coming [beeblex.com]
"Design patterns? What are those?"
http://php.net/language.oop5.patterns [php.net]
http://phppatterns.com [phppatterns.com]
php|architect's Guide to PHP Design Patterns [phparch.com]
"Security? If it's a problem, we'll fix it later."
http://php.net/security [php.net]
(Almost all of PHP's historical security problems have been third-party.)
S