I'm looking to get several sites developed and am wondering whether it will be cheaper overall to get them developed in a framework or in straight PHP.
I have ideas for several types of social sites with the following parts: Wikis, tagging, voting, and commenting, very simple blogging. I would like to re-use the components across these sites.
I made a decent start on one site but I'm really not moving fast enough. And as an untrained, mostly spaghetti code PHP programmer I'm afraid my code wont be taken seriously if I want to open the source up to outside contributions.
I understand MVCs are useful for rapid development but I'm wondering whether the reduced cost of development due to this is outweighed by the increased cost of hiring someone with framework knowledge.
I'm also concerned about the framework code going out of date, i.e. not being compatible with the latest framework version. I'm guessing the reduced maintenance costs outweigh the cost of upgrading? I have been looking at Symfony 2 as it claims to be as fast or faster than others.
Many Thanks
Why use a PHP framework? A PHP framework provides a basic structure for streamlining the development of web apps. We use them because they speed up the development process. Above all, the responsiveness of websites and applications built using PHP frameworks helps businesses fulfill their performance needs.
Core PHP still has its own charm… It may be faster and more accurate to build a web application in the PHP framework, but if you can learn and understand Core PHP, you can work on all the frameworks that are out there.
CodeIgniter is the top choice for a beginner-friendly PHP framework that is easy to use and quick to learn. It works on the MVC architecture, is easy to install, offers several guides and is easy to understand for beginners to get started with developing web applications on PHP.
Phalcon is a full-stack PHP framework whose source code is written in the C programming language. Using the framework doesn't require knowledge of C as it uses PHP classes and its namespaces. Phalcon is one of the fastest PHP frameworks available.
Here are a couple of things you have probably not thought about :
On the other hand :
If you don't choose to go with a framework the person that you hire will have to learn your conventions which will take longer for them to actually start producing results at a good rate. Essentially you will be making your own framework and you can bet on no one having any experience with it. With a framework, you at least have some common ground. You should still probably interview them solely on the basics of the language but when they start working they can go online and ask others questions about a specific way to do something in the framework. If you make your framework they might have to ask you for the conventions you want to use.
Frameworks are useful for getting off the ground. Remember that you can "give up" using the framework at some point simply by starting to diverge from the conventions used by the framework. You could simply take the framework code and make it your own. I'm ignoring any kind of licensing by assuming that this is going to be a web app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With