public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Search Repo:
Explain Merb application layouts in documentation.
Michael S. Klishin (author)
Sun May 04 05:48:55 -0700 2008
commit  ee4010a42e58bdf3b148cbb725680908f7898d80
tree    0c09685020f83094b3404d209443b5b20ca20156
parent  fffde1570f8f4c82d433e95350da79101396b1f6
...
65
66
67
68
69
70
 
 
71
 
 
72
73
74
75
76
77
 
 
 
 
 
 
 
 
 
 
78
79
80
...
65
66
67
 
 
 
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
0
@@ -65,16 +65,27 @@
0
 
0
     Merb.load_paths = Hash.new { [Merb.root] } unless Merb.load_paths.is_a?(Hash)
0
 
0
- # This is the core mechanism for setting up your application layout
0
- # merb-core won't set a default application layout, but merb-more will
0
- # use the app/:type layout:
0
+ # This is the core mechanism for setting up your application layout.
0
+ # There are three application layouts in Merb:
0
     #
0
+ # Regular app/:type layout of Ruby on Rails fame:
0
+ #
0
     # app/models for models
0
     # app/mailers for mailers (special type of controllers)
0
     # app/parts for parts, Merb components
0
     # app/views for templates
0
     # app/controllers for controller
0
     # lib for libraries
0
+ #
0
+ # Flat application layout:
0
+ #
0
+ # application.rb for models, controllers, mailers, etc
0
+ # config/init.rb for initialization and router configuration
0
+ # config/framework.rb for framework and dependencies configuration
0
+ # views for views
0
+ #
0
+ # and Camping-style "very flat" application layout, where the whole Merb
0
+ # application and configs fit into a single file.
0
     #
0
     # ==== Notes
0
     # Autoloading for lib uses empty glob by default. If you

Comments

    No one has commented yet.