[Seaside] Providing REST api

Davorin Rusevljan davorin.rusevljan at gmail.com
Mon Dec 27 17:06:52 UTC 2010


How do you handle situations where Seaside app needs to provide REST
api to some other system, or framework? There seem at least 2 types of
such situations:

a) some foreign sytem like credit card processor, or such, needs to
call some url on your site and collect feedback. So this call is not
necessary releated to some Seaside session, but it needs to poke
around the database that is used by Seaside app.

b) Javascript widget that you use in your seaside app, like for
instance datatables, needs to make ajax calls to your server to fetch
some session related data, and url needs to anser for instance json
list of particular client orders.

What is the best way to handle such situations in your experience?

Davorin Rusevljan
http://www.cloud208.com/


More information about the seaside mailing list