Created
August 24, 2011 20:02
-
-
Save kevburnsjr/1169042 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Part 1 - Introduction | |
Impetus | |
CCD | |
Rack/WSGI | |
Components | |
Connectors | |
Middleware | |
ROA | |
Hypermedia | |
Self-Descriptive Messages | |
Intent | |
5.4 | |
--- | |
Part 2 - Files and such | |
Directory Structure | |
_lib | |
3rd party libs/components | |
Omega | |
Components | |
MediaTypes | |
_pub | |
App | |
_pub | |
App.php | |
_css, _js | |
MediaType | |
Html | |
Web | |
_pub | |
App.php | |
_css, _js | |
MediaType | |
Html | |
Json | |
JsonHal | |
Front controllers | |
bootstrap.php | |
Hard 500 | |
omega.php | |
autoloader | |
stack | |
--- | |
Part 3 - Core classes | |
Components, Stacks and Applications | |
Execution diagram | |
Applications as Stacks | |
Components as Middleware | |
__construct($next, $args) | |
__invoke($req) | |
Xzibit | |
Resources | |
_GET, _POST, _PUT, _DELETE (_HEAD, _OPTIONS, FTP, WebDav, etc.) | |
Request -> Response | |
Hello World | |
Implements Resource | |
Magic dir scan | |
Annotations | |
-> 3.1 | |
Requests and Responses | |
env -> req | |
input content-types | |
Request dump | |
_data | |
_param | |
route | |
Response instantiation | |
Response dump | |
status code | |
data | |
links | |
Response Forwarding | |
Dynamic method addition | |
Routes | |
_uri | |
_param | |
_data | |
_input | |
_annotations | |
Annotations | |
route->annotations() | |
Belong to components | |
!uri | |
!embed | |
!cache | |
--- | |
Part 4 - Components | |
Env Connectors | |
Apache | |
CLI | |
FTP? | |
SMTP? | |
WebDav? | |
etc? | |
Content Negotiation | |
extension => Request format | |
content-type => Request format | |
format => MediaType | |
Router | |
!uri | |
URI Template 6 | |
variables | |
query params & why | |
semicolon etc | |
mapping limitations | |
Flow | |
Composition | |
!embed | |
Link Rels | |
Show result in JSON | |
is_shallow | |
Chaining | |
Flow | |
Response Cache | |
Marking a response cachable | |
Cache methods | |
Memcached | |
APC? | |
Route->_uri() | |
Specific query params | |
Safe and unsafe | |
Unsafe invalidates | |
Linked Cache Invalidation | |
!inv | |
!invBy | |
Response Forwarding | |
Adds ->forward() | |
All unsafe methods should forward. | |
Dispatch | |
Call Resource Method | |
or Return 405 | |
Resolve app routes | |
Static Resources | |
_pub | |
cp -f on deploy | |
Citrus | |
CSS Min | |
SASS and LESS | |
JS Min | |
Coffeescript | |
Cache Headers | |
Sprite Generator | |
Inline icons | |
--- | |
Part 5 - Media types | |
HTML | |
Mustache | |
JSON | |
Hal | |
--- | |
Part 6 - Tools | |
GUI | |
Routes | |
Components | |
Dependencies | |
CLI | |
Generators | |
Omega Market | |
Libraries | |
Components | |
Stencils | |
Documentation | |
Download as HTML/PDF? | |
How to Contribute | |
Tests | |
Training | |
Examples | |
Tutorials | |
Support | |
GitHub | |
Issues | |
Blog | |
Forums | |
IRC | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment