Re: Where to put your code

2010-11-18 Thread Dave Watts
> Adobe, presumably, has developers who work on their site. The question > isn't about taking away CF product developers, it is about what > language to use to do that which is already being done...ie, building > the Adobe website. There is no good reason, that I'm aware of, to not > implement a g

Re: Where to put your code

2010-11-18 Thread Judah McAuley
On Wed, Nov 17, 2010 at 11:16 PM, Dave Watts wrote: > > Yes, in the very real sense that there is a finite amount of > resources. I'd much rather have Adobe hire more CF product developers > and testers, etc, than pay developers to rewrite their site. Adobe, presumably, has developers who work o

Re: Where to put your code

2010-11-18 Thread Gerald Guido
>>I'm pretty good at rationalizing though. =) +1 One of the best. =) G !-- > Music is a moral law. It gives soul to the universe, wings to the > mind, flight to the imagination, and charm and gaiety to life and to > everything. > Plat > > ~~

Re: Where to put your code

2010-11-18 Thread denstar
On Thu, Nov 18, 2010 at 12:16 AM, Dave Watts wrote: > >>> Adobe is a big company, with a bunch of products. Adobe's web site >>> predates the Macromedia merger. Should they rewrite their site with CF >>> to make it more "prominent", or should they focus on building and >>> selling their tools? >>

Re: Where to put your code

2010-11-17 Thread Dave Watts
>> Adobe is a big company, with a bunch of products. Adobe's web site >> predates the Macromedia merger. Should they rewrite their site with CF >> to make it more "prominent", or should they focus on building and >> selling their tools? > > Are the two mutually exclusive?  =)p Yes, in the very re

Re: Where to put your code

2010-11-17 Thread denstar
On Wed, Nov 17, 2010 at 8:58 PM, Dave Watts wrote: ... > Adobe is a big company, with a bunch of products. Adobe's web site > predates the Macromedia merger. Should they rewrite their site with CF > to make it more "prominent", or should they focus on building and > selling their tools? Are the t

Re: Where to put your code

2010-11-17 Thread Dave Watts
> I meant the prominence of the product itself on the adobe site, not the > implementation of the technology. Adobe is a big company, with a bunch of products. Adobe's web site predates the Macromedia merger. Should they rewrite their site with CF to make it more "prominent", or should they focus

Re: Where to put your code

2010-11-17 Thread Andy Allan
Ah OK - gotcha well like it or not, things such as Creative Suite directly affect Adobe's stock price so it always gets top billing. And then of course there's Livecycle, which speaks for itself. I wouldn't worry about CF not being on the Adobe.com homepage On 17 November 2010 18:43, Michae

Re: Where to put your code

2010-11-17 Thread Cutter (ColdFusion)
Some of it is a little dated... http://blog.cutterscrossing.com/index.cfm/General-Coding-Guidelines Steve "Cutter" Blades Adobe Community Professional - ColdFusion Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/l

Re: Where to put your code

2010-11-17 Thread Michael Grant
I meant the prominence of the product itself on the adobe site, not the implementation of the technology. On Wed, Nov 17, 2010 at 11:08 AM, Andy Allan wrote: > > It's not that at all ... I believe Day is now powering all the ADC > content etc (which makes perfect sense) and I know that the Part

RE: Where to put your code

2010-11-17 Thread Paul Alkema
--Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Wednesday, November 17, 2010 10:54 AM To: cf-talk Subject: Re: Where to put your code > > although a lot of what is adobe.com seems to be moving away from CF > I noticed this the other day. Seems like Adobe isn

Re: Where to put your code

2010-11-17 Thread Andy Allan
It's not that at all ... I believe Day is now powering all the ADC content etc (which makes perfect sense) and I know that the Partner area is moving over to be driven by Salesforce. And there's other jsp content mixed in there too. It's really no difference from us using Trac (powered by Python)

Re: Where to put your code

2010-11-17 Thread Michael Grant
> > although a lot of what is adobe.com seems to be moving away from CF > I noticed this the other day. Seems like Adobe isn't all that proud of CF. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldf

Re: Where to put your code

2010-11-17 Thread Andy Allan
ber 15, 2010 7:44 PM > To: cf-talk > Subject: Re: Where to put your code > > > On Mon, Nov 15, 2010 at 2:13 PM, Paul Alkema > wrote: >> Does anyone out there have any written coding standards or coding >> documentation that they would be willing to share? I would be interes

RE: Where to put your code

