Fixed typo.
Server modes.
This commit is contained in:
+11
-4
@@ -1,14 +1,14 @@
|
|||||||
CMS Hyperemedia API and Adaptive Web Design
|
CMS Hypermedia API and Adaptive Web Design
|
||||||
============================================
|
============================================
|
||||||
|
|
||||||
|
|
||||||
A content management system is not a simple domain.
|
A content management system is not a simple domain.
|
||||||
This example shows how to build a basic Hypermedia API for a CMS using HTML5 and progressive enhacement.
|
This example shows how to build a basic Hypermedia API for a CMS using HTML5 and progressive enhacement.
|
||||||
The idea is based on an existing Eiffel CMS, the goal is learn the domain and create a new modular CMS.
|
The idea is based on an existing [Eiffel CMS] (https://github.com/EiffelWebFramework/cms), the goal is learn the domain and create a new modular CMS.
|
||||||
|
|
||||||
Persistence
|
Persistence
|
||||||
============
|
============
|
||||||
The current solution uses MySQL and only handle the nodes concept.
|
The current solution uses MySQL and only handle users and nodes concept.
|
||||||
|
|
||||||
|
|
||||||
Authentication/Authorization
|
Authentication/Authorization
|
||||||
@@ -26,7 +26,7 @@ The root uri:
|
|||||||
shows a predefined number of nodes the `n' most recent nodes.
|
shows a predefined number of nodes the `n' most recent nodes.
|
||||||
|
|
||||||
Guest users will be able to list all the nodes and view a particular node.
|
Guest users will be able to list all the nodes and view a particular node.
|
||||||
Logged in users (There is only one user: admin)
|
Logged in users.
|
||||||
Logged users are able to
|
Logged users are able to
|
||||||
Add a new node
|
Add a new node
|
||||||
Edit an existing node
|
Edit an existing node
|
||||||
@@ -36,6 +36,13 @@ Edit a node content
|
|||||||
Delete a node
|
Delete a node
|
||||||
|
|
||||||
|
|
||||||
|
Server Modes
|
||||||
|
============
|
||||||
|
|
||||||
|
api: HTML5 API
|
||||||
|
html: api with progresive enhacements css and js, server side rendering.
|
||||||
|
web: api with progresive enhacements css and js and Ajax calls.
|
||||||
|
|
||||||
References
|
References
|
||||||
|
|
||||||
1: http://codeartisan.blogspot.se/2012/07/using-html-as-media-type-for-your-api.html
|
1: http://codeartisan.blogspot.se/2012/07/using-html-as-media-type-for-your-api.html
|
||||||
|
|||||||
Reference in New Issue
Block a user