Hi Arnon,
On 03/05/2013 23:16, Arnon Marcus wrote:
Granted, you could use the ID in a DAL context, in a similar way that
you would use an ORM-class-instance within the ORM context, but there
are other things that an ORM-object can do within an ORM context (aside
from these examples), that an ID or a Rows object can not do in the DAL
context.
OK, well I understand the parts of your reply where you have been
explicit, but my original point was that: -
"I truly do not understand what problem the DAL fails to solve, and I
don't expect to without some much-less-abstract discussion."
...and I'm still none the wiser.
As a database developer with a set-oriented mind-set, the direct mapping
to the db and explicitness of db I/O (as described by Massimo in his
recent response) make web2py's approach an elegant and powerful solution
to managing relational data in a relational manner. Perhaps my RDBMS
mind-set prevents me from understanding the virtues of what you are
proposing.
Given the complexities of implementing an ORM (not to mention your
assertion that it is a "solved problem"), what was your take on the
suggestion that a sensible approach would be to write an adapter for
SQLA (or some other ORM) for the DAL?
It's not something that I would use myself, but I can see how it would
fit into web2py, and surely that would be a more practical approach than
developing an ORM for web2py from scratch?
--
Regards,
PhilK
e: p...@xfr.co.uk - m: 07775 796 747
'work as if you lived in the early days of a better nation'
- alasdair gray
--
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.