OK im trying to decide which PHP framework to start to learn/use and after some research ive boiled it down to these:http://www.symfony-project.com/http://zoopframework.com/http://www.cakephp.org/anyone recommend/used one of these? Why? thanks in advance for saving me time
1/3/2007 4:12:29 PM
what are you trying to do?if you're using a framework, chances are you're trying to build something scalable. if you're trying to build something scalable, chances are you don't want to use PHP. Try J2EE or .NET.if you want something up quickly, and you're just getting onto the scene, learn you some Ruby on Rails.
1/5/2007 12:11:27 AM
^bull. PHP is incredibly scalable. The only reason to move to .NET or J2EE is if you want to scale outside of a web application. If it's web-only, PHP will be faster, have less overhead and be a lot cheaper to implement.
1/5/2007 12:24:36 AM
personally i'd use symfony, looking at it for use in a php site i'm working on right now
1/5/2007 12:27:01 AM
^^^yea that scalable comment is not true. With database driven websites the scalability wont have anything to do with php vs j2ee. I will never use .NET by choice.I am very good with PHP, so dont feel like learning another lang. that is similar. I tried ruby on rails for a bit and did not like it.I chose Cake and have been working with it extensively the past 2 days. I am very impressed, and am going to stick with it.ps - yahoo uses PHP all over the place. So its proven to be scalable.[Edited on January 5, 2007 at 5:17 PM. Reason : good at php, but not english]
1/5/2007 5:17:19 PM
^^^PHP is an interpreted language, while Java and C# are executed by JIT compilation. This means that for every pageview you're having to lex the source while Java and C# will have this cached.Faster? no.Less overhead? more, in fact.Cheaper to implement? yes, in terms of developer time * salary.
1/15/2007 4:21:58 PM
You need to do some research into Zend. Zend Optimized binary php runs significantly faster than any java engine.Faster? Yes, you don't have a clue what you are talking about, as is obvious by the fact you don't know almost all commercial PHP runs the Zend suite. Less Overhead? HAHAHAHaHA, have you ever SEEN the hardware requirements for production JRE's? You need to look at some actual numbers.
1/15/2007 5:04:47 PM
I seriously doubt the claim that binary php is "faster than any Java engine", but I'll buy "as fast as".
1/15/2007 5:42:48 PM
yes, because if Java is known for one thing, it's speed
1/15/2007 5:49:20 PM
is it me or is philihp sliding a bit?
1/16/2007 8:35:32 AM
^^^Unless a lot has changed in the JRE world in the last two years, the month or so I did speed trials of 6 or 7 JVM environments against PHP with and without Zend, php was never SLOWER than any Java implementation, even without binary runtimes. Worst case PHP was within 2-3% of the runtime efficiency of any JVM I could test in 2004, and with Zend it was generally 100-300% faster. Granted my testing was very specific to the architecture I was building and it's needs, but it's a pretty standard web application in terms of use patterns.I mean, when BIG FUCKING SITES start migrating from Java to PHP, you tend to take notice and listen. When Yahoo! moves nearly all their new development to PHP, when Friendster completely scrapped their Java codebase to start from scratch with PHP for the SOLE reason of better scalability, you tend to take notice.PHP inherently scales better than Java. Well written, well organized, well optimized PHP scales MUCH better than Java.
1/16/2007 10:20:00 AM
This is false. I work with Java and PHP, and I just can't agree with you here. Is this statement your opinion? Im just askin. I just think it boils down to what you are more comfortable working with. Basically everyone knows that Java scales better than PHP. More people know Java. Java provides better separation of layers. PHP is encoded script.
1/17/2007 1:53:27 AM
1/17/2007 2:49:06 AM
Okay, well I'm going to put it like this. The two are a bad comparison simply because there are a number of different aspects of "scalability". What it all boils down to is "performance". Java beat PHP in a test,but that was using and old version of PHP (for the record). PHP has upgraded since then. Java is not good for smaller projects and PHP is, vice versa. That's why in all essence it's not a "good" comparison. Honestly, I love JSP better but that's a whole different argument.And Noen you always ask me to show articles to back up claims?!!? like you ever do. That's why I asked you "is this your opinion?"
1/17/2007 10:09:40 PM
In this case I haven't linked to articles, because I have yet to find any that show Java as a speed winner in any comparison.
1/18/2007 1:14:08 AM
1/18/2007 6:47:30 PM
that's quite the rebuttal
1/18/2007 10:19:38 PM
Funny thing is, most of the articles I posted link to several MORE articles.^^?
1/19/2007 1:39:30 AM
like I said, none is "better" than the other. Certain people like certain tools and there you have it. I could summon just as many biased articles supporting Java. It's just like partisan politics comparing these two. Oh the mighty powers of google.
1/19/2007 1:55:02 AM
1/19/2007 7:42:34 AM
i love watching Noen get riled up
1/19/2007 9:03:35 AM
1/19/2007 12:06:15 PM
lol, Noen you tickle me pink!! You try so dad-gom hard my ignorant friend. I'm going to skip your first article because it's a blog just to avoid biaseness from pretentious users. Now, what I'm going to do here is use YOUR articles AGAINST YOU!!I'm going to "exploit" how you are being a selective arguer in this case and only read what you desire to read, and fail to pay attention.
1/19/2007 2:51:40 PM
1/19/2007 3:12:27 PM
I like where this topic has gone, some good points. BUt just as an update to the thread - I tried symfony and cake and chose cake (cuz of the similarity to rails).Ive been using cake for about 3 weeks now and to put it modestly - it fucking rocks.Noen - u tried cakephp yet? I wanna try the zend framework as well but have not had a chance.forgot to throw in my 2cents - I would argue that the 2 are so similar in perf that it comes down to DB design and good data models. Disk is always slower than well written code - especially on a large scale db driven site.[Edited on January 25, 2007 at 6:03 PM. Reason : .]
1/25/2007 5:59:11 PM
I love working with various platforms. I feel that it helps alot to get a feel for more than one. But I know a ton of knowledge about them.
1/25/2007 9:27:03 PM
found this benchmark for PHP frameworks. Note that Zend doesnt give you as much functionality right out of the box, so keep that in mind when reading numbershttp://paul-m-jones.com/blog/?p=238
2/8/2007 11:36:41 AM