Are Static Web sites Better than A CMS?


As web sites became bigger, writing HTML became very wearying for content writers with little technical expertise. To format some other part of text, opening and closing tags need to be placed around the text. When compared to mentioning the written text and clicking a Bold or Italics button, it’s not hard to tell which is the more user-friendly option! When building new content, existing web pages must be duplicated to include the same banner, menus and sidebars for the health of each new article. Adding a new menu item or logo meant that every page must be updated!

These issues were sorted by the introduction of listings to web development. Content could be written in an HTML form, submitted to a screenplay on the web server which will save the content to a database. Storing all the content in a database now gave web-site designers to re-use a single page layout to fill it with different content. Each time a new page is requested, the web server reads a l 메이저놀이터 ayout template, then builds the content and design before sending it back to the user. As the concept of database-backed web sites full grown, mini-user interfaces were created to wrap around text areas to allow the written text to be formatted as in a word processor. Eventually, the content Management System (CMS) came to be which allowed content writers to develop their own web sites. The technical knowledge required to publish an article online was suddenly reduced. The CMS became so advanced and transparent that it was not straightforward for the content writer to think of the boundary between an article being saved locally to their drive and being published online. A common call to technical support was why we hadn’t their article been saved after their net work connection was lost.

Listings may have been the saviour for content producers and writers, but they just weren’t designed to handle large amounts of textual data. Their main use was for accounting systems, stock control or people records. The largest data types for text data ranges between 4000 to 8000 characters. When big articles are remembered from a database, a minimum of 8Kb may need to be down loaded. A typical website often offers the excerpts from several blogs which caused all these records to be searched and repaid across the Internet. Think of the stress on the single database when the web site attracts 100+ users!

Of course, solutions such as database mirroring, load balancers, CPU and memory improvements are used to assist with high load on servers and listings, but should we really be using listings for storing large amounts of content? Listings add an extra security vulnerability which is a gold my own for cyber-terrorist. A badly developed web site can give a hacker access to your whole database. In the age of information, this is invaluable. If your information is not itself valuable, the hacker can still use your database resources for their own malicious purposes.

The majority of web sites do not update their own and original content more than once per day. Only truly frequently updated real-time content such as news, financial information, weather and discussion boards necessitate the cost to do business of a database. The only dynamic area of a basic blog is the commenting system, and this are now able to be offered by alternative party applications such as Facebook or Disqus.

Although possible, it is notoriously difficult to track and control updates to a writing when stored in a database. Any time you make a change to a writing, it will overwrite the same database record. To implement different versions of content in a database, you need to create a new post, link it to the original post and then publish it rather than the original post. Reverting to a previous version of a writing will involve packing all previous versions, selecting which one to re-publish rather than the latest version. Two round-trips to the database must accomplish that!

Different web technologies have at the moment come together to create static site generators which allow content to be written easily and then combined with layout web templates to generate the HTML files. The entire web site is created traditional and then published to a web server. Since all pages are pre-built, the web server only needs to pass the requested page back to the web web browser. Database connection timeouts and security holes are immediately eliminated! Since all source files remain on your own computer, they can be duplicated to backup drives and stored in a version-controlled repository such as Git or SVN. Repositories allow all changes to be recorded and monitored. Multiple content writers can update content and their work can be combined before it is published.

The sole compromise in a static web site is real-time updates, user interactivity through commenting and processing your own submitted form data. The latter two can be offered by alternative party applications such as Wufoo and Disqus, although both rely on using cross-site JavaScript which can affect your SEO rating.

There are loads! The most popular is the Ruby-based Jekyll gives you the framework for a reactive blog for free. Static site generators tend to make use of the modern-style of Rapid Application Development (RAD) dialects such as Ruby, NodeJS and Python. They can obviously be written in a programming language.

Each site generator makes use of its templating engine, CSS preprocessor, Coffeescript compiler and markup language. Although these can be changed to match your own preference. Here is a list of a few of the most common site generators along with their base language and default templating engine:

Leave a Reply

Your email address will not be published. Required fields are marked *