[cfaussie] Re: Fusebox question

2007-02-23 Thread Robin Hilliard
On 23/02/2007, at 1:55 PM, Ryan Sabir wrote:
> This seems to me to be breaking the whole modularity of my  
> solution, as the view is expecting a query object named  
> 'qGetEvent', in order to display its data. I feel like I've missed  
> something fundamental in the Fusebox docs that will explain to me  
> how to pass that query object down the line as a generic object,  
> ratehr than a specifically named variable.
>
> Whats the trick?

Hi Ryan,

You have to have _some_ dependencies in an application to make it  
work, the trick is to eliminate the most harmful ones.  Dependencies  
from the UI back to the business logic/data (as you have here) are  
fine, as long as the variable name the controller sets up for the  
view stays fixed - as long as the control stuff doesn't need to know  
anything else about the view you're fine.

It's like using a post office box to send a letter to someone...

(you don't know who and don't want to know)

...you agree on the format of the letter...

(value objects, query column names and types)

...and a post office box.

(a variable name).

When you have a letter to send you drop it into the post office box,  
and you don't care or know if anyone picks it up.

What you avoid doing this is having to address the letter to a  
specific, concrete individual...

(this would be like rendering bits of html or calling a function or  
tag specific
 to the current incarnation of the UI)

...from the UI...

(a flighty crowd with high staff turnover - UI and other interfaces
change far more often than business logic)

...if you did that, you'd have to keep changing your process to  
address the letter, impacting your otherwise highly reusable letter  
addressing process.

(i.e. your business logic)



If this sort of analogy appeals and you'd like to hear more, this is  
pretty much an extract from my MAX Asia architecture talk that I'm  
repeating at WebDU next month.  It's about MVC and Flex but applies  
to ColdFusion too.

Cheers,
Robin

__

Robin Hilliard
Director - RocketBoots Pty Ltd
Consulting . Recruitment . Software Licensing . Training
http://www.rocketboots.com.au

For schedule/availability call Pamela Higgins:
w+61 7 5451 0362
m+61 419 677 151
f+61 3 9923 6261
e[EMAIL PROTECTED]

or Direct:
m+61 418 414 341
e[EMAIL PROTECTED]




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Firefox Javascript problem

2007-02-23 Thread Scott Barnes

Yeah I understand, but in IE there appears to be an index collection
of form swithin the window.opener itself, in that it must but be an
inheritance of document node?

Or did i miss something?

Scott.


