« Return to Thread: WebApplication Domain Object Storage

Re: WebApplication Domain Object Storage

by Rob Rothwell-2 :: Rate this Message:

Reply to Author | View in Thread

On Mon, Mar 24, 2008 at 12:19 PM, Nicolas Petton <petton.nicolas@...> wrote:
Hi Rob,

We usually store them somewhere accessible from the site.
In Scribo for example, an instance of a blog is stored in the
repository, itself stored in the site:

Ok...so in your case, each blog is it's own instance of your domain "blog" object...which makes a lot of sense and takes full advantage of the nice url's, etc.

And it looks like I could store those instances by retrieving the WebApplication site with 
     
     self session site

And then use the AIDASite userServices Dictionary as a convenient place to store my values.  (This would probably tie in nicely with Magma, which gives you a root dictionary object as well).

Thank you...I will definitely be putting this type of information in the Aida Programmers Guide--though I;m not sure which section it would best fit under so someone new to Aida could find it...

Rob


_______________________________________________
Aida mailing list
Aida@...
http://lists.aidaweb.si/mailman/listinfo/aida

 « Return to Thread: WebApplication Domain Object Storage