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

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.