2010-11-17 Thread Paul Alkema
-talk Subject: Re: Where to put your code On Mon, Nov 15, 2010 at 2:13 PM, Paul Alkema wrote: > Does anyone out there have any written coding standards or coding > documentation that they would be willing to share? I would be interested in > seeing what other development teams use as far

Re: Where to put your code

2010-11-15 Thread Sean Corfield
On Mon, Nov 15, 2010 at 2:13 PM, Paul Alkema wrote: > Does anyone out there have any written coding standards or coding > documentation that they would be willing to share? I would be interested in > seeing what other development teams use as far as coding standards. Here's what my team develope

Re: Where to put your code

2010-11-15 Thread Jason Fisher
Well, I've been using frameworks since Fusebox 2 came out, so I still tend to follow generic CF framework conventions, if you can call them that. * display a message, a menu, or data: dsp.user.cfm, and depending on the framework, all displays probably go in a /views subfolder; th

RE: Where to put your code

2010-11-15 Thread Paul Alkema
Thanks for your feedback. You make some good points. Does anyone out there have any written coding standards or coding documentation that they would be willing to share? I would be interested in seeing what other development teams use as far as coding standards.

Re: Where to put your code

2010-11-15 Thread Mike Chabot
I agree that coding standards help. I am disagreeing with the ones you are proposing and your use of the word "ideal." For example, I don't think the main use case of a cfinclude is to break up large pages into smaller chunks. I think custom tags can contain complex code. If all application logic,

RE: Where to put your code

2010-11-15 Thread Paul Alkema
I think that when working on a team of programmers that are all working on the same applications or the same website that it's important to have a programming standard or a guide. I think this goes with any language be it web or desktop applications. I think that it's ok for programmers to have th

RE: Where to put your code

2010-11-14 Thread Russ Michaels
ly to everyone else on the planet, and many people still continue to do so. Russ -Original Message- From: Paul Alkema [mailto:paulalkemadesi...@gmail.com] Sent: 13 November 2010 13:19 To: cf-talk Subject: Re: Where to put your code I second this. : ) On Fri, Nov 12, 2010 at 8:05 PM,

Re: Where to put your code

2010-11-13 Thread James Holmes
Or any version of Perl... -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 November 2010 13:40, Gerald Guido wrote: > >>>When was the last time you wrote a web app with a flint axe? > > Right around PHP 3  or CF 2  :-) > > G! > > On Sun, Nov 14, 2010 at 12:02 AM, Jam

Re: Where to put your code

2010-11-13 Thread Gerald Guido
>>When was the last time you wrote a web app with a flint axe? Right around PHP 3 or CF 2 :-) G! On Sun, Nov 14, 2010 at 12:02 AM, James Holmes wrote: > > When was the last time you wrote a web app with a flint axe? > > -- > WSS4CF - WS-Security framework for CF > http://wss4cf.riaforge.org/

Re: Where to put your code

2010-11-13 Thread James Holmes
When was the last time you wrote a web app with a flint axe? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 November 2010 12:01, Gerald Guido wrote: > >>> I'd argue that CF didn't allow for well written applications before CFCs > came along. > > Swapping out "well

Re: Where to put your code

2010-11-13 Thread Gerald Guido
>> I'd argue that CF didn't allow for well written applications before CFCs came along. Swapping out "well written applications" for "well made tools", I would argue that there were no well made tools before the advent of fire, flint, copper, bronze, iron, steel, interchangeable parts, computers

Re: Where to put your code

2010-11-13 Thread Dave Watts
> I'd argue that CF didn't allow for well written applications before > CFCs came along. That's absurd on its face. There are no well-written applications in any procedural languages, then? You need OO for a well-written application? Operating systems are written in C - nothing well-written in th

Re: Where to put your code

2010-11-13 Thread Paul Alkema
I second this. : ) On Fri, Nov 12, 2010 at 8:05 PM, James Holmes wrote: > > I'd argue that CF didn't allow for well written applications before > CFCs came along. > > -- > WSS4CF - WS-Security framework for CF > http://wss4cf.riaforge.org/ > > > > On 13 November 2010 02:16, Dave Watts wrote: >

Re: Where to put your code

2010-11-12 Thread Mike Chabot
If people put utility functions in CFCs I definitely recommend caching these in RAM. However, what I see many people do is instantiating a large CFC that consists only of functions, calling one tiny function inside of it, then destroying the CFC, with no caching used at all. The majority of ColdFu

Re: Where to put your code

2010-11-12 Thread James Holmes
I'd argue that CF didn't allow for well written applications before CFCs came along. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 13 November 2010 02:16, Dave Watts wrote: > Functions existed well before CFCs - does that mean that > well-written applications predati

Re: Where to put your code

2010-11-12 Thread James Holmes
Why not create the CFC in the application scope to cache it in RAM? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 13 November 2010 06:22, Mike Chabot wrote: > I prefer using include files and caching common > functions in RAM when the application loads. ~

Re: Where to put your code

2010-11-12 Thread Mike Chabot
In my option, putting functions and application logic in cfm files, include files, and custom tags is fine. The vast majority of ColdFusion Web sites allow developers to do this and I think adding these restrictions could lead to a worse outcome. If you hire an expert developer, and that expert de

Re: Where to put your code

2010-11-12 Thread Russ Michaels
the power of CF is in its simplicity. A newbie can come along and just learn a handful of tags and functions to develop a web site. The next step up is CFC's, frameworks and OOP Some people simply will not want or need to learn anything beyond the handful of tags and functions if this is suffici

Re: Where to put your code

2010-11-12 Thread Dave Watts
While I might prefer to do things the way you describe, I hesitate to call these things "best practices". > Hm, I respectfully disagree with putting functions in cfm pages entirely no > matter how it's being pulled. I think there's a place for functions and > that's in cfcs. You do realize there

Re: Where to put your code

2010-11-12 Thread Gerald Guido
ctions and include them most likely your talking to > that function using scoped variables which as other have mentioned is > usually a bad practice to do using functions. > > Paul > > -Original Message- > From: Gerald Guido [mailto:gerald.gu...@gmail.com] > Se

RE: Where to put your code

2010-11-12 Thread Paul Alkema
- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Friday, November 12, 2010 12:54 PM To: cf-talk Subject: Re: Where to put your code My only exceptions to these would be: > Includes > > Should Not Contain: Application Logic. Processes or functions. > A lot of times (depending on the a

Re: Where to put your code

2010-11-12 Thread Scott Stewart
while you may not use MVC on every app, sticking to certain guidelines like what code to put where, also known as includes vs custom tags vs cfc, along with the use of external JS and CSS will make any app development smoother.. On Fri, Nov 12, 2010 at 12:20 PM, Russ Michaels wrote: > > You cann

Re: Where to put your code

2010-11-12 Thread Gerald Guido
My only exceptions to these would be: > Includes > > Should Not Contain: Application Logic. Processes or functions. > A lot of times (depending on the app) I stick functions (UDFs) in an include. I have a lot of utility functions that (arguably) don't really need to be in a cfc. Custom Tags >

RE: Where to put your code

2010-11-12 Thread Paul Alkema
team environment in order to avoid coding inconsistencies on large websites at least general guidelines are a must. :) -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Friday, November 12, 2010 12:20 PM To: cf-talk Subject: Re: Where to put your code You cannot r

Re: Where to put your code

2010-11-12 Thread Tony Bentley
Here is my opinion:* templates* Contains: object instances to render into HTML, conditionals for output, formatting methods Does Not Contain: dynamically rendered CSS, dynamically rendered JavaScript, patterns, methods. also any business, data and file management logic that can be written in a

Re: Where to put your code

2010-11-12 Thread Russ Michaels
You cannot really apply such rules to everyone. If someone just has a very simple mostly flat, then using mvc frameworks and CFC's will probably be overkill and create 10 x more code is actually required. In those situations you are probably just going to use some cfm pages and maybe a few cfinclu

RE: Where to put your code

2010-11-12 Thread Paul Alkema
I agree with those additions. Thanks! -Original Message- From: Scott Stewart [mailto:webmas...@sstwebworks.com] Sent: Friday, November 12, 2010 10:46 AM To: cf-talk Subject: Re: Where to put your code I'd only modify it a little: Straight on CFM Page Should Contain:

Re: Where to put your code

2010-11-12 Thread Scott Stewart
I'd only modify it a little: Straight on CFM Page Should Contain: UI or presentation code. HTML, JavaScript, simple ColdFusion to implement UI/Presentation (IE; does var.foo exist output etc..). Should Not Contain: Application Logic. Processes or functions. Includes Should Contain:  reusable u

RE: Where to put your code

2010-11-12 Thread Paul Alkema
Oh yeah. Of course ideally we would be on an MVC framework but we can't do that due to internal reasons. This doc is for those not on an MVC. Don't want any non MVC haters to yell at me. Haha. Paul Alkema ~| Order the Adobe