Dashboard > MonoRail > Home
Home
Added by Administrator, last edited by Dusty Candland on Apr 05, 2008  (view change)
Labels: 
(None)


Similar header styles
The Wiki header styles h1, h2, h3 etc.. are all almost the same. It is very hard to distinguish the hierarchy. Making h1 for example, into an underlined div would improve the situation significantly.

Castle MonoRail

 
Recently Updated
by Dusty Candland (05 Apr)
Home
by Dusty Candland (05 Apr)
Sending Email With RenderViewAndSend
by Dusty Candland (04 Apr)
TDDingControllers
by Drozzy (26 Mar)
Samples & tutorials
by Drozzy (26 Mar)
MonoRail
by Drozzy (26 Mar)
"headerValue"
by Stuart Carnie (15 May)
Castle.NVelocity Discussions

Recipes and How tos

Controllers

Filters

View engines

No information available. (Would you like to contribute?)

Views

Ajax

Basic

Advanced

CRUDs

CRUD stands for Cread, Read, Update, Delete.
The rationale behind CRUD is that a website needs to Create records, Read records, Update records or Delete records.
CRUD operations are implemented in your controller.

One way to implement CRUD in your web application specifically is to use RESTful* design. REST stands for Representational State Transfer.

REST is a design that treats your web resources using standard HTTP methods GET, POST, PUT and DELETE.

So for example URL:
http://www.company.com/products/list
is broken down into a resource part: http://www.company.com/products
and an action "list", which is basically a GET method.

Similarly
http://www.company.com/products/edit/1
is broken down into a resource part: http://www.company.com/products
and an action: edit
with an argument id of the product: 1

There are some generators that create a Controller class for you with all the basic CRUD method stubs, but you can also create them on your own.
The minimum set of methods needed to implement RESTful deisng CRUD is:

  • index
    GET request
    URL example: /products/index.rails
    lists all your models (i.e. retrieves all the products in the database)
  • show
    GET request
    URL example: /products/show.rails?id=1
    display a particular model
  • new
    GET request
    URL example: /products/new
    renders a form for creation of the new product (for example renders a New Product form)
  • create
    PUT request
    URL example: /products/create/?title=NewProduct&description=ThisIsDescription
    creates an actual model from the forms submission rendered by new action
  • edit
    GET request
    URL example: /products/new/?id=1
    renders an edit view for a particular product
  • update
    PUT request
    URL example: /products/edit/?id=1&?title=NewProduct&description=ThisIsDescription
    updates a model based on the data provided in the submitted form (rendered by edit action)
  • destroy
    DELETE request
    URL example: /products/destroy/?id=1
    destroys a model with a given id

REST in Ruby On Rails paper http://www.b-simple.de/download/restful_rails_en.pdf

Samples

See Samples & tutorials

Discussions

What do your controllers look like?

Ideas for Castle.NVelocity

Requests for documentation, samples, etc.

Blog posts

Screencasts

Podcasts

Other

MonoRail and WebForms

MonoRail vs Web Client Software Factory (WCSF)

Unresolved Issues

Castle Project (34 issues)
T Key Summary Assignee Reporter Pr Status Res Created Updated Due
Patch MR-448 Make JSONReturnBinderAttribute open for extension Unassigned Victor Kornov Minor OpenOpen UNRESOLVED May 10, 2008 May 11, 2008
Patch MR-447 Support configuration for precompilation steps Unassigned Felix Gartsman Major OpenOpen UNRESOLVED May 10, 2008 May 10, 2008
Patch MR-446 Change HttpResponse visibility in ResponseAdapter to allow inheritance Unassigned Felix Gartsman Major OpenOpen UNRESOLVED May 10, 2008 May 10, 2008
Improvement MR-445 Component Resolution Occurs before Session is Acquired Unassigned João Bragança Major OpenOpen UNRESOLVED May 08, 2008 May 08, 2008
Bug MR-444 Windsor Integration doc page lists invalid assembly Unassigned Gojko Adzic Minor OpenOpen UNRESOLVED May 05, 2008 May 05, 2008
Improvement MR-443 Allow Controllers to Instantiate ViewComponents Unassigned Gareth Farrington Minor OpenOpen UNRESOLVED May 02, 2008 May 04, 2008
Bug MR-442 PrototypeAjaxProxyGenerator does not handle extensionless URLs Unassigned Andre Loker Major OpenOpen UNRESOLVED May 02, 2008 May 07, 2008
Patch MR-440 Minor change to JS emitted on $Form.EndFormTag - changes prototypeValidators from Array to Object. Unassigned Neal Blomfield Minor OpenOpen UNRESOLVED May 01, 2008 May 01, 2008
Bug MR-439 RenderMailMessage does not look in the Layouts folder by default Unassigned Erik Dahlstrand Minor OpenOpen UNRESOLVED Apr 29, 2008 Apr 29, 2008
Patch MR-438 FormHelper element methods "defaultValue" attribute. Unassigned Robert Ream Major OpenOpen UNRESOLVED Apr 27, 2008 Apr 27, 2008
Bug MR-432 GetDataBindErrors parent ( or prefix ) key not propagated to nested objects Unassigned Patrick Minor OpenOpen UNRESOLVED Apr 11, 2008 Apr 11, 2008
New Feature MR-429 ViewComponent's resources support & Embedded images resources support Unassigned Gildas Minor OpenOpen UNRESOLVED Mar 30, 2008 Mar 30, 2008
Improvement MR-426 Use view templates of base classes. Markus Zywitza Markus Zywitza Minor OpenOpen UNRESOLVED Mar 11, 2008 Mar 11, 2008
Bug MR-415 CaptureFor Component used in Components'Views looses its ContextVars Ayende Rahien Gildas Minor OpenOpen UNRESOLVED Feb 15, 2008 Feb 25, 2008
Bug MR-411 no id=# on links to edit and confirm actions when of the scaffolding hamilton verissimo Alwin Major OpenOpen UNRESOLVED Jan 31, 2008 Feb 20, 2008
Patch MR-396 WindsorDynamicActionProviderFactory and Friends - Get WindsorIntegration on DynamicActionProviders now hamilton verissimo Mike Nichols Major OpenOpen UNRESOLVED Jan 12, 2008 Apr 29, 2008
Improvement MR-348 Add the ability to localize ViewComponents with ResourceAttribute hamilton verissimo Bergius Major OpenOpen UNRESOLVED Oct 24, 2007 Dec 26, 2007
Bug MR-346 FormHelper's disablevalidation parameter only works when in Push command and on field hamilton verissimo Dan Goldstein Major OpenOpen UNRESOLVED Oct 23, 2007 Oct 23, 2007
Bug MR-344 Escaping quotes in js generate not working properly in mono due to regex working differently in mono. hamilton verissimo Patrick McEvoy Critical OpenOpen UNRESOLVED Oct 19, 2007 Dec 05, 2007
Bug MR-338 FormHelper does not resolve ViewComponent PropertyBag data hamilton verissimo Matthew Robinson Minor OpenOpen UNRESOLVED Oct 01, 2007 Jan 27, 2008
New Feature MR-331 FCKEditor integration hamilton verissimo Felix Gartsman Minor OpenOpen UNRESOLVED Sep 13, 2007 Sep 30, 2007
New Feature MR-322 Allow redirect from an [AjaxAction] Unassigned Fábio Batista Major OpenOpen UNRESOLVED Aug 24, 2007 Aug 31, 2007
New Feature MR-283 Javascript Dependency Manager. hamilton verissimo Nick Hemsley Major OpenOpen UNRESOLVED Jun 27, 2007 Aug 31, 2007
New Feature MR-269 EventSelectors support, with convention-based support for event view files hamilton verissimo Nick Hemsley Minor OpenOpen UNRESOLVED Jun 13, 2007 Aug 31, 2007
New Feature MR-268 Support for multiple layout levels hamilton verissimo hamilton verissimo Major OpenOpen UNRESOLVED Jun 11, 2007 Mar 04, 2008
Improvement MR-255 Provide a GetWarningSummary() for MonoRail controller too hamilton verissimo Rafael Steil Minor OpenOpen UNRESOLVED May 04, 2007 Aug 31, 2007
New Feature MR-252 Support for AjaxAction on wizard steps Unassigned Ernst Naezer Minor OpenOpen UNRESOLVED Apr 20, 2007 Aug 31, 2007
Bug MR-240 ARDataBind cannot bind with Composite Key hamilton verissimo Sirichoke K. Major OpenOpen UNRESOLVED Apr 01, 2007 Aug 31, 2007
Improvement MR-218 add method overloading support for ajaxactions Ernst Naezer Ernst Naezer Minor OpenOpen UNRESOLVED Jan 21, 2007 Sep 22, 2007
Improvement MR-211 Allow IParameterBinder to be called after the action is finished Fábio Batista Fábio Batista Minor OpenOpen UNRESOLVED Jan 16, 2007 Aug 31, 2007
Task MR-203 Define clear scoping rules for parameters in the views Unassigned Ayende Rahien Critical OpenOpen UNRESOLVED Dec 30, 2006 Aug 31, 2007
Bug MR-124 Macros doesn't work if invoked from a template that uses a layout hamilton verissimo hamilton verissimo Major OpenOpen UNRESOLVED May 24, 2006 Aug 31, 2007
Bug MR-92 Scaffolding exposes ValidationBase properties hamilton verissimo Chad Humphries Trivial OpenOpen UNRESOLVED Mar 04, 2006 Aug 31, 2007
Task MR-74 Write test cases for ARPager Fábio Batista Fábio Batista Major OpenOpen UNRESOLVED Dec 14, 2005 Aug 31, 2007

Site running on a free Atlassian Confluence Community License granted to Castle Project. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators