Table of Contents


1.Introduction
1.1 What you should already know
1.2 What tools you need
2. Overview
3. Projects
4. Entities
4.1 Creating an entity
5.Attributes
5.1 Naming an attribute
5.2 Types
5.2.1 Decimals
5.2.2 Strings
5.3 Required fields
5.4 Filtering methods
5.4.1 Boolean
5.4.2 Date, Decimal, Integer, Money
5.4.3 Email, File Upload, Phone Number, Zip Code, String
5.5 Sorting
5.6 The ID attribute
6.Relationships
6.1 Related Items (Many-to-one relationships)
6.1.1 How records are "linked" in a relationship
6.1.2 Relationships are always a two-way street
6.1.3 How to handle one-to-one relationships
6.1.4 Making a relationship required
6.2 Related Collections (One-to-Many relationships)
6.2.1 Relating an entity to itself
6.3 Many-to-many relationships
6.3.1 Residual benefits of creating an "associative entity"
6.3.2 Why we mark an entity as an "associative entity"
7. Special Entities
7.1 Associative Entities
7.2 Defined Types
8. Custom Methods
9. Customizing the CMS
9.1 Customizing Entities
9.1.1 Add/Edit Page – Field Ordering
9.1.2 Dropdown Selector View
9.1.3 Listing Page View
9.2 Customizing CMS Navigation
10.Generating (and re-generating) your project
10.1 Content Management System
10.1.1 Record listing
10.1.2 Adding new records
10.1.3 Editing existing records
10.1.4 Deleting records
10.2 AS3 Docs
10.3 ActionScript Code
11. Working with your generated SWC
11.1 Login and Security
12. X2O Value Objects
13. Item VOs
13.1 Item Properties
13.2 Getting and setting properties
13.3 Validating setters
13.4 Working with File Upload attributes
14. Database Operations with Item VOs
14.1 Dispatched Events
14.2 Loads
14.2.1 What is this "load deep" business?
14.3 Inserts
14.3.1 Inserting records with related items
14.3.2 Assigning relationships for inserts
14.3.3 Returning a deep load after insert
14.4 Updates
14.5 Insert/Update Validation
14.6 Deletes
14.6.1 Cascading Deletes
14.7 Update from VO
15. Collection VOs
15.1 Accessors
15.2 Load Methods
15.2.1 Three standard parameters
15.3 Dispatched Events
15.4 The "Load All" method
15.5 The "Load All" method – Take 2
15.6 Loading by a related entity
15.7 Filtered loads
15.7.1 Boolean
15.7.2 Date, Decimal, Integer, Money
15.7.3 Email, File Upload, Phone Number, Zip Code, String
15.8 Update from VO
16. Defined Type Classes
17. Custom Method VOs
18. Flex Binding
19. Special Features
19.1 Email
19.2 File Upload
19.2.1 Dispatched Events
19.2.2 Uploading the file
19.2.3 Assigning a file upload attribute to an uploaded file
20. Conclusion