I have released the first public version of Flextrine. Its actually pretty feature rich, and I will be focusing mainly on bug fixes and stability as reports start to come back from the community leading up to the main release on 1st September.
Major features that have made it into 0.5:
Entities and the entity manager
Single and [...]
Last night I was working on a project which involved me having to display large amounts of data in a Flex list. However, this data needed to be transformed before being displayed. Let me explain with a simplified example.
The problem
Suppose we need to display a huge list of Result objects, where a Result object contains [...]
I am most proud to announce the development and upcoming release of Flextrine – an open source project I am developing that simplifies and encapsulates ORM with Flex and PHP. Very simply, Flextrine maps AS3 objects to database tables giving you the ability to save and load objects to a remote database without having to [...]
I spent a very frustrating day discovering that AMFPHP (trunk) doesn’t support class mapping to PHP classes that exist in the brand new PHP 5.3 namespaces. So, if you happen to have the following class mapping:
1: namespace vo;
2:
3: class User {
4: [...]
According to the notes buried deep within the Flex documentation:
If you use the ICollectionView interface to sort or filter a collection, do not use the IList interface to manipulate the data, because the results are indeterminate.
This means that if you are using an ArrayCollection as the dataprovider of a sortable component (e.g. a DataGrid), sort [...]
As Flash and Flex developers know all too well, browsers have a habit of caching SWFs so that when you put up a new version it doesn’t always show up on client machines. There are two classic ways to get around this – either by manually clearing your cache (and telling your clients to do [...]
A quick and useful titbit: in order to get the class of an object use the following code:
1: static function getClass(obj:Object):Class {
2: return Class(getDefinitionByName(getQualifiedClassName(obj)));
3: }
This is great for checking the type of an object. For example, if you have an object myObj1 [...]
My apologies to those of you who are watching my blog for updates - I’ve been working flat out on a number of exciting projects over the last few months including a plugin-based XML editor written in Flex which will be released as open source software in the coming weeks.
In the meantime I wanted to [...]
IntroductionPart 1 - FrameworksPart 2 - Directory structurePart 3 - Application and ApplicationFacadePart 4 - Notifications, Commands & Use CasesPart 5 - Model & ProxyPart 6 - The Application View & MediatorPart 7 - The Login View & MediatorPart 8 - The Roster View & MediatorPart 9 - The Chat View & MediatorConclusion, [...]
Introduction
Part 1 - Frameworks
Part 2 - Directory structure
Part 3 - Application and ApplicationFacade
Part 4 - Notifications, Commands & Use Cases
Part 5 - Model & Proxy
Part 6 - The Application View & Mediator
Part 7 - The Login View & Mediator
Part 8 - The Roster View & Mediator
Part 9 - The Chat View & Mediator
Conclusion, Demo & [...]