A question about the Entity.php file generated by Scaffolding.

35 views
Skip to first unread message

Mike Cheesman

unread,
May 14, 2012, 7:43:50 PM5/14/12
to allo...@googlegroups.com
First off, I really like Alloy, the concept, and simplicity.  I have decided that it is the framework I will learn, as it is still relatively young and still active in development.

My question is this, I used the scaffolding to generate a controller, and modified the Entity.php file that comes with it.  I figured out adding fields in there will create the table with them once I run the controller for the first time.  My question is (after looking at the Spot/Mysql.php and elsewhere) does the alloy framework support 'enum' and/or 'set'  yet within the Entity.php file, I was just curious..

Thanks!

And awesome work thus far on Alloy!

Mike

Vance Lucas

unread,
May 15, 2012, 11:56:29 AM5/15/12
to allo...@googlegroups.com
Thanks for checking out the framework. Spot (the ORM) does not currently support enum/set types, but it is a feature request:

I can look into supporting it when I do some planned internal restructuring of Spot's field types and validation system (will be non-breaking and fully backwards compatible with existing Entities).

Mike Cheesman

unread,
May 15, 2012, 6:36:04 PM5/15/12
to allo...@googlegroups.com
Hey Vance,

Thanks for the response there.  That's great to hear!  There is no rush for me, to be honest, I was just curious as I didn't see it anywhere.
Thanks for making Alloy!

Mike
Reply all
Reply to author
Forward
0 new messages