...
Model-View-Controller (MVC) is popular design pattern to develop HTML/JS app that consumes TQL Queries.
ViewComponent Name | Technology | In this tutorial |
---|---|---|
View | HTML, CSS, JS (Bootstrap is a good starting point) | index.html and style.css |
Model | JS - Services & Factories independent of underlying framework (OR) Angular JS provided Model | Angular Model Service ( TQLQueryServiceservices/queryService.js) |
Controller | JS - Can be independent of underlying framework (Write your own using JS) or Angular provided model | Angular Controller and bind with HTML using Angular directive ng-controller. [MainController.js]. (controllers/mainController.js) |
Configuration | Static Configuration File | config/url_config.js |
Implementation Steps
All the implementation steps must be against Simulated Greenhouse project.can be tried out using any of the HTML/JS IDE of your choice.
Let's start out by creating a folder in y
Creating View
a) Main View - Single Page HTML file
...