Difference between revisions of "Routing and Template Cookbook: Introduction"
From Dreamwidth Notes
Foxfirefey (Talk | contribs) (Created page with "This cookbook seeks to provide useful examples on how to create routers, handlers, and templates for the Dreamwidth codebase. For other resources, you might want to look at: ...") |
m (→Code Locations: tyop) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
This cookbook seeks to provide useful examples on how to create routers, handlers, and templates for the Dreamwidth codebase. | This cookbook seeks to provide useful examples on how to create routers, handlers, and templates for the Dreamwidth codebase. | ||
− | + | {{:Routing and Template Cookbook: Table of Contents}} | |
+ | |||
+ | = References = | ||
+ | |||
+ | * [http://template-toolkit.org/docs/index.html Template Toolkit Documentation] | ||
+ | |||
+ | * [http://docs.dreamwidth.net/DW/Request.html DW::Request API Documentation] | ||
+ | * [http://docs.dreamwidth.net/DW/Routing.html DW::Routing API Documentation] | ||
+ | * [http://docs.dreamwidth.net/DW/Template.html DW::Template API Documentation] | ||
+ | * [http://docs.dreamwidth.net/DW/Template/Plugin.html Plugin Documentation] | ||
+ | * [http://docs.dreamwidth.net/DW/Template/Filters.html Filter Documentation] | ||
+ | |||
+ | = Code Locations = | ||
− | |||
* [https://github.com/dreamwidth/dw-free/tree/develop/cgi-bin/DW/Controller Existing DW controllers (routing + handlers)] | * [https://github.com/dreamwidth/dw-free/tree/develop/cgi-bin/DW/Controller Existing DW controllers (routing + handlers)] | ||
* [https://github.com/dreamwidth/dw-free/tree/develop/cgi-bin/DW/Template DW Template Toolkit implementation and extensions] | * [https://github.com/dreamwidth/dw-free/tree/develop/cgi-bin/DW/Template DW Template Toolkit implementation and extensions] | ||
− | * [https://github.com/dreamwidth/dw-free/tree/develop/views | + | * [https://github.com/dreamwidth/dw-free/tree/develop/views Existing DW templates] |
+ | |||
+ | == Specific Modules == | ||
+ | |||
+ | * [https://github.com/dreamwidth/dw-free/blob/develop/cgi-bin/DW/Controller.pm DW::Controller] | ||
+ | * [https://github.com/dreamwidth/dw-free/blob/develop/cgi-bin/DW/Request.pm DW::Request] | ||
+ | * [https://github.com/dreamwidth/dw-free/blob/develop/cgi-bin/DW/Routing.pm DW::Routing] | ||
+ | * [https://github.com/dreamwidth/dw-free/blob/develop/cgi-bin/DW/Template.pm DW::Template] | ||
+ | * [https://github.com/dreamwidth/dw-free/blob/develop/cgi-bin/DW/Template/Plugin.pm DW::Template::Plugin] | ||
+ | * [https://github.com/dreamwidth/dw-free/blob/develop/cgi-bin/DW/Template/Filters.pm DW::Template::Filters] | ||
+ | * [https://github.com/dreamwidth/dw-free/blob/develop/cgi-bin/DW/Template/Plugin/FormHTML.pm DW::Template::Plugin::FormHTML] | ||
− | |||
<noinclude>[[Category: Routing and Template Cookbook]]</noinclude> | <noinclude>[[Category: Routing and Template Cookbook]]</noinclude> |
Latest revision as of 00:13, 7 September 2014
This cookbook seeks to provide useful examples on how to create routers, handlers, and templates for the Dreamwidth codebase.
Table of Contents
- Routing and Template Cookbook: Basic routing, handlers, and templates
- Routing and Template Cookbook: Find the handler for a URL
- Routing and Template Cookbook: Translation system
- Routing and Template Cookbook: Forms and processing
- Routing and Template Cookbook: Including resources
- Routing and Template Cookbook: Output formats
- Routing and Template Cookbook: Errors and debugging
- Routing and Template Cookbook: BML Conversion Workflow
References
- DW::Request API Documentation
- DW::Routing API Documentation
- DW::Template API Documentation
- Plugin Documentation
- Filter Documentation
Code Locations
- Existing DW controllers (routing + handlers)
- DW Template Toolkit implementation and extensions
- Existing DW templates