on master help sign in
Edit and fix static-site-generation proposal
77b4ef2Mike Osborne
content/grants/static-site-generation.md+7−29
@@ -41,44 +41,22 @@ The third common use case we will build is rendering a listing of all blog posts
414. He then clicks “Serve Page”, and his Publish Notebook is now rendered into static HTML and served at /justinblog.
414. He then clicks “Serve Page”, and his Publish Notebook is now rendered into static HTML and served at /justinblog.
425. He then goes to the Groups app and finds his Justin Blog. He writes a new article, and publishes it, then edits one of his existing articles and publishes it. He sees the latest state reflected on his new static site.
425. He then goes to the Groups app and finds his Justin Blog. He writes a new article, and publishes it, then edits one of his existing articles and publishes it. He sees the latest state reflected on his new static site.
43
43
44−## Milestones
45−
46−Milestone 1 - Gall agent developed
47−
48−Estimated completion:
49−
50−Payment: 3 stars
51−
52−Build agent that has the build pipelines specified and watches for graph-store updates.
53−
54−Milestone 2 - HTML Template Examples
55−
56−Estimated completion:
57−
58−Payment: 1 star
59−
60−Build out the two rich HTML templates for Publish notebook data specified above in “use cases”
61−
62−Milestone 3 - Grid Tile Development
63−
64−Estimated completion:
65−
66−Payment: 1 star
67−
68−Build out a tile in Grid for managing these web blogs.
69−
70−Architecture:
71−One Gall agent: %static-blog
44+### Architecture: One Gall agent - %static-blog
72
45
73++on-init: On initial load, tells file-server that it wants to serve a webpage at /static-blog, and subscribes to /updates on %graph-store
46++on-init: On initial load, tells file-server that it wants to serve a webpage at /static-blog, and subscribes to /updates on %graph-store
47+
74++on-load: n/a
48++on-load: n/a
49+
75++on-poke: Receives pokes which allow one to A) associate a particular graph with a particular mark that will convert that graph to a static webpage, B) dissociate them once associated, C) serve a set of static webpages at a path to the public web, D) stop serving a set of static webpages at a path.
50++on-poke: Receives pokes which allow one to A) associate a particular graph with a particular mark that will convert that graph to a static webpage, B) dissociate them once associated, C) serve a set of static webpages at a path to the public web, D) stop serving a set of static webpages at a path.
51+
76++on-watch: Subscribe to the state of the application
52++on-watch: Subscribe to the state of the application
53+
77++on-peek: Read out the files of a particular static site, read out the set of associations
54++on-peek: Read out the files of a particular static site, read out the set of associations
78
55
79−Future Directions:
56+### Future Directions:
80
57
81- More marks can be built out that wrap the Sail generated from the graph-store -> html conversion and inject calls-to-action, payment links, and other forms of plugin content using Ford marks as a build pipeline
58- More marks can be built out that wrap the Sail generated from the graph-store -> html conversion and inject calls-to-action, payment links, and other forms of plugin content using Ford marks as a build pipeline
59+
82- Other graph types can and should eventually be able to converted to static sites as well.
60- Other graph types can and should eventually be able to converted to static sites as well.
83
61
84## Milestones
62## Milestones