Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JamStack PoSobota 29.9.2018

JamStack PoSobota 29.9.2018

Modern Web Architecturebased on JS, API and Markup #poSobota

Ladislav Prskavec

September 29, 2018
Tweet

More Decks by Ladislav Prskavec

Other Decks in Technology

Transcript

  1. Modern Web Architecture based on JS, API and Markup Ladislav

    Prskavec Ladislav Prskavec - poSobota, 29. 9. 2018 1
  2. About me 4 Site Reliability Engineer (SRE) 4 https://keybase.io/abtris 4

    https://blog.prskavec.net 4 @abtris Ladislav Prskavec - poSobota, 29. 9. 2018 2
  3. 7

  4. Static Site Generators 4 Jekyll (Ruby) 4 Middleman (Ruby, Rails

    based) 4 Hugo (Golang) 4 Spike (JS, Webpack based) 4 Gatsby.js (JS, React.JS based) 4 Sculpin, Jigsaw (PHP) 4 https://www.staticgen.com/ Ladislav Prskavec - poSobota, 29. 9. 2018 8
  5. Themes for static generators 4 templating depends on technology 4

    200 themes in https://themes.gohugo.io/ 4 commercial in https://themeforest.net/.../jekyll 4 Sites build with Gatsby.js Ladislav Prskavec - poSobota, 29. 9. 2018 9
  6. APIs 4 Smashingmagazine - post about that 4 Comments -

    GoTell, Disqus, IntenseDebate, isso 4 Search - Algolia 4 Payments - GoJoin, Stripe 4 Auth - GoTrue, Auth0 4 E-commerce - GoCommerce, Snipcart 4 Images - Cloudinary 4 Lambda, GraphQL, Webtask.io - for yours serverless backends 4 CloudFlare worker, Lambda Edge - originless Ladislav Prskavec - poSobota, 29. 9. 2018 16
  7. Headless CMS 4 Contentful - API based, hosted 4 NetlifyCMS

    - Git based, hosted 4 strapi - API based, self-hosted 4 Forestry 4 https://headlesscms.org/ Ladislav Prskavec - poSobota, 29. 9. 2018 17
  8. NetlifyCMS 4 Content management in a single-page app 4 Built

    in React.js with extensible components 4 Integrate with any build tool 4 Plug in to any static site generator 4 www.netlifycms.org 4 Test it! Ladislav Prskavec - poSobota, 29. 9. 2018 18
  9. When is your site not built with the JAMstack? Ladislav

    Prskavec - poSobota, 29. 9. 2018 19
  10. Why the JAMstack? 4 Better Performance 4 Cheaper, Easier Scaling

    Ladislav Prskavec - poSobota, 29. 9. 2018 22
  11. Why the JAMstack? 4 Better Performance 4 Cheaper, Easier Scaling

    4 Higher Security Ladislav Prskavec - poSobota, 29. 9. 2018 23
  12. Why the JAMstack? 4 Better Performance 4 Cheaper, Easier Scaling

    4 Higher Security 4 Better Developer Experience (DX) Ladislav Prskavec - poSobota, 29. 9. 2018 24
  13. Develop $ gatsby develop 4 you get local preview with

    hot reload 4 you get graphql playground for queries Ladislav Prskavec - poSobota, 29. 9. 2018 30
  14. Using Wordpress API 4 https://www.gatsby js.org/packages/gatsby-source- wordpress/ 4 https://developer.wordpress.org/rest-api/reference/ 4

    https://using-wordpress.gatsby js.org/ 4 https://github.com/gatsby js/gatsby/tree/master/ examples/using-wordpress Ladislav Prskavec - poSobota, 29. 9. 2018 32
  15. Using Drupal API A back end for your front end:

    a content repository. Powered by Drupal 8, JSON API and OAuth2. - https://github.com/acquia/reservoir 4 https://www.drupal.org/project/jsonapi 4 https://www.gatsby js.org/packages/gatsby-source-drupal/ 4 https://using-drupal.gatsby js.org/ 4 https://github.com/gatsby js/gatsby/tree/master/examples/using- drupal Ladislav Prskavec - poSobota, 29. 9. 2018 33