A web site consists of a set of pages, but the difference lies only in how they are created and presented manually (static layout), or generated dynamically (using code).
In the first case, experts are responsible for creating and maintaining the site by writing the code in HTML-form in separate pages, including its layout and content. In the second – at the heart of any web page is a template that defines the location in the browser window of all components of a page and insert specific information using standard tools that do not require a person to have knowledge of HTML and making uncomplicated for the layman to Publish Web page. There is also a hybrid type of web sites – registration shall be issued in a separate file (template) and gets connects to the static pages of content with a script (in any programming language – js, ssi, php or other), but the content layout is again manual.
If the site consists of multiple pages and needs to be updated frequently, the advantage of the dynamic layout becomes apparent. Website developers do not need to rewrite the entire page when you change the content or design. Pages are not stored as a whole, but formed on the fly when accessed.
Thus, the separation of design from content is a main feature of dynamic sites to static. On this basis, there may be further improved site structure, such as the identification of different custom features and automation of business processes, and most importantly, control of arriving on site content. To create a dynamic site there are two possible ways. First, is to write your own programs, responsible for creating the desired template and supporting the necessary functions. This creates a system that will be fully responsible to the needs, but may require significant programming effort and time. The second way – is to use existing systems, which are called systems web content management (CMS). The advantage of this path is to reduce the time and effort and almost limitless opportunity to expand the functional website. Its disadvantages are the reduction of flexibility in the mapping of each unique page, the provision of inadequate or excessive feature set – for different sites and different CMS.