Versions Compared

Key

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

Table of Contents
minLevel3
outlinetrue
stylenone

 

Background

Greenhouse Monitoring System will be taken as an example to illustrate creating User Interface applications built on TQL.


TQL Queries Vs REST Services

Explain the difference between RESTful services and TQL Queries

 TQL QueriesRestful Services
 XML-OrientedJSON
   

 

UI Technologies

  • Pure HTML and JS
  • Frameworks
  • HTML5

Design Patterns

  • MVC Pattern and TQL
    • Never Hardcode the TQL End Point
  • Look out for: Subscriptions & Notifications Overload
  • Doing Async Operations : Not all queries are Request / Response; 
    • Not all queries are Request / Response; 
    • Take Request and wait for Respose

Implementation Steps

All the implementation steps must be against Simulated Greenhouse project.

Take on of the scree with Request / Response and Notification/Subscription and build the UI.

Discover TQL EndPoint URL (Code; JS)

Discovering TQL EndPoint URLs -

Test Queries via Query Editor

  • Take Query from Pramod to be run against your own Deployed TQLEngine and get the endpoints.
  • Take sample queries from Greenhouse.

Deploy & Test

  • Attach applications to the project (Locally) (Even if it is part of different Project)

Complete Code