[Zope] Question about application design

Ausum Studio ausum_studio at hotmail.com
Tue Apr 20 10:35:04 EDT 2004


You can keep data in memory by applying a RAM cache to the object that
contains or generates it. This is one way to keep resource lists and
dictionaries 'on air'.

Ausum


----- Original Message ----- 
From: "Robb Shecter" <robb at acm.org>
To: <zope at zope.org>
Sent: Tuesday, April 20, 2004 8:12 AM
Subject: [Zope] Question about application design


> Hi,
>
> I'm not sure how to do my current project in a Zope environment:
>
> It's something like a trip planner that computes an itinerary.  Pretty
> simple use case actually - the user submits origin and destination, and
> potential trip plans are returned.
>
> BUT:  What I want to do is keep the data structure in memory.  Right now,
> I have this written as a standalone Python app that creates all the
> objects it needs, and then uses an algorithm to find the shortest path.
>
> This is the typical application server scenario: I want the Python
> classes to only do the startup work once, and then just answer requests
> which run an algorithm over the data.  But how to do this with Zope?
>
> As far as I can tell, the Python Scripts are stateless.
>
> The only idea I've had so far is to make my Python app into a standalone
> server which answers requests via XML-RPC.  Then Zope stands between it
> and the user.
>
> But is there any way to use just Zope, and not maintain my own server too?
>
> Thanks!
> Robb
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>



More information about the Zope mailing list