On May 30, 2011, at 9:09 AM, Chris Corbyn wrote:
> Yup, just got pointed in the direction of Virtus on IRC and already forked :) 
>  100% behind that... I would absolutely *love* to be able to have type 
> conversion on non-database resources.  Say a checkbox on a contact form, 
> which usually comes through as the string "1"... a Boolean 
> `contact.agreed_terms?` would be a beautiful thing :)
> 
> Virtus seems like such as basic idea, and so useful.  

I completely agree: there are many places outside of DM::Resource it would be 
great to have a declarative api for properties (mainly load/dump logic). I 
could see such a thing being of use to the 'schema-free' / NoSQL "ORM" adapters 
(which are not really ORMs): ToyStore, Friendly, Mongoid, MongoMapper, etc.

That said, I'm sure that more eyes (and hands) on Virtus the better. I believe 
it's not intended to be production-ready yet, but I'm sure it can be made ready 
with willing hackers to help. 

-- Emmanuel

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to