public
Description: Nifty's VM project
Homepage: http://getnifty.net
Clone URL: git://github.com/shlomiatar/nifty-vm.git
Click here to lend your support to: nifty-vm and make a donation at www.pledgie.com !
nifty-vm / TODO
100644 141 lines (94 sloc) 3.133 kb
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
== SchemaElements refactoring
 
* change everything to instance methods and not class methods
* Think about view elements
* Naming and documentation
* ViewActions? think about it.
 
== "Get" actions
* Filters in the views
* Special actionlets for altering views?
 
== 'ViewInfo'
* Items within items
* configs
* config entry can be set by an action.
* item can be shown only if given view action returned true
* item can be filterd by pset (optimisation)
 
 
 
 
Actions
=======
 
+ Action parser and evaluator
+ params parser
* cond parser
+ prototype parser
+ can action yield?
* Entity actions
* Constructors
+ Actions returning values
 
Rewriting action parsing and generating
 
+ Action parsing, block parsing, cond parsing, var parsing
+ Complex cases, Hashes, Blocks, validations
+ Action yields
+ Action generation, and generationlets
+ Return values
 
 
 
 
 
Client Side
===========
 
* Transform Nifty.app ot Nifty.BootLoadr class
* Clean up and document Nifty.data
* Implement nifty panel in a cleaner way, with support for footers and special extra header thingis
* Clean up and document Nifty.widgets
* Field & Fieldeditor with event based interactions
* Simple validations for fields, auto marking for required fields
* Extra field information and data, to be added on the side, under field name.
* Empty entity
* BigButton implementation
* Saving new entity
* Add new fieldlets
 
* info for offline server
* info for not-found entity
* sample index page with list of x items
 
Server Side
===========
 
* Return errors for bad data.
 
DataModel
=========
+ Change DisplayLambda into Title format
+ Change Entity[:display] => Entity[:title]
 
 
 
 
 
== Client Side
 
* Smart-tabing between instances
* blur & focus events for instances
+ color dirty instances
+ update displayItem with values, via handlers.
+ field can be single or multiple
* show new empty instance on multiple edit fields
+ focus on the first editItem when editing instance
 
+ template-based markup generating for field, field-instnace & fieldlet, for using with grid (list)
 
 
+ clean up pages
+ clean up instances & fieldlets
 
* nifty-window, looks like facebook's one.
 
 
== Nifty Warnings & Errors:
* Not Found
* No access
* No internet connection
 
 
== Server Side
+ proper response for successfully saved entity
+ optimize entity saving
+ set the display after save
+ generate fields, entities & fieldlets automaticaly (JS side)
 
+ smart loading of enitites via fieldlets - for usage with links.
 
 
== Fieldlets
* proper folder tree
* proper definition file
+ define options for displayitems & edit items via fieldlets
+ fieldlet with xtemplates/rendered items as their display
+ redrawing display value when field is updated
* extract nifty-base-fieldlets to merb-plugin
* rake tasks for packing, testing and generating fieldlets
 
 
== Lists
 
 
 
 
== Cleaning up
+ Schema specified on models
* rspecs
* documentation for each class and mehtod, based on Merb's convention
+ fixtures and sample data
 
 
== Testing:
* Rspec unit tests
* many system fixtures
* many stories
* find a way to test fieldlets (maybe "interface-like" tests? (respond_to? :required_method))