[Ruby] Creating a small calendar system..

Colin Meyer cmeyer at helvella.org
Fri Jul 11 15:30:56 PDT 2008


When you are storing serialized ical data in your db, how do you
search them? I think that ical makes a great format for exchanging
events between different calendar systems, but, depending on your
indexing/searching desires, you might want to store events in
another format.

You could store events as serialized in ical, but index them with solr
or some other external index. To index with solr, you'd have to
re-serialize them to xml.

What are ruby folks using these days for external (outside an
rdbms) indexing?

-Colin.

On Fri, Jul 11, 2008 at 06:30:12AM -0700, Benjamin Curtis wrote:
> When I do this, I always serialize the data in ical format.  Just as a RDBMS
> was made to store relational data, ical was made to store calendar data, so
> it makes sense to me to use it.
> 
> --
> Benjamin Curtis
> http://railskits.com/ - Ready-made Rails code
> http://catchthebest.com/ - Team-powered recruiting
> http://www.bencurtis.com/ - Personal blog
> 
> 
> 
> 
> On Fri, Jul 11, 2008 at 1:15 AM, Joe Van Dyk <joe at pinkpucker.net> wrote:
> 
> > Hi,
> >
> > Using ActiveRecord, how would you setup the domain model for a system
> > that models calendar events?  Events have the option of recurring
> > every week or every month.  Need to be able to query what events are
> > going to happen on what day.
> >
> > I'm sorta scratching my head over this, but I'm sure it's simple.
> > Anyone want to get me on the right track?
> >
> > Thanks,
> > Joe
> > _______________________________________________
> > Ruby at zenspider.com - Seattle.rb non-commercial list
> > http://www.zenspider.com/seattle.rb
> > http://www.zenspider.com/mailman/listinfo/ruby
> >
> _______________________________________________
> Ruby at zenspider.com - Seattle.rb non-commercial list
> http://www.zenspider.com/seattle.rb
> http://www.zenspider.com/mailman/listinfo/ruby



More information about the Ruby mailing list