Chapter 4
Coding Static Web Pages
IN THIS CHAPTER
Getting comfy with the difference between static and dynamic pages
Setting up and cloning a GitHub repository
Pushing changes to the repository
Creating an HTML template file
Generating static HTML files with PHP
Deploying your static files to GitHub Pages
With static HTML, [the] story is pretty simple. You…write the code (including your content). Then, once it’s on the server, it’s always like that. There’s no background processing going on — your site is always right there in its finished form.
— BRIAN JACKSON
One of the unfortunate hallmarks of web coding and development over the past dozen years or so is an ever-increasing level of complexity for the developer. New web coding frameworks get released alarmingly frequently, with each new “solution” boasting a learning curve even steeper than the previous one. (A framework, just so ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access