Wiki source code of ERRest Boot Camp
Version 11.1 by Pascal Robert on 2012/05/02 15:10
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 | * Using an existing model and explaining how it works | ||
8 | ** BlogEntry | ||
9 | *** title | ||
10 | *** content | ||
11 | *** dateInserted | ||
12 | *** dateModified | ||
13 | *** author | ||
14 | ** BlogAuthor | ||
15 | *** name | ||
16 | *** password | ||
17 | |||
18 | *** entries | ||
19 | * Basic REST routes (JSON) | ||
20 | ** adding a migration to create the admin user | ||
21 | ** adding a BlogAuthor user | ||
22 | ** adding a BlogEntry | ||
23 | ** getting a BlogEntry | ||
24 | ** modifying a BlogEntry | ||
25 | ** deleting a blogEntry | ||
26 | ** viewing a author and its posts (in XML) | ||
27 | * HTML REST routes | ||
28 | ** explain how URL are differents | ||
29 | ** automatic HTML routing vs manual | ||
30 | ** listing blog posts | ||
31 | ** listing authors | ||
32 | ** batching and sorting | ||
33 | * Better names: entity and attribute alias | ||
34 | * Handling status codes | ||
35 | ** 200&201 | ||
36 | ** 404&410 | ||
37 | *** Returning 410 for entries that were deleted | ||
38 | ** 405 | ||
39 | ** 50x | ||
40 | ** 401&403 | ||
41 | *** when trying to create blog entry without logged user | ||
42 | * Redirections | ||
43 | ** How to do them, codes 301 and 302 differences | ||
44 | * Adding headers to response | ||
45 | * Adding caching to the blog | ||
46 | * Adding non-EO support | ||
47 | * Adding keys for non-model attributes | ||
48 | * Date formats | ||
49 | ** er.rest.dateFormat | ||
50 | ** er.rest.timestampFormat | ||
51 | ** er.rest.rfcDateFormat | ||
52 | * JSON Schema | ||
53 | |||
54 | RestContext | ||
55 | Properties | ||
56 | Adding new format | ||
57 | Security | ||
58 | strictMode | ||
59 | Workflow |