-
Notifications
You must be signed in to change notification settings - Fork 2
/
TODO
65 lines (34 loc) · 1.9 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Sweetass clock whose hand(s) are the string of the time
click and drag on logo to start spinning (like bottle) or clic and pull, then let go to spin.
store everything in the model dbs in a browser sqlite if possible - make for better long-term
visualizations
keyword search for all entries
refresh countdown on hover of each grid_title
add top gradient?
do something like http://www.youworkforthem.com/product.php?sku=P1139 where all the cells get tinted
blue and a large yellow thing comes up in front of them.
holding SHIFT makes the animations slower.
make the 3N logo darker.
make fun of people who have crap browsers and guilt them into upgraydding.
Doesn't look like analytics fire in Firefox
ARCHITECTURE
rename 'data' as it is now to 'json'
model has array called DB and methods like 'all' and 'first(int)' that return items (rows) from DB
model has to_cells method that does title_elem + this.db.map(function(row){return row.to_cell()})
DB item has to_cell (passed in by model at creation time) that makes a cell.
model has make method that takes in json and returns DB
or
model calls json.asdf.arraypart.map(f) where f returns an DB
Cell is a template - takes in an object and makes html/events
a cell has a title, html and classes. it doesn't have a created_on.
each DB item (row) from a given model can be unique but should have created_on (standard column)
NO CONTROLERS - the way it is now if you want two twitter grids you'd have to copy and paste the
instantiation call. no state outside of instantiation laaame.
GOAL - return items that act like arrays but have special methods
model.first(10).to_cells()
model.first(10).get('created_on')
is this better than just using map?
toby
http://www.iancollins.me/?global_user=takeo&flickr_id=93851177@N00&delicious_user=tobys&lastfm_user=tobysterrett
abhay
http://www.iancollins.me/?flickr_id=61791246@N00&global_user=abhaykumar&lastfm_user=c0de#/