Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Josh Duff
@TehShrike
and it gets converted to html right before it is handed to Ractive
Sundar
@sundarj
aha, nice
ive been reading through the various modules, trying to see how it all fits together
where would you say is the best place to start?
Sundar
@sundarj
^ those
so all of them?
Josh Duff
@TehShrike
I need to update that, since then noddity-renderer was refactored into noddity-render-dom and noddity-render-static
the API for the butler is probably the main place to start https://github.com/TehShrike/noddity-butler#noddity-butler
Sundar
@sundarj
ok cool
Josh Duff
@TehShrike
most app things that you would build in the Noddity would would interact with the Butler
it abstracts away the fetching of posts from the server, and caching them locally
Sundar
@sundarj
alright
Sundar
@sundarj
should there be github issues for the to-do items?
Josh Duff
@TehShrike
Probably :-) we've been pretty ad-hoc about the high-level goals
but @ArtskydJ has been doing a good job getting issues written for the details
Sundar
@sundarj
haha fair enough
the next things on the list are: a solution to get static html files served up, and the ability to add modules to specific Noddity instances, like a searching module
want me to create some issues for those?
what about the stuff on http://noddity.com/#!/post/vision.md
Josh Duff
@TehShrike
Part of the reason I haven't created issues for any of the really high-level stuff is because it would touch multiple modules and I'm not sure where I would even put it as a Github issue.
Some of those things have been done and I just forgot to go pull them off that page...
One thing that will need to be discussed soon is how to handle serving up the static html
I've really wanted to avoid a build step, but I'm not sure if running a custom node server will be justifiable for most people who want Noddity-by-progressive-enhancement
Josh Duff
@TehShrike
I wonder if anyone has made a parser for git pull output...
Sundar
@sundarj
for rendering static html, why wouldn't require('ecstatic') work?
Josh Duff
@TehShrike
ecstatic is an awesome module, but it just serves static files over an http server
it doesn't render templates into html
Sundar
@sundarj
ahh, ok
Josh Duff
@TehShrike
At its most basic level, the static generator will be a wrapper for https://github.com/TehShrike/noddity-render-static
But we also need to handle htaccess rules to serve up the statically generated html based on the urls visited, and making sure that the html served up functions optimally whether or not you have JS turned on
Tobias Davis
@saibotsivad
okay so, I was looking at the function for noddity-butler butler.refreshIndex
the readme says:
Updates the cache by downloading the latest version of the index.json from the server.
so is that only downloading the index.json file from the server, or is it going to download all the files listed in it? (like in an incognito tab where nothing's cached)
Josh Duff
@TehShrike
@saibotsivad it downloads the index.json, plus any files listed in there that are not already cached locally