On 04-02-2009 at 17:17, kriko wrote:
> I've made 2 applications based on stripes framework.
> The first one retrieves some data from one service (user location or multiple
> locations), the second is obligated to display data on a map.
> 
> Both are deployed on localhost for now and they are working separately, but
> now I would like to connect them.
> 
> What would be the best approach? I tried to do a ForwardResolution from first
> one, but that doesn't work. What if they are deployed at the end on different
> servers?
> 
> There can be lot's of points, so I'm not sure if it is ok to pass this via
> URL parameters.

Roughly, there are three options:
1. Merge the applications (the easiest, but rarely feasible)
2. Use the same database; then you can create temporary objects and pass a
   pointer (also not always feasible)
3. Restrict the number of parameters, so the links can be done in a URL of at
   most, say, 2000 characters (IIRC the most restrictive is IE with a maximum
   length of 2083, of which at most 2048 in the path).

Especially in restrictive environments, option 3 is your best bet, even
though options 1 and 2 give you the most long term flexibility.


Oscar

-- 
   ,-_
  /() ) Oscar Westra van holthe - Kind      http://www.xs4all.nl/~kindop/
 (__ (
=/  ()  Don't let your boss fuck you; that's anti-capitalist.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to