12.12.2018 Views

Web_Designer_UK__May_2018

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10 BEST STATIC SITE GENERATORS<br />

Most sites you visit on the web are<br />

probably generated dynamically<br />

– that is, rather than having all of<br />

their content encoded into the HTML<br />

stored on the server, they retrieve<br />

content from a database and<br />

construct pages to serve to you on<br />

the fly. Many also provide user<br />

interactivity through logins, forms and<br />

so on. Think of Facebook for an<br />

example of both of these things.<br />

To build this type of functionality<br />

yourself, you might look to a CMS<br />

such as WordPress.<br />

For some use cases, however, this is<br />

overkill. Simple pages, such as a<br />

personal profile, information about a<br />

business, or even a blog really don’t<br />

need this sort of overhead or<br />

complexity. You could of course just<br />

build static HTML yourself in a text<br />

editor, and indeed, many years ago<br />

this was how all sites were built, but<br />

“ PERFORMANCE<br />

WILL BE GREATLY<br />

IMPROVED”<br />

10<br />

BEST<br />

this rapidly becomes cumbersome to<br />

maintain when you want to scale up<br />

or make changes. Static site<br />

generators offer a solution to this, by<br />

enabling you to build static HTML<br />

pages using templates.<br />

Essentially, static site generators are<br />

command-line tools which shift the<br />

creation of the final HTML page<br />

forward from the point the user<br />

requests it to the point you write the<br />

content. When you make an update,<br />

you build the new page which can<br />

then be served as-is to every user who<br />

requests them. This offers several<br />

advantages. Performance will be<br />

greatly improved compared to a<br />

dynamic site, since serving static<br />

HTML and CSS has a very low<br />

footprint. Your server-side setup will be<br />

much simpler, which also means fewer<br />

security worries. Conversely, however,<br />

you’ll lose the opportunity to deliver<br />

real-time content or receive user input.<br />

Static site generators have exploded<br />

in popularity in recent years, so<br />

navigating the wide range of choice<br />

can be difficult. Here, we’ve taken a<br />

look at some of the best options you<br />

should be considering.<br />

1.<br />

74__________________________________________________feature

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!