I'd be interested in seeing the adoption rate and performance of this thing. Pretty happy to see that .NET's getting some OSS love.

seen from United States
seen from United States

seen from Malaysia
seen from China
seen from United States

seen from Malaysia
seen from United States
seen from Japan

seen from United States
seen from United States
seen from Thailand

seen from United States
seen from Japan

seen from United States
seen from United States
seen from United States
seen from United States

seen from United States
seen from Russia

seen from Canada
I'd be interested in seeing the adoption rate and performance of this thing. Pretty happy to see that .NET's getting some OSS love.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Migrating nereid modules to active record pattern
We just upgraded the core nereid module (the web framework) to Tryton 2.6 which uses the Active Record design pattern. The migration was easy since we had the wonderful guidelines written by Cedric Krier. Just as how the guidelines help in migrating tryton modules to 2.6, I hope this post helps in migrating nereid modules to 2.6.
1. Restful URLs
The 'methods' selection field was due for deprecation and has been removed. If you are migrating to 2.6.x from any version after 2.4.0.6 you should not face any issues with migration as the selection field is automatically migrated into the new format.
https://gist.github.com/4587773
Remember that prior to this version, the GET HTTP method was allowed by default (implicit), but the new design disallows all HTTP methods by default. So to achieve the same behavior as 2.4, you will have to explicitly enable the GET method.
https://gist.github.com/4587930
2. Active record pattern: Tryton 2.6 introduces the active record pattern and the model controllers which work on more than one record are class or static methods while the methods which act on a single record happen to be regular instance methods. The convention is extended to nereid too: If the handler works outside the context of a single active record, use static or class methods depending on whether your method delegates/uses other methods in the class. If not stick to an instance method. When you use an instance method, tryton expects the instance to be the active record itself and nereid allows you to do this again by convention. Just ensure that your url has an integer converter which generates a keyword argument 'active_id'. Example:
https://gist.github.com/4588022
Happy Hacking !!
Feel free to catch any of us on #tryton IRC if you need more help

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming