RE: [ACFUG Discuss] Tips for Analyzing an Application

2009-10-01 Thread Clarke Bishop
Thanks guys! Shawn, how did you know where to find that picture of my brain?

As Howard and John suggested, I did find the request controller.

cffunction name=doRequest returntype=any  access=public
output=false

cfset event.getHandler(standardSetContent).handle(event)

cfset event.getValidator(standard404).validate(event)

cfset event.getValidator(standardWrongDomain).validate(event) 

cfset event.getValidator(standardTrackSession).validate(event)

cfset event.getHandler(standardSetPermissions).handle(event)

cfset event.getHandler(standardSetIsOnDisplay).handle(event)

cfset event.getHandler(standardDoActions).handle(event)

cfset event.getValidator(standardRequireLogin).validate(event)

cfset event.getHandler(standardSetLocale).handle(event)

cfset event.getHandler(standardDoResponse).handle(event)
cfreturn event.getValue(__MuraResponse__)

/cffunction

But, I don't think this is Model-Glue, and I haven't found ModelGlue.XML,
yet. I traced through the request flow, and it didn't seem to ever access
any Model-Glue components. Please let me know if I'm wrong about this.

Now, all I have to do is make sense of all these events and handlers!

   Clarke

-Original Message-
From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of John Mason
Sent: Wednesday, September 30, 2009 3:03 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Tips for Analyzing an Application

That's more organized than some of the apps I've seen recently :)

There's been a push lately to leave MVC frameworks among some in the CF 
world, hence my last post. This was an excellent example of how MVCs if 
used correctly work.

John


shawn gorrell wrote:
 Just draw a picture...

 http://www.netobjectives.com/PatternRepository/images/e/ea/Strangle1.JPG




 
 From: John Mason ma...@fusionlink.com
 To: discussion@acfug.org
 Sent: Wednesday, September 30, 2009 2:46:23 PM
 Subject: Re: [ACFUG Discuss] Tips for Analyzing an Application

 He is, thankfully, working on understanding a Model-Glue app. So I
directed him to the ModelGlue.xml file which contains all the wiring
(controller) logic to understand what's happening. This draws an important
point for controller based frameworks and why most should use them. For
someone (other than the original developer) to quickly start learning the
logic of the application. That logic should always be in the controller in
some form.

 John
 ma...@fusionlink.com


 Howard Fore wrote:
   
 I'd start with what happens when the application starts up and when an
individual request comes in. Maybe draw out some UML sequence diagrams to
visually show the order of events and compnents talking to each other.

 Howard

 On Sep 30, 2009, at 7:55 AM, Clarke Bishop cbis...@resultantsys.com
wrote:

 
 I am trying to understand a pre-existing application so that I can
extend
 it.

 My question is: What's a good way to attack this problem?

 Specifically I want to understand some parts of Mura so that I can
modify
 and extend the functionality. Mura uses ModelGlue and Coldspring (And
 Fusebox for the admin).

 I've been digging around in the code and trying to understand their
content
 rendering process. But, I thought someone on the list might have some
good
 ideas of how to methodically analyze and understand all the objects in
an
 application like this.

 Thanks for any suggestions!

   Clarke



 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -



   
 -
 To unsubscribe from this list, manage your profile
@http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -




 



 -
 To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -


 -
 To unsubscribe from this list, manage your profile @ 
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com

[ACFUG Discuss] Tips for Analyzing an Application

2009-09-30 Thread Clarke Bishop
I am trying to understand a pre-existing application so that I can extend
it. 

My question is: What's a good way to attack this problem?

Specifically I want to understand some parts of Mura so that I can modify
and extend the functionality. Mura uses ModelGlue and Coldspring (And
Fusebox for the admin). 

I've been digging around in the code and trying to understand their content
rendering process. But, I thought someone on the list might have some good
ideas of how to methodically analyze and understand all the objects in an
application like this. 

Thanks for any suggestions!

   Clarke



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] Tips for Analyzing an Application

2009-09-30 Thread John Mason
He is, thankfully, working on understanding a Model-Glue app. So I 
directed him to the ModelGlue.xml file which contains all the wiring 
(controller) logic to understand what's happening. This draws an 
important point for controller based frameworks and why most should use 
them. For someone (other than the original developer) to quickly start 
learning the logic of the application. That logic should always be in 
the controller in some form.


John
ma...@fusionlink.com


Howard Fore wrote:
I'd start with what happens when the application starts up and when an 
individual request comes in. Maybe draw out some UML sequence diagrams 
to visually show the order of events and compnents talking to each other.


Howard

On Sep 30, 2009, at 7:55 AM, Clarke Bishop 
cbis...@resultantsys.com wrote:


I am trying to understand a pre-existing application so that I can 
extend

it.

My question is: What's a good way to attack this problem?

Specifically I want to understand some parts of Mura so that I can 
modify

and extend the functionality. Mura uses ModelGlue and Coldspring (And
Fusebox for the admin).

I've been digging around in the code and trying to understand their 
content
rendering process. But, I thought someone on the list might have some 
good
ideas of how to methodically analyze and understand all the objects 
in an

application like this.

Thanks for any suggestions!

  Clarke



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-






-
To unsubscribe from this list, manage your profile 
@http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-








-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] Tips for Analyzing an Application

2009-09-30 Thread shawn gorrell
Just draw a picture...

http://www.netobjectives.com/PatternRepository/images/e/ea/Strangle1.JPG





From: John Mason ma...@fusionlink.com
To: discussion@acfug.org
Sent: Wednesday, September 30, 2009 2:46:23 PM
Subject: Re: [ACFUG Discuss] Tips for Analyzing an Application

He is, thankfully, working on understanding a Model-Glue app. So I directed him 
to the ModelGlue.xml file which contains all the wiring (controller) logic to 
understand what's happening. This draws an important point for controller based 
frameworks and why most should use them. For someone (other than the original 
developer) to quickly start learning the logic of the application. That logic 
should always be in the controller in some form.

John
ma...@fusionlink.com


Howard Fore wrote:
 I'd start with what happens when the application starts up and when an 
 individual request comes in. Maybe draw out some UML sequence diagrams to 
 visually show the order of events and compnents talking to each other.
 
 Howard
 
 On Sep 30, 2009, at 7:55 AM, Clarke Bishop cbis...@resultantsys.com wrote:
 
 I am trying to understand a pre-existing application so that I can extend
 it.
 
 My question is: What's a good way to attack this problem?
 
 Specifically I want to understand some parts of Mura so that I can modify
 and extend the functionality. Mura uses ModelGlue and Coldspring (And
 Fusebox for the admin).
 
 I've been digging around in the code and trying to understand their content
 rendering process. But, I thought someone on the list might have some good
 ideas of how to methodically analyze and understand all the objects in an
 application like this.
 
 Thanks for any suggestions!
 
   Clarke
 
 
 
 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform
 
 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -
 
 
 
 
 
 -
 To unsubscribe from this list, manage your profile 
 @http://www.acfug.org?fa=login.edituserform
 
 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -
 
 
 
 



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] Tips for Analyzing an Application

2009-09-30 Thread John Mason

That's more organized than some of the apps I've seen recently :)

There's been a push lately to leave MVC frameworks among some in the CF 
world, hence my last post. This was an excellent example of how MVCs if 
used correctly work.


John


shawn gorrell wrote:

Just draw a picture...

http://www.netobjectives.com/PatternRepository/images/e/ea/Strangle1.JPG





From: John Mason ma...@fusionlink.com
To: discussion@acfug.org
Sent: Wednesday, September 30, 2009 2:46:23 PM
Subject: Re: [ACFUG Discuss] Tips for Analyzing an Application

He is, thankfully, working on understanding a Model-Glue app. So I directed him 
to the ModelGlue.xml file which contains all the wiring (controller) logic to 
understand what's happening. This draws an important point for controller based 
frameworks and why most should use them. For someone (other than the original 
developer) to quickly start learning the logic of the application. That logic 
should always be in the controller in some form.

John
ma...@fusionlink.com


Howard Fore wrote:
  

I'd start with what happens when the application starts up and when an 
individual request comes in. Maybe draw out some UML sequence diagrams to 
visually show the order of events and compnents talking to each other.

Howard

On Sep 30, 2009, at 7:55 AM, Clarke Bishop cbis...@resultantsys.com wrote:



I am trying to understand a pre-existing application so that I can extend
it.

My question is: What's a good way to attack this problem?

Specifically I want to understand some parts of Mura so that I can modify
and extend the functionality. Mura uses ModelGlue and Coldspring (And
Fusebox for the admin).

I've been digging around in the code and trying to understand their content
rendering process. But, I thought someone on the list might have some good
ideas of how to methodically analyze and understand all the objects in an
application like this.

Thanks for any suggestions!

  Clarke



-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



  

-
To unsubscribe from this list, manage your profile 
@http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-









-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-


  




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-