Archive - Jan 2008

Date
  • All
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

Building ColdFusion services with ColdSpring and Reactor, an interlude

Before I get into the meat of using ColdSpring to save even more time (by writing the Service layer for you, believe it or not), I wanted to take time out to give you some 'take home' reading and also address some terminology issues.

Does your Command call your View (tsk !) ?

Imagine a DataGrid. A DataGrid that is displaying Model.searchResults, but needs to start an effect and reset selectedIndex when the data changes

One approach maybe to follow a pattern than involves having the Command call a method on the View, and this view method takes charge of doing whatever else is needed.
This makes Commands more complicated and means Events have to have an extra 'view' property which is kept in the Command as a private variable.
The View then has to expose a public 'onCommandNameResult' method which the Command calls in onResult().

Having read http://www.adobe.com/devnet/flex/articles/blueprint_02.html[1] I think there is a better way to have the View respond to change in the Model (i.e. Command results) without needing this callback.

Adobe is holding a ColdFusion 9 survey

As well as the IDE questions (Adobe is holding a ColdFusion IDE survey) why not also let Adobe know what you'd like to see in ColdFusion 9, via their latest survey: http://www.surveymonkey.com/s.aspx?sm=yLcENFTqjkIn6gqoFpRiUQ_3d_3d

Adobe is holding a ColdFusion IDE survey

Looks like this is your chance to give a bit of direction to Adobe on what you'd like from a ColdFusion coders IDE - take the survey here.

For the record, I plumed for 'free' as 'how much should it cost', but added a note that if the server was free, there was probably a market for an IDE with all the features CFEclipse doesn't have (yet). Competing with free is hard work though, and I'd much rather Adobe just paid people to improve CFEclipse.

topical-homopterousif you are reading this, don't click it as it will mark you as a spammer
if you are reading this, don't click it as it will mark you as a spammer