On 2/23/07, Steve Onnis <[EMAIL PROTECTED]> wrote:
>
> If you're talking DOM, window.opener.document.form.field.value is actually
> the correct way to reference the field.
>
> window = the current window
> window.opener = the window that opened it
>
> window.opener has no form objects in it, only window.opener.document
>
> there are how ever certain things that drive me mental about the mozilla
> implementation of the DOM, regardless of if they are ment to be correct or
> not.  Silly things like the way it refers to text objects
>
> example
>
> 
>
> 
>
> If you went document.getElementById("inner").parentNode , the above code
> would return a TEXT node in mozilla but would return the outer div in IE.
> If your code looked like
>
> 
>
> ...both IE and mozilla would return the outer div object.
>
> Signing out for the weekend
>
> Steve
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Scott Barnes
> Sent: Friday, 23 February 2007 7:10 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Firefox Javascript problem
>
>
> Internet Explorer Developer Toolbar Beta 3
>
> http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-
> bb3e-2d5e1db91038&displaylang=en
>
> :)
>
> (all the kids are doing it)
>
> Brian:
> I've actually asked the internal DOM engineers internally as to why
> there would be a difference in code syntax as to be honest, that has
> my curiousity more so then anything else as that's just fubar! ;)
>
> Scott.
>
> On 2/23/07, KNOTT, Brian <[EMAIL PROTECTED]> wrote:
> >
> > Thanks for the firebug link.  I did install it and it looks like a great
> add
> > on.  Something like this woul dbe greate for IE.
> >
> >
> > Brian Knott
> > BI Analyst Developer - BI Service Delivery
> > ...
> > Level 4, SMC
> > ph.  (07) 38355977 (ext 55977)
> >
> > 
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> > Of Andrew Scott
> > Sent: Friday, 23 February 2007 11:55 AM
> >
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: Firefox Javascript problem
> >
> >
> > LOL,
> >
> > Well I guess you not interested in FB giving you the answer then:-) That's
> > what firebug is there for, oh well. I'll move on then.
> >
> >
> > On 2/23/07, KNOTT, Brian <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > Problem was the firefox needs document infrount of the form name so
> > >
> > > window.opener.document.form.field.value works
> > > window.opener.form.field.value does not work.
> > >
> > >
> > > Brian Knott
> > > BI Analyst Developer - BI Service Delivery
> > > ...
> > > Level 4, SMC
> > > ph.  (07) 38355977 (ext 55977)
> > >
> > >
> > > 
> > From: cfaussie@googlegroups.com [mailto: [EMAIL PROTECTED] On
> > Behalf Of Andrew Scott
> > > Sent: Friday, 23 February 2007 10:54 AM
> > > To: cfaussie@googlegroups.com
> > > Subject: [cfaussie] Re: Firefox Javascript problem
> > >
> > >
> > >
> > > Brian,
> > >
> > > Have you looke at Firebug? If you haven't change your channel to
> > www.getfirebug.com and I tell you this, you will wonder how you ever lived
> > without it.
> > >
> > >
> > >
> > > On 2/23/07, Andrew Bateman <[EMAIL PROTECTED] > wrote:
> > > >
> > > > Try using
> > document.forms["yourFormname"].confirmForm.value  or
> > > > document.getElementById("yourFormId").value instead. I am pretty sure
> > > > that document.[objectname] is bad joo-joo for many browsers.
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > >
> > >
> > >
> > > Senior Coldfusion Developer
> > > Aegeon Pty. Ltd.
> > > www.aegeon.com.au
> > > Phone: +613  8676 4223
> > > Mobile: 0404 998 273
> > >
> > >
> > >
> >
> 
> ---
> > >
> > > This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one
> of
> > its related entities "Suncorp".
> > >
> > >
> > >
> > > Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on
> > 13 11 55 or at suncorp.com.au.
> > >
> > >
> > >
> > > The content of this e-mail is the view of the sender or stated author
> and
> > does not necessarily reflect the view of Suncorp. The content, including
> > attachments, is a confidential communication between Suncorp and the
> > intended recipient. If you are not the intended recipient, any use,
> > interference with, disclosure or copying of this e-mail, including
> > attachments, is unauthorised and expressly prohibited. If you have
> received
> > this e-mail in error please contact the sender immediately and delete the
> > e-mail and any attachments from your system.
> > >
> > >
> > >
> > > If this

[cfaussie] Re: Free webDU tickets

2007-02-23 Thread M@ Bourke
>Have you considered asking to
>stay on the loungeroom floor of a sydney-sider -

ya could always check out www.couchsurfing.com
its great and free, also ya meet great people I used it for my recent trip
accross Ireland.
after couch surfing I can honestly say I'd never back pack using hostels
again.

M@

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Firefox Javascript problem

2007-02-23 Thread Steve Onnis

If you're talking DOM, window.opener.document.form.field.value is actually
the correct way to reference the field.

window = the current window
window.opener = the window that opened it

window.opener has no form objects in it, only window.opener.document

there are how ever certain things that drive me mental about the mozilla
implementation of the DOM, regardless of if they are ment to be correct or
not.  Silly things like the way it refers to text objects

example





If you went document.getElementById("inner").parentNode , the above code
would return a TEXT node in mozilla but would return the outer div in IE.
If your code looked like 



...both IE and mozilla would return the outer div object.

Signing out for the weekend

Steve

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Scott Barnes
Sent: Friday, 23 February 2007 7:10 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Firefox Javascript problem


Internet Explorer Developer Toolbar Beta 3

http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-
bb3e-2d5e1db91038&displaylang=en

:)

