On Wed, Aug 26, 2015 at 4:48 AM, Karma Kolabor <[email protected]> wrote:
> Hi, > > did anybody connected tryton to collaborative web mapping already? > > I know it is possible to use django with tryton, so there are some > possibilities, however I just wanted to avoid reinventing all the wheels if > any kind of similar work has already been done. > If you are trying to write a web application that uses Tryton as data store, you have two more choices: 1. nereid [1] - Nereid is implemented over flask, just to make it aware of Tryton and its modularity. One of Tryton's primary strengths is its modularity and nereid has a bunch of primitives which support this. So you could write tryton modules which pretty much end up like Flask blueprints. Current implementations include ecommerce, project management systems and specific purpose applications. You can search for nereid modules on pypi or on github. The package also comes with web users, permissions, dispatching like django but uses Tryton ORM and models for storing this. Nereid's design patterns are based on writing large modular applications rather than simple web frontends to some information in your tryton DB. 2. flask-tryton [2]: If you are writing something simple like querying your tryton database (through ORM) and displaying results on a web page or taking simple feedback, this is a good choice. Being one of the main authors of Nereid, my opinion is obviously biased. [1] https://github.com/fulfilio/nereid [2] https://pypi.python.org/pypi/flask_tryton Thanks -- *Sharoon Thomas* Fulfil.IO Inc www.fulfil.io
