Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zewa666/ko-crud
Knockout ViewModel and View CRUD creation using T4 Templates
https://github.com/zewa666/ko-crud
Last synced: about 12 hours ago
JSON representation
Knockout ViewModel and View CRUD creation using T4 Templates
- Host: GitHub
- URL: https://github.com/zewa666/ko-crud
- Owner: zewa666
- Created: 2013-08-14T08:33:37.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-14T08:38:52.000Z (over 11 years ago)
- Last Synced: 2023-04-06T14:20:36.565Z (over 1 year ago)
- Language: C#
- Size: 113 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
KO-CRUD
=======================This is a simple CRUD generator of JS ViewModels and HTML Views for KnockoutJS using T4 Templates.
It's only in an initial state and serves as a demoUsage
-----
1.) Create a new Model class in C# deriving from KO_BaseModel
2.) Create your Properties, which are mapped to observables and inputs on the view side
3.) Create Methods which are mapped to either functions or ko.computed
4.) Annote your Properties and Methods with CRUDPresentationAttribute or ModelMethodDescriber for auto-generation hints
5.) Compile your project
6.) Right click on the T4 Templates and use "Run Custom Tool"
7.) Copy the generated HTML & JS files to your project
8.) Add applyBindings() to connect the View to the ViewModel
9.) thats it ...
To Do
-----
Too much to list here