ColdFusion 9 Air ORM - Error: Result is already in token

"Error: Result is already in token"

This one is by far the worst error description I have ever seen.  What does that mean?  How is this helpful?  (OK, moving on) I have run into this on a few occasions now and each time the cause is when I am calling session.saveUpdateCache() directly on a null entity.  Let me explain:

Read more...

Application/Session scopes in Flex

As a new Flex developer-in-training my default learning path is to mimic what I can do in other languages.  In ColdFusion we have very convenient built-in "scopes" that one can use to share information to other parts of an application, persist data for a user session, etc...  One of the scopes that I use most often is the application scope.  This is where I would typically load CFC's that perform application wide duties and that will be used often.  I also store information there that is used in decision making or for caching, etc....  So naturally when going beyond the "hello world" examples and tutorials and getting down to building real world applications I started to explore different ways of replicating an "application" scope.

Read more...

How I load data from SQLite using CF9 Air Integration

ColdFusion 9's Air integration is much more than just a syncManager, but also a client side ORM.  Though some have argued that it is not, Rakshith and Terrence from Adobe say that it is, and they are smarter than me so I'll agree with them!  Besides, it has Obects that Relationally Map to persisted storage, with methods to Load, Save, Remove, etc...  So, in my very little knowledge of ORM, it's ORM enough for me!

Problem is, where the heck is the documentation?  Short answer: Right here.  (no link intended)

Read more...