ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 1st, 2005, 08:46 PM
NightVa NightVa is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 67 NightVa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 31 m 33 sec
Reputation Power: 5
CF Best Practices?

Hi all,

Where can I find something that describes Coldfusion MX coding best practices?

I don't mean simple stuff like, don't overuse pound signs. I mean when building enterprise level apps and how to code them correctly when using includes, modules and such.

I need something higher than Intermediate level.

Nathan

Reply With Quote
  #2  
Old March 2nd, 2005, 07:58 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,689 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 16 h 33 m 51 sec
Reputation Power: 53
There are lots of books on CF that might help, including Ben Forta's Advanced CF books.

The Macromedia Internal Coding Standards may help:
http://livedocs.macromedia.com/wtg/...s/contents.html

There is also a fair amount of stuff at the developer center:
http://www.macromedia.com/devnet/mx/coldfusion/

Finally, www.fullasagoog.com is a hugely popular CF blog aggregator.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #3  
Old March 2nd, 2005, 07:39 PM
jdang jdang is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: OC, CA
Posts: 49 jdang User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 15 m
Reputation Power: 4
search for FuseBox

Reply With Quote
  #4  
Old March 2nd, 2005, 09:10 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,689 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 16 h 33 m 51 sec
Reputation Power: 53
The new Fusebox 4.1 is very nice. I helped write a book on it because there isn't a lot of documentation, but we're in the process of trying to get more docs up on the site as well.

http://www.fusebox.org/index.cfm?

Reply With Quote
  #5  
Old March 3rd, 2005, 09:13 AM
NightVa NightVa is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 67 NightVa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 31 m 33 sec
Reputation Power: 5
Thanks Kiteless!

I can always rely on you to post something that helps...

When I first started coding CF, I did look at Fusebox and was very intimidated. That was 3 years ago. I think I'm ready to take another look.

What would you say is the learning curve for Fusebox compared to the CF learning curve, since I know the CF curve very well.

Thanks.

Nathan

Reply With Quote
  #6  
Old March 3rd, 2005, 09:45 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,689 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 16 h 33 m 51 sec
Reputation Power: 53
If you know CF then Fusebox is quite straighforward:
  1. User makes a request to your Fusebox app by passing a "fuseaction".
  2. Based on the fuseaction, the Fusebox application responds by executing other "internal" fuseactions, including files, performing redirects, or whatever else it has to do in order to fulfill the request.
  3. In Fusebox 4.1, you define how the application responds to different Fuseactions using an XML syntax.
  4. Fusebox makes it very easy to implement MVC (model-view-controller). All user requests go to the controller. In the controller, calls are made to the model to perform application logic, and calls are made to the view to render data.

The Fusebox site has a growing set of simple sample application downloads for an app called "Wegot Widgets" which starts with a very simple FB4 app, then has variations of it that use content components, CFCs, object-oriented design, MVC, and more.

Hope that helps.

Reply With Quote
  #7  
Old March 3rd, 2005, 10:02 AM
NightVa NightVa is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 67 NightVa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 31 m 33 sec
Reputation Power: 5
So the learning curve is actually a straight line for someone at my level?

I've never used XML in my CF apps (but I'm advanced beginner level with XML) so that is definetly new to me...but even that makes the curve straight?

EDIT: By the way, what is Blue Dragon support and do I need it?

Nathan

Last edited by NightVa : March 3rd, 2005 at 10:13 AM. Reason: Wnated to add another question.

Reply With Quote
  #8  
Old March 3rd, 2005, 10:21 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,689 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 16 h 33 m 51 sec
Reputation Power: 53
FB should run fine on BlueDragon. The XML is not difficult at all. It looks something like this:

<fuseaction name="myFuseaction" />
<do action="model.getUser" />
<include template="inc_someIncludeFile" />
<do action="view.showUser" />
</fuseaction>

Reply With Quote
  #9  
Old March 3rd, 2005, 10:30 AM
anushaperera anushaperera is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 2 anushaperera User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 m 49 sec
Reputation Power: 0
Sample XML grammar for fusebox.xml is at
http://www.fusebox.org/downloads/index.cfm?method=Fusebox4.fuseboxXML

Sample XML grammar for circuit.xml is at
http://www.fusebox.org/downloads/index.cfm?method=Fusebox4.circuitXML

Reply With Quote
  #10  
Old March 5th, 2005, 08:18 AM
NightVa NightVa is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 67 NightVa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 31 m 33 sec
Reputation Power: 5
Hi all,

If someone wants some great FB4 tutorials for free or a small donations, there is a blog called "John Bs Personal Blog".

I've been looking for "from the begining" tutorials and hes got 'em.

Nathan

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > CF Best Practices?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT