diff options
author | phaylon <phaylon@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-04-16 15:12:42 +0000 |
---|---|---|
committer | phaylon <phaylon@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-04-16 15:12:42 +0000 |
commit | aeb875d9a29d4930381f583d1620f3b8e31d1875 (patch) | |
tree | ef3c04d87e218591509db37b364a3fa42aa79f5a | |
parent | b9bfba58627ac35b39a6386506cdfe083f0f9edd (diff) | |
download | reaction-aeb875d9a29d4930381f583d1620f3b8e31d1875.tar.gz reaction-aeb875d9a29d4930381f583d1620f3b8e31d1875.zip |
added some asciio diagrams, still need some work (Skin entity, etc.)
-rw-r--r-- | lib/Reaction/Manual/Overview.pod | 48 | ||||
-rw-r--r-- | lib/Reaction/Manual/RenderPage.pod | 36 | ||||
-rw-r--r-- | maint/asciio/render-page.asciio | bin | 0 -> 4787 bytes | |||
-rw-r--r-- | maint/asciio/request.asciio | bin | 0 -> 5122 bytes |
4 files changed, 83 insertions, 1 deletions
diff --git a/lib/Reaction/Manual/Overview.pod b/lib/Reaction/Manual/Overview.pod index 084a89a..219475c 100644 --- a/lib/Reaction/Manual/Overview.pod +++ b/lib/Reaction/Manual/Overview.pod @@ -38,7 +38,53 @@ down to very small parts. Full separation of interface rendering structure and templating, making re-usable extensions even easier. -=back +=bac + +=head1 THE BIG PICTURE + + .=========. + | Request | + '=========' + | + | + v + .--------------------. .============================. + | Web Application | | Interface Model | + | Action Dispatching |<--| Object, Collection, Action | + '--------------------' '============================' + | ^ + v | + .====================. .-------------------. + | ViewPort | | Domain Model | + | Plain, Collection, | | Business Logic, | + | Object, Action | | Persistence Layer | + '====================' '-------------------' + | + v + .====================. + | FocusStack | + | Contains ViewPorts | + '====================' + | + v + .-----------. .===================. + | View | | RenderingContext | + | HTML, PDF |---->| Template Toolkit |----. + '-----------' '===================' | + | ^ | + v | | + .======================. | | + | LayoutSet / ViewPort | | | + | Layouts: widget, foo | | | + '======================' | | + | | | + v | | + .========================. | | + | Widget / LayoutSet | | | + | Fragments: widget, foo |---------' v + '========================' .==========. + | Response | + '==========' =head1 APPLICATION diff --git a/lib/Reaction/Manual/RenderPage.pod b/lib/Reaction/Manual/RenderPage.pod index 2c2a19d..4b832b0 100644 --- a/lib/Reaction/Manual/RenderPage.pod +++ b/lib/Reaction/Manual/RenderPage.pod @@ -1,6 +1,42 @@ =head1 Page rendering +=head2 A little overview + + .---------------------------------------. + | Controller Action | + |---------------------------------------| + | Decides which logical part to provide | + '---------------------------------------' + | + v + .------------------------------. + | ViewPort | + |------------------------------|----------. + | A logical part of the page | | + '------------------------------' | + | Inner ViewPorts + v Data + .-------------------------------------. | + | LayoutSet | | + |-------------------------------------|------. + | A representational part of the page | | + '-------------------------------------' | + | Looks + v Structure + .-------------------------------. | + | Widget | | + |-------------------------------|---------. + | A functional part of the page | | + '-------------------------------' | + Preparation + Structure + .-------------------------------. | + | Output | | + |-------------------------------|<--------' + | The rendered part of the page | + '-------------------------------' + =head2 Or, how to track why your page failed to render Catalyst's C<begin> and C<end> actions are supplied by diff --git a/maint/asciio/render-page.asciio b/maint/asciio/render-page.asciio Binary files differnew file mode 100644 index 0000000..d6c9376 --- /dev/null +++ b/maint/asciio/render-page.asciio diff --git a/maint/asciio/request.asciio b/maint/asciio/request.asciio Binary files differnew file mode 100644 index 0000000..1664d61 --- /dev/null +++ b/maint/asciio/request.asciio |