Wiki source code of ERRest Boot Camp
Version 10.1 by Pascal Robert on 2012/05/02 15:09
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
8.1 | 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 | ||
![]() |
9.1 | 15 | *** name |
![]() |
8.1 | 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 | ||
![]() |
9.1 | 47 | * Adding keys for non-model attributes |
![]() |
8.1 | 48 | * Date formats |
49 | * JSON Schema | ||
50 | |||
![]() |
4.1 | 51 | RestContext |
52 | Properties | ||
![]() |
9.1 | 53 | JSON Schema |
54 | HTML vs other formats | ||
55 | Response representation | ||
56 | Missing route | ||
57 | Missing object | ||
58 | POJO objects | ||
59 | Headers | ||
60 | Caching | ||
![]() |
4.1 | 61 | Adding new format |
62 | Security | ||
63 | strictMode | ||
64 | Workflow | ||
![]() |
9.1 | 65 | Query arguments and ERXRestFetchSpecification |
66 | ERXRestNameRegistry | ||
67 | MapClassDescription / NSDictionaryClassDescription |