logo       

RE: Handling Requests And Statuses (Was "Re: Fw: Thanks"): msg#00061

cms.cold-fusion.user.azcfug

Subject: RE: Handling Requests And Statuses (Was "Re: Fw: Thanks")

I strongly second Sean's suggestion.

We make almost EVERYTHING a variable, not just DSN's but application
and session variable names and sometimes even query names. It's amazing
how dynamic you can make CF --- you can even make it dynamic on itself.
And that's when you really start to leverage some of the power of
CF...and vastly simplify your maintenance.

---Judd


--- Sean Tierney <sean@xxxxxxxxxxxxx> wrote:
> another thought- set your DSN as an application variable in the
> application.cfm file (or app_globals in fusebox) and just reference
> that
> variable thereafter in your code. I do this for the DSN as well as
> some
> other stuff like visual preferences in my sites so if I do need to
> make
> changes later I can do so in one spot and have them reflected across
> the
> entire site.
>
> > Just tell him/her you understand that spaces in datasource names
> can
> > cause problems (maybe not now but later), and it would be a good
> idea
> > to change it now before it gets too far down the road. Unless the
> > webmaster has good reasons for keeping it the way it is (e.g., too
> much
> > legacy code expects it to be "Survey Status" or somesuch) --- in
> which
> > case you should work it out together --- it should be a non-issue.
> If
> > everything works now and you don't expect to ever change your
> > configuration or add any advanced functionality, you may just want
> to
> > keep the name the way it is. Up to you. :-)
> >
> > (Anyone else out there think differently? This is just my 2
> cents...and
> > I'm not counting inflation. ;-)
> >
> > Judd Miller
> > Senior Programmer
> > Vertical Alliance, Inc.
> >
> > --- dwiese@xxxxxxxxxxxxx wrote:
> > >
> > > The data base file is called surveystat.mdb, but for some reason
> the
> > > IT
> > > webmaster in COLD FUSION administrator used Survey Status as the
> > > name. How
> > > can I tactfully tell him that it should be changed?
> > >
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get Yahoo! Mail ? Free email you can access from anywhere!
> > http://mail.yahoo.com/
> >
> >
>
------------------------------------------------------------------------
> > Get a NextCard Visa, in 30 seconds!
> > 1. Fill in the brief application
> > 2. Receive approval decision within 30 seconds
> > 3. Get rates as low as 2.9% Intro or 9.9% Fixed APR
> > http://click.egroups.com/1/6630/13/_/_/_/963615031/
> >
>
------------------------------------------------------------------------
> >
> > To unsubscribe from this group, send an email to:
> > azcfug-unsubscribe-VgYJa0VH1e9BDgjK7y7TUQ@xxxxxxxxxxxxxxxx
> >
> >
>
>


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail ? Free email you can access from anywhere!
http://mail.yahoo.com/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise