MVC Personal Website

MVC (Model-View-Controller) is a design pattern which divides applications into three main parts - The application logic (Model), Handling commands from the user (Controller) and the graphical interface (View).
The Controller accepts requests from the user and translates them into commands that The Model should handle. The Controller can send commands to The View also. The Model is the main component of MVC. It stores data and rules of the application. Data requested by The Controller is first processed by The Model and then displayed in The View.
The advantage of this type of pattern is that the three parts can be changed individually. One model can use different views. The Controller and The View can be changed without changing The Model. The Model can be created independently of the other two parts.
Another advantage is that almost the entire application is processed by the server. The user sees only the look and sends requests in the form of links and completed web forms. Requests are accepted from The Controller on the server, processed by The Model, The View gets updated and is sent back to the user.

Realization

When creating a new MVC project, Visual Studio generates a website template, which contains a Main, Home, About and Contact pages and an ability to control user accounts.
I removed the user accounts, because they are not needed for my purposes.
In the navigation menu I've added the option to choose between Bulgarian and English, as well as changing the size of the text in the articles.
The index page is clean and it doesn't contain slides, larges images, lots of scripts or animations. This is done so that the website can load as fast as possible and for better SEO optimization.

PageSpeed Insights - Google Developers

MVCSite1


The W3C Markup Validation Service

MVCSite2
← Back