Versions Compared

Key

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

...

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

ViewComponent NameTechnologyIn this tutorial
ViewHTML, 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

(

TQLQueryService

services/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)

ConfigurationStatic Configuration Fileconfig/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

...