(all the kids are doing it)

Brian:
I've actually asked the internal DOM engineers internally as to why
there would be a difference in code syntax as to be honest, that has
my curiousity more so then anything else as that's just fubar! ;)

Scott.

On 2/23/07, KNOTT, Brian <[EMAIL PROTECTED]> wrote:
>
> Thanks for the firebug link.  I did install it and it looks like a great
add
> on.  Something like this woul dbe greate for IE.
>
>
> Brian Knott
> BI Analyst Developer - BI Service Delivery
> ...
> Level 4, SMC
> ph.  (07) 38355977 (ext 55977)
>
> 
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
> Of Andrew Scott
> Sent: Friday, 23 February 2007 11:55 AM
>
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Firefox Javascript problem
>
>
> LOL,
>
> Well I guess you not interested in FB giving you the answer then:-) That's
> what firebug is there for, oh well. I'll move on then.
>
>
> On 2/23/07, KNOTT, Brian <[EMAIL PROTECTED]> wrote:
> >
> >
> > Problem was the firefox needs document infrount of the form name so
> >
> > window.opener.document.form.field.value works
> > window.opener.form.field.value does not work.
> >
> >
> > Brian Knott
> > BI Analyst Developer - BI Service Delivery
> > ...
> > Level 4, SMC
> > ph.  (07) 38355977 (ext 55977)
> >
> >
> > 
> From: cfaussie@googlegroups.com [mailto: [EMAIL PROTECTED] On
> Behalf Of Andrew Scott
> > Sent: Friday, 23 February 2007 10:54 AM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: Firefox Javascript problem
> >
> >
> >
> > Brian,
> >
> > Have you looke at Firebug? If you haven't change your channel to
> www.getfirebug.com and I tell you this, you will wonder how you ever lived
> without it.
> >
> >
> >
> > On 2/23/07, Andrew Bateman <[EMAIL PROTECTED] > wrote:
> > >
> > > Try using
> document.forms["yourFormname"].confirmForm.value  or
> > > document.getElementById("yourFormId").value instead. I am pretty sure
> > > that document.[objectname] is bad joo-joo for many browsers.
> > >
> > >
> > >
> >
> >
> >
> > --
> >
> >
> >
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273
> >
> >
> >
>

---
> >
> > This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one
of
> its related entities "Suncorp".
> >
> >
> >
> > Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on
> 13 11 55 or at suncorp.com.au.
> >
> >
> >
> > The content of this e-mail is the view of the sender or stated author
and
> does not necessarily reflect the view of Suncorp. The content, including
> attachments, is a confidential communication between Suncorp and the
> intended recipient. If you are not the intended recipient, any use,
> interference with, disclosure or copying of this e-mail, including
> attachments, is unauthorised and expressly prohibited. If you have
received
> this e-mail in error please contact the sender immediately and delete the
> e-mail and any attachments from your system.
> >
> >
> >
> > If this e-mail constitutes a commercial message of a type that you no
> longer wish to receive please reply to this e-mail by typing Unsubscribe
in
> the subject line.
> >
> >
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273
> > > >
> >
>


-- 
Regards,
Scott Barnes
http://www.mossyblog.com




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this gro

[cfaussie] Re: Firefox Javascript problem

2007-02-23 Thread Scott Barnes

Internet Explorer Developer Toolbar Beta 3

http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en

:)

(all the kids are doing it)

Brian:
I've actually asked the internal DOM engineers internally as to why
there would be a difference in code syntax as to be honest, that has
my curiousity more so then anything else as that's just fubar! ;)

Scott.

