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.

Get haXe 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.