Login

    Register

This is to notify all, that we will be decommissioning http://riaforge.org/ ("Site") soon. This decision has been taken due to business reasons. If you are interested in reviewing or downloading any project or files available at Site, please do so, by April 16, 2019, 12 noon PST , as per license terms associated therewith. Past that, you will not be able to access the projects or files.Should you have any concerns/suggestions/query, feel free to Contact Us.
Managed Hosting

PROJECT CATEGORIES

 

Junior
Project Home External Project Link Contact Project

Author: Shayne Sweeney (All RIAForge projects by this author)
Last Updated: October 31, 2009 9:46 AM
Version: 0.1
Views: 9,969
Downloads: 717
License: Common Public License

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__


This is to notify all, that we will be decommissioning http://riaforge.org/ ("Site") soon. This decision has been taken due to business reasons. If you are interested in reviewing or downloading any project or files available at Site, please do so, by April 16, 2019, 12 noon PST , as per license terms associated therewith. Past that, you will not be able to access the projects or files.Should you have any concerns/suggestions/query, feel free to Contact Us.