Entries Tagged as 'Spry'

Spry & multiple nested data sets - Mach-II / ColdSpring

Frameworks , Coldfusion , Spry No Comments »

A little while back I created a small app that shows how you can use Spry Datasets with Mach-II. Since then I have made a few modifications to help show ways you can use other frameworks within the app (ColdSpring is used within this example). I strongly suggest reviewing  Chris Scott's example on AOP in ColdSpring if you need to know more about that subject.

I've updated my original example to use/do the following:

  • ColdSpring to hold the gateway/DAO/Factory being used now.
  • ColdSpring AOP is enabled to show simple logging capabilities
  • An optional ColdSpring service injector using its built in createBeanDefinition method:
    • found within lib.com.machii.listeners.BaseListener
    • can be turned on from within the MessageListener (lib.com.machii.MessageListener) Line# 38
      NOTE: Turning this on will keep AOP functionality from working as my current code does not support working with AOP dynamically when working with createBeanDefinition

Read more...

Spry & multiple nested data sets - Mach-II

Frameworks , Coldfusion , Spry No Comments »
Last week I posted a blog about how to use Spry nested datasets (very simple example). Now I am expanding that example by incorporating Mach-II v.1.6. This is a key if your application already uses the Mach-II framework or even Model-Glue. If you are NOT using Mach-II then scan the provided UML diagram to see how it flows and incorporate it into your desired MVC framework.....

Read more...

Spry & multiple nested data sets

Coldfusion , Spry No Comments »

Lately I have been working with Spry and seeing all the amazing things it can do. Just the other day I was messing around with working with multiple nested data sets derived from a master data set and I thought I would share my experience. 

 All in all, it was fabulous. The way spry can work with nested data sets it top notch. I was able to pull one "master" data set, then build new nested data sets from that master. I was even able to build a nested data set from a nested data set... very very nice! After I had all my data sets I was able to use one region to display all of my information.

 I used Cold Fusion as the back end supplier of the data, but anything can be used.

 I have attached example code so you can see what I did. Download it here!

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds