theme | colorSchema | layout | image | fonts | css | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
apple-basic |
light |
intro-image |
/cover.avif |
|
unocss |
By André Varandas - @iamvarandas
- Use it to build dynamic websites.
- Used by WordPress, Drupal, Joomla, etc.
- Configure the stack
- Manage Wordpress, plugins and themes
- Developing and deploying
- Security patches
- Linux, PHP, MYSQL, Apache updates
- Backups, monitoring and logging
Wordpress main() - entry point for every request.
public function main($query_args = '') {
$this->init();
$this->parse_request($query_args);
$this->send_headers();
$this->query_posts();
$this->handle_404();
$this->register_globals();
do_action_ref_array('wp', array(&$this));
}
- It's not a framework.
- It started as a marketing term.
- It's a way of building websites and apps.
- Markup generated from source files
- CDN or static site hosting
- Static site generators: 347
- Headless CMS: 96
- Countless amount of APIs.
- Write content | Headless CMS, markdown, json files.
- Write code for the frontend, microservices, use version control.
- Build! Fetch content and convert to static files.
- Deploy static files to a CDN/static site hosting.
- User requests a page
- The CDN delivers the static files
- The page is loaded and rendered
- Client may request microservices
- Faster
- More secure
- Cheaper, easier to scale and maintain
- Developer-friendly
- Marketing sites, blogs, eCommerce, documentation, etc.
- When performance and SEO is a priority.
- Sites that need to be updated often or in real-time.
- Sites that need to perform complex operations.