Book Image

haXe 2 Beginner's Guide

5 (1)
Book Image

haXe 2 Beginner's Guide

5 (1)

Overview of this book

Table of Contents (21 chapters)
haxe 2
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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.