...
TQL Queries | Restful Services |
---|---|
XML Oriented (Request & Response) (Note that TQLEngine supports both JSON & XML; the recommended guideline is XML for TQL Queries readability) | Restful Services are JSON oriented |
TQL Queries are sent as payload, therefore the HTTP Method to be used always POST. | Method can be: GET/PUT/POST/DELETE |
UI Technologies
...
Most commonly used UI technologies are:
- HTML,CSS and JavaScript
- JavaScript Frameworks (Angular JS, Backbone JS, etc.)
- HTML5, CSS/CSS3 and JavaScript/jQuery
Design Patterns
...
- Never Hardcode the TQL End Point
...
Model-View-Controller (MVC) is popular design pattern to develop HTML/JS app that consumes TQL Queries.
View | Technology | In this tutorial |
---|---|---|
View | HTML, CSS, JS (Bootstrap is a good starting point) | index.html |
Model | JS - Services & Factories independent of underlying framework (OR) Angular JS provided Model | Angular Model Service (TQLQueryService.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] |
Implementation Steps
All the implementation steps must be against Simulated Greenhouse project.
...