jazzdotdev / contentdb Goto Github PK
View Code? Open in Web Editor NEWThe Jazz Database which Stores Documents in Files and Supports Version Control and Sharing
The Jazz Database which Stores Documents in Files and Supports Version Control and Sharing
see jazzdotdev-packages/json-interface#14
and make it predictable, preferably sorted with name first
lighttouch document witness has this logic already
https://en.wikipedia.org/wiki/Data_compression
http://www.coloring-book.co/
https://news.ycombinator.com/item?id=15326480
https://hn.algolia.com/?query=group%20theory&sort=byPopularity&prefix&page=0&dateRange=all&type=story
should make error handling like https://github.com/foundpatterns/contentdb-lua/blob/c1606735a2194a23866d4f032513ef62bc59eaf2/walk_documents.lua#L7-L9 easier
and work with https://github.com/foundpatterns/lighttouch/issues/155
To read files, lighttouch walks through the files in the store's directories, but when given a missing store it breaks. Make it detect a missing store and just walk through an empty list of files.
url::parse ?
"Actix-web uses http::Uri for uri parsing."
https://docs.rs/actix-web/0.7.14/actix_web/error/enum.UrlParseError.html
https://github.com/hyperium/http/blob/master/src/uri/tests.rs
first: jazzdotdev/jazz#253
models: https://json-schema.org/
I updated the url of a slide, and it broke it
kind: request / response
from/to: (can "server" and "client" be united?) - incoming: 1, or outgoing 1
similar to #21
see bottom of https://news.ycombinator.com/item?id=19137259
currently found patterns "issue-labels" are in yaml, so they are inaccessible as content for referencing and working off their models (the prefix)
see also jazzdotdev/rolling-projects#3
to read model meta-documents as documents
or maybe torchbear.scl / contentdb /
that video and slideshow explain document-oriented databases very well
needs: 1) feature complete structured writing, automatic list item numbering 2) unambiguous syntax 3) round-tripping between markup and markdown
numbering # for list ordering
portioning % for text sectioning, paragraphs
bulletting * for unordered listing
~~
raw notes:
~~
bug: ordered list syntax uses ambiguous, cumbersome, hardcoded symbols
https://spec.commonmark.org/0.28/#ordered-list-marker
https://en.wikipedia.org/wiki/Hard_coding (antipattern)
using unique, hardcoded characters for each list item, and then an ambiguous ending character is breaking my content. I'd like to change this syntax to a single character syntax.
the number sign, #
, would make the most sense to me, since we're numbering things. this would make for an easy fix with nesting ordered lists, because then we could use multiple markers for list depth.
related: # [ ]
~~
bug: heading syntax uses a number symbol, instead of a portion symbol
https://spec.commonmark.org/0.28/#atx-heading
https://en.wikipedia.org/wiki/Number_sign
this bug also breaks numbering things. see []#
percentage is a portion calculated in terms of the rest of the portions, but it's the closest general character I can find to indicate a portion
the only other one I can think of is +
a plus sign, but that's part of the problem I'm trying to solve. I would like to better organize content across documents for a combinatorial value whose mechanisms work differently than simple addition.
~~
~~
~~
slug
might need to error if multiple documents with same shortname exist in same data store, and warn if same across stores
Lighttouch loaders preprocess everything, so this would make sense to do that way too..
While loading the models, check for this type of syntax and setup the data interfaces to Classes instead of database objects
so Lighttouch interfaces can:
when document viewed
if document model has preprocessed field
trigger model's / document's CRUD events (can be processed async, but before return)
After #20
Should support folder based hierarchies
Need outline-oriented model format, so need to clarify current document-oriented model format first
This will also work nicely for logs, not just opml-like texts
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.