Wiki source code of ERRest Boot Camp
Version 5.1 by Pascal Robert on 2012/05/02 15:20
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | * What is REST | ||
2 | ** Consistent URLs | ||
3 | ** Stateless | ||
4 | ** Using HTTP protocol to full extend (methods, cache, status codes, headers, redirections) | ||
5 | ** Multiple representations of same object, but only one URL for object | ||
6 | ** HATEOAS mention | ||
7 | * Basic ERRest concepts | ||
8 | ** routes | ||
9 | ** controllers | ||
10 | ** delegates | ||
11 | ** key filters | ||
12 | * Using an existing model and explaining how it works | ||
13 | ** BlogEntry | ||
14 | *** title | ||
15 | *** content | ||
16 | *** dateInserted | ||
17 | *** dateModified | ||
18 | *** author | ||
19 | ** BlogAuthor | ||
20 | *** firstName | ||
21 | *** lastName | ||
22 | *** password | ||
23 | |||
24 | *** entries | ||
25 | * Basic REST routes (JSON) | ||
26 | ** adding a migration to create the admin user | ||
27 | ** adding a BlogAuthor user | ||
28 | ** adding a BlogEntry | ||
29 | ** getting a BlogEntry | ||
30 | ** modifying a BlogEntry | ||
31 | ** deleting a blogEntry | ||
32 | ** viewing a author and its posts (in XML) | ||
33 | * HTML REST routes | ||
34 | ** explain how URL are differents | ||
35 | ** automatic HTML routing vs manual | ||
36 | ** listing blog posts | ||
37 | ** listing authors | ||
38 | ** batching and sorting | ||
39 | * Better names: entity and attribute alias | ||
40 | * Having a fake primary key in a REST context (moving from ID to unique title) | ||
41 | * Handling status codes | ||
42 | ** 200&201 | ||
43 | ** 404&410 | ||
44 | *** Returning 410 for entries that were deleted | ||
45 | ** 405 | ||
46 | ** 50x | ||
47 | ** 401&403 | ||
48 | *** when trying to create blog entry without logged user | ||
49 | * Redirections | ||
50 | ** How to do them, codes 301 and 302 differences | ||
51 | * Adding headers to response | ||
52 | * Adding caching to the blog | ||
53 | * Adding non-EO support | ||
54 | * Adding keys for non-model attributes ("fullName") | ||
55 | * Date formats | ||
56 | ** er.rest.dateFormat | ||
57 | ** er.rest.timestampFormat | ||
58 | ** er.rest.rfcDateFormat | ||
59 | * JSON Schema | ||
60 | |||
61 | RestContext | ||
62 | Properties | ||
63 | Adding new format | ||
64 | Security | ||
65 | strictMode | ||
66 | Workflow |