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

Time for action—Writing a zoo management tool

To illustrate what we have learned in this chapter, we are going to write a very simple tool based on zoo management.

This tool will have a server on which the list of animals will be stored and that will execute clients' queries.

Therefore, the server will basically offer the following two methods:

  1. The first one will return the list of animals.
  2. The second one will allow creating and adding an animal in the list.

An animal will simply consist in a name and a number of this animal.

On the client side, we will create a neko application in command line that will simply offer the same two functionalities, but exposed for the user.

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