RE: Newbie Model Glue Questions

2006-04-09 Thread Russ Michaels
Are you the most arrgant person in bizzaroworld, or is everyone like you ?

-Original Message-
From: S. Isaac Dealey [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Date: Sat, 8 Apr 2006 20:15:00 -0400
Subject: RE: Newbie Model Glue Questions

  Then everyone else can have the scraps that are
  left over after developers who've taken the time
  to stretch themselves have taken all the best jobs.
  It's really that simple.
 
  I know plenty of people who do not comply to the *Isaac
  Dealey* way of thinking, and they all have very good
  jobs, oh wait, so do I, now how did that happen?
 
 You got yourselves into a vanishing niche while there was still room
 for new people to enter that space. As the years progress, your
 current niche will continue to dwindle. It will of course never
 completely vanish, however, if you don't stretch yourself you'll have
 to live with the value of your skills diminishing as the skill-sets of
 other more agressive developers continue to evolve. More advanced
 developers will bring the price of their skills down until it becomes
 accessible to your clients, at which point it will start to devalue
 your skill set.
 
 This is all very basic economics.
 
 Here's another analogy. America, the land of the free -- and here at
 one point in time, farming was one of those american dreams wherein
 a person could have the land and the life they wanted. Not so much
 anymore because large corporate agro-businesses have pretty well taken
 over the agricultural market. Today's farmers are doing well to be
 surviving, _IF_ they survive against the competition of corporate
 agro-business. A large number of the farmers who are still surviving
 have joined co-operative farming groups in order to help themselves
 compete in what is a vanishing niche for them.
 
 The difference with us is that every single one of us has the ability
 to choose to be that person who is continually becoming, by stretching
 ourselves to learn new things and make ourselves more valuable. So
 while there's very little a farmer can do about their vanishing niche,
 asside from stop farming, we can all choose to stay in our current
 field of work by adapting our niche.
 
 
 
 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237283
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Newbie Model Glue Questions

2006-04-09 Thread Russ Michaels
Well Isaac as I keep saying, everyone is entitled to an opinion. And mine is 
that your the one who will be left fishing for scraps, because I can't see 
many companies giving a job to someone like you who is so arrogant and 
living with his head up his own ass and thinks everyone is below him.  Most 
big companie shave their own set of standards, and refusing to adhere by 
them and telling your employers they are stupid idiots for not agreeing with 
you really wont do u any favours.
A solid understanding of life and people and how to get on with them is 
required in the real world, something you appear to lack.
Your probably to be one of those bedroom coders who can't get on with anyone 
or anything so just keeps to himself and locks himself in a dark room where 
he doesn't have to meet people and risk getting beaten up cozz you cannot 
help but insult them.

I feel sorry for you really.

Russ



-Original Message-
From: S. Isaac Dealey [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Date: Sat, 8 Apr 2006 20:50:31 -0400
Subject: RE: Newbie Model Glue Questions

  I know very few CF developers who know JAVA, that mostly
  stems form people who were programmers before learning
  CF or have a programming background, so I think your
  putting yourself down there if you think you're the only
  one who doesn't do it, in fact the majority of the people
  on this very list don't do Java. I also know many
  freelance developer and development companies who do high
  profile government work and work for very large/rich
  organisations, and no
ne of them use any OO frameworks,
  most of them use their own or fusebox. And they are
  certainly not picking up scraps.
 
 Sure, there are lots of people who are doing well in that niche today,
 and there will be tomorrow, but there are fewer of them every year. We
 work in an environment of planned obsolescence -- we create new
 things, knowing very well that they will be supplanted in years to
 come. This is the nature of programming. A good developer needs to be
 constantly becoming, otherwise you have to face the fact that if you
 don't continue to learn, your skill is gradually devalued by simple
 economics and your niche disappears. I struggle with this myself
 actually, because it's the one thing I really dislike about
 programming work, the knowledge that what I do today will be basically
 irrelevant in a few years time, as compared to the works of
 philosophers and artists which are as valuable today as they were
 hundreds or thousands of years ago. I would like to think that the
 work of my hand would have lasting meaning, but I have to accept
 that programming work is not, no matter how innovative or productive
 it may be.
 
  It really depends if you job requires any of these things
  as to whether you spend time learning it. I would love to
  have the time to sit down and properly learn Java, .NET,
  every other framework, but alas I don't even have time to
  spend posting on these lists very often as I work hard,
  I only get to do it at the evening and on weekends. Once
  upon a time I used to be one of the people that was on
  the list all day answering everyones questions instead
  of working ;-)
 
 A solid understanding of OO principals, encapsulation and
 extensibility are key elements to my having extra time to spend being
 an Adobe Community Expert and helping people learn new things. The
 rule manager article I contributed to a recent issue of CFDJ and later
 presented at cf.Objective are good examples. My presentation skills
 need some work, I'll admit that, and I found a number of things that I
 could have done quite a bit better at cf.Objective, however, the
 material in question is something that can save anyone who has more
 than one client lots of time. The rule manager facade is a good way to
 let OO encapsulation reduce the number of customization points in an
 application that will be used for multiple clients.
 
 Going back to the example of Site Manageware, we planned to use that
 same concept (although they weren't sold on XML as a storage medium)
 to eliminate the customization point for commissions paid to sales
 staff. Their existing system was rather problematic -- a rule manager
 in that spot would / will (I assume they're still planning to
 implement it) save them large amounts of time in the configuration of
 rules for sales commissions.
 
 In my case I wrote the rule manager facade once, and have implemented
 it now twice. Writing the initial code for the facade took several
 weeks. Each implementation has taken a few hours, and the result of
 those implementations makes the applications they're in far more
 flexible than comparable applications. Compare Blogs onTap to BlogCFC
 (not saying it's bad, just comparing) -- out of the box, BlogCFC would
 have to be customized if you wanted to limit the amount of time a
 person could comment on a blog entry (don't ask me why that's
 desirable, I just remember seeing 

RE: Newbie Model Glue Questions

2006-04-09 Thread Russ Michaels
again your taking it out of context.
when I say I don't care, I simply mean that I am not gonna have cow and lay 
awake at night getting stressed and thinking of new abusive comments I can 
post to everyone who didn't agree with me, which appears to be your problem.

I am hapy to hear what other people use and why they use it, I just don't 
want it rammed down my throat.


-Original Message-
From: S. Isaac Dealey [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Date: Sat, 8 Apr 2006 20:50:31 -0400
Subject: RE: Newbie Model Glue Questions


  At the end of the day, it's each to his own, I have
  my opinion and I couldn't care less who likes what
  framework at the end of the day,
 
 Then why did you bather to post an inflamatory message about
 Model-Glue at all? What were you trying to contribute? I'm really not
 trying to be pejorative here. This isn't a stab. I genuinely don't
 understand your motivation if you're really this disinterested in any
 kind of debate about the usefulness of frameworks.
When I say I don't care, I simply mean



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237285
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Newbie Model Glue Questions

2006-04-09 Thread Russ Michaels
while it's not a common language, and is over most peoples heads, it's still 
used. Programs that allow you write programs in other languages are more 
often than not written in machine language in the first place.

-Original Message-
From: S. Isaac Dealey [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Date: Sat, 8 Apr 2006 21:13:28 -0400
Subject: RE: Newbie Model Glue Questions

  Matt, the first language I ever learnt was
  Machine Language/Assembler, so be careful
  with your assumptions.
 
 Oh, so you should already be familiar with the vanishing niche
 problem. :)
 
 
 
 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237286
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Newbie Model Glue Questions

2006-04-09 Thread Russ Michaels
lets just make this very clear.
While Isaac has implied it, no-one has actually said frameworks suck so far, 
certainly not me, as I do use them, and have written my own.
I was never a big fan of fusebox, mainly due to the fact that I kept having 
constant problems with badly written code done by developers didn't 
understand how fusebox core files worked and whenever something broke they 
blamed the server or the host.
But I do think they finally got it right with fusebox 4.1, and I like it so 
far.

Russ

-Original Message-
From: Joe Rinehart [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Date: Sat, 8 Apr 2006 22:49:15 -0400
Subject: Re: Newbie Model Glue Questions

 Frankly, I'd say that not using a decent framework is like continuing
 to rely on your mother to buy tightie-whities, when the rest of the
 development world has blown past you into boxers (or boxer briefs).
 
 That's not to say there aren't good developers who are an exception to
 the rule and go commando (Simon, you reading this thread yet?).
 
 
 On 4/8/06, Claude Schneegans [EMAIL PROTECTED] wrote:
   I think there are definately practical advantages to a framework,
  though it often depends entirely on the framework you choose.
 
  Frameworks are just like underware: it is important to wear some,
  but the most important is to wear your own...
 
  --
  ___
  REUSE CODE! Use custom tags;
  See http://www.contentbox.com/claude/customtags/tagstore.cfm
  (Please send any spam to this address: [EMAIL PROTECTED])
  Thanks.
 
 
  
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237287
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


FW: Body too long: RE: Newbie Model Glue Questions

2006-04-09 Thread Snake
Well Isaac as I keep saying, everyone is entitled to an opinion. And mine is
that your the one who will be left fishing for scraps, because I can't see
many companies giving a job to someone like you who is so arrogant and
living with his head up his own ass and thinks everyone is below him.  Most
big companie shave their own set of standards, and refusing to adhere by
them and telling your employers they are stupid idiots for not agreeing with
you really wont do u any favours.
A solid understanding of life and people and how to get on with them is
required in the real world, something you appear to lack.
Your probably to be one of those bedroom coders who can't get on with anyone
or anything so just keeps to himself and locks himself in a dark room where
he doesn't have to meet people and risk getting beaten up cozz you cannot
help but insult them.

I feel sorry for you really.

Russ



-Original Message-
From: S. Isaac Dealey [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Date: Sat, 8 Apr 2006 20:50:31 -0400
Subject: RE: Newbie Model Glue Questions


 
 Sure, there are lots of people who are doing well in that niche today, 
 and there will be tomorrow, but there are fewer of them every year. We 
 work in an environment of planned obsolescence -- we create new 
 things, knowing very well that they will be supplanted in years to 
 come. This is the nature of programming. A good developer needs to be 
 constantly becoming, otherwise you have to face the fact that if you 
 don't continue to learn, your skill is gradually devalued by simple 
 economics and your niche disappears. I struggle with this myself 
 actually, because it's the one thing I really dislike about 
 programming work, the knowledge that what I do today will be basically 
 irrelevant in a few years time, as compared to the works of 
 philosophers and artists which are as valuable today as they were 
 hundreds or thousands of years ago. I would like to think that the 
 work of my hand would have lasting meaning, but I have to accept 
 that programming work is not, no matter how innovative or productive 
 it may be.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237288
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: How to format a document for use with address labels

2006-04-09 Thread Adrian Lynch
I'll add a thumbs up for cf_avery too, works like a charm.

Adrian

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: 07 April 2006 15:20
To: CF-Talk
Subject: Re: How to format a document for use with address labels


 Cf_Avery is a tag I've used in the past that sounds right up you alley.

I'll second the proposal. CF_Avery works perfectly well.
You may have to find equivalences for label format, since the code may 
change depending
on the quantity of sheets in the package. A visit to the Avery's Web 
site will help you.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237289
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Newbie Model Glue Questions

2006-04-09 Thread Jochem van Dieten
Mike Kear wrote:
 Thanks Rick, I appreciate your nice comments.
 
 I started with CSS a couple of years ago, and while the learning curve
 for that was pretty steep too, it was a liberating experience too.  
 Separating code from look and feel made everything simpler.The
 code is smaller, more straightforward. Downloads faster, easier to
 maintain.No more searching though nested tables looking for the
 cell I'm trying to modify.
 
 A lot of people try to do things that are far too complex to start off
 with.No sense trying to emulate the Sydney Morning Herald site
 (http://www.smh.com.au)  on your first go.
 
 One of the tricks of developing a web app with CSS is to do the code
 first.  THEN do the styling.

Or let the styling be done by somebody else :)

I prefer to work together with somebody who does the styling. The 
best division of work is that at the end of the technical design 
phase we have agreed on a format of the XHTML to be generated by 
the application. That can look something like:

body# 1
h1  # 1
div id=menu   # 1
a class=menu/a  # 0-3
ul  # 1
 lia/a/li  # 1-7
/ul
/div
div id=content# 1
 h3  # 1 |
 h2  # 1 |
 p   # 1 |
  a  # 0-*   |
 h4a   # 1 |  # 1-10
/div
div id=extension  # 1
 h3  # 1 |
 p   # 1 |
  a  # 1-*   |  # 1-3
/div
div id=fineprint  # 1
img # 1
p/p   # 1
ul  # 1
 lia/a/li  # 5-7
/ul
/div
/body

So what do we actually specify here? We start with saying there 
will be one body. Since there is only ever one body, assigning 
an ID is silly.  Then there must be one h1, followed by a div 
with the ID menu. In the menu, there may optionally be 3 a, 
but they must have the class menu. Then there must be an 
unordered list with minimum 1 and maximum 7 elements (the menu). 
Then we get on to the div with id content. It must contain at 
least one and at most 10 groups of h3h2ph4. Etc. etc.

This is a very simple example, but don't be mistaken: this goes a 
long way to specifying the XHTML structure of a site. I think the 
structure of a site like Mike's http://afpwebworks.com/ would 
only be double this size (in my experience all the additional 
stuff for forms, tables etc. is the same for every site anyway 
because it is driven from accessibility and standard compliance 
requirements that are always the same).

Making such a specification requires a certain level of 
abstraction. You really have to think about the semantic function 
of elements. For instance, you may have noticed the ID 
fineprint. That is not because it should be in a very small 
font size, that is because it is the legal fine print like a 
disclaimer, copyright notice, AUP etc. Typically this is placed 
in a footer and many people would use the ID footer for that, 
but footer is just a position, it is not the function. Same goes 
for extension, that would be named sidebar by many people if 
this were a 2-column layout, but that is just the position, not 
the function.

This also means you need to work with a stylist that has that 
same level of abstraction, which are not always that easy to 
find. But if you get this going, it is indeed truely liberating. 
You just have to make sure the XHTML your application outputs 
conforms to the specification. Nothing more then that. No more 
issues with moving elements one pixel to the left or right in 
version Y of browser X, all of that is somebody elses problem.

Jochem

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237290
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF CMS recommendation

2006-04-09 Thread Gerome Fresse
Hello Mark,

You can have a look to my cms Gerobase 1.3, the standard release cost nothing, 
and i think it's a good solutions for small projects.
If you want to learn more about it :
http://www.gerorama.com/gerobase/
Give it a try and have fun :-)

Gerome
http://www.gerorama.com





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237291
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


trouble with cluster

2006-04-09 Thread brad f
Has anyone had any trouble with having more than one instance in your 
coldfusion cluster? With one, everything works great. Start another and it 
seems that cf cannot assign a session id. Thanks.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237292
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FW: Body too long: RE: Newbie Model Glue Questions

2006-04-09 Thread Judith Dinowitz
Please keep flame wars and personal debates off of CF-Talk. This is nothing 
personal against you, Snake, but when Michael reads this, I'm sure he'll be of 
the same opinion.

Judith Dinowitz

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237293
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FW: Body too long: RE: Newbie Model Glue Questions

2006-04-09 Thread S . Isaac Dealey
 Well Isaac as I keep saying, everyone is entitled to an
 opinion. And mine is
 that your the one who will be left fishing for scraps,
 because I can't see
 many companies giving a job to someone like you who is so
 arrogant and
 living with his head up his own ass and thinks everyone is
 below him.  Most
 big companie shave their own set of standards, and
 refusing to adhere by
 them and telling your employers they are stupid idiots for
 not agreeing with
 you really wont do u any favours.
 A solid understanding of life and people and how to get on
 with them is
 required in the real world, something you appear to lack.
 Your probably to be one of those bedroom coders who can't
 get on with anyone
 or anything so just keeps to himself and locks himself in
 a dark room where
 he doesn't have to meet people and risk getting beaten up
 cozz you cannot
 help but insult them.

 I feel sorry for you really.

 Russ

Is anybody else wondering who he's trying to convince? Is there even
any reason for me to respond to verbal abuse like this?

Am I perceived as being so arrogant? Does anybody else want to support
Russ? I'm not being snarky or facetious here, I really would like to
know if people perceive me that way. If there's a general feeling that
I present myself in a way that encourages this perception of me having
a superiority complex, I'd like to know if there's something I can do
to change the way I present myself.

Bedroom coders: No, I gave two presentations at cf.Objective this
year.

Corporate standards: I was at Site Manageware for 1.5 years and
adhered to every one of the standards they decided on, in spite of
disagreeing with quite a few of them. I've also done quite a bit of
Fusebox work and adhered to those standards in spite of being
preferential to other methods.

People: I get along with them fairly well. From about the time I
joined Site Manageware I became the de-facto answer guy because I
enjoy helping people and the other programmers could tell that I
enjoyed helping them and that in many cases I simply had more
experience than them. It wasn't my job. I wasn't even a manager of any
kind. My supervisor made all the architectural decisions, although he
generally included me in discussion about them. Probably a good 50% of
the architectural decisions he made were contrary to my input and that
never bothered me.

Arrogance: I do believe that I have more experience than most
ColdFusion programmers, but then I've been working with ColdFusion for
8 years and it's only been around for a little over 10, so there's not
a whole lot of room for people to have more hands-on experience than I
do, although there certainly are some and I learn new things about it
all the time. I know when I've produced something that nobody else has
published in the community (ex: sql language abstraction, xml rule
managers), but I'm not so arrogant as to think that nobody else has
done these things and simply not published them or that nobody else
could. I also acknowledge when others have done things I haven't, like
Tartan, ColdSpring and COAL. I don't think any of us is above or below
anyone else, we just have different experiences and different
opinions. My personal opinions about the nature of programming are
based on what we know collectively about economics. During the 80's I
had a huge collection of casette tapes and VHS. They're all gone now,
asside from a handful of VHS. Why? Because the increased supply of
CD/DVD technology devalued them and made them no longer profitable to
manufacture. The same is true of any set of skills - increased supply
of new skills will bring the price of them down and devalue older
skills.



s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237297
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Based WebMail

2006-04-09 Thread Rey Bango
I loved the Crazy Cab demo that used to come with CF 3.x. Simple, fast 
and it worked. :)

Rey...

Eric J. Hoffman wrote:
 Anyone have any particular favorites for a cf based webmail out there?
 We used to use Molerus or something, but can't find it anymore and
 actually have a need again to get a system live.
 
 Thanks!
 
 
 
 Eric J. Hoffman
 Managing Partner
 2081 Industrial Blvd
 StillwaterMN55082
 mail: [EMAIL PROTECTED]
 www: http://www.ejhassociates.com
 tel: 651.717.4105
 fax: 651.717.4115
 mob: 651.245.2717
 
 
 
 This message contains confidential information and is intended only for 
 [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you should not 
 disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] 
 immediately by e-mail if you have received this e-mail by mistake and delete 
 this e-mail from your system. E-mail transmission cannot be guaranteed to be 
 secure or error-free as information could be intercepted, corrupted, lost, 
 destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman 
 therefore does not accept liability for any errors or omissions in the 
 contents of this message, which arise as a result of e-mail transmission. If 
 verification is required please request a hard-copy version.
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237300
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Sitedirector vs EzCart recommendations Anyone

2006-04-09 Thread Steve Kahn
Need to deploy a site fast, thinking bout using Sitedirector or EZcart
anyone have any first hand experience with them? We need a cart that’s fast
to deploy and can offer retail pricing in addition to wholesale discounted
pricing codes ( we don’t want to use any fusebox apps ) - any
recommendations?

Thanks everyone

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.0/305 - Release Date: 4/8/2006
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237301
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Application variables from db?

2006-04-09 Thread Ken
Hi. Is it ok to set certain application variables in application.cfm from
values stored in the database?
There are certain site-wide settings that I need to store in the database.
Then do this in the application.cfm file:

CFIF NOT IsDefined Application.MySetting1

cfquery name=myquery dsn=dsn
Select Settings from db Where 
/cfquery

cfset Application.MySetting1 = myquery..MySetting1

/CFIF

My questions are:
1. Is it ok to set application variables using the above method?
2. If I need to update the above Application.MySetting1 variable to a new
value, how will I do so?

Thanks,

Ken.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237302
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Based WebMail

2006-04-09 Thread S . Isaac Dealey
Here's the Molerus app you were looking for. I've used it and will say
that the interface for it is decent. It's certainly better than some
webmail clients I've seen. :) I know the version I've used didn't
support multiple domains on a single install because I helped someone
implement customizations to make it multi-domain. In my experience it
also didn't handle large numbers of pop email very gracefully,
although I believe that's because cfpop doesn't handle them gracefully
rather than being an issue with the Molerus app. So the long and the
short of it is, I'd give the Molerus folks an above average review. :)
Which is really saying something actually, given how little market
there is for this kind of app, it's pretty impressive that they did
such a good job with it (in spite of my personally thinking I'd have
liked some of it to have been handled differently).

http://www.mollerus.net/development/webmail/webmail_pro.cfm

 Anyone have any particular favorites for a cf based
 webmail out there?
 We used to use Molerus or something, but can't find it
 anymore and
 actually have a need again to get a system live.

 Thanks!
 


 Eric J. Hoffman
 Managing Partner
 2081 Industrial Blvd
 StillwaterMN55082
 mail: [EMAIL PROTECTED]
 www: http://www.ejhassociates.com
 tel: 651.717.4105
 fax: 651.717.4115
 mob: 651.245.2717


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237303
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Application variables from db?

2006-04-09 Thread Charles Sheehan-Miles
With the main app I'm working on, the first thing in application.cfm is a
query to match the host header name against the correct website in the
database, then everything else is determined from there, including the
application name -- so I'm hosting multiple websites/customers off the same
code base, depending on what is in the database.

cfquery name=rsOrganization datasource=hosting cachedwithin
=#CreateTimespan(0,0,30,0)#
select * from rsOrganization where
OrgServername = '#CGI.server_name#'
/cfquery

CFAPPLICATION name=#rsOrganization.OrgShortname#_Root
setclientcookies=Yes
clientmanagement=Yes
clientstorage=hostingClientVariables
sessionmanagement=Yes
sessiontimeout=#CreateTimespan(0,4,0,0)#

applicationtimeout=#CreateTimespan(0,4,0,0)# setdomaincookies=Yes




On 4/9/06 5:15 PM, Ken [EMAIL PROTECTED] wrote:

 Hi. Is it ok to set certain application variables in application.cfm from
 values stored in the database?
 There are certain site-wide settings that I need to store in the database.
 Then do this in the application.cfm file:
 
 CFIF NOT IsDefined Application.MySetting1
 
 cfquery name=myquery dsn=dsn
 Select Settings from db Where 
 /cfquery
 
 cfset Application.MySetting1 = myquery..MySetting1
 
 /CFIF
 
 My questions are:
 1. Is it ok to set application variables using the above method?
 2. If I need to update the above Application.MySetting1 variable to a new
 value, how will I do so?
 
 Thanks,
 
 Ken.
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237304
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Application variables from db?

2006-04-09 Thread S . Isaac Dealey
 Hi. Is it ok to set certain application variables in
 application.cfm from
 values stored in the database?
 There are certain site-wide settings that I need to store
 in the database.
 Then do this in the application.cfm file:

 CFIF NOT IsDefined Application.MySetting1

 cfquery name=myquery dsn=dsn
 Select Settings from db Where 
 /cfquery

 cfset Application.MySetting1 = myquery..MySetting1

 /CFIF

 My questions are:
 1. Is it ok to set application variables using the above
 method?
 2. If I need to update the above Application.MySetting1
 variable to a new
 value, how will I do so?

 Thanks,

 Ken.

I don't think there's anything necessarily wrong with having variables
that are both in your database and in the application scope. I would
recomment a slightly different approach. I would construct a CFC which
accepts your dsn and clientid in its init method. I assume each row of
this table represents a different client using the same application. I
would then have the init method call a fetch method which fetches the
row for the indicated client and populates values in the CFC's
variables scope. Once that had been done I would implement a
getSetting method for fetching an individual setting, and store the
CFC in your application scope, thus, rather than referencing
application.setting1 in your application, you would reference
application.appMgr.getSetting(setting1) or possibly
application.appMgr.getSetting1() if you prefer individual accessor
methods.

The advantage of this is that if you need to change the manner in
which the settings are stored or managed later, it will be easiest to
do that internally within the CFC if your application references this
method, instead of directly referencing an application variable.
Another setSetting() or individual setSetting1() methods can then
update the CFC and the database (or other storage medium)
simultanously.

Now here's the rub. Do you need to manage these settings in a central
application (one that can manage multiple client applications
simultanously) or only within each individual application? If you
don't need a centralized application for managing these, then it's
pretty straightforward, and you can use the onApplicationStart method
of your Application.cfc to instantiate and store your appMgr cfc in
the application scope.

If you need a centralized application then you'll have to find some
way to get the data into each individual application when you update
it. One way to do this is to use the cfapplication tag in your central
application to temporarily relocate the current request into the
target application and update its appMgr cfc -- the problem you'll
experience with this approach will be to ensure that the application
has already started, because if you use cfapplication to initialize
the application name, the ColdFusion server won't know where to look
for the Application.cfc and so it won't execute the onApplicationStart
method. Using a simple http request for the application's login or
home page using the cfhttp tag may be enough to ensure it's started
before making changes. An alternative would be to build a webservice
into each subordinate application, which of course brings other
challenges with it.



s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237305
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Sitedirector vs EzCart recommendations Anyone

2006-04-09 Thread Eric J. Hoffman
SiteDirector is the king. 





Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4115
mob: 651.245.2717



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, 
distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by 
e-mail if you have received this e-mail by mistake and delete this e-mail from 
your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.


-Original Message-

From: Steve Kahn [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 09, 2006 4:11 PM
To: CF-Talk
Subject: Sitedirector vs EzCart recommendations Anyone

Need to deploy a site fast, thinking bout using Sitedirector or EZcart
anyone have any first hand experience with them? We need a cart that's
fast to deploy and can offer retail pricing in addition to wholesale
discounted pricing codes ( we don't want to use any fusebox apps ) - any
recommendations?

Thanks everyone

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.0/305 - Release Date: 4/8/2006
 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237306
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Application variables from db?

2006-04-09 Thread Ken
Hi Charles. Got a question for you. Say you updated the value of  the field
OrgShortname in the database, for one of the websites. How soon would the
application variable associated with it get updated?
Also, in your code, are you not loading the database too much, since you
have the query in your application.cfm file. How often is this query going
to run?

Thanks,
Ken


On 4/9/06, Charles Sheehan-Miles [EMAIL PROTECTED] wrote:

 With the main app I'm working on, the first thing in application.cfm is a
 query to match the host header name against the correct website in the
 database, then everything else is determined from there, including the
 application name -- so I'm hosting multiple websites/customers off the
 same
 code base, depending on what is in the database.

 cfquery name=rsOrganization datasource=hosting cachedwithin
 =#CreateTimespan(0,0,30,0)#
 select * from rsOrganization where
 OrgServername = '#CGI.server_name#'
 /cfquery

 CFAPPLICATION name=#rsOrganization.OrgShortname#_Root
 setclientcookies=Yes
clientmanagement=Yes
 clientstorage=hostingClientVariables
sessionmanagement=Yes
 sessiontimeout=#CreateTimespan(0,4,0,0)#

 applicationtimeout=#CreateTimespan(0,4,0,0)# setdomaincookies=Yes




 On 4/9/06 5:15 PM, Ken [EMAIL PROTECTED] wrote:

  Hi. Is it ok to set certain application variables in application.cfmfrom
  values stored in the database?
  There are certain site-wide settings that I need to store in the
 database.
  Then do this in the application.cfm file:
 
  CFIF NOT IsDefined Application.MySetting1
 
  cfquery name=myquery dsn=dsn
  Select Settings from db Where 
  /cfquery
 
  cfset Application.MySetting1 = myquery..MySetting1
 
  /CFIF
 
  My questions are:
  1. Is it ok to set application variables using the above method?
  2. If I need to update the above Application.MySetting1 variable to a
 new
  value, how will I do so?
 
  Thanks,
 
  Ken.
 
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237307
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Bad character crashing cfxml

2006-04-09 Thread Josh Nathanson
Hello All,

When creating an xml document using cfxml, I get the following error:

---
An error occured while Parsing an XML document.
An invalid XML character (Unicode: 0x1c) was found in the element content of 
the document.
--

The values in question are text strings entered by users and could contain 
tabs, carriage returns, line feeds etc.  I've tried stripping those out 
using Replace but no luck, and tried XmlFormat(variable) with no luck.

When I look up the unicode character 0x1c00, it says it's unassigned.  I 
don't see anything weird in the string values that might be causing the 
error.

Any thoughts/ideas are appreciated.

-- Josh Nathanson 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237308
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Bad character crashing cfxml

2006-04-09 Thread Rob Wilkerson
I opt to store user-defined data in CDATA blocks:

root
 mytag![CDATA[#userDefinedStuff#]]/mytag
/root

Another route is to use the XMLFormat() function.

On 4/9/06, Josh Nathanson [EMAIL PROTECTED] wrote:
 Hello All,

 When creating an xml document using cfxml, I get the following error:

 ---
 An error occured while Parsing an XML document.
 An invalid XML character (Unicode: 0x1c) was found in the element content of
 the document.
 --

 The values in question are text strings entered by users and could contain
 tabs, carriage returns, line feeds etc.  I've tried stripping those out
 using Replace but no luck, and tried XmlFormat(variable) with no luck.

 When I look up the unicode character 0x1c00, it says it's unassigned.  I
 don't see anything weird in the string values that might be causing the
 error.

 Any thoughts/ideas are appreciated.

 -- Josh Nathanson


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237309
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Bad character crashing cfxml

2006-04-09 Thread Ryan Guill
use cdata?

If you ever have characters that could make the xml mis-formed,
especially all user entered data, put it in a cdata.

root
node![CDATA[
my ' bad /  data
]]/node
/root


That will parse just fine.

http://www.w3schools.com/xml/xml_cdata.asp


On 4/9/06, Josh Nathanson [EMAIL PROTECTED] wrote:
 Hello All,

 When creating an xml document using cfxml, I get the following error:

 ---
 An error occured while Parsing an XML document.
 An invalid XML character (Unicode: 0x1c) was found in the element content of
 the document.
 --

 The values in question are text strings entered by users and could contain
 tabs, carriage returns, line feeds etc.  I've tried stripping those out
 using Replace but no luck, and tried XmlFormat(variable) with no luck.

 When I look up the unicode character 0x1c00, it says it's unassigned.  I
 don't see anything weird in the string values that might be causing the
 error.

 Any thoughts/ideas are appreciated.

 -- Josh Nathanson


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237310
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Bad character crashing cfxml

2006-04-09 Thread S . Isaac Dealey
 I opt to store user-defined data in CDATA blocks:

 root
  mytag![CDATA[#userDefinedStuff#]]/mytag
 /root

 Another route is to use the XMLFormat() function.

Unfortunately the XMLFormat() function doesn't handle non-printing
characters. I believe the character 0x1C or 1C is ASCII character
27, with characters 1-30 being non-printing. All the non-printing
characters with the exception of carriage return (13) line feed (10)
and space (20?) are invalid in an XML document.

I'm not sure if the CDATA segment will allow you to use these
characters or if XML simply expects you to find your own method of
handling them that conforms to the standard of not including
non-printing characters. I'm reasonably certain that it rejects the
entities (#7; for example would technically be the ASCII beep code)
and since that would prevent their use in attributes, my guess would
be they are also not allowed in CDATA segments.

This is all guess-work on my part, I haven't memorized the spec or
anything. :)

That being the case, when I found vertical tabs in some of my data
which needed to be embedded in XML documents, I created a wrapper
function for the native XMLFormat() function which removes all
non-printing characters except 13, 10 and the space.

Here is the code I used to accomplish this task (sorry for the
line-wrap):

function xmlstring(mystring) {
  // remove any non-printing characters
  // with the exception of tabs and line-breaks
  mystring = rereplace(mystring,[#chr(1)#-#chr(8)##chr(11)#-#chr(12)#
#chr(14)#-#chr(31)#],,ALL);
  // replace the single-quote character with
  // the character-code entity the xml parser
  // in early versions of ColdFusion MX doesn't
  // understand the apos; entity
  return replacenocase(xmlformat(mystring),apos;,##39;,ALL);
}

hth


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237311
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Newbie Model Glue Questions

2006-04-09 Thread Denny Valliant
I like Assembly. I respect people who have taken the time
to learn it.

Isn't it sort o like:
CF  Java  C  ASM  110011 ? (sorta?)
Maybe now it's more of a CF  Java  machine lang?

I've heard tell of java compiling that did better optimization than
the a human... but it's funny that you would use a language
like Java and shy away from generated code. He he he. [=

Not gonna weigh in on frameworks. Maybe later.
:d

-ps with the advances in micro electronics, low level code is still in,
if'n ya ask me. Not that anyone did.

If it's really about the number of people doing something, vs.
skill/practicality, I guess the best solution is taking out some
competition, neh? Get yourself a nice high-powered rifle and a cozy spot
near an internet cafe. :-P  Seriously tho, you'd be kind of silly to base a
tech decision based solely on supply and demand.  That gets you into the
whole king of the hill (the t.v. show) mentality, find a job no one else
wants do do. Sure, you'll always have work, but is that what the goal is?
There will always be work to be done, just like stuff will always be built
on other stuff.
The real meat and potatoes are in the sum is more than the parts type
deals.  I don't think language or popularity have much to do with it, sorta.
You want to further the world as a whole, not have job security. I love to
kill off job security. Every chance I get I'm like, here's how you can do
it yourself, easy like.  Some co-workers fear that mentality, and wish I'd
keep it to myself. Sorta keeping an artificial demand going.  There will
always be legit demands to supply, so who cares about the status quo? -
Note my use of security as work - as I believe good people
automatically have the type of job security that most people talk about, and
somehow conflate with work.  I'd rather see something like BETA win over
VHS, than buy into the whole economics of numbers mentality.

Just a random injection. Please be aware that I don't condone the personal
attacks this thread has generated. I'm not taking any side, I just like
assembly, and it's usefulness/niche. And I'm warning against the evils of
the majority, or what-not.  Wouldn't want someone to read into it that
there's no future in low level coding, I guess.
So... *cough* um... back to chill'n, chill'n... (-=

On 4/9/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:

 I'm well aware that it's still used. I'm also well aware that the
 niche for Assembler is smaller today than it was prior to the
 invention of C/C++ for example. There is less demand and therefore
 fewer people take the time to learn Assembler in today's market
 because less demand means that more supply will devalue the skill set.
 A larger demand for Java in todays market means that more people
 continue to learn Java in today's market. If another language were to
 come along and have at its core the concepts behind Java yet be more
 stable and easier to implement, that would probably supplant Java in
 time. ColdFusion is not that language (because it's not useful for
 desktop applications), and I doubt Ruby is, but that doesn't mean it
 won't happen.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237312
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Bad character crashing cfxml

2006-04-09 Thread Josh Nathanson
Thanks guys.  I did try the XmlFormat function (without the additional 
rereplace stuff) and it still didn't work.  I'll let you know shortly if the 
CDATA works, that's what I'll try next.  If THAT doesn't work, I'll try the 
rereplace method S. Isaac suggested.

-- Josh






- Original Message - 
From: S. Isaac Dealey [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Sunday, April 09, 2006 5:20 PM
Subject: Re: Bad character crashing cfxml


 I opt to store user-defined data in CDATA blocks:

 root
  mytag![CDATA[#userDefinedStuff#]]/mytag
 /root

 Another route is to use the XMLFormat() function.

 Unfortunately the XMLFormat() function doesn't handle non-printing
 characters. I believe the character 0x1C or 1C is ASCII character
 27, with characters 1-30 being non-printing. All the non-printing
 characters with the exception of carriage return (13) line feed (10)
 and space (20?) are invalid in an XML document.

 I'm not sure if the CDATA segment will allow you to use these
 characters or if XML simply expects you to find your own method of
 handling them that conforms to the standard of not including
 non-printing characters. I'm reasonably certain that it rejects the
 entities (#7; for example would technically be the ASCII beep code)
 and since that would prevent their use in attributes, my guess would
 be they are also not allowed in CDATA segments.

 This is all guess-work on my part, I haven't memorized the spec or
 anything. :)

 That being the case, when I found vertical tabs in some of my data
 which needed to be embedded in XML documents, I created a wrapper
 function for the native XMLFormat() function which removes all
 non-printing characters except 13, 10 and the space.

 Here is the code I used to accomplish this task (sorry for the
 line-wrap):

 function xmlstring(mystring) {
  // remove any non-printing characters
  // with the exception of tabs and line-breaks
  mystring = rereplace(mystring,[#chr(1)#-#chr(8)##chr(11)#-#chr(12)#
 #chr(14)#-#chr(31)#],,ALL);
  // replace the single-quote character with
  // the character-code entity the xml parser
  // in early versions of ColdFusion MX doesn't
  // understand the apos; entity
  return replacenocase(xmlformat(mystring),apos;,##39;,ALL);
 }

 hth


 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?

 add features without fixtures with
 the onTap open source framework

 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237313
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FW: Body too long: RE: Newbie Model Glue Questions

2006-04-09 Thread Denny Valliant
From what I've seen you've been pretty cordial. I assumed in my oblivion I
could have missed some posts, thus the I'm staying out of it, but it was
the name calling that set off my flame ding-a-ling.  No need for that
here. (I guess, I'm new, so, I don't know the lay of the land. Could be par
for the course or whatever)

Heh. Now that's odd that you would mention VHS.  Not sure how it correlates,
but there's something interesting in there.  Hmmm. Well, life is such a
trip. Yay!
:Den

On 4/9/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:

  Well Isaac as I keep saying, everyone is entitled to an
  opinion. And mine is
  that your the one who will be left fishing for scraps,
  because I can't see
  many companies giving a job to someone like you who is so
  arrogant and
  living with his head up his own ass and thinks everyone is
  below him.  Most
  big companie shave their own set of standards, and
  refusing to adhere by
  them and telling your employers they are stupid idiots for
  not agreeing with
  you really wont do u any favours.
  A solid understanding of life and people and how to get on
  with them is
  required in the real world, something you appear to lack.
  Your probably to be one of those bedroom coders who can't
  get on with anyone
  or anything so just keeps to himself and locks himself in
  a dark room where
  he doesn't have to meet people and risk getting beaten up
  cozz you cannot
  help but insult them.

  I feel sorry for you really.

  Russ

 Is anybody else wondering who he's trying to convince? Is there even
 any reason for me to respond to verbal abuse like this?

 Am I perceived as being so arrogant? Does anybody else want to support
 Russ? I'm not being snarky or facetious here, I really would like to
 know if people perceive me that way. If there's a general feeling that
 I present myself in a way that encourages this perception of me having
 a superiority complex, I'd like to know if there's something I can do
 to change the way I present myself.

 Bedroom coders: No, I gave two presentations at cf.Objective this
 year.

 Corporate standards: I was at Site Manageware for 1.5 years and
 adhered to every one of the standards they decided on, in spite of
 disagreeing with quite a few of them. I've also done quite a bit of
 Fusebox work and adhered to those standards in spite of being
 preferential to other methods.

 People: I get along with them fairly well. From about the time I
 joined Site Manageware I became the de-facto answer guy because I
 enjoy helping people and the other programmers could tell that I
 enjoyed helping them and that in many cases I simply had more
 experience than them. It wasn't my job. I wasn't even a manager of any
 kind. My supervisor made all the architectural decisions, although he
 generally included me in discussion about them. Probably a good 50% of
 the architectural decisions he made were contrary to my input and that
 never bothered me.

 Arrogance: I do believe that I have more experience than most
 ColdFusion programmers, but then I've been working with ColdFusion for
 8 years and it's only been around for a little over 10, so there's not
 a whole lot of room for people to have more hands-on experience than I
 do, although there certainly are some and I learn new things about it
 all the time. I know when I've produced something that nobody else has
 published in the community (ex: sql language abstraction, xml rule
 managers), but I'm not so arrogant as to think that nobody else has
 done these things and simply not published them or that nobody else
 could. I also acknowledge when others have done things I haven't, like
 Tartan, ColdSpring and COAL. I don't think any of us is above or below
 anyone else, we just have different experiences and different
 opinions. My personal opinions about the nature of programming are
 based on what we know collectively about economics. During the 80's I
 had a huge collection of casette tapes and VHS. They're all gone now,
 asside from a handful of VHS. Why? Because the increased supply of
 CD/DVD technology devalued them and made them no longer profitable to
 manufacture. The same is true of any set of skills - increased supply
 of new skills will bring the price of them down and devalue older
 skills.



 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?

 add features without fixtures with
 the onTap open source framework

 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237314
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Application variables from db?

2006-04-09 Thread Denny Valliant
On 4/9/06, Ken [EMAIL PROTECTED] wrote:

 Hi Charles. Got a question for you. Say you updated the value of  the
 field
 OrgShortname in the database, for one of the websites. How soon would the
 application variable associated with it get updated?
 Also, in your code, are you not loading the database too much, since you
 have the query in your application.cfm file. How often is this query going
 to run?


Since it's in Application.cfm, which gets run once per request, it's getting
run every request. Which means it's being get and set with each
request.  Sound place for a cgi type if deal, but the downside of having
the query in the application.cfm is it's getting run each request as well,
and depending on how you have your error trapping set up, you could hit a DB
error before you've set you db error handling, or whatnot.  Might make more
sense, if there aren't a lot of sites, to store the list in memory and
compare against that instead of running the query.

You can use a structClear() to clear the application and session scopes, not
to sure if the structClear on Application is kosher or not.

:Denny

-ps sorry for the lack of trimming/whatnot of my posts. Still getting used
to gmail's way, which is s freaking slick it's not funny. I really gotta
hand it to 'em, rocking UIs!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237315
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Bad character crashing cfxml

2006-04-09 Thread Denny Valliant
 mystring =
rereplace(mystring,[#chr(1)#-#chr(8)##chr(11)#-#chr(12)##chr(14)#-#chr(31)#],,ALL);

The only problem with this is that that you have to add stuff that you want
removed.

You could also list what's allowed, vs. what's not allowed, like

cffunction name=safeString returntype=string output=false
cfargument name=stringToClean required=true type=string
cfreturn
rereplacenocase(stringToClean,'[^a-z|A-Z|0-9|_]','','all')
/cffunction

Which you never need to add to unless you need to add to it, so to speak.
Only useful if you don't know before hand what's gonna get entered i
guess... um... :-P Whatever. I go now.
:Den


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237316
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Bad character crashing cfxml

2006-04-09 Thread S . Isaac Dealey
 mystring =
 rereplace(mystring,[#chr(1)#-#chr(8)##chr(11)#-#chr(12)##
 chr(14)#-#chr(31)#],,ALL);

 The only problem with this is that that you have to add
 stuff that you want
 removed.

 You could also list what's allowed, vs. what's not
 allowed, like

 cffunction name=safeString returntype=string
 output=false
 cfargument name=stringToClean required=true
 type=string
 cfreturn
 rereplacenocase(stringToClean,'[^a-z|A-Z|0-9|_]','','all')
 
 /cffunction

 Which you never need to add to unless you need to add to
 it, so to speak.
 Only useful if you don't know before hand what's gonna get
 entered i
 guess... um... :-P Whatever. I go now.
 :Den

Heh... Well, there is that. :)

The reason why I went with the removal of characters that aren't
allowed in XML is because most punctuation marks and unicode
characters above Z, including both accented lattin characters
(umlauts, etc) and non-latin characters such as Kanji are also
allowed. I was trying to ensure a solution which would work
universally, and so I didn't want to inadvertently remove any
character that would be legal.

Incidentally, you only need to specify a-z or A-Z when using
rereplacenocase -- if using rereplace then you need both) -- also the
| characters aren't necessary within the character class denoted with
[] and actually will behave differently because it's not a special
character in that context. In this expression it will allow |
characters in the list of characters not removed, as opposed to
separating sub-expressions, which is what the | character does within
parenthesis (each pair of which represent one or more subexpressions,
separated by pipes, i.e. (mary|joe) matches either mary or joe).
So, rereplacenocase(string,'[^a-z0-9_]','','all') will have the effect
you intended.

Hope that's useful to you. :)

s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237317
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Newbie Model Glue Questions

2006-04-09 Thread S . Isaac Dealey
 I like Assembly. I respect people who have taken
 the time to learn it.

I respect the ability to learn and use Assembler too... I'm glad the
market for assembler is well satisfied, since I'm not particularly
interested in working with it. :) For that matter I know some C++ and
am not particularly interested in working with it routinely either.

 Isn't it sort o like:
 CF  Java  C  ASM  110011 ? (sorta?)
 Maybe now it's more of a CF  Java  machine lang?

 I've heard tell of java compiling that did better
 optimization than the a human... but it's funny
 that you would use a language like Java and shy
 away from generated code. He he he. [=

Yep, it's ironic ain't it? :)

 If it's really about the number of people doing
 something, vs. skill/practicality, I guess the
 best solution is taking out some competition, neh?
 Get yourself a nice high-powered rifle and a cozy
 spot near an internet cafe. :-P

Now there's a practical man. :P

 Seriously tho, you'd be kind of silly to base a
 tech decision based solely on supply and demand.
 That gets you into the whole king of the hill
 (the t.v. show) mentality, find a job no one else
 wants do do.

Although I certainly don't base my tech decisions solely on market
influences I do think it's important to consider them. A person who
knows some XML is certainly more valuable in today's programming
market than they would have been 10 years ago (how old is XML
anyway?). In another 10 years that skill may have continued to become
more valuable or it may be less valuable due to increased supply of
programmers who are proficient with XML. As a programmer you have
value to the company you work for as long as the company sees a need
for you to produce more software, and of course if the company decides
that the technology you're using isn't valuable enough anymore, then
you either have to find another company that values that technology or
you have to learn something else. Just ask Jim Davis whos company (Met
Life?) recently decided that ColdFusion wasn't valuable enough for
them anymore (I disagree with their decision, but I digress) and
decided to replace all their ColdFusion applications with Java
applications written on top of IBM Websphere. If lots of companies
collectively decide that your preferred technology isn't valuable
enough anymore, then finding another company that continues to value
it becomes more difficult because of the lack of demand. Difficulty
finding jobs using that technology means having to compete with others
who are willing to accept lower salaries. My preference is to learn
more before I need that knowledge so that I'll be prepared. Now having
said that, if it suddenly became improbable that I could find a job
working with ColdFusion which would pay me well enough to survive with
my expenses, then I would have to find some other technology to start
working with (I don't think this is going to happen in the near
future), and that decision wouldn't be based purely on supply and
demand. My decision to stay with ColdFusion currently isn't based
purely on supply and demand, if it were, then I would probably be
working in all Java jobs. :)

 Sure, you'll always have work, but
 is that what the goal is?

That's one of my goals. :) It's not my only goal.

 There will always be work to be done, just like stuff
 will always be built on other stuff. The real meat and
 potatoes are in the sum is more than the parts type
 deals.  I don't think language or popularity have much
 to do with it, sorta.

I tend to agree. I think ColdFusion as a technology does a good job of
encouraging synergies.

 You want to further the world as a whole,
 not have job security.

I'd like both. :)

 I love to kill off job security. Every chance I get
 I'm like, here's how you can do it yourself, easy
 like.  Some co-workers fear that mentality, and wish
 I'd keep it to myself. Sorta keeping an artificial
 demand going.  There will always be legit demands
 to supply, so who cares about the status quo?

Yeah, I don't think artificial demand really helps people in the
long run. I personally hate doing repetitive work, which is why I
spend so much time encapsulating functionality, so I can avoid much
repetition.

 Note my use of security as work - as I believe
 good people automatically have the type of job
 security that most people talk about, and somehow
 conflate with work.

I'm not so convinced, although it's nice to think that would be the
case.

 I'd rather see something like BETA win over VHS,
 than buy into the whole economics of numbers
 mentality.

I remember being told that the US passed a trade embargo that
prevented Betamax from being sold in the US, which of course
artificially deflates the demand for BETA. I never researched it tho.

 Just a random injection. Please be aware that I
 don't condone the personal attacks this thread
 has generated.

I'm trying to stick primarily with stating opinion and trying to be
informative, and actually wouldn't have replied to 

Re: FW: Body too long: RE: Newbie Model Glue Questions

2006-04-09 Thread S . Isaac Dealey
 From what I've seen you've been pretty cordial.
 I assumed in my oblivion I could have missed some
 posts, thus the I'm staying out of it, but it
 was the name calling that set off my flame
 ding-a-ling. No need for that here. (I guess,
 I'm new, so, I don't know the lay of the
 land. Could be par for the course or whatever)

It's not very common on cf-talk... It's a little more common on
cf-community, but primarily in political threads, so I think people
learn to accept that it happens when people talk about politics (or
religion). But you know we're all human and we all have bad days and
we all occasionally say things that aren't necessarily particularly
pleasant. I probably could have phrased my 2nd reply a bit less
abbrasively. At least the one phrase that seemed to be the focus of
the most attention.

 Heh. Now that's odd that you would mention VHS.
 Not sure how it correlates, but there's something
 interesting in there.  Hmmm. Well, life is such a
 trip. Yay!

I was just making a correlation to another technology market. :)


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237319
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Problems Stopping and Starting Coldfusion Service (CFMX7)

2006-04-09 Thread david
Hi

We have a problem where everytime we try to stop and restart the CF service on 
a windows 2003 box it tries unsuccesfully to stop the service for about 3 
minutes and that gives an error. We then need to wait another few minutes 
before we can click the start button to get things going again.

Anyone else seeing this and is there a fix?

Thanks

David

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237320
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Problems Stopping and Starting Coldfusion Service (CFMX7)

2006-04-09 Thread Jerry Johnson
Yes, I am seeing it. No I don't know of a fix.

On 4/10/06, david @ red5. com. au david @ red5. com. au
[EMAIL PROTECTED] wrote:
 Hi

 We have a problem where everytime we try to stop and restart the CF service 
 on a windows 2003 box it tries unsuccesfully to stop the service for about 3 
 minutes and that gives an error. We then need to wait another few minutes 
 before we can click the start button to get things going again.

 Anyone else seeing this and is there a fix?

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237321
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Problems Stopping and Starting Coldfusion Service (CFMX7)

2006-04-09 Thread Michael Dinowitz
You may not have enough ram set for the JVM or you may have messed up your JVM 
settings (if you edited them reciently). 

 Hi
 
 We have a problem where everytime we try to stop and restart the CF 
 service on a windows 2003 box it tries unsuccesfully to stop the 
 service for about 3 minutes and that gives an error. We then need to 
 wait another few minutes before we can click the start button to get 
 things going again.
 
 Anyone else seeing this and is there a fix?
 
 Thanks
 
David

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237322
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Problems Stopping and Starting Coldfusion Service (CFMX7)

2006-04-09 Thread Andrew Grosset
I have that problem as well on my developer edition of MX7 on my PC, as you say 
it takes at least 3-4 mins before you can restart(I have one gig of ram).

Andrew.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237323
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54