Framework & Speed + Memory      Improvements
Speed + Memory●   Better use of postgresql functionalities    ●   Fillfactor & tablespace definition for each model    ●  ...
ORM●   MORE DOCUMENTATION●   search_read + search_browse●   Real datetime object. No more strings●   Domain: BETWEEN opera...
ORM●   Server logs readable and configurable from the    client●   High level functions for “base” operations    ●   Creat...
ORM●   multiple inheritance of model can break    functions.    ●   Multiple overloading in multi-localization.        Com...
ORM: sequences●   manage a "hole" list (configurable)●   when ask next #, use one from hole list●   hole list generation● ...
ORM: cron improvement●   real cron jobs, that obey start date, interval (determinist)    –   so no "priority" needed●   jo...
Upcoming SlideShare
Loading in …5
×

Framework workshop

697 views

Published on

1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
697
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
29
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Framework workshop

  1. 1. Framework & Speed + Memory Improvements
  2. 2. 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
  3. 3. 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 / ...
  4. 4. 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
  5. 5. 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●
  6. 6. 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)
  7. 7. 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

×