Jump to content

Advantage to using frameworks, such as CakePHP or SymFony?


inVINCEable

Recommended Posts

Is there a true advantage for the lone developer in using a framework such as CakePHP? My intent is to create a social networking site that will be fairly basic, but have some Ajax features implemented.

 

using a framework such as CakePHP, will this slow down queries, etc?

 

 

Any input on advantages/disadvantages of developing with queries would be wonderful.

 

Thanks.

Frameworks, such as CakePHP, are great for rapid development. They have many features to help you remove the monotony of things like validation, forms, queries, etc, as well as helping you to organize your code more efficiently (CakePHP is MVC). The major disadvantage to such a framework is speed - the extra code slows down your application, so you should weigh what you really care about, blazing fast loads or blazing fast development.

 

To me the speed hit isn't too bad at all. A framework in my mind is a handy tool you shouldn't pass up if you're not trying to learn PHP or if you're in a rush. If you don't like other people's code write your own framework or tweak theirs, it's the beauty of open source and CakePHP being under the MIT license.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.