inblues — 2010-12-29T11:20:52-05:00 — #1
Hi, i'm planning to develop a site using php. Need advice which framework is good. Pros and cons will be good. Thanks
michael_morris1 — 2010-12-29T12:57:19-05:00 — #2
Different frameworks are designed for different purposes. Some try to turn PHP into Ruby (Cake, to a lesser extent Symphony), others are very generic and can be applied in a lot of different scenarios (Zend). Some are very specialized (Joomla or Drupal's internal frameworks). Some are loosely coupled, meaning you can port their pieces to other projects easily, while others are strongly coupled, meaning their pieces and components don't work (or work well or easily) individually.
So without knowing what you are going to do any recommendations aren't going to be useful. There's no 'one size fits all' shoe.
inblues — 2010-12-29T13:09:24-05:00 — #3
I plan to develop a site that have MVC architecture (joomla like) but it's business application, so that i can install my plugin, module and etc. In this case, which framework you will recommend?
pcspectra — 2010-12-29T16:20:43-05:00 — #4
Based on your limited input, I would strongly suggest Joomla (if MVC is of importance) or Drupal if quick and dirty is acceptable.
inblues — 2010-12-31T05:02:38-05:00 — #5
The web apps that plan to develop will be like zoho. I'm not sure joomla can be applied. As far as i understand, joomla is like a CMS and not a php framework.
michael_morris1 — 2010-12-31T10:01:34-05:00 — #6
Joomla's CMS sits on a custom MVC layer. It is possible to use that layer without the CMS layer.
pcspectra — 2011-01-01T22:36:37-05:00 — #7
Joomla has a nice component architecture which allows you to add or remove components, probably even the CMS portion of it if really desired - might cause issues though.
inblues — 2011-01-01T22:41:58-05:00 — #8
what php framework you recommend? To develop business application like zoho?
dimis283 — 2011-01-04T03:22:30-05:00 — #9
I do not have experience with joomla or drupal but I have this question.
If you will extend drupal or joomla, is not ( your application) be faster if you use a framework like yii for example having just the things that you want as you want them even with joomla for example some things will be ready?
If you will not use drupal or joomla maybe you will look at yiiframework.com
samhaienator — 2011-01-04T03:43:56-05:00 — #10
scallioxtx — 2011-01-04T03:57:40-05:00 — #11
Smarty is not a PHP framework, it's a templating engine.
sunwukung — 2011-01-04T04:54:26-05:00 — #12
In a nutshell
For enterprise level apps (like the one you describe) use Zend or Symfony. The former is more flexible, has good documentation, but can require a lot of configuration - the latter has some really nice components, but again needs a fair bit of configuration and can be quite slow.
For simpler apps - use CodeIgniter or CakePHP - personally I don't like Cake, it has some nice features but has too much magic for my tastes. CodeIgniter has excellent documentation and it's huge community is a great resource for troubleshooting.
There are other frameworks to consider - but I only have experience with these.
Personally, given your requirements, I'd go with Zend
inblues — 2011-01-04T07:20:01-05:00 — #13
Hi sunwukung, thank you so much for your experiences and tips. It's really help to make decision. Thanks again!
michael_morris1 — 2011-01-05T10:08:42-05:00 — #14
:rolleyes: smarty is the worst possible thing you can do to yourself or your code. I've ranted on it before so I'll leave it at that. :nono:
michael_morris1 — 2011-01-05T10:09:16-05:00 — #15
And an extremely poor bug ridden one at that.
furicane — 2011-01-05T10:40:07-05:00 — #16
I've to agree with Michael on the topic of Smarty - avoid it at ALL costs. I won't rant on it, I could write a whole page about why it's bad, from concepts to execution.
sunwukung — 2011-01-05T17:03:32-05:00 — #17
+1 for the Smarty hating - I can't stand it, what's the point of learning a sub-standard imitation of what is already an arguably ropey language! Just check out the job boards, they're positively screaming for folks with Smarty skills...
scallioxtx — 2011-01-05T18:21:04-05:00 — #18
Although a good bashing is very nice every now and then and I don't want to spoil the fun, but can we please drop the smarty thing and continue talking about frameworks? Thanks
michael_morris1 — 2011-01-06T05:29:09-05:00 — #19
I don't think PHP has a great framework, like dJango for python or Rails for Ruby. If it did I'd expect to see wider acceptance. Instead there are far more PHP frameworks than any other language and each one has its niche. I hope to see mine enter the fray this fall, and it's niche will be instruction. An instructive framework for novice to intermediate programmers to illustrate the concepts of MVC clearly. I'm personally taking clarity of code as the first concern - both in docs and in the code itself. It remains to be seen if I'll be successful.
The great part of this is that PHP has a wider variety of framework choice than any other language.
The terrible part of this is that PHP has a wider variety of framework choice than any other language.
It's easy to get overwhelmed by the choices and until you've done the large project easier still to get confused. That's why I think Gazelle (my framework project) has a niche waiting for it. I don't expect it to be the framework anyone deploys enterprise aps on like Zend or Symphony - but I do expect it to prepare programmers for the task of evaluating and choosing frameworks based on their needs.
immerse — 2011-01-06T14:42:03-05:00 — #20
Fall? Hurry up already, we're waiting
Seriously though, I'm looking forward to trying your framework.
@inblues: I just took a look at Zoho, it seems like a huge project to build something similar. I'd steer away from Joomla for this, and I'd like to suggest one of the more lower level frameworks such as Zend/ Symphony et al.
Be aware that building something like zoho, with all it's applications etc. will probably require a lot of custom work.
next page →