[Rails] Re: Laying out the flow of an application - where to start?
I think when you say "static" html for the pages, you really want
dynamically generated content. You need a simple template which presents
the requested information with links up and down the chain.
The first thing you need to do, particularly if you have data to start
off with, is sort out the database structure.
Once you've got your database links mapped, you know the page order as
well: You start with an index which may or may not contain a search
function.
The index contains, for example, rows of dynamically generated data and
links. In this case, States. Each state links to another template
populated with dynamically generated content: towns.
Once you plan the Model, the View should be obvious. After that you just
need to start with the default view (index) in the Controller, and then
you can let the database links guide your way through the different
sub-pages.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/cd88d9604620a01728f335b8254403ac%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home