Last modified by Bastian Triller on 2021/08/07 03:59

From version 1.1
edited by Pascal Robert
on 2012/01/07 22:22
Change comment: There is no comment for this version
To version 3.1
edited by Pascal Robert
on 2012/08/06 05:04
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,1 +1,18 @@
1 -Forthcoming
1 +{{info}}
2 +Work in progress
3 +{{/info}}
4 +
5 +So far, we have seen two of the technologies, D2W and ERRest, that Project Wonder offers for viewing and managing the data. In this tutorial, we will show how to do it with the "stateful" way of doing things. Stateful have been around since the beginning of WebObjects in 1996, so it's the oldest way of presenting data and constructing pages.
6 +
7 +Stateful means that you don't have to worry about creating sessions and keeping track of data coming from HTML input fields and controls. In fact, D2W is also stateful.
8 +
9 +In this tutorial, we are also going to use the Ajax framework, who is stateful too. We will replicate the functionalities of the two other tutorials, but by creating pages ourselves. The application will have the following pages:
10 +
11 +* The main page will display a list of blog entries, with a link to see the blog entry.
12 +* The main page will have a link to an "admin" page that will show a login form.
13 +* After login, a list of blog entries with links to edit, delete and create blog entries will be show.
14 +* We need a form to edit/create blog entries.
15 +
16 +Let's start by creating a new project in Eclipse. You need to create a **Wonder Application** project type, and name it **StatefulBlog**.
17 +
18 +[[image:Capture d’écran 2012-08-06 à 04.56.13.png||border="1"]]