Forum Moderators: coopster

Message Too Old, No Replies

PHP frameworks

         

coopersita

6:44 pm on Sep 21, 2007 (gmt 0)

10+ Year Member



Hi all,

I was trying to learn Ruby on Rails, but the main obstacle I found was that I now have to learn Ruby. It got me thinking that it would be great if there was something like it for PHP.

I was searching about, and found CakePHP. I just wanted to get some opinions on it.

Is it just like Ruby on Rails?
Are there other php frameworks?
What are your general thoughts on a framework for PHP?

Thanks

dreamcatcher

7:40 pm on Sep 21, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Code Igniter is another popular one:
[codeigniter.com...]

dc

SeanW

2:04 am on Sep 22, 2007 (gmt 0)

10+ Year Member



Smarty is less of a framework, more of a template engine. Not a big fan of frameworks, they often involve much more overhead than is needed, and hide complexity that I sometimes like exposed.

I like template engines better because the real problem I'm trying to solve is separating presentation and logic.

Another framework is Symphony. Never looked deeply into it, just once had to set up an app someone had written for us using it. Just reinforced the comments I made above :)

Sean

[edited by: SeanW at 2:05 am (utc) on Sep. 22, 2007]

cdmn

1:38 pm on Sep 22, 2007 (gmt 0)

10+ Year Member



RoR is a framework based on MVC pattern. So, just google for PHP frameworks based on MVC to.

Lost of new frameworks based on MVC are now coded to be as RoR.

[edited by: coopster at 2:01 am (utc) on Sep. 23, 2007]
[edit reason] removed link to non-authoritative site [/edit]

vincevincevince

1:49 pm on Sep 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you want to use CakePHP then be very very careful about the license. If you're doing open source / freeware or something like that then you'll be fine.