The web developing is changing every day, a few years ago until these days a lots engineers suggest that the MVC pattern is the best option to face a software problem. Also, the pattern afford us more maintainability, code standardization, portability and others advantages. However, the MVC is evolving in new patterns, such as MVP and MVVM (now, the last one in my research focus). The purpose of this essay is to define KnockoutJS library and answer what for? why? and how can you start?
Secondly, in just five steps you will ready to start developing with ko.js:
- Yo will need a web – browser; I recommend you use Chrome because debugging is faster with this plugin, a text editor, a basic web server (apache, nodeJS, IIS).
- Create the next folder structure and add the basic HTML structure in index.html (check the repository):
- Add ko.js in project (I will use CDN version) and create App.js in js folder, it will content the namespace.
- Run server.