December 2016
Intermediate to advanced
841 pages
17h
English
Let's create a new file named market_controller.ts under the app/controllers directory. We need to import the Controller and AppEvent entities from the framework along with some entities that are not available yet (NyseModel, NasdaqModel and MarketView).
/// <reference path="../../framework/interfaces"/>
import { Controller, AppEvent } from "../../framework/framework";
import { MarketView } from "../views/market_view";
import { NasdaqModel } from "../models/nasdaq_model";
import { NyseModel } from "../models/nyse_model";In an application that uses our framework, a controller must extend the base Controller class and implement the IController class:
class MarketController extends Controller implements IController ...
Read now
Unlock full access