On 27/08/10 12:40 +0200, Tobias Paepke wrote:
> On 27.08.2010 12:26, Cédric Krier wrote:
> > On 25/08/10 23:02 +0200, Cédric Krier wrote:
> >> On 25/08/10 16:08 -0400, Phillip Heller wrote:
> >>>> I think we should think about more powerfull URI scheme (perhaps
> >>>> REST-like) to
> >>>> be able to get domain/context inside. The best should be to be able to
> >>>> encode
> >>>> any of the ir.action.
> >>> Can you give some examples of how you might encode context variables or
> >>> invoke other actions?
> >> No I don't have.
> > Perhaps simple use parameters with value encoded in JSON.
> >
> > like tryton://..../party.party?domain=[['name', '=',
> > 'Bob']];context={'language': 'en_US'}
> >
> I like the idea of JSON
>
> if used in for example in emails it would lead to a really long and ugly
> url which could break on end of line.I don't think it will be very long. Domain are a way to express shorter a list of ids. And context will not growth. > what about kind of shortening service inside tryton? like: > tryton://.../Voh7eel6hoa3coo8faehahgoh5uijoh3 > > an rpc call could generate it for external services. This will create a centralized point which will bring some difficulties who will maintain it. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpRBKtGWp0HD.pgp
Description: PGP signature
