why use php frameworks like zend or cakephp? iam not php pro, but just wanted to know more about this? and, which framework is best and easy to use?
well am using dreamwaver it made by insert/update/delete records and make login systems and validation too without writing any codes try it
This was discussed numerous times, just read the threads at the bottom and the articles they are linking to, there is some nice info there.
Why use a framework? It speeds up the development process. With cake php you can setup a simple system in a few minutes. Play around with it and see what your idea looks like with relative ease. It's more of a prototype at this point, but it helps to get a clear idea of what is possible and what isn't. Reason to use any framework is to shorten the time for development. As to which is best to use, ask somebody else. I checked Cake PHP and Seagull, but the overhead is too high for small sites. I liked Cake PHP it has a serious learning curve though and some folks can't even get it to install. Are you looking to use a framework?
I recently moved from Code Igniter to Zend Framework and I must say that both these frameworks are an effective way to get things done quickly. When the codebase is there you can put complex solutions in place very quickly. Of the two I would recommend Zend Framework with Smarty as presentation Engine.
thanks! but dont using the frameworks and smarty slow down the website loading drastically? There must be some sort of performance lag!! why i am curious is i love simple fast loading site. I have designed pages in php with just few mysql queries and voila! That is why i always very hesitatant to use them!
That is the exact reason I avoided them too. But I'm having to rethink the entire idea. Instead of having to hack together a solution for any given script, just use a framework. What I really dislike is the overhead of repeated calls to the db. And the fact that if a single call takes too long, the page won't show or the browser times outs. It's one thing for a forum to do such, but if an ecommerce site does it, they will just go somewhere else. What I like is the speed of seeing an idea fleshed out. I setup Cake PHP yesterday after posting. 30 minutes to set it up and 10 minutes to have a working example. Admittedly it was a simple example. The scaffolding idea is real good. Just have to take the time to learn more about cake. Interested in checking out code igniter too though.