Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TQL QueriesRestful 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

Image Removed

...

  • Never Hardcode the TQL End Point

...

Image Added

Model-View-Controller (MVC) is popular design pattern to develop HTML/JS app that consumes TQL Queries.

ViewTechnologyIn this tutorial
ViewHTML, 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.

...