Table of Contents minLevel 3 outline true style none
...
Greenhouse Monitoring System will be taken as an example to illustrate creating User Interface applications built on using TQL Queries.
TQL Queries Vs REST Services
Explain the difference between RESTful services and TQL Queries
...
REST is an architecture style for designing networked applications and in virtually all cases, the HTTP protocol is used. In many ways, the World Wide Web itself, based on HTTP, can be viewed as a REST-based architecture. By this definition of REST coupled with the fact that TQL Queries are executed over an HTTP endpoint that is automatically generated when models are deployed to TQLEngine, make TQL Queries Restful in nature.
In the table below we note fixed REST pattern that is applicable to TQL Queries.
TQL Queries | Restful Services | ||
---|---|---|---|
XML-Oriented | JSON | ||
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
- Pure HTML and JS
- Frameworks
- HTML5
...