« Return to Thread: How do you test your MG apps?

Re: Wondering if this is possible.

by Andrew Scott-4 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Ken,
 
No it doesn't it shows you how to use events within ajax, which is so damn simple it is not funny.
 
The problem comes down to when you make that ajax call and it is not a MG:U event is the problem that I am facing.
 
So what that means is if I make a webservice call how do I get a handle on the MG:U framework, can it be extended via the webservice class or is there some other method to do this.
 
Ken, I went through ajaxCFC and it has nothing close to what I am looking for, but plenty of stuff that I am already doing within Dojo.
 
So I'll ask the question again as some people really can't seem to read what I am asking.
 
Can a cfc remote call (Webservice) be called like this
 
<cfcomponent extends="modelglueframework">
 
So that I can retrieve the configs and other coldspring related objects.


 
On 11/2/06, Andrew Scott <Andrew.Scott@...> wrote:
Thanks I'll check it out, but Dojo has everything I need for doing great Ajax calls and binding.


 
On 11/2/06, Ken Dunnington <ken.dunnington@...> wrote:
Andrew, have you looked at ajaxCFC ( http://ajaxcfc.riaforge.org/ )? I
haven't had a chance to use it, but it sounds like it would do what
you're looking for: integrate with MG:U and expose your model to Ajax
calls.

Also, take a look at Ray's post covering Spry and MG:U. This would
apply equally well to Dojo:
http://ray.camdenfamily.com/index.cfm/2006/8/22/Using-AJAX-with-ModelGlue

On 10/31/06, Andrew Scott < Andrew.Scott@...> wrote:

>
>
>
>
> Awhile ago I saw a post where, Sean had extended the Reactor framework
> through a webservice / cfc.
>
>
>
> Now I am looking at the option to see if MG:U can be done like this too. The
> reason being is that I am using a lot of Ajax calls via Dojo, and it would
> be better to use cfc's / webservice for what I am doing. But I also need to
> get a handle on the MG:U framework.
>
>

>
> What I have done for now, is when the application is created I am storing
> this info in the application scope for my reference, but there must be a
> better way of doing this. Reactor yes I can follow seans example, but what
> about spring and MG.
>
>
>
> I am hoping this might be able to be achieved in some form or another, or
> should I be using events for what I am trying to do to return data back to
> the browser?
>
>
>
>  Senior Coldfusion Developer
>  Aegeon Pty. Ltd.
>   www.aegeon.com.au
>  Phone: +613  8676 4223
>  Mobile: 0404 998 273
>


--
It is by the fortune of God that, in this country, we have three
benefits: freedom of speech, freedom of thought, and the wisdom never

 « Return to Thread: How do you test your MG apps?

LightInTheBox - Buy quality products at wholesale price