Viewing by month: November 2007

Nov 7 2007

Validat: Why it doesn't meet my needs

Validat is a new open-source framework from the Alagadians focused on simplifying data validation. At present, I'm not sure what advantages it provides me over my current architecture, and that's why I'm writing this post. It's not a flame. It started as an e-mail to Doug and Jeff, but turned into a post when I wanted to outline how I accomplish the same architectural goals as Validat without a framework.

Disclaimer: I told both Doug (Alagad owner) and Jeff Chastain (Validat author) both that I was writing this post. It's definitely a "cause thought" post for both ColdFusion developers and Validat's authors/owners.

Read more...

7 comments - Posted by Joe Rinehart at 12:36 PM - Categories: ColdFusion MX

Nov 5 2007

Model-Glue gets Flex/AIR Integration Features

It looks like ColdBox beat me to the punch on this one. I've been working on this since MAX, but I got hustling and committed the bits to the Model-Glue SVN ("bleeding edge") repository this morning.

There's a full blog entry about using this on the Model-Glue blog, as well as a 13-minute video of its use.

For those of you interested in the highlight reel, the following snippet shows how you'd use the new Model-Glue RemotingService (part of the application template) and the AS3 helper classes to read a Widget of a given WidgetId and display the Model-Glue trace of it being loaded:

<!-- Almost just like RemoteObject! -->
<modelglue:ModelGlueDelegate
   id="mgDelegate"
   source="myapp.RemotingService"
   destination="ColdFusion"
/>


<mx:Script><![CDATA[

// Get a widget
private function getWidget(widgetId:int):void
{
   mgDelegate.invokeEvent(
      "widget.get",
      {widgetId:widgetId},
      getWidgetResult
   );
}

private function getWidgetResult(e:ResultEvent):void
{
   var request:ProxyRequest = e.result as ProxyRequest;
   var widget:Widget = request.data.widget;

   Alert.show("You got widget: " + widget.name);
}

]]></mx:Script>

Enjoy!

1 comments - Posted by Joe Rinehart at 7:25 AM - Categories: Flex | Model-Glue

Nov 1 2007

Using Model-Glue.com Logos and Content

I didn't picture this happening, but now that the Model-Glue.com logo has shown up on other sites with commercial products (and even some ad-hoc t-shirts at MAX!), it became necessary to publish guidelines for use of Model-Glue.com assets.

Basically, the terms boil down to this:

If it's a noncommercial use, do whatever you like, but a link back is appreciated. If it's commercial, you'll need to give copyright attribution and link back (if linking is possible) to both Model-Glue and Firemoss.

Nothing draconian, mainly just asking for courtesy.

5 comments - Posted by Joe Rinehart at 7:22 AM - Categories: Model-Glue