Join Drew Falkman for an in-depth discussion in this video Comparing concepts: What's right for your app, part of MVC Frameworks for Building PHP Web Applications.
- In addition to the programmatic concepts discussed in the framework concept movie, it will also be important to look at some other key elements when deciding which framework to use. This includes things such as licensing, whether a framework is lightweight or heavyweight, documentation and community support, complexity and performance. All these will be key considerations when you're determining which framework to use for your application. As a note, these are things to keep in mind when we go through and talk about each of the frameworks.
However, we will wrap up and do an actual comparison of the frameworks at the end of the course. One thing to look at is how heavy the framework is. Some frameworks are extremely lightweight and simply provide a basic structure for you to follow. Whereas others, like Symphony, give you many tools but your application will be very tightly tied to that framework, and will also be limited by the framework's limitations for performance, features and more. Another thing to look at is what type of license the project uses.
Some make it easier to be bundled in software packages, others do not. Depending on your situation, this can be a crucial determination. Another thing to look at is documentation. What is the documentation like at the framework itself? In addition, are there other books available? Are there courses available? If you decide on a particular framework for your development, how easy will it be for you to learn that framework? Another element to look at is the community and how active developers are in that community.
Common quantifiers of this are how many stars does the Get Repository have, and another is to check the stack overflow questions. Are there a lot of questions about this framework? And how frequently asked and answered are those questions? The six frameworks we look at are the top six scoring using these criteria, so they're quite popular and have an active community. Another thing to look at is how popular a particular framework is. What is a development base? Will you be able to find developers to work on your application if you need to? Some frameworks have fast learning curves, others require a much higher level of understanding.
Both in terms of the PHP language and object-oriented programming, but also in terms of understanding the framework itself. Be sure not to get in over your head or choose an easier one that lacks features that you need. Scalability and performance are also crucial considerations. If you're building a personal blog, or have a very small audience for your application, this may matter less than if you're building a enterprise application. The key is to make sure what your restrictions are.
There are number of non-programmatic considerations when you're choosing a framework. These can have a wide rang of effects depending on the type of application you're building. So, make sure to weigh all these items including licensing, documentation, complexity and performance when you're choosing your framework. Now that we have an understanding of what to look for, let's compare the frameworks we'll be looking at in this course.
- Why use a framework?
- Introducing MVC-framework concepts
- Examining each framework's components
- Setting up the software
- Walking through sample apps built in each framework
- Comparing frameworks