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

Creating a blogging system

Now that we have seen how we can query databases and how we can use the SPOD system, we are going to try implementing something that looks like a very simple blogging system.

We will have the following four functionalities:

  1. Adding a new post.
  2. Listing posts.
  3. Adding a user.
  4. Listing users.

In order to choose what actions we want to execute, we will use the GET parameter "action". We will also pass other parameters needed by the action through GET parameters.

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