Skip to content
/ junior Public

Junior was inspired by Ruby's Sinatra in an attempt "for quicky creating web-applications in [ColdFusion] with minimal effort":

Notifications You must be signed in to change notification settings

shayne/junior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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__

About

Junior was inspired by Ruby's Sinatra in an attempt "for quicky creating web-applications in [ColdFusion] with minimal effort":

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages