As I reboot and build and add features to this site, I am documenting some of the tools and tech I use in a series of articles.
My aim is to build/establish a simple modern html5 front-end development enviroment, that ( at the backend ) can utilise Nginx as a reverse proxy and cache server for the eXist-db Application Server. eXist-db can provide a XML document-oriented schema-less data-store and an xQuery engine to access and transform our stored data.
At the mo, other projects I am working on.
- NZ based stock market selector/filter and retirement portfolio site. A data driven info site with comparative tables, SVG graphs etc
- Music Collection App. A single page app that is served from a networked juke-box server. The networked juke-box server: A URL attached to a piece of hardware that plays music - Suitable for cafes, flats, home etc.
- A ready-to-go Blog Site exist-db package. Follows the blog pattern: home (top summaries ) | archives ( permalink date stamped urls, tag and category views ) | about-me
Change Log
Site Navigation:
A nav element containing a unordered list of items. which in turn contain an hyperlink anchor apart from the 'You are here' item which tells the visit the they are at the location and contains a strong element.
This sites top-level navigation is based around 'categories' which is nothing more than an folder name in the /_data/categories directory.
style module: nav.scss contains the sub-module .m-nav_categories
When a user puts a entry to /categories/{category}/{resource} the category becomes become part of the site navigation list except when the entry is blog post
Examples:
- put pattern /categories/{cat-1}/{resource} :=-
| home | cat-1 | cat-2 | cat-n | - put example /categories/articles/resource-name :=-
| home | articles | - put example /categories/about/me :=-
| home | articles |about - put pattern /categories/_post/{resource} :=- not part of top nav