lorenmh / day2data Goto Github PK
View Code? Open in Web Editor NEWApp to record personal metrics data
App to record personal metrics data
Last night I came to the conclusion:
Set should be renamed Dataset
Record should be renamed Collection
Datasets should hold their own permissions / owner info, and have a user_res_id, a resource id relative to the User for all Datasets. The Dataset should also hold its own permissions information.
Collections will now use an association table for a Many to Many relation with a Dataset. The collections will no longer have permissions?
The XSRF token might be alright for right now, need to look into refactoring that as well.
The routing needs to be set up to accommodate these new changes.
Here's an example:
/u/foo/s/32/
/u/foo/s/32/d/52
/u/foo/c/3/
ex: dashboard, charts, settings, etc.
only add shells
get returns data_type of str, requires data_type of int for posts
Charts should be a module with directives.
A chart should load its dependencies async; if a chart needs D3, load it via AMD and requirejs
A Chart directive should render itself based on whichever template its in.
There should be different types of charts:
-Pie
-Line
-Scatter
..etc...
Hear Ye, Hear Ye, The Grande Refactoring Commences!
Create forms using directives;
form directive which comprises input / text area / radio / etc, sub directives.
button directives
Remove all logic from the templates, use functions / etc. to decouple.
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.