From: ahoward Date: 2003-01-22T08:58:43+09:00 Subject: Re: Newbie Q: do i need PStore for this or something else ? On Tue, 21 Jan 2003, Vandemoortele Simon wrote: > _Background info:_ > I am writing my very first CGI app in ruby: it's a dynamic photo-album > (yes, i know it's been done before, but how is one supposed to learn ?). > > _Question:_ > I can't seem to decide under what format I should save my photo-album and > could use some pointers. > > _Detail:_ > The album consists of different *sections*, each containing a description > and *pages*. Every page contains the names of the pictures it shows, > descriptions for the pictures and the name of the layout template used. > > _Solutions:_ > - PStore > Not really sure how it works (limited info available). since your application is a cgi, requires a database, requires session management, and should be easy to code i'd look at using my CGI::Session::Pstore module from http://www.ruby-lang.org/raa/list.rhtml?name=cgi-sess-pstore it's really easy to use. some examples are at http://eli/ruby/class/0/presentation/slide.cgi?n=14 http://eli/ruby/class/0/presentation/slide.cgi?n=14 http://eli/ruby/class/0/cgi/session/pstore.cgi -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================