The presentation was about Maglev, an object server that provides automatically persisted objects without using an ORM or SQL. It allows objects to be transactional and multi-VM. The goals of Maglev include having no object to RDB mapping, no SQL queries, no save or update methods, separation of transactional code from model code, and no coupling between models and web frameworks. Examples showed using Maglev to develop investment portfolio applications with accounts, portfolios, and transactions just as objects without persistence concerns. Conclusions were that Maglev allows simpler, easier, and cheaper development just with objects.
19. Goals
1. No Object-To-RDB Mapping
– No Portfolio < ActiveRecord
– No id
2. No SQL SELECT…
3. No save! or update!
4. Separation of concern
– No transactional code mixed with model code
5. No Model to Web Framework coupling
6. Only Objects!
7. Development using TDD
20. Fulfilling Goals…
• No Object-To-RDB Mapping
– No Portfolio < ActiveRecord
– No id
• No SQL SELECT
30. Conclusions
• Just Objects!
• No ORM! No SQL! No ActiveRecord!
• Tests run fast
• Developed really fast
• No need for mocks! – Bye bye FactoryGirl!
• We did not have to worry about
– Persistence
– Transaccionability
– Solved in one place
32. Maglev
• Install with: rvm install maglev
• Ruby 1.8.7
• Rails:
– No scaffolding when using just objects
– Need to write generators
• Heroku??
• Licence
– Ruby code open source
– VM is not open source
34. • Diseño Avanzado de Softaware con Objetos I:
29 de Octubre
• Metaprogramación con Lenguajes de Objetos:
13 de Noviembre
• TDD:
19 de Noviembre
• Diseño Avanzado de Softaware con Objetos II:
4 de Diciembre
(50% de descuento si vinieron a esta conferencia!)
http://www.10pines.com/content/cursos-disponibles