![]() |
|
|
|
Junior
Project Home • External Project Link • Contact Project
Author: Shayne Sweeney (All RIAForge projects by this author) Description:
= Junior
Junior was inspired by Ruby's Sinatra in an attempt "for quicky creating web-applications in [ColdFusion] with minimal effort": # myapp.cfm <cfimport taglib="junior/tags" prefix="jr" /> <jr:get url="/"> Hello, world! </jr:get> == Routes In Junior, a route is a custom tag named after an HTTP method with a URL attribute used as a matching pattern. <jr:get url="/"> .. show something .. </jr:get> <jr:post url="/"> .. create something .. </jr:post> <jr:put url="/"> .. update something .. </jr:put> <jr:delete url="/"> .. annihilate something .. </jr:delete> Routes are matched in the order they are defined. The first route that matches the request is invoked. __MORE TO COME__ |
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.