O'Reilly logo

haXe 2 by Benjamin Dasnois

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The main class

Here is our main class; it contains the global list of computers:

import computerList.models.Computer;
class ComputerList
{
public static var computers = new List<Computer>();
public static function main():Void
{
new computerList.controllers.ComputerListController();
}
}

Now, you can test our application and see that it works!

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required