With the MVC development model in Kentico CMS, you get a much cleaner architectural layout, which helps speed up the delivery of websites while providing a semantic approach to the creation of content. In the MVC application (the live site), the developer codes the website, including the layout and presentation, while also setting up the content structure (page types and the organization of folders within the content tree) in the Kentico Administration Interface. Content editors create and adjust the content in the MVC Page Builder using its intuitive drag-and-drop MVC Widgets, implemeted by the developer to perfectly cover marketers' needs, and all the content (including texts, pictures, videos, etc.) is stored in the Kentico database. The developer can then access the content in the Kentico database using the Kentico API and display it on the live site.
Separation of Concerns
Leveraging the MVC Page Builder, content editors have a more semantic approach to content editing, without the distraction of page settings or the need for any technical knowledge of HTML, ASP.NET, or CSS. Once created, the content is stored in the Kentico database via the Kentico API. The developer codes the website and determines the layout in the MVC application while also setting up the content structure in the Kentico Administration Interface, along with the MVC Widgets defined in the MVC Page Builder, before using the content that is stored in the Kentico database to populate the MVC application (the live site). The structure and MVC Widgets greatly increases the productivity of the content editor as there is no need to constantly write the same content for various parts of the website. The MVC development model allows you to write and store the content once, and it can then be used in various locations on the live site.
With full control over the output HTML, developers can utilize MVC to develop modern responsive websites independent of the content editing process. It also results in a much smaller typical page size, meaning your website is quicker to load on mobile devices and uses much less data in the process.
You can also visit our MVC Transition Guide where you can find additional MVC resources for Kentico 12.
Increased Security with Cloud Deployment
The MVC development model in Kentico is fully compatible with cloud deployments as well as deployment on your servers. Separation of the administration and the live site in MVC makes it possible to deploy the live site to the cloud and keep the administration behind your server’s firewall to increase security and scalability.
Website Preview, Workflows, and Multilingual Site Support
Although the work of the content editor and the developer is separated, using the Preview mode in the MVC Page Builder, content editors can still view the live site from within the administration, even if it is stored in a different location. The MVC development model is also fully compatible with the workflow operation in Kentico as well as the development of multilingual sites. You can write the content needed for the website in various languages and developers can implement the appropriate culture from the database during the website’s development.
Web Farm Synchronization
The MVC development model takes advantage of the out-of-the-box Web Farm Support in Kentico, allowing the continuous, bi-directional synchronization of semantic content, content structures, and code between the Kentico Administration Interface, the Kentico database, and the MVC application. Using Web Farms also means that your site is capable of scaling to meet higher traffic or site loads, when needed, offering a better and more consistent experience for your visitors at all times.
Your marketers can easily create online forms using MVC Form Builder. It has a predefined set of form components that can be dragged and dropped into a designated area to create an online form that meets every marketer's need. The online forms can also be turned into progressive forms to gather data from online visitors more efficiently.