ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What is MVC , What is CMS , what are the difference between them and when I should use each of them , Please with detail from your experience ?

user-image
تم إضافة السؤال من قبل مستخدم محذوف‎
تاريخ النشر: 2014/11/26
Ata Raza
من قبل Ata Raza , Sr. Web Developer , Centric Source

MVC stands for Model, View, Controller which means3 layers are used to create website. Models contain classes based on application's logic to manipulate data from database. Views are the templates to display data or content to user or get data from user. Controllers are the classes used to control the flow of the application like routing. Examples are Symfony2, Zend Framework, CodeIgnitor e.t.c.

CMS is the Content Management System which contains Page Management , Post Management, Category, User Management, Theme Management, Module or Plugin Management to extent it and Images Management. Examples are Wordpress, Drupal, Joomla e.t.c.

CMS may or may not use MVC pattern.

CMS is used for websites displaying contains on different pages and have general forms like register, contact us e.t.c and eCommerce.

MVC is used for websites have some purpose having large data like expert system, website with uncommon or unique functionalities. 

In am giving an example from my Experience, I have worked on eggZack.com created on MVC Symfony2 have functionality like implementation of social networking website's api, database contains logs of users on each page, special business functionality and database table based on business login and optimization where CMS can assist if we develop on CMS then not required functionality would be shown on admin panel and optimization of database is getting worst due to standards follow by CMS.

 

Mohammed Faisal Khan
من قبل Mohammed Faisal Khan , Softwae Engineer , Philexin Data Solutions

MVC(Model View Controller) is a software or web architecture pattern which has separate layers like  Presentation Layer, Business Logic Layer and Data Access Layer to make sure logic and design are isolated from each other. MVC is a core programming part that can only be implemented by programmer.

While CMS is just a content management system like MS Sitefinity etc. CMS is used to create, update, organize static content in your application just to present the information in a required manner by client.

CMS can be managed by anyone even by client if he/she has access to it just by having little knowledge. 

there are no relationship between MVC and CMS !! 

the first is : Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces.

the second is : A content management system (CMS)is a computer application that allows publishing, editing and modifying content, organizing, deleting as well as maintenance from a central interface : like wordpress ; joomla , drupal , Xoops , vBulletin , mediawiki ...

Alaa Altair
من قبل Alaa Altair , IT Adminstration , kuwait since club

MVC it's   a design batten  dived  your code to three layer 1- model  => it's data you want to save

2-view => it's design interface

3- controller => it's link between the model and view

 

CMS means  content management system   it's a application using to control your web site or set confgration ,

 

there are no relationship between MVC and CMS .

developer using mvc framework to develop project faster and be more fixable and maintainable  

Administrator use the CMS to configuration our application 

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