On 2/23/07, KNOTT, Brian <[EMAIL PROTECTED]> wrote:
>
> Thanks for the firebug link.  I did install it and it looks like a great add
> on.  Something like this woul dbe greate for IE.
>
>
> Brian Knott
> BI Analyst Developer - BI Service Delivery
> ...
> Level 4, SMC
> ph.  (07) 38355977 (ext 55977)
>
> 
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Andrew Scott
> Sent: Friday, 23 February 2007 11:55 AM
>
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Firefox Javascript problem
>
>
> LOL,
>
> Well I guess you not interested in FB giving you the answer then:-) That's
> what firebug is there for, oh well. I'll move on then.
>
>
> On 2/23/07, KNOTT, Brian <[EMAIL PROTECTED]> wrote:
> >
> >
> > Problem was the firefox needs document infrount of the form name so
> >
> > window.opener.document.form.field.value works
> > window.opener.form.field.value does not work.
> >
> >
> > Brian Knott
> > BI Analyst Developer - BI Service Delivery
> > ...
> > Level 4, SMC
> > ph.  (07) 38355977 (ext 55977)
> >
> >
> > 
> From: cfaussie@googlegroups.com [mailto: [EMAIL PROTECTED] On
> Behalf Of Andrew Scott
> > Sent: Friday, 23 February 2007 10:54 AM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: Firefox Javascript problem
> >
> >
> >
> > Brian,
> >
> > Have you looke at Firebug? If you haven't change your channel to
> www.getfirebug.com and I tell you this, you will wonder how you ever lived
> without it.
> >
> >
> >
> > On 2/23/07, Andrew Bateman <[EMAIL PROTECTED] > wrote:
> > >
> > > Try using
> document.forms["yourFormname"].confirmForm.value  or
> > > document.getElementById("yourFormId").value instead. I am pretty sure
> > > that document.[objectname] is bad joo-joo for many browsers.
> > >
> > >
> > >
> >
> >
> >
> > --
> >
> >
> >
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273
> >
> >
> >
> ---
> >
> > This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
> its related entities "Suncorp".
> >
> >
> >
> > Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on
> 13 11 55 or at suncorp.com.au.
> >
> >
> >
> > The content of this e-mail is the view of the sender or stated author and
> does not necessarily reflect the view of Suncorp. The content, including
> attachments, is a confidential communication between Suncorp and the
> intended recipient. If you are not the intended recipient, any use,
> interference with, disclosure or copying of this e-mail, including
> attachments, is unauthorised and expressly prohibited. If you have received
> this e-mail in error please contact the sender immediately and delete the
> e-mail and any attachments from your system.
> >
> >
> >
> > If this e-mail constitutes a commercial message of a type that you no
> longer wish to receive please reply to this e-mail by typing Unsubscribe in
> the subject line.
> >
> >
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273
> > > >
> >
>


-- 
Regards,
Scott Barnes
http://www.mossyblog.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Free webDU tickets

2007-02-23 Thread Scott Barnes

I floated the idea internally - MSFT will sponsor one person to WebDU
if they can write a 255 words or more on why MSFT are not evil empire
;)

I'll let you know if the funding gets approved ;) heheh.


On 2/23/07, Barry Beattie <[EMAIL PROTECTED]> wrote:
>
> wot, so you can survive being on the turps all night when you're there?
>
> Ahhh... if that sound like the voice of experiance and lessons learnt,
> I couldn't possibly say...
>
>
>
>
> On 2/23/07, Mark Stanton <[EMAIL PROTECTED]> wrote:
> >
> > > any other tips I've forgotten?
> >
> > Get plenty of sleep and drink lots of water before you come. It can be
> > a very tiring and dehydrating experience.
> >
> >
> > --
> > Mark Stanton
> > Gruden Pty Ltd
> > http://www.gruden.com
> >
> > >
> >
>
> >
>


-- 
Regards,
Scott Barnes
http://www.mossyblog.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF and .NET (Followup).

2007-02-23 Thread Scott Barnes

Well said Charlie :)

Just going out on a limb here, but ol Adobe must of had a reason to
make Coldfusion 8 interop with .NET.

Interoperability - The ability of two or more systems, or components
to exchange information, and to use the information that has been
exchanged

Did you know JJ Allaire works for MSFT - does that mean he has to hand
in his Coldfusion badge too?



On 2/23/07, Charlie Arehart <[EMAIL PROTECTED]> wrote:
>
> Hey, wait, why am I being pulled into this? :-)
>
> While I did record videos on that topic for MS while I was with New Atlanta,
> I am not involved in this upcoming webcast Scott has mentioned. I imagine
> someone from New Atlanta may be repeating what I did before, of course.
>
> And FWIW, I will note that it's about how to integrate CFML and .NET. It's
> not at all about how to "move off CFML to .NET". I'll admit that the crux of
> that campaign is of that sort. When I was first asked to do it (almost a
> year ago exactly), I was a little put off by the "how to move off"
> JSP/PHP/CFM nature of the campaign. Fortunately, I was able to offer the
> talk I did which was much LESS about leaving and just about making the most
> of the two together. It was kind of a stealth move, I felt.
>
> I can't see the new webcasts being any different, so that's at least some
> consolation to those who see any connection as "fraternizing with the
> enemy". That said, .NET is a platform. Just as CFMX (and BlueDragon Server,
> and Railo) is built atop Java, BD.NET is built atop .NET. One need not
> "leave CFML" to get the benefits of that platform.
>
> But I'll leave it at that. I'm not trying to "sell" anything either. I have
> no vested interest in the topic other than to share it as a technical
> opportunity for those who could benefit. Indeed, it's why I joined the
> company 4 years ago in April (when I had been shown an early alpha of
> BD.NET, and after watching BD and its predecessor TagServlet for a couple
> years before that).
>
> But then you see also one of the reasons I chose to move on from the role
> and become independent again! :-) Frankly I got tired of the bickering that
> often arose over any attempts to show this alternative. I knew it was a
> compelling alternative for those who had the problems it solved, and I could
> very successfully demonstrate it to those who gave it serious consideration.
> And indeed, BD and New Atlanta do continue evolving the product since I left
> in April, and are about to announce BD 7. With Railo also offering CF7
> functionality in a new beta, and the Smith project coming along, there are
> clearly plenty of demonstrations of the strength of CFML in the market.
>
> And now with CF8 coming out with really great new features, it really is a
> great time to be in CFML. I for one am very happy to be free to look into
> any and all possibilities. As always, I'm just looking for solutions to
> problems for my clients, regardless of who can provide them. And that goes
> for .NET, too. :-) It's not a zero-sum game, folks. There's a place for
> everyone and everything. Just pick what solves your problems, but be open
> always to alternatives. That may be all Scott means also.
>
> But trust me--I understand the sensitivity of bringing up .NET in a CF list.
> It's like yelling fire in a crowded movie theater. It doesn't matter that
> there is no fire. It's just about being sensitive to the way crowds respond.
> :-)
>
> And I should add that my talk and preconference seminar at WebDU will apply
> 100% to CFMX users! :-)
>
> /Charlie
> http://www.carehart.org/blog/
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Robin Hilliard
> Sent: Thursday, February 22, 2007 8:42 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: CF and .NET (Followup).
>
>
> On 23/02/2007, at 12:10 PM, Scott Barnes wrote:
> > Now if we/you want to play the whole MSFT is "Selling" card again, go
> > for it, but count me out this time ;)
>
> Hm, perhaps it's the "learn2asp.net" and "Campaign" in the url that
> suggested to some people that this was a "selling" kinda thing...
>
> Might I suggest "http://billsdevlounge.org/ charliesexcellentbdstuff.cfm"?
> :-)
>
> Robin
>
>
> >
>


-- 
Regards,
Scott Barnes
http://www.mossyblog.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---