On 22.7.2006, at 13.55, Viktor Kerkez wrote:

> I've just looked at SqlAlchemy, and liked it, but I'm curious if there
> is any concept of validators and manipulators similar to those found
> in Django's ORM, or I have to roll my own?
>

> For those not familiar with Django, for every column type Django have
> predefined validators, also you can define your own and add them to
> the validators list. Manipulators (simplified) take a mapped object,
> validate every column and save it, update it or return an appropriate
> error message...
>

I've also recently discovered SQLAlchemy and decided to use it as a  
ORM on my own web framework project. I'm not too familiar with  
SQLAlchemy yet, but I think there's no solution directly to  
validating at this point. I'm going to use ActiveMapper on my project  
and validators and manipulators are features that I'll have to add at  
some point.

If you make your own, please let me know about it. Maybe validators  
and manipulators could be an extension to ActiveMapper class, because  
I don't think that SQLAlchemy developers like an idea to add them  
directly to ActiveMapper. What do you think about this guys?

I'd love to see also other more features like this in ActiveMapper.  
There's bunch of great features in Django's ORM. Too bad that  
Django's ORM can't be decoupled to other projects.

I'd be happy to contribute developing ActiveMapper to this direction.

Cheers,
Joona Kulmala

--
Joona Kulmala <[EMAIL PROTECTED]>




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to