Click here to load reader
Upload
nico-tristan
View
519
Download
0
Embed Size (px)
Citation preview
Framework & Speed + Memory Improvements
Speed + Memory
● Better use of postgresql functionalities● Fillfactor & tablespace definition for each model● Split some multi-model table on it own schema
– Properties– Translation– Workflow– Free benefit: fix some security issues
● HTTP keep-alive on clients
ORM
● MORE DOCUMENTATION● search_read + search_browse● Real datetime object. No more strings● Domain: BETWEEN operator
● [('price', 'BETWEEN', (100, 200))]
● delegate logic to fields itself to easy the create of new type of fields (also for domain operators)
● easy way to add new services/protocols: jsonrpc / soap / ...
ORM
● Server logs readable and configurable from the client
● High level functions for “base” operations● Create invoice
● Better crash reports (cgitb, last rpc requests...)● metadata on the model that change the
rendering of the view ● if a field is biggger than x, put this text in red / show
notification
ORM
● multiple inheritance of model can break functions.● Multiple overloading in multi-localization.
Computation for fr_FR is not the same than for de_DE
●
ORM: sequences
● manage a "hole" list (configurable)● when ask next #, use one from hole list● hole list generation● reset each month / year ● reset at 0 when reach a given maximum● date is taken from context (not current)
ORM: cron improvement
● real cron jobs, that obey start date, interval (determinist)– so no "priority" needed
● jobs could be demonized (killed with the server)● jobs could be locked out: not run 2 same job (group) at the
same time● interval need more "business" logic: 1st monday of month, last
day of month...● better logging of cron jobs, especially in case of crash● cron runner can be disabled (multiple server on the same db)● running condition