CMS vs JavaScript framework

♠ Posted by Unknown in at 23:56
Fashion is no longer using a CMS, but rather as Bootstrap framework.

This trend can be seen on the new portal sites is confirmed on Google Trends. The search for the term CMS (Content Management System) is down BootStrap while experiencing a sudden rise in 2012 and there is no doubt that this is due to the framework launched by Twitter.

But if the webmasters spend HTML 5 frameworks to the detriment of CMS, what can be the reason? A tentative explanation: the increase in the audience for mobile phones and tablets at the expense of PC, as a CMS is rather heavy and slow, and added to the download time, not really suitable for a mobile browser.
Instead, BootStrap since version 2, as other "boilerplates" HTML 5 takes into account the small screen of mobile and allows quick page loads.

We will compare the advantages of both Web site creation means. Obviously this only applies to single sites presentation of a product, or blog, and not those whose pages utilize amount of information taken from a database.

A common goal of code reuse

CMS and presentation framework have the same goal: to unload the webmaster of the page presentation tasks so that he can concentrate on the content. They also have the advantage of providing a similar user interface on all sites.

It is more difficult to make a site with BootStrap, but the essential is there: the JavaScript code (based on jQuery) and CSS has been tested on most PCs and mobile OS that the webmaster has not to do.

Both systems offer plugins that help with navigation or presentation. BootStrap of plugins are oriented wigdets, which may also be provided by Wordpress themes, but it is difficult to find a theme with all the desired widgets.

CMS blogs: a perfectible design

The basic design blogging CMS is actually always deficient. This is to site content in a database and then generate a page from a SQL query. Then as we realize that it is too slow to display, adding a cache plugin that creates an HTML page for each static file.

My PHP pages are organized on the following principle:


<?php include("top.php");?>
<p>Contenu de l'article</p>
<?php include("bottom.php");?>
The header and footer and dynamic content are included in every page that contains in fact the own content, which is the equivalent of what Wordpress place in the table notes, the POST table.

Why put the contents into a database and then copy it to a file on the local system, rather than store it directly into an HTML container?
Having a database does not even brings us since search function must type in a tag list explicitly for it. In fact we get a real research tool including the search field of Google, which runs on a static site.

How to design a CMS for modern sites should be reviewed if we want to allow access to the mobile. Can be considered a mixed design, static or dynamic depending on the transfer speed, which can be evaluated with a technology like WebSocket or WebRTC.

Do not neglect SEO

Wordpress has become a drag on the positioning of a site. The tag clouds pad full of internal links, which transforms the blogroll link farm site, and not always optimized themes, added to the fact that the loading time has become a standard positioning and further that the pages return all HTTP redirection code, make this CMS (like the others) can harm the website traffic, unless the code is fully reviewed by the webmaster. But the purpose of a CMS is to provide to deal with the code ...

Trend: The Return of static sites

As users want merely to blogging pages without touching a line of code, they seem to prefer to use a CMS like Wordpress. But between now competing with social sites that are also blogging platforms: Facebook and Google+, or even GitHub page that offers a generator (free).

When the contrary webmasters want to create a high performance website and optimized for desktop or mobile, prefer to use a CSS framework in which they can possibly overload the code to customize the appearance. It seems that the current trend is to create static websites based on these frameworks.

BootStrap originally created for Twitter, supports CSS part, it offers several examples of customization. This is a framework among others, see CSS section for other templates.



0 comments:

Post a Comment