Synopses & Reviews
Synopsis
For years now, web developers have used powerful application servers like PHP and Node that could create our web apps. But recently there's been a shift between how much we can do on an application server versus how much we can do on the browser itself as well as what we can do on a mobile app. This practical book shows readers how static site generators provide a powerful middle ground between a full app server deployment and a simple collection of static files.
Written by two leading developers in the JavaScript community, this book teaches front-end designers, front-end developers, web developers, and web designers how static site generators work, the benefits you can expect, and what options are available. You'll learn how to deliver static site files to the end user exactly as they are on the server, without using a server-side language or a database, using HTML, CSS, and JavaScript.
Static websites today are just like vinyl LPs: they re coming back. With this book, you'll discover just how these websites still fulfill a vital need for bloggers as well as people who just want to disseminate information.
"
Synopsis
Just like vinyl LPs, static sites are making a comeback, evidenced by the wide array of static-site generators now available. This practical book shows you hands-on how to build these simple sites for blogs and other use cases, and how to make them more powerful. In the process, you ll work with some of today s more mature and popular static-site generators.
Authors Raymond Camden and Brian Rinaldi explain the advantages of using static-site generators for building fast and secure sites. Web and frontend designers and developers will also explore methods for adding dynamic elements and for migrating an existing CMS to a static site.
- Build a basic four-page static site with the Harp generator
- Create a simple blog with Jekyll
- Develop a documentation site with Hugo by generating site files and creating the layout
- Add dynamic elements, such as forms, comments, and search
- Integrate a CMS with tools such as CloudCannon and Netlify CMS
- Use one of several options to deploy your static files
- Learn methods for moving an existing CMS to a static site