Open In App

How to choose between CMS or Framework according to the need?

Choosing between CMS and Framework is technical stuff for your website. It all depends on your needs, your users, and your long-term vision. Flexibility, Scalability, Lifespan, Maintainability, and Security all criteria that can help you make your choice. It is important to make the right choice from the start. Depending on your evolutionary maintenance (TMA), you will have a difficult site to maintain. Worse still, you risk getting to the point of no return and having to start from scratch. 



CMS: CMS stands for Content Management System. It is a content manager that uses a database. There is a wide variety based on different techs. They are all organized in much the same way and integrate common functionalities. 

For example, you can manage your users and their access rights, or manage content and how to display it. Concretely, a CMS allows you to create content sites, blogs, and even online stores. Still, in the PHP world, there is also Drupal, CMS that we know well, but more complex to implement and maintain. 



Advantages: 

Disadvantages:  

Framework: The framework provides the designer and the developer with a set of libraries that allow him to build a tailor-made application, by defining a framework that secures his developments. These libraries answer all the problems that can be encountered when developing an app from scratch. They are used in particular for security issues, access to files, management of HTTP exchanges, creation of forms, generation of Html pages. It is like a tool kit for developers. There are very powerful web app oriented frameworks. They allow you to build a website almost as quickly as with a CMS (for standard functionality). 

Some examples of Frameworks in PHP: Symphony, Laravel, Cake PHP, Zend, etc. 

Advantages:  

Disadvantages:  

How to Choose Which one is better: 

There are also CMFs (a mix between CMS and Framework), like Drupal 8. Here you have content management with CMS and the Framework for more specific services. But it’s not that obvious, and not always well integrated. 

Also besides, concerning Drupal 8, this requires dual skills: Drupal and Symfony which powers it. This has a cost. 
In general, the projects are sharper: it is either one or the other. If you have to use both, you mount one and the other separately. We then create a bridge between the two environments via a Single Sign-On (SSO). If we were to use a metaphor to compare Framework and CMS, it would be like building a house. You have tools (the basic elements, that is to say, a Framework), and with them, you can build your house from A to Z, in a completely personalized way. While with a CMS, the house is already built, and you only decorate it by installing furniture (your content) and painting (the template)!

Article Tags :