Skip to content

coopengo/tryton-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tryton Session

THIS PROJECT IS STILL A WORK IN PROGRESS !

tryton is a very extensible ERP written in Python.

tryton-session is a part of a bigger package (tryton-api) that is:

  • aimed to be a simple library to interact with a tryton server (trytond) from javascript (node or browser)
  • could be considered as a proteus like library for javascript

History

  • This project started as a portage of sao on nodejs
  • This migration faced many problems due to sao design as a clone of GTK client
    • session is unique
    • usage of jQuery for all (ajax, object manipulation, etc)
  • This project has progressively moved from a translation to a rewrite as we decided to
    • use more ES6 features (Promises, Arrow functions, etc)
    • use standard libraries for utils functions (underscorejs)
    • make it more event driven (some ideas from backbonejs)
    • support some extra features like session serialization, triggers on start/stop, etc

Credits

Contents

tryton-session exposes a session class that:

  • connects to server and keeps the token
  • ensures all server calls
  • supports pack and unpack for serialization (with triggers)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published