Reaching for heavy and complex tools when a straightforward solution would have sufficed.
Example: Requiring JavaScript for a simple static site. Making a wiki as an SPA.
Reaching for heavy and complex tools when a straightforward solution would have sufficed.
Example: Requiring JavaScript for a simple static site. Making a wiki as an SPA.
http://bettermotherfuckingwebsite.com/
(excuse the profanity)
See https://github.com/WardCunningham/remodeling#remodeling which is linked from the footer of the wiki.
That said, given that he's the original inventor of the wiki, I'd say he's earned a bit of patience on our part. Let's wait and see where he's going with these ideas (some of which are: federation, bi-directional linking between wikis, forking & merging, transclusion, etc.), a bit longer before contemplating setting up a "classic" wiki with this content.
here's a dump of the entire wiki in WikiWikiWeb markup. if you can do anything with it, let me know.
The two supported wiki markups:
- MediaWiki https://www.mediawiki.org/wiki/Help:Formatting
- TWiki http://twiki.org/cgi-bin/view/TWiki/TextFormattingRules
I wonder which one is the closest to WikiWikiWeb syntax.
Another cool stuff would be to put that in the gopherspace.
ward's site actually contains the rules for deconstructing the JSON and translating it to HTML. I'll have a look at that when I have time.
Well, that's technically fine. However, the page should be a static document which was rendered on the server side and the other stuff should be loaded later and only when needed.
There is no reason why the initial render can't be done in <20 KB and <5 requests.
SPAs are almost always not rendered server-side. They can be, but it's harder so they aren't.
http://c2.com/wiki/remodel/pages/[page_title] e.g. http://c2.com/wiki/remodel/pages/AntiPatternsCatalog
What is behind the obsession with JSON?
If JSON is nested too deep, memory is exhausted.
Why blindly put an entire structure of unknown size into memory? Just to parse some text.
Why not use something like netstrings?