December 2016
Intermediate to advanced
841 pages
17h
English
Let's create a new file named symbol_controller.ts under the app/controllers directory. This file will contain a new controller named SymbolController. The implementation of this controller is largely similar to the implementation of the MarketController controller, so we are going to avoid going into too much detail.
The main difference between this controller and the previous controller is that the new controller uses two new models (QuoteModel and ChartModel) and two new views (SymbolView and ChartView):
/// <reference path="../../framework/interfaces"/> import { Controller, AppEvent } from "../../framework/framework"; import { QuoteModel } from "../models/quote_model"; import { ChartModel } from "../models/chart_model"; ...Read now
Unlock full access