Re: [Rails] structured data without database?
On Fri, Feb 15, 2013 at 6:13 PM, xscribe@gmail.com <xscribe@gmail.com> wrote:
> I am building a small website. I want to have a scrolling window of news
> headlines, where you click on the headline and a page with a copy of the
> press release get s displayed.
>
> I don't want to run a db, so is there anyway to predefine the relationships
> between headline and the text file?
Where does the headline come from? Where does the text file come
from? How is the relationship determined to start with?
And whatever your reasons for not wanting to "run a db", this sounds
like an excellent case for using a document-oriented store e.g. Redis,
MongoDB, etc.
Alternatively, just serve the whole content and use JS/CSS to toggle
display of the text part.
HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
--
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.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home