X2O lets you build database-driven Adobe® Flex®, Flash® and JavaScript apps
without any server-side development. This is the blog.
Monday, November 24, 2008
X2O Defined Types
by Mustafa Shabib
Just messing around with X2O today and I noticed that you can inadvertently add entities as defined-types pretty easily. Once you mark an entity as a defined type, any new entity you add will have that check box checked by default, so if you aren't careful you will be adding those entities as defined types. This doesn't really hurt anything but is probably not what most data models need, so be sure to set that flag properly when you are adding entities, it will simplify and clean up your code and data model.

Just to be sure everyone understands what marking an entity as a defined type does, here's a link to the documentation on the topic:

http://docs.x2oframework.com/?section=p7_2

We're going to clean up this little bug (or is it a feature?) and make it so the check box is off by default each time you add an entity on a future update for X2O. Just wanted to give a heads up in the meantime.

Labels:

0 Comments:

Post a Comment

<< Home

New to X2O?
Here's how to get started...
Subscribe to our RSS feed


Recent Posts
Previous Months
Also from the makers of X2O