-- Topica Digest --
RE: Breadcrumbs
By [EMAIL PROTECTED]
Re: fusionScript
By [EMAIL PROTECTED]
OT: Fuseboxers List down?
By [EMAIL PROTECTED]
RE: Email rejection - web-viewing
By [EMAIL PROTECTED]
RE: Test
By [EMAIL PROTECTED]
Re: Email rejection
By [EMAIL PROTECTED]
RE: Email rejection
By [EMAIL PROTECTED]
RE: Breadcrumbs
By [EMAIL PROTECTED]
MM DevCon 2002 Sessions
By [EMAIL PROTECTED]
new fusebox project
By [EMAIL PROTECTED]
RE: new fusebox project
By [EMAIL PROTECTED]
benbox article
By [EMAIL PROTECTED]
Re: benbox article
By [EMAIL PROTECTED]
RE: Question on MVC
By [EMAIL PROTECTED]
Re: Breadcrumbs
By [EMAIL PROTECTED]
test
By [EMAIL PROTECTED]
RE: Question on MVC
By [EMAIL PROTECTED]
RE: Question on MVC
By [EMAIL PROTECTED]
Content Management schema
By [EMAIL PROTECTED]
Re: Test
By [EMAIL PROTECTED]
RE: Test
By [EMAIL PROTECTED]
Re: Test
By [EMAIL PROTECTED]
Re: Test
By [EMAIL PROTECTED]
RE: Test
By [EMAIL PROTECTED]
Re: Test
By [EMAIL PROTECTED]
Dynamically build a variable name
By [EMAIL PROTECTED]
RE: Dynamically build a variable name
By [EMAIL PROTECTED]
RE: Dynamically build a variable name
By [EMAIL PROTECTED]
RE: Dynamically build a variable name
By [EMAIL PROTECTED]
Re: Dynamically build a variable name
By [EMAIL PROTECTED]
------------------------------------------------------------
Date: Thu, 27 Jun 2002 12:31:54 +0100
From: Dave Phipps <[EMAIL PROTECTED]>
Subject: RE: Breadcrumbs
Neil,
Thanks for the complement! If only I could get a full time development
position I'd learn a lot faster!
I don't have spectra and I never cared for school uniforms, I prefer the
nurses outfit!! (on my wife that is!!) :0)>
I think I'll stick with the way I am doing the breadcrumbs at the
moment. I'll probably wrap the code into a custom tag at some point so I
just have to call the tag and specify the attributes.
Cheers
Dave
At 11:03 6/27/2002 +0100, you wrote:
>Hey Dave, you are by no means a skoolboy (well, maybe you are, what you
>wear in your own time is your own business <grin/>), from what I see,
>you are pretty good developer yourself!
>
>What you are doing is nigh on what I perform anyway, except I create a
>sitewide breadcrumb structure using a Spectra tree technique in the
>first instance.. ..do you gave Spectra...?
>
>- N
>
>
>
>
>
>-----Original Message-----
>From: Dave Phipps [mailto:[EMAIL PROTECTED]]
>Sent: 27 June 2002 11:00
>To: [EMAIL PROTECTED]
>Subject: RE: Breadcrumbs
>
>Neil,
>
>Do you have any example code for us schoolboys?
>
>Thanks
>
>Dave ;0)
>
>At 10:17 6/27/2002 +0100, you wrote:
> >Hi Dave,
> >
> >Well I create a stack (from my Director days...) > usually either a
> >structure, sometimes a multi-dimensional array which is triggered by
> >each Fuseaction/location depending on what method of development I have
> >used at the time.
> >
> >Each layer on the stack/or key can then be triggered depending on what
> >link was clicked/visited last.
> >
> >
> >
> >
> >
> >
> >Neil Clark
> >Team Macromedia
> >http://www.macromedia.com/go/team
> >
> >Announcing Macromedia MX!!
> >http://www.macromedia.com/software/trial/
> >
> >
> >
> >
> >-----Original Message-----
> >From: Dave Phipps [mailto:[EMAIL PROTECTED]]
> >Sent: 27 June 2002 10:12
> >To: [EMAIL PROTECTED]
> >Subject: RE: Breadcrumbs
> >
> >What system do you use for creating breadcrumbs?
> >
> >At 09:55 6/27/2002 +0100, you wrote:
> > >Not being funny but isnt this a fairly skoolboy tactic of preparing
> > >breadcrumbs? using lists and/or structures? Whats the big deal?!
> > >
> > >:-p
> > >
> > >
> > >
> > >/
> > >
> > >
> > >
> > >
> > >-----Original Message-----
> > >From: Dave Phipps [mailto:[EMAIL PROTECTED]]
> > >Sent: 27 June 2002 09:42
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: Breadcrumbs
> > >
> > >John,
> > >
> > >Thanks very much. I was thinking along the same lines last night
> >whilst
> > >
> > >preparing our house to be sold! I'll have a go with the cgi method
>and
> > >see
> > >what I can come up with. Maybe, if I get time I'll make it into a
> > >custom
> > >tag - cf_breadcrumb?
> > >
> > >Any news on the book being available to UK residents other than via
> > >Amazon.com who are charging about $12 for shipping. Can you get
> > >Amazon.co.uk to stock it?
> > >
> > >Cheers
> > >
> > >Dave
> > >
> > >
> > >At 11:31 6/26/2002 -0400, you wrote:
> > > >Dave,
> > > >
> > > >Thanks for reading my article on Breadcrumbs at
>www.techspedition.com
> > >; I'm
> > > >glad you found it helpful!
> > > >
> > > >To do what you'd like, you can take the technique a slight step
> > >further.
> > > >Have individual circuits add themselves to the list as shown in the
> > >article,
> > > >and also have a list that gets generated from fuseactions which
> >appears
> > >at
> > > >the end of the breadcrumb trail. This variable can be made up of
>say,
> > >the
> > > >current fuseaction and the previous fuseaction (you can derive the
> > >latter
> > > >from CGI.http_referer).
> > > >
> > > >Alternatively, as long as you're willing to save state in some
> >fashion,
> > >you
> > > >can also build up a entire list of previous fuseactions executed
>and
> > >then
> > > >under some conditions use all or part of that list, or zero it out.
> > > >
> > > >A third option is to have a given fuseaction define that itself
>plus
> > >some
> > > >other fuseactions of your choosing are part of the breadcrumb , so
> > >instead
> > > >of a FA doing:
> > > >
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Edit User" & "|" &
>"#attributes.fuseaction#">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > >
> > > >you just do
> > > >
> > > ><cfparam name="breadcrumbs" default="">
> > > ><cfset thiscrumb = "Edit User" & "|" & "#attributes.fuseaction#">
> > > ><cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > >
> > > ><cfset thiscrumb = "List Users" & "|" & "users.ListUsers">
> > > ><cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > >
> > > >hope that helps,
> > > >
> > > >John
> > > >
> > > >
> > > >----- Original Message -----
> > > >From: "Dave Phipps" <[EMAIL PROTECTED]>
> > > >To: <[EMAIL PROTECTED]>
> > > >Sent: Tuesday, June 25, 2002 10:11 AM
> > > >Subject: Breadcrumbs
> > > >
> > > >
> > > > > Hi,
> > > > >
> > > > > I have just implement a version of the breadcrumbs as posted by
> > >someone on
> > > > > this list and I was wondering what is the best way to do the
> > >following:
> > > > >
> > > > > I have a list users page within the support section. When you
> >click
> > >on a
> > > > > username you are taken to an edit form page.
> > > > >
> > > > > My question regarding breadcrumbs is how do you get the whole
> >trail
> > >to
> > > > > appear? I place the circuit breadcrumb in the fbx_Layout file
>like
> > >so:
> > > > >
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Support" & "|" & "support.index">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > Then in each fuseaction I put the following:
> > > > >
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Edit User" & "|" &
>"#attributes.fuseaction#">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > This gives something like:
> > > > >
> > > > > Home > Support > List Users
> > > > >
> > > > > Now if I click to edit a user the breadcrumb changes to:
> > > > >
> > > > > Home > Support > Edit User
> > > > >
> > > > > What I want it to do is say:
> > > > >
> > > > > Home > Support > List Users > Edit User
> > > > >
> > > > > What is the best way to implement this? The only way I can
>think
> >to
> > >do it
> > > > > is like so:
> > > > >
> > > > > In the Edit User fuseaction I do the following:
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Edit User" & "|" &
>"#attributes.fuseaction#">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > <cfset thiscrumb = "List Users" & "|" & "support.add_users">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > This gives the correct breadcrumb but means I have to keep track
> >of
> > >the
> > > > > flow between all fuseactions which is not very workable.
> > > > >
> > > > > Any ideas?
> > > > >
> > > > > Thanks
> > > > >
> > > > > Dave Phipps
> > > > >
> > > > >
> > > > > ============================================
> > > > > Phipps CF Development
> > > > > Oxford, Oxfordshire.
> > > > > Telephone: +44(0)7718 896696
> > > > > http://www.phipps-cf.co.uk
> > > > > ============================================
> > > > >
> > > > >
> > > >
> > >
> > >
> > >============================================
> > >Phipps CF Development
> > >Oxford, Oxfordshire.
> > >Telephone: +44(0)7718 896696
> > >http://www.phipps-cf.co.uk
> > >============================================
> > >
> >
> >
> >============================================
> >Phipps CF Development
> >Oxford, Oxfordshire.
> >Telephone: +44(0)7718 896696
> >http://www.phipps-cf.co.uk
> >============================================
> >
>
>
>============================================
>Phipps CF Development
>Oxford, Oxfordshire.
>Telephone: +44(0)7718 896696
>http://www.phipps-cf.co.uk
>============================================
>
============================================
Phipps CF Development
Oxford, Oxfordshire.
Telephone: +44(0)7718 896696
http://www.phipps-cf.co.uk
============================================
------------------------------
Date: Thu, 27 Jun 2002 08:10:32 -0400
From: "John Farrar" <[EMAIL PROTECTED]>
Subject: Re: fusionScript
You could make a "general" comparison of Flash. It relates to fusebox 3 because you
can use it in fusebox applications.
John Farrar
>>> [EMAIL PROTECTED] 06/26/02 06:33PM >>>
The above mentioned is not a replacement for fbx_fusebox30_CF50.cfm to
convert to MX is it?
If not, then what is it and how does it relate to fb3?
If any questions email me at: [EMAIL PROTECTED]
or call me at: 614-280-6829
------------------------------
Date: Thu, 27 Jun 2002 12:15:56 +0000
From: Kyle McNamara <[EMAIL PROTECTED]>
Subject: OT: Fuseboxers List down?
Hey,
First, does anyone know what is happening with the Fuseboxers list? I
have not been able to load it for almost 4 days now...
Second, I wonder if anyone has any ideas on this:
Can you think of any way in CF to strip out all images in a word doc (or
rtf), perhaps while saving the doc/rtf to another directroy or
something? Or the other way around, strip all text and save it as a new
file...
Thanks,
Kyle
------------------------------
Date: Thu, 27 Jun 2002 12:18:59 +0000
From: Kyle McNamara <[EMAIL PROTECTED]>
Subject: RE: Email rejection - web-viewing
i hope that if fusebox is moved to a home of its own, that the web-based
viewing is still an option... in this military environment, I can't be a
part of email lists, but the web-viewing of lists is OK.
I hope you can take that into account when designing the new FB system!
K
Ken Wilson wrote:
>
> Even worse, topica.com is listed in several of the spam databases which
> means filtering based on those listings means we get no Fusebox mail.
>
> Any progress being made on getting the FB lists moved to a home of their
> own? Have the donations to-date been insufficient to accomplish that
> goal?
>
> Ken
>
>
> -----Original Message-----
> From: Mike Haggerty [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 5:22 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Email rejection
>
>
> That is a dire message... I use Yahoo sometimes, I think they are a real
> email provider...
>
> M
>
> -----Original Message-----
> From: Don Bellamy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 5:16 PM
> To: [EMAIL PROTECTED]
> Subject: Email rejection
>
>
>
> This account does not accept any incoming email from hotmail or
> yahoo.com.
> Please use a real email provider to send this message.
>
>
>
>
>
------------------------------
Date: Thu, 27 Jun 2002 07:42:03 -0500
From: Nathan Smith <[EMAIL PROTECTED]>
Subject: RE: Test
Do either of you use scanmail from TrendMicro? I suspect it may have been
deleting my topica mailing lists.
-----Original Message-----
From: John Jonathan Kopanas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 11:38 AM
To: [EMAIL PROTECTED]
Subject: Re: Test
I am trying to figure out same thing.
----- Original Message -----
From: Drew <mailto:[EMAIL PROTECTED]> Harris
To: Fusebox List <mailto:[EMAIL PROTECTED]>
Sent: Wednesday, June 26, 2002 8:44 AM
Subject: Test
Was, is topica down?
------------------------------
Date: Thu, 27 Jun 2002 09:21:53 -0400
From: "Michael Dinowitz" <[EMAIL PROTECTED]>
Subject: Re: Email rejection
Thanks. :)
The choice to go with your own box is also a compelling one for control reasons. If
you do and you use iMS (which I suggest), then I'll gladly give you the CF List code
both for the backend and the archives (www.houseoffusion.com/cf_lists). The archive
code is done in a style that's based on the core of FB so it'll be very familiar. I'll
be releasing it to open source when its done anyway. :)
> The key to all of those potential problems is that you are responsive
> though. Whereas looking from the outside it doesn't appear like Topica is
> very user oriented in responding.
>
> You interact with your users Michael ;)
>
> props to the House of Fusion :D
>
> -Jim Briggs
>
> -----Original Message-----
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 3:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Email rejection
>
>
> I hate to step on my own toes here, but that last part is not 100% true. We
> do sometimes have lag depending on two basic things.
> 1. I screw up with a code change
> 2. An act of network, server or God.
> The first only happens when I'm modifying code for an app that has a grand
> scale. The original archive population scripts ran so fast and well that
> they took all of the system resources while moving, threading, caching and
> indexing about 66,000 messages. Took me about 10 minutes to see the effect
> and step in. A fix and re-code took a few minutes more. I usually do not do
> mods on the system so that's rather rare.
> The other source of lag is one that's really out of my hands, but there are
> a LOT of people watching the box and when something happens, I get email,
> ICQ messages, and even on occasion phone calls. Once I know that there's a
> problem, I try to fix it or contact the hosting company. They're really good
> with kick starting the box when I need it.
> That being said, we have really good up time and turnaround for the lists
> but they're not 100% perfect. One day all this truth is going to get me into
> trouble. :)
>
> At 06:21 PM 6/26/02, you wrote:
> >Well there is a standing offer from Judith and Michael over at
> >houseoffusion to bring the hosting back home to them, they have
> >just recently updraded to SQL Server and they are always up and
> >running with no lag time at all....
> >
> >
> >
> >
> >Douglas Brown
> >Email: [EMAIL PROTECTED]
> >----- Original Message -----
> >From: "Ken Wilson" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Wednesday, June 26, 2002 3:20 PM
> >Subject: RE: Email rejection
> >
> >
> >>
> >> Even worse, topica.com is listed in several of the spam
> >databases which
> >> means filtering based on those listings means we get no
> >Fusebox mail.
> >>
> >> Any progress being made on getting the FB lists moved to a
> >home of their
> >> own? Have the donations to-date been insufficient to
> >accomplish that goal?
> >>
> >> Ken
> >>
> >>
> >> -----Original Message-----
> >> From: Mike Haggerty [mailto:[EMAIL PROTECTED]]
> >> Sent: Wednesday, June 26, 2002 5:22 PM
> >> To: '[EMAIL PROTECTED]'
> >> Subject: RE: Email rejection
> >>
> >>
> >> That is a dire message... I use Yahoo sometimes, I think they
> >are a real
> >> email provider...
> >>
> >> M
> >>
> >> -----Original Message-----
> >> From: Don Bellamy [mailto:[EMAIL PROTECTED]]
> >> Sent: Wednesday, June 26, 2002 5:16 PM
> >> To: [EMAIL PROTECTED]
> >> Subject: Email rejection
> >>
> >>
> >>
> >> This account does not accept any incoming email from hotmail
> >or yahoo.com.
> >> Please use a real email provider to send this message.
> >>
> >>
> >===
> >>
> >>
> >>
> >
>
> >
>
------------------------------
Date: Thu, 27 Jun 2002 09:29:11 -0400
From: "Don Bellamy" <[EMAIL PROTECTED]>
Subject: RE: Email rejection
Sorry about that everyone.... Just getting totally fed up with spam
lately and was testing some email rules in outlook. I totally forgot
about the potential of emails from the lists I belong to.
Thanks!
---
Don Bellamy
SiteObjects, Inc.
http://www.siteobjects.com/
Tel (517) 324-4227 ext 100
Fax (517) 324-4267
-----Original Message-----
From: Don Bellamy
Sent: Wednesday, June 26, 2002 5:16 PM
To: [EMAIL PROTECTED]
Subject: Email rejection
This account does not accept any incoming email from hotmail or
yahoo.com. Please use a real email provider to send this message.
------------------------------
Date: Thu, 27 Jun 2002 14:39:50 +0100
From: "Neil Clark - =TMM=" <[EMAIL PROTECTED]>
Subject: RE: Breadcrumbs
When I get a chance Dave I will knock you up an example, I was out
earlier today at the US Embassy visiting the IRS and I have only just
got back..... so I am behind!
Neil Clark
Team Macromedia
http://www.macromedia.com/go/team
Announcing Macromedia MX!!
http://www.macromedia.com/software/trial/
-----Original Message-----
From: Dave Phipps [mailto:[EMAIL PROTECTED]]
Sent: 27 June 2002 12:32
To: [EMAIL PROTECTED]
Subject: RE: Breadcrumbs
Neil,
Thanks for the complement! If only I could get a full time development
position I'd learn a lot faster!
I don't have spectra and I never cared for school uniforms, I prefer the
nurses outfit!! (on my wife that is!!) :0)>
I think I'll stick with the way I am doing the breadcrumbs at the
moment. I'll probably wrap the code into a custom tag at some point so
I
just have to call the tag and specify the attributes.
Cheers
Dave
At 11:03 6/27/2002 +0100, you wrote:
>Hey Dave, you are by no means a skoolboy (well, maybe you are, what you
>wear in your own time is your own business <grin/>), from what I see,
>you are pretty good developer yourself!
>
>What you are doing is nigh on what I perform anyway, except I create a
>sitewide breadcrumb structure using a Spectra tree technique in the
>first instance.. ..do you gave Spectra...?
>
>- N
>
>
>
>
>
>-----Original Message-----
>From: Dave Phipps [mailto:[EMAIL PROTECTED]]
>Sent: 27 June 2002 11:00
>To: [EMAIL PROTECTED]
>Subject: RE: Breadcrumbs
>
>Neil,
>
>Do you have any example code for us schoolboys?
>
>Thanks
>
>Dave ;0)
>
>At 10:17 6/27/2002 +0100, you wrote:
> >Hi Dave,
> >
> >Well I create a stack (from my Director days...) > usually either a
> >structure, sometimes a multi-dimensional array which is triggered by
> >each Fuseaction/location depending on what method of development I
have
> >used at the time.
> >
> >Each layer on the stack/or key can then be triggered depending on
what
> >link was clicked/visited last.
> >
> >
> >
> >
> >
> >
> >Neil Clark
> >Team Macromedia
> >http://www.macromedia.com/go/team
> >
> >Announcing Macromedia MX!!
> >http://www.macromedia.com/software/trial/
> >
> >
> >
> >
> >-----Original Message-----
> >From: Dave Phipps [mailto:[EMAIL PROTECTED]]
> >Sent: 27 June 2002 10:12
> >To: [EMAIL PROTECTED]
> >Subject: RE: Breadcrumbs
> >
> >What system do you use for creating breadcrumbs?
> >
> >At 09:55 6/27/2002 +0100, you wrote:
> > >Not being funny but isnt this a fairly skoolboy tactic of preparing
> > >breadcrumbs? using lists and/or structures? Whats the big deal?!
> > >
> > >:-p
> > >
> > >
> > >
> > >/
> > >
> > >
> > >
> > >
> > >-----Original Message-----
> > >From: Dave Phipps [mailto:[EMAIL PROTECTED]]
> > >Sent: 27 June 2002 09:42
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: Breadcrumbs
> > >
> > >John,
> > >
> > >Thanks very much. I was thinking along the same lines last night
> >whilst
> > >
> > >preparing our house to be sold! I'll have a go with the cgi method
>and
> > >see
> > >what I can come up with. Maybe, if I get time I'll make it into a
> > >custom
> > >tag - cf_breadcrumb?
> > >
> > >Any news on the book being available to UK residents other than via
> > >Amazon.com who are charging about $12 for shipping. Can you get
> > >Amazon.co.uk to stock it?
> > >
> > >Cheers
> > >
> > >Dave
> > >
> > >
> > >At 11:31 6/26/2002 -0400, you wrote:
> > > >Dave,
> > > >
> > > >Thanks for reading my article on Breadcrumbs at
>www.techspedition.com
> > >; I'm
> > > >glad you found it helpful!
> > > >
> > > >To do what you'd like, you can take the technique a slight step
> > >further.
> > > >Have individual circuits add themselves to the list as shown in
the
> > >article,
> > > >and also have a list that gets generated from fuseactions which
> >appears
> > >at
> > > >the end of the breadcrumb trail. This variable can be made up of
>say,
> > >the
> > > >current fuseaction and the previous fuseaction (you can derive
the
> > >latter
> > > >from CGI.http_referer).
> > > >
> > > >Alternatively, as long as you're willing to save state in some
> >fashion,
> > >you
> > > >can also build up a entire list of previous fuseactions executed
>and
> > >then
> > > >under some conditions use all or part of that list, or zero it
out.
> > > >
> > > >A third option is to have a given fuseaction define that itself
>plus
> > >some
> > > >other fuseactions of your choosing are part of the breadcrumb ,
so
> > >instead
> > > >of a FA doing:
> > > >
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Edit User" & "|" &
>"#attributes.fuseaction#">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > >
> > > >you just do
> > > >
> > > ><cfparam name="breadcrumbs" default="">
> > > ><cfset thiscrumb = "Edit User" & "|" & "#attributes.fuseaction#">
> > > ><cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > >
> > > ><cfset thiscrumb = "List Users" & "|" & "users.ListUsers">
> > > ><cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > >
> > > >hope that helps,
> > > >
> > > >John
> > > >
> > > >
> > > >----- Original Message -----
> > > >From: "Dave Phipps" <[EMAIL PROTECTED]>
> > > >To: <[EMAIL PROTECTED]>
> > > >Sent: Tuesday, June 25, 2002 10:11 AM
> > > >Subject: Breadcrumbs
> > > >
> > > >
> > > > > Hi,
> > > > >
> > > > > I have just implement a version of the breadcrumbs as posted
by
> > >someone on
> > > > > this list and I was wondering what is the best way to do the
> > >following:
> > > > >
> > > > > I have a list users page within the support section. When you
> >click
> > >on a
> > > > > username you are taken to an edit form page.
> > > > >
> > > > > My question regarding breadcrumbs is how do you get the whole
> >trail
> > >to
> > > > > appear? I place the circuit breadcrumb in the fbx_Layout file
>like
> > >so:
> > > > >
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Support" & "|" & "support.index">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > Then in each fuseaction I put the following:
> > > > >
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Edit User" & "|" &
>"#attributes.fuseaction#">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > This gives something like:
> > > > >
> > > > > Home > Support > List Users
> > > > >
> > > > > Now if I click to edit a user the breadcrumb changes to:
> > > > >
> > > > > Home > Support > Edit User
> > > > >
> > > > > What I want it to do is say:
> > > > >
> > > > > Home > Support > List Users > Edit User
> > > > >
> > > > > What is the best way to implement this? The only way I can
>think
> >to
> > >do it
> > > > > is like so:
> > > > >
> > > > > In the Edit User fuseaction I do the following:
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Edit User" & "|" &
>"#attributes.fuseaction#">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > <cfset thiscrumb = "List Users" & "|" & "support.add_users">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > This gives the correct breadcrumb but means I have to keep
track
> >of
> > >the
> > > > > flow between all fuseactions which is not very workable.
> > > > >
> > > > > Any ideas?
> > > > >
> > > > > Thanks
> > > > >
> > > > > Dave Phipps
> > > > >
> > > > >
> > > > > ============================================
> > > > > Phipps CF Development
> > > > > Oxford, Oxfordshire.
> > > > > Telephone: +44(0)7718 896696
> > > > > http://www.phipps-cf.co.uk
> > > > > ============================================
> > > > >
> > > > >
> > > >
> > >
> > >
> > >============================================
> > >Phipps CF Development
> > >Oxford, Oxfordshire.
> > >Telephone: +44(0)7718 896696
> > >http://www.phipps-cf.co.uk
> > >============================================
> > >
> >
> >
> >============================================
> >Phipps CF Development
> >Oxford, Oxfordshire.
> >Telephone: +44(0)7718 896696
> >http://www.phipps-cf.co.uk
> >============================================
> >
>
>
>============================================
>Phipps CF Development
>Oxford, Oxfordshire.
>Telephone: +44(0)7718 896696
>http://www.phipps-cf.co.uk
>============================================
>
============================================
Phipps CF Development
Oxford, Oxfordshire.
Telephone: +44(0)7718 896696
http://www.phipps-cf.co.uk
============================================
------------------------------
Date: Thu, 27 Jun 2002 16:06:02 +0100
From: John Beynon <[EMAIL PROTECTED]>
Subject: MM DevCon 2002 Sessions
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C21DEC.274C3BB0
Content-Type: text/plain
not sure if you've come across this yet, but the session schedules are up
for DevCon 2002,
http://www.macromedia.com/v1/conference/sessionschedule.cfm
<http://www.macromedia.com/v1/conference/sessionschedule.cfm>
john.
*************************************************************************
Copyright ERA Technology Ltd. 2002. (www.era.co.uk). All rights reserved.
The information supplied in this email should be treated in confidence.
No liability whatsoever is accepted for any loss or damage
suffered as a result of accessing this message or any attachments.
_____________________________________________________________________
This message has been checked for all known viruses by UUNET delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.uk.uu.net/products/security/virus/
------_=_NextPart_001_01C21DEC.274C3BB0
Content-Type: text/html
Content-Transfer-Encoding: 8bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=246321115-27062002><FONT face=Arial size=2>not sure if you've
come across this yet, but the session schedules are up for DevCon
2002,</FONT></SPAN></DIV>
<DIV><SPAN class=246321115-27062002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=246321115-27062002><FONT face=Arial size=2><A
href="http://www.macromedia.com/v1/conference/sessionschedule.cfm">http://www.macromedia.com/v1/conference/sessionschedule.cfm</A></FONT></SPAN></DIV>
<DIV><SPAN class=246321115-27062002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=246321115-27062002><FONT face=Arial
size=2>john.</FONT></SPAN></DIV><CODE><FONT SIZE=3><BR>
<BR>
*************************************************************************<BR>
Copyright ERA Technology Ltd. 2002. (www.era.co.uk). All rights reserved. <BR>
The information supplied in this email should be treated in confidence.<BR>
No liability whatsoever is accepted for any loss or damage <BR>
suffered as a result of accessing this message or any attachments.<BR>
</FONT></CODE>
</BODY></HTML>
<HTML><BODY><BR>
_____________________________________________________________________<BR>
This message has been checked for all known viruses by UUNET delivered <BR>
through the MessageLabs Virus Control Centre. For further information visit<BR>
<A
href=http://www.uk.uu.net/products/security/virus/>
http://www.uk.uu.net/products/security/virus/</A><BR>
</BODY></HTML>
------_=_NextPart_001_01C21DEC.274C3BB0--
------------------------------
Date: Thu, 27 Jun 2002 11:17:13 -0400
From: "Sarsoun, Jeff" <[EMAIL PROTECTED]>
Subject: new fusebox project
All,
I got the go ahead from my superiors to use fusebox on the next project.
The question I have is that we have several small applications that will
'plug into' the new application. The existing apps are not written in
fusebox. What type of issues will I expect to encounter and what do I need
to do to get them to work together?
Thanks,
Jeff
------------------------------
Date: Thu, 27 Jun 2002 11:23:53 -0400
From: "Dan O'Keefe" <[EMAIL PROTECTED]>
Subject: RE: new fusebox project
I recently did site in FB where they wanted an existing app to remain
unchanged and run under their site. SO I just moved the app into a folder
under the FB site, added a FBX_Settings and an FBX_Switch to that directory
so I could call it FB3 style from the main app. After that, the app took
over and ran the way it used to.
Dan
-----Original Message-----
From: Sarsoun, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 11:17 AM
To: [EMAIL PROTECTED]
Subject: new fusebox project
All,
I got the go ahead from my superiors to use fusebox on the next project.
The question I have is that we have several small applications that will
'plug into' the new application. The existing apps are not written in
fusebox. What type of issues will I expect to encounter and what do I need
to do to get them to work together?
Thanks,
Jeff
------------------------------
Date: Thu, 27 Jun 2002 11:42:46 -0400
From: "Ken Beard" <[EMAIL PROTECTED]>
Subject: benbox article
Hey I can't find the article on the cfc methodology written by ben elmore?
(something like that)
doesn't seem to be on the macromedia site anymore. can anyone help me find
a copy of this article?
thanks
Ken Beard
Tampa, FL
------------------------------
Date: Thu, 27 Jun 2002 12:18:47 -0400
From: Judith Dinowitz <[EMAIL PROTECTED]>
Subject: Re: benbox article
Here's the link, from Fusion Authority (summary and link on MM's site):
http://www.fusionauthority.com/alert/index.cfm?alertid=110#tags1
Judith
>Hey I can't find the article on the cfc methodology written by ben elmore?
>(something like that)
>doesn't seem to be on the macromedia site anymore. can anyone help me find
>a copy of this article?
>
>thanks
>Ken Beard
>Tampa, FL
>
------------------------------
Date: Tue, 25 Jun 2002 10:17:52 -0700
From: "Balazs Wellisch" <[EMAIL PROTECTED]>
Subject: RE: Question on MVC
Lee,
here's a problem I ran into with the MVC model. When I set up my controlers
they each contained over a hundred fuseactions. (This is big application.)
How do I break up controllers or views that contain so many fuseactions yet
in theory belong together?
Balazs
-----Original Message-----
From: Lee Borkman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 5:33 AM
To: [EMAIL PROTECTED]
Subject: Re: Question on MVC
Hi Kevin,
In broad terms, as I understand it...
* Each Model corresponds to a thing/object/entity in the application domain.
* Each Controller corresponds to a category of user
* Each View corresponds to a category of presentation (eg, HTML, Flash)
The Controller functions are those things that a User will want the
application
to do. These Controller functions are implemented by calling Model
functions to
read/write data, and View functions to present the results in an appropriate
format.
It has been argued before that Fusebox is an inherently MVC-like approach.
You
can consider fuseactions to be Controller functions, qry_ fuses are the
Model
functions, and dsp_ fuses are the View functions. In the MVC approach that
Hal
has been writing about, Controller fuseactions are implemented by calling
Model
and View *fuseactions*, instaed of mere Model and View fuses. This allows a
stricter separation of Model, View and Controller functions, by giving them
their own distinct circuits.
In other words, Fusebox already provides much of the separation of
responsibility that an MVC pattern gives. You can, if you wish, go a step
further, as Hal is suggesting, and implement MVC explicitly using FB3 and an
intelligent division of circuits. You will find this kind of approach
further
increases the power and scalability that you already get from using Fusebox.
Does that make any sense?
LeeBB
----- Original Message -----
From: Kevin Roche <[EMAIL PROTECTED]>
> Hi,
>
> I am trying (and failing) to get my head around the MVC model.
>
> I am having difficulty seeing why or how to structure an MVC model for the
> redesign on an exsiting application that we plan to move from FB2 to FB3.
I
> have a feeling that it would help with some of the problems we have with
the
> current version which is used by lots of different types of users.
>
> What I noticed in the e-mail below is that Patrick has arranged the
folders
> below model to represent objects and that below controller to represent
> users. The things below view are like collections of objects or ways to
look
> at them.
>
> Is this always true ?
>
> Am I right ? or completely up the creek ?
>
> Kevin
>
>
> -----Original Message-----
> From: Patrick McElhaney [mailto:[EMAIL PROTECTED]]
> Sent: 26 March 2002 20:21
> To: [EMAIL PROTECTED]
> Subject: RE: MVC Pattern
>
>
> > Brian wrote:
> >
> > Patrick McElhaney wrote:
> > > parent
> > > model
> > > products
> > > orders
> > > view
> > > catalog
> > > cart
> > > checkout
> > > orderstatus
> > > controller
> > > shopper
> >
------------------------------
Date: Thu, 27 Jun 2002 15:05:55 -0400
From: "John Quarto-vonTivadar" <[EMAIL PROTECTED]>
Subject: Re: Breadcrumbs
Neil, so what you're saying is that you do the same thing, you just choose
to use a structure, rather than a list.
Great.
I think it's 6 of one and half dozen of the other. Eye-tracking and log
usage studies show that for the average visitor primary navigation is the
least used portion of a web site, and the breadcrumbs within the primary nav
is used only a fraction of that fraction. As such, I personally don't think
it merits the additional work in creating a structure for it for the sake of
less than 1% of the visitors who actually use the breadcrumbs (as opposed to
someone developing their site who thinks everything is important, quite
naturally) -- but if someone has some canned code for it in a structure form
then great. In the end you still have to unwind the stack, since the
structure in and of itself doesn't contain an ordering, which is exactly the
same function a list is performing because a list by its nature is ordered.
I love driving the convertible to pick up a gallon of milk, but the milk
doesn't care if I show up with a bike, as long as I show up.
----- Original Message -----
From: "Neil Clark - =TMM=" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 6:03 AM
Subject: RE: Breadcrumbs
> Hey Dave, you are by no means a skoolboy (well, maybe you are, what you
> wear in your own time is your own business <grin/>), from what I see,
> you are pretty good developer yourself!
>
> What you are doing is nigh on what I perform anyway, except I create a
> sitewide breadcrumb structure using a Spectra tree technique in the
> first instance.. ..do you gave Spectra...?
>
> - N
>
>
>
>
>
> -----Original Message-----
> From: Dave Phipps [mailto:[EMAIL PROTECTED]]
> Sent: 27 June 2002 11:00
> To: [EMAIL PROTECTED]
> Subject: RE: Breadcrumbs
>
> Neil,
>
> Do you have any example code for us schoolboys?
>
> Thanks
>
> Dave ;0)
>
> At 10:17 6/27/2002 +0100, you wrote:
> >Hi Dave,
> >
> >Well I create a stack (from my Director days...) > usually either a
> >structure, sometimes a multi-dimensional array which is triggered by
> >each Fuseaction/location depending on what method of development I have
> >used at the time.
> >
> >Each layer on the stack/or key can then be triggered depending on what
> >link was clicked/visited last.
> >
> >
> >
> >
> >
> >
> >Neil Clark
> >Team Macromedia
> >http://www.macromedia.com/go/team
> >
> >Announcing Macromedia MX!!
> >http://www.macromedia.com/software/trial/
> >
> >
> >
> >
> >-----Original Message-----
> >From: Dave Phipps [mailto:[EMAIL PROTECTED]]
> >Sent: 27 June 2002 10:12
> >To: [EMAIL PROTECTED]
> >Subject: RE: Breadcrumbs
> >
> >What system do you use for creating breadcrumbs?
> >
> >At 09:55 6/27/2002 +0100, you wrote:
> > >Not being funny but isnt this a fairly skoolboy tactic of preparing
> > >breadcrumbs? using lists and/or structures? Whats the big deal?!
> > >
> > >:-p
> > >
> > >
> > >
> > >/
> > >
> > >
> > >
> > >
> > >-----Original Message-----
> > >From: Dave Phipps [mailto:[EMAIL PROTECTED]]
> > >Sent: 27 June 2002 09:42
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: Breadcrumbs
> > >
> > >John,
> > >
> > >Thanks very much. I was thinking along the same lines last night
> >whilst
> > >
> > >preparing our house to be sold! I'll have a go with the cgi method
> and
> > >see
> > >what I can come up with. Maybe, if I get time I'll make it into a
> > >custom
> > >tag - cf_breadcrumb?
> > >
> > >Any news on the book being available to UK residents other than via
> > >Amazon.com who are charging about $12 for shipping. Can you get
> > >Amazon.co.uk to stock it?
> > >
> > >Cheers
> > >
> > >Dave
> > >
> > >
> > >At 11:31 6/26/2002 -0400, you wrote:
> > > >Dave,
> > > >
> > > >Thanks for reading my article on Breadcrumbs at
> www.techspedition.com
> > >; I'm
> > > >glad you found it helpful!
> > > >
> > > >To do what you'd like, you can take the technique a slight step
> > >further.
> > > >Have individual circuits add themselves to the list as shown in the
> > >article,
> > > >and also have a list that gets generated from fuseactions which
> >appears
> > >at
> > > >the end of the breadcrumb trail. This variable can be made up of
> say,
> > >the
> > > >current fuseaction and the previous fuseaction (you can derive the
> > >latter
> > > >from CGI.http_referer).
> > > >
> > > >Alternatively, as long as you're willing to save state in some
> >fashion,
> > >you
> > > >can also build up a entire list of previous fuseactions executed
> and
> > >then
> > > >under some conditions use all or part of that list, or zero it out.
> > > >
> > > >A third option is to have a given fuseaction define that itself
> plus
> > >some
> > > >other fuseactions of your choosing are part of the breadcrumb , so
> > >instead
> > > >of a FA doing:
> > > >
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Edit User" & "|" &
> "#attributes.fuseaction#">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > >
> > > >you just do
> > > >
> > > ><cfparam name="breadcrumbs" default="">
> > > ><cfset thiscrumb = "Edit User" & "|" & "#attributes.fuseaction#">
> > > ><cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > >
> > > ><cfset thiscrumb = "List Users" & "|" & "users.ListUsers">
> > > ><cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > >
> > > >hope that helps,
> > > >
> > > >John
> > > >
> > > >
> > > >----- Original Message -----
> > > >From: "Dave Phipps" <[EMAIL PROTECTED]>
> > > >To: <[EMAIL PROTECTED]>
> > > >Sent: Tuesday, June 25, 2002 10:11 AM
> > > >Subject: Breadcrumbs
> > > >
> > > >
> > > > > Hi,
> > > > >
> > > > > I have just implement a version of the breadcrumbs as posted by
> > >someone on
> > > > > this list and I was wondering what is the best way to do the
> > >following:
> > > > >
> > > > > I have a list users page within the support section. When you
> >click
> > >on a
> > > > > username you are taken to an edit form page.
> > > > >
> > > > > My question regarding breadcrumbs is how do you get the whole
> >trail
> > >to
> > > > > appear? I place the circuit breadcrumb in the fbx_Layout file
> like
> > >so:
> > > > >
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Support" & "|" & "support.index">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > Then in each fuseaction I put the following:
> > > > >
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Edit User" & "|" &
> "#attributes.fuseaction#">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > This gives something like:
> > > > >
> > > > > Home > Support > List Users
> > > > >
> > > > > Now if I click to edit a user the breadcrumb changes to:
> > > > >
> > > > > Home > Support > Edit User
> > > > >
> > > > > What I want it to do is say:
> > > > >
> > > > > Home > Support > List Users > Edit User
> > > > >
> > > > > What is the best way to implement this? The only way I can
> think
> >to
> > >do it
> > > > > is like so:
> > > > >
> > > > > In the Edit User fuseaction I do the following:
> > > > > <cfparam name="breadcrumbs" default="">
> > > > > <cfset thiscrumb = "Edit User" & "|" &
> "#attributes.fuseaction#">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > <cfset thiscrumb = "List Users" & "|" & "support.add_users">
> > > > > <cfset breadcrumbs = ListPrepend(breadcrumbs,thiscrumb)>
> > > > >
> > > > > This gives the correct breadcrumb but means I have to keep track
> >of
> > >the
> > > > > flow between all fuseactions which is not very workable.
> > > > >
> > > > > Any ideas?
> > > > >
> > > > > Thanks
> > > > >
> > > > > Dave Phipps
> > > > >
> > > > >
> > > > > ============================================
> > > > > Phipps CF Development
> > > > > Oxford, Oxfordshire.
> > > > > Telephone: +44(0)7718 896696
> > > > > http://www.phipps-cf.co.uk
> > > > > ============================================
> > > > >
> > > > >
> > > >
> > >
> > >
> > >============================================
> > >Phipps CF Development
> > >Oxford, Oxfordshire.
> > >Telephone: +44(0)7718 896696
> > >http://www.phipps-cf.co.uk
> > >============================================
> > >
> >
> >
> >============================================
> >Phipps CF Development
> >Oxford, Oxfordshire.
> >Telephone: +44(0)7718 896696
> >http://www.phipps-cf.co.uk
> >============================================
> >
>
>
> ============================================
> Phipps CF Development
> Oxford, Oxfordshire.
> Telephone: +44(0)7718 896696
> http://www.phipps-cf.co.uk
> ============================================
>
>
>
>
------------------------------
Date: Tue, 25 Jun 2002 17:32:24 -0400
From: "John Jonathan Kopanas" <[EMAIL PROTECTED]>
Subject: test
test
John Jonathan Kopanas
[EMAIL PROTECTED]
------------------------------
Date: Thu, 27 Jun 2002 12:31:43 -0700
From: "Balazs Wellisch" <[EMAIL PROTECTED]>
Subject: RE: Question on MVC
and two days later my post appears...
-----Original Message-----
From: Balazs Wellisch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 10:18 AM
To: [EMAIL PROTECTED]
Subject: RE: Question on MVC
Lee,
here's a problem I ran into with the MVC model. When I set up my controlers
they each contained over a hundred fuseactions. (This is big application.)
How do I break up controllers or views that contain so many fuseactions yet
in theory belong together?
Balazs
-----Original Message-----
From: Lee Borkman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 5:33 AM
To: [EMAIL PROTECTED]
Subject: Re: Question on MVC
Hi Kevin,
In broad terms, as I understand it...
* Each Model corresponds to a thing/object/entity in the application domain.
* Each Controller corresponds to a category of user
* Each View corresponds to a category of presentation (eg, HTML, Flash)
The Controller functions are those things that a User will want the
application
to do. These Controller functions are implemented by calling Model
functions to
read/write data, and View functions to present the results in an appropriate
format.
It has been argued before that Fusebox is an inherently MVC-like approach.
You
can consider fuseactions to be Controller functions, qry_ fuses are the
Model
functions, and dsp_ fuses are the View functions. In the MVC approach that
Hal
has been writing about, Controller fuseactions are implemented by calling
Model
and View *fuseactions*, instaed of mere Model and View fuses. This allows a
stricter separation of Model, View and Controller functions, by giving them
their own distinct circuits.
In other words, Fusebox already provides much of the separation of
responsibility that an MVC pattern gives. You can, if you wish, go a step
further, as Hal is suggesting, and implement MVC explicitly using FB3 and an
intelligent division of circuits. You will find this kind of approach
further
increases the power and scalability that you already get from using Fusebox.
Does that make any sense?
LeeBB
----- Original Message -----
From: Kevin Roche <[EMAIL PROTECTED]>
> Hi,
>
> I am trying (and failing) to get my head around the MVC model.
>
> I am having difficulty seeing why or how to structure an MVC model for the
> redesign on an exsiting application that we plan to move from FB2 to FB3.
I
> have a feeling that it would help with some of the problems we have with
the
> current version which is used by lots of different types of users.
>
> What I noticed in the e-mail below is that Patrick has arranged the
folders
> below model to represent objects and that below controller to represent
> users. The things below view are like collections of objects or ways to
look
> at them.
>
> Is this always true ?
>
> Am I right ? or completely up the creek ?
>
> Kevin
>
>
> -----Original Message-----
> From: Patrick McElhaney [mailto:[EMAIL PROTECTED]]
> Sent: 26 March 2002 20:21
> To: [EMAIL PROTECTED]
> Subject: RE: MVC Pattern
>
>
> > Brian wrote:
> >
> > Patrick McElhaney wrote:
> > > parent
> > > model
> > > products
> > > orders
> > > view
> > > catalog
> > > cart
> > > checkout
> > > orderstatus
> > > controller
> > > shopper
> >
------------------------------
Date: Thu, 27 Jun 2002 13:01:10 -0700
From: "Rey Muradaz" <[EMAIL PROTECTED]>
Subject: RE: Question on MVC
Even funnier--I got this *before* I got your original post :)
Vai Brasil!
REM O-
>>> [EMAIL PROTECTED] 06/27/02 12:31PM >>>
and two days later my post appears...
-----Original Message-----
From: Balazs Wellisch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 10:18 AM
To: [EMAIL PROTECTED]
Subject: RE: Question on MVC
Lee,
here's a problem I ran into with the MVC model. When I set up my controlers
they each contained over a hundred fuseactions. (This is big application.)
How do I break up controllers or views that contain so many fuseactions yet
in theory belong together?
Balazs
-----Original Message-----
From: Lee Borkman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 5:33 AM
To: [EMAIL PROTECTED]
Subject: Re: Question on MVC
Hi Kevin,
In broad terms, as I understand it...
* Each Model corresponds to a thing/object/entity in the application domain.
* Each Controller corresponds to a category of user
* Each View corresponds to a category of presentation (eg, HTML, Flash)
The Controller functions are those things that a User will want the
application
to do. These Controller functions are implemented by calling Model
functions to
read/write data, and View functions to present the results in an appropriate
format.
It has been argued before that Fusebox is an inherently MVC-like approach.
You
can consider fuseactions to be Controller functions, qry_ fuses are the
Model
functions, and dsp_ fuses are the View functions. In the MVC approach that
Hal
has been writing about, Controller fuseactions are implemented by calling
Model
and View *fuseactions*, instaed of mere Model and View fuses. This allows a
stricter separation of Model, View and Controller functions, by giving them
their own distinct circuits.
In other words, Fusebox already provides much of the separation of
responsibility that an MVC pattern gives. You can, if you wish, go a step
further, as Hal is suggesting, and implement MVC explicitly using FB3 and an
intelligent division of circuits. You will find this kind of approach
further
increases the power and scalability that you already get from using Fusebox.
Does that make any sense?
LeeBB
----- Original Message -----
From: Kevin Roche <[EMAIL PROTECTED]>
> Hi,
>
> I am trying (and failing) to get my head around the MVC model.
>
> I am having difficulty seeing why or how to structure an MVC model for the
> redesign on an exsiting application that we plan to move from FB2 to FB3.
I
> have a feeling that it would help with some of the problems we have with
the
> current version which is used by lots of different types of users.
>
> What I noticed in the e-mail below is that Patrick has arranged the
folders
> below model to represent objects and that below controller to represent
> users. The things below view are like collections of objects or ways to
look
> at them.
>
> Is this always true ?
>
> Am I right ? or completely up the creek ?
>
> Kevin
>
>
> -----Original Message-----
> From: Patrick McElhaney [mailto:[EMAIL PROTECTED]]
> Sent: 26 March 2002 20:21
> To: [EMAIL PROTECTED]
> Subject: RE: MVC Pattern
>
>
> > Brian wrote:
> >
> > Patrick McElhaney wrote:
> > > parent
> > > model
> > > products
> > > orders
> > > view
> > > catalog
> > > cart
> > > checkout
> > > orderstatus
> > > controller
> > > shopper
> >
------------------------------
Date: Thu, 27 Jun 2002 20:59:14 +0000
From: Nando <[EMAIL PROTECTED]>
Subject: Content Management schema
I was wondering if anyone who has worked with this could comment on how
they approached a database schema problem for an FB3 content management
app. Maybe i'm missing the obvious here ... Here is the situation.
First, a page request is always to a specific circuit.action, so it
makes sense to me that each editable page element is related to a single
circuit.action record. so i started with a simple table called
tblCircuitAction
fields
* idCircuitAction
* strCircuitAction
Then the query to obtain the data for a particular page request is a
join with the fully formed fuseaction at it's heart.
Then there can be different types of editable content on each possible
page view. To keep it simple, lets say we have just text and images.
tblTexts
fields
* idText
* idCircuitAction
* strTextBlock
* bitPublish
tblImages
fields
* idImage
* idCircuitAction
* strImageName
* bitPublish
Now, as long as there is a one to one relationship between
tblCircuitAction and tblTexts / tblImages, it's a no brainer. the cfcase
includes a join query and a display file, and somewhere in the display
file there is a single #strTextBlock# and a single #strImageName#
(inside in image tag, of course). But of course, this is not what is
really needed.
Obviously, we need to accomodate more than one editable image or text
block per page, indicating that the relationship between
tblCircuitAction and tblTexts or tblImages is actually one to many. Now
we're in a bit of a jam.
Let's say i have 2 text blocks on a particular page. I run my query, it
returns 2 records from the text table. Now what? In the display file,
these 2 blocks of text mostly likely need to have uniquely defined
positions, (we cannot count on outputting them with a loop, for
instance) which suggests that they each need to be defined with uniquely
named variables. Let's say our site administrator decides they want to
add 20 text blocks to a particular page and our system allows that.
Normalization here makes complete sense. But how to deal with the fact
that normalization will not return the unique variable names we need to
lay the page out as we might want. Seems like we need to assign variable
names to the textBlocks on the fly.
I have an idea how to accomplish this by placing something like this at
the top of each display page:
<cfloop index="i" from="1" to="#getTexts.RecordCount#">
<cfset strTextBlock = 'strTextBlock#i#'>
<cfset idText = 'idText#i#'>
</cfloop>
If i was smarter than i am, maybe something similar could be written
into the query (or SP)
Then i would have unique variable names assigned to each text block and
it's id (so the admin of the site can click on an icon and edit it.) The
only problem with assigning the variable names on the fly like this is
that the locations on the page would then be interdependent with the way
it was sorted. So i think the query would need to sort the records by id
so you always get a consistently ordered result.
My hack until today has been to create extra fields for the number of
anticipated text blocks, strTextBlock1, strTextBlock2, etc - but what i
don't like about this solution is that it gets messy for the person
editing the site. it kind of forces me to present the admin user with
more than one text entry box on their editing form. They click on the
icon for textBlock1 and they see all the textBlock forms for that page.
It's confusing. And of course, it's not very scalable.
Does anyone have any comment here on how they would resolve this issue?
I've been rolling this scenario around in my mind for quite some time.
Nando
* by the way, sorry for posting this to the fusebox list, but the
community list seems to have been nuked.
------------------------------
Date: Thu, 27 Jun 2002 15:59:55 -0500
From: Drew Harris <[EMAIL PROTECTED]>
Subject: Re: Test
Nope.
On 6/27/02 7:42 AM, "Nathan Smith" <[EMAIL PROTECTED]> wrote:
> Do either of you use scanmail from TrendMicro? I suspect it may have been
> deleting my topica mailing lists.
>
> -----Original Message-----
> From: John Jonathan Kopanas [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 11:38 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Test
>
>
> I am trying to figure out same thing.
>
> ----- Original Message -----
> From: Drew <mailto:[EMAIL PROTECTED]> Harris
> To: Fusebox List <mailto:[EMAIL PROTECTED]>
> Sent: Wednesday, June 26, 2002 8:44 AM
> Subject: Test
>
> Was, is topica down?
>
>
>
------------------------------
Date: Thu, 27 Jun 2002 21:06:16 +0000
From: Nando <[EMAIL PROTECTED]>
Subject: RE: Test
Something seems to be seriously wrong with the FB community list. You
can't post to it or view it, even through the website.
Drew Harris wrote:
> Nope.
>
> On 6/27/02 7:42 AM, "Nathan Smith" <[EMAIL PROTECTED]> wrote:
>
> > Do either of you use scanmail from TrendMicro? I suspect it may have
> > been
> > deleting my topica mailing lists.
> >
> > -----Original Message-----
> > From: John Jonathan Kopanas [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 26, 2002 11:38 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Test
> >
> >
> > I am trying to figure out same thing.
> >
> > ----- Original Message -----
> > From: Drew <mailto:[EMAIL PROTECTED]> Harris
> > To: Fusebox List <mailto:[EMAIL PROTECTED]>
> > Sent: Wednesday, June 26, 2002 8:44 AM
> > Subject: Test
> >
> > Was, is topica down?
> >
> >
> >
>
>
>
------------------------------
Date: Thu, 27 Jun 2002 16:15:02 -0500
From: Drew Harris <[EMAIL PROTECTED]>
Subject: Re: Test
Yeah, waaas up...?
Where do we post our community issues in the meantime?
-Drew Harris
On 6/27/02 4:06 PM, "Nando" <[EMAIL PROTECTED]> wrote:
> Something seems to be seriously wrong with the FB community list. You
> can't post to it or view it, even through the website.
> Drew Harris wrote:
>> Nope.
>>
>> On 6/27/02 7:42 AM, "Nathan Smith" <[EMAIL PROTECTED]> wrote:
>>
>>> Do either of you use scanmail from TrendMicro? I suspect it may have
>>> been
>>> deleting my topica mailing lists.
>>>
>>> -----Original Message-----
>>> From: John Jonathan Kopanas [mailto:[EMAIL PROTECTED]]
>>> Sent: Wednesday, June 26, 2002 11:38 AM
>>> To: [EMAIL PROTECTED]
>>> Subject: Re: Test
>>>
>>>
>>> I am trying to figure out same thing.
>>>
>>> ----- Original Message -----
>>> From: Drew <mailto:[EMAIL PROTECTED]> Harris
>>> To: Fusebox List <mailto:[EMAIL PROTECTED]>
>>> Sent: Wednesday, June 26, 2002 8:44 AM
>>> Subject: Test
>>>
>>> Was, is topica down?
>>>
>>>
>>>
>>
>>
>>
>
>
------------------------------
Date: Thu, 27 Jun 2002 14:26:53 -0700
From: "Rey Muradaz" <[EMAIL PROTECTED]>
Subject: Re: Test
I was going to suggest [EMAIL PROTECTED], but that would be wrong . . . :)
REM O-
>>> [EMAIL PROTECTED] 06/27/02 02:15PM >>>
Yeah, waaas up...?
Where do we post our community issues in the meantime?
-Drew Harris
On 6/27/02 4:06 PM, "Nando" <[EMAIL PROTECTED]> wrote:
> Something seems to be seriously wrong with the FB community list. You
> can't post to it or view it, even through the website.
> Drew Harris wrote:
>> Nope.
>>
>> On 6/27/02 7:42 AM, "Nathan Smith" <[EMAIL PROTECTED]> wrote:
>>
>>> Do either of you use scanmail from TrendMicro? I suspect it may have
>>> been
>>> deleting my topica mailing lists.
>>>
>>> -----Original Message-----
>>> From: John Jonathan Kopanas [mailto:[EMAIL PROTECTED]]
>>> Sent: Wednesday, June 26, 2002 11:38 AM
>>> To: [EMAIL PROTECTED]
>>> Subject: Re: Test
>>>
>>>
>>> I am trying to figure out same thing.
>>>
>>> ----- Original Message -----
>>> From: Drew <mailto:[EMAIL PROTECTED]> Harris
>>> To: Fusebox List <mailto:[EMAIL PROTECTED]>
>>> Sent: Wednesday, June 26, 2002 8:44 AM
>>> Subject: Test
>>>
>>> Was, is topica down?
>>>
>>>
>>>
>>
>>
>>
>
>
------------------------------
Date: Thu, 27 Jun 2002 16:29:39 -0500
From: Matthew W Jones <[EMAIL PROTECTED]>
Subject: RE: Test
we could create new lists on topica
[EMAIL PROTECTED]
and
[EMAIL PROTECTED]
-----Original Message-----
From: Rey Muradaz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 4:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Test
I was going to suggest [EMAIL PROTECTED], but that would be wrong . . . :)
REM O-
>>> [EMAIL PROTECTED] 06/27/02 02:15PM >>>
Yeah, waaas up...?
Where do we post our community issues in the meantime?
-Drew Harris
On 6/27/02 4:06 PM, "Nando" <[EMAIL PROTECTED]> wrote:
> Something seems to be seriously wrong with the FB community list. You
> can't post to it or view it, even through the website.
> Drew Harris wrote:
>> Nope.
>>
>> On 6/27/02 7:42 AM, "Nathan Smith" <[EMAIL PROTECTED]> wrote:
>>
>>> Do either of you use scanmail from TrendMicro? I suspect it may have
>>> been
>>> deleting my topica mailing lists.
>>>
>>> -----Original Message-----
>>> From: John Jonathan Kopanas [mailto:[EMAIL PROTECTED]]
>>> Sent: Wednesday, June 26, 2002 11:38 AM
>>> To: [EMAIL PROTECTED]
>>> Subject: Re: Test
>>>
>>>
>>> I am trying to figure out same thing.
>>>
>>> ----- Original Message -----
>>> From: Drew <mailto:[EMAIL PROTECTED]> Harris
>>> To: Fusebox List <mailto:[EMAIL PROTECTED]>
>>> Sent: Wednesday, June 26, 2002 8:44 AM
>>> Subject: Test
>>>
>>> Was, is topica down?
>>>
>>>
>>>
>>
>>
>>
>
>
------------------------------
Date: Thu, 27 Jun 2002 16:40:06 -0500
From: Drew Harris <[EMAIL PROTECTED]>
Subject: Re: Test
I like this idea :-)
On 6/27/02 4:29 PM, "Matthew W Jones" <[EMAIL PROTECTED]>
wrote:
> we could create new lists on topica
>
> [EMAIL PROTECTED]
>
> and
>
> [EMAIL PROTECTED]
>
> -----Original Message-----
> From: Rey Muradaz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 27, 2002 4:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Test
>
>
> I was going to suggest [EMAIL PROTECTED], but that would be wrong . . . :)
>
> REM O-
>
>>>> [EMAIL PROTECTED] 06/27/02 02:15PM >>>
> Yeah, waaas up...?
> Where do we post our community issues in the meantime?
> -Drew Harris
>
> On 6/27/02 4:06 PM, "Nando" <[EMAIL PROTECTED]> wrote:
>
>> Something seems to be seriously wrong with the FB community list. You
>> can't post to it or view it, even through the website.
>> Drew Harris wrote:
>>> Nope.
>>>
>>> On 6/27/02 7:42 AM, "Nathan Smith" <[EMAIL PROTECTED]> wrote:
>>>
>>>> Do either of you use scanmail from TrendMicro? I suspect it may have
>>>> been
>>>> deleting my topica mailing lists.
>>>>
>>>> -----Original Message-----
>>>> From: John Jonathan Kopanas [mailto:[EMAIL PROTECTED]]
>>>> Sent: Wednesday, June 26, 2002 11:38 AM
>>>> To: [EMAIL PROTECTED]
>>>> Subject: Re: Test
>>>>
>>>>
>>>> I am trying to figure out same thing.
>>>>
>>>> ----- Original Message -----
>>>> From: Drew <mailto:[EMAIL PROTECTED]> Harris
>>>> To: Fusebox List <mailto:[EMAIL PROTECTED]>
>>>> Sent: Wednesday, June 26, 2002 8:44 AM
>>>> Subject: Test
>>>>
>>>> Was, is topica down?
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
------------------------------
Date: Thu, 27 Jun 2002 22:34:12 +0000
From: Nando <[EMAIL PROTECTED]>
Subject: Dynamically build a variable name
Hi all,
Anyone have any idea how to dynamically build a variable name?
These throw errors but you get the idea from these examples:
<cfloop index="i" from="1" to="#pages.RecordCount#">
<cfset strTextBlock&#i# = strTextBlock>
<cfset idText#i# = idText>
</cfloop>
i'm trying to assign each instance of strTextBlock to a unique variable,
so i can use it wherever i want in the layout.
Nando
------------------------------
Date: Thu, 27 Jun 2002 17:35:37 -0500
From: "Shannon Hicks" <[EMAIL PROTECTED]>
Subject: RE: Dynamically build a variable name
I'm sure I'll be the 18th response, but here:
<cfloop index="i" from="1" to="#pages.RecordCount#">
<cfset "strTextBlock#i#" = strTextBlock>
<cfset "idText#i#" = idText>
</cfloop>
-----Original Message-----
From: Nando [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 5:34 PM
To: [EMAIL PROTECTED]
Subject: Dynamically build a variable name
Hi all,
Anyone have any idea how to dynamically build a variable name?
These throw errors but you get the idea from these examples:
<cfloop index="i" from="1" to="#pages.RecordCount#">
<cfset strTextBlock&#i# = strTextBlock>
<cfset idText#i# = idText>
</cfloop>
i'm trying to assign each instance of strTextBlock to a unique variable,
so i can use it wherever i want in the layout.
Nando
------------------------------
Date: Thu, 27 Jun 2002 16:39:05 -0600
From: "Jared Stark" <[EMAIL PROTECTED]>
Subject: RE: Dynamically build a variable name
Nando,
Try this...
<cfset "strTextBlock#i#" = strTextBlock>
The trick is to enclose the left side of the assignment with quotes...
Jared
-----Original Message-----
From: Nando [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 4:34 PM
To: [EMAIL PROTECTED]
Subject: Dynamically build a variable name
Hi all,
Anyone have any idea how to dynamically build a variable name?
These throw errors but you get the idea from these examples:
<cfloop index="i" from="1" to="#pages.RecordCount#">
<cfset strTextBlock&#i# = strTextBlock>
<cfset idText#i# = idText>
</cfloop>
i'm trying to assign each instance of strTextBlock to a unique variable,
so i can use it wherever i want in the layout.
Nando
------------------------------
Date: Thu, 27 Jun 2002 17:38:17 -0500
From: "Shannon Hicks" <[EMAIL PROTECTED]>
Subject: RE: Dynamically build a variable name
And, on the flip side, if you wanted to output it...
<cfoutput>
<cfloop index="i" from="1" to="#pages.RecordCount#">
#evaluate("strTextBlock#i#")#
#evaluate("idText#i#")#
</cfloop>
</cfoutput>
-----Original Message-----
From: Shannon Hicks
Sent: Thursday, June 27, 2002 5:36 PM
To: [EMAIL PROTECTED]
Subject: RE: Dynamically build a variable name
I'm sure I'll be the 18th response, but here:
<cfloop index="i" from="1" to="#pages.RecordCount#">
<cfset "strTextBlock#i#" = strTextBlock>
<cfset "idText#i#" = idText>
</cfloop>
-----Original Message-----
From: Nando [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 5:34 PM
To: [EMAIL PROTECTED]
Subject: Dynamically build a variable name
Hi all,
Anyone have any idea how to dynamically build a variable name?
These throw errors but you get the idea from these examples:
<cfloop index="i" from="1" to="#pages.RecordCount#">
<cfset strTextBlock&#i# = strTextBlock>
<cfset idText#i# = idText>
</cfloop>
i'm trying to assign each instance of strTextBlock to a unique variable,
so i can use it wherever i want in the layout.
Nando
------------------------------
Date: Fri, 28 Jun 2002 02:25:14 +0300
From: "Erki Esken" <[EMAIL PROTECTED]>
Subject: Re: Dynamically build a variable name
<cfset "foo#bar#" = value>
or
<cfset SetVariable("foo" & bar, value)>
The first one is usually faster.
.erki
------------------------------
End of [EMAIL PROTECTED] digest, issue 839