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

Generator X - The State of Rust Static Site Generators

Generator X - The State of Rust Static Site Generators

This talk will detail the different types of content management systems that are available. The features and challenges with using them. Also we look at the programming languages used to create them. Finally we see where Rust fits in this application space.

This talk was performed at the 14th London Rust User Group Meetup

76eb5847f0ecf87aba817ee37547c537?s=128

Mark Sta Ana

July 19, 2017
Tweet

Transcript

  1. Mark Sta Ana @booyaa

  2. GENERATOR X The State of Rust Static Site Generators

  3. Introduction

  4. CMS, SG, WTF?

  5. CMS

  6. Dynamic

  7. + +

  8. Pros • Live changes • Search • Tags and categories

  9. Cons + +

  10. None
  11. None
  12. Other 29% Drupal 5% Joomla 7% WordPress 59%

  13. None
  14. Static

  15. Pros • Prebuilt • No overhead • Fast • Secure

  16. Cons • Prebuilt

  17. ?

  18. None
  19. GitHub Pages

  20. None
  21. None
  22. None
  23. None
  24. None
  25. Single binary

  26. Fast

  27. Safe

  28. loljk

  29. Criteria

  30. Examples

  31. None
  32. Documentation

  33. None
  34. None
  35. None
  36. Ease of use

  37. Extensibility

  38. Themes

  39. What I didn't test

  40. Survey

  41. None
  42. None
  43. None
  44. Honourable mentions • Rust Doc • mdbook • Lightning •

    made-up
  45. Shortlist

  46. Strange https://bitbucket.org/Alex_PK/strange/

  47. Strange Example Doc Ease of Use Extensibility Theme 0 3

    1 1+1 0
  48. Gazetta http://stebalien.com/projects/gazetta/

  49. Gazetta Example Doc Ease of Use Extensibility Theme 0 4

    1 0+1 0
  50. Cobalt https://github.com/cobalt-org/cobalt.rs

  51. Cobalt Example Doc Ease of Use Extensibility Theme 1 3+1

    4 1 0
  52. Gutenberg https://github.com/Keats/gutenberg

  53. Gutenberg Example Doc Ease of Use Extensibility Theme 0 3

    1 2+1 0
  54. None
  55. statique

  56. Summary

  57. Documentation

  58. Usability

  59. Themes

  60. FIN

  61. References • WordPress 58% CMS Market Share https://w3techs.com/blog/entry/ web_technologies_of_the_year_2016 •

    Jekyll - 2 hours build time https://www.smashingmagazine.com/ 2016/08/using-a-static-site-generator-at-scale-lessons-learned/ • 5K posts in seconds - https://www.youtube.com/watch? v=CdiDYZ51a2o
  62. Media (should not be hard to find) • https://github.com/gohugoio/hugoDocs/tree/master/static/img •

    https://wordpress.org/about/logos/
  63. Scorecard Rust Static Site Generator Scorecard Examples /1 Documentation /4

    (REPO/SITE/ QS/REF) Doc Bonus Ease of Use /4 (install, init, serve, watch) Extensibility / 3 (markup/ plugins/ syntax hilite) + 1 Bonus Ext Bonus Themes / 1 Tota l Strange 0 3 0 1 1 1 0 6 Gazetta 0 4 0 1 0 1 0 6 Cobalt 1 3 1 3 2 0 0 10 Gutenberg 0 3 0 1 2 1 0 7