Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
JJBBDD #1
a bone to pick
as a strong CF advocate, take this as a friendly gripe. and if someone more
experienced can explain why this 'problem' is actually not a problem, i'd
appreciate it.
the issue, generalized, is that certain cf tags will work differently
depending on which attributes are included. (note: not the attribute value
which can always be dynamically evaluated).
EG 1, <cfquery...> when running queries of queries you cannot include the
datasource attribute.
EG 2 <cfchart...> in some instances it doesn't make sense to include a scaleTo
attribute, but the attribute won't take a null value or empty string or the
like without throwing an error.
there are probably more examples of this, but the problem should be clear
enough: you end up with redundant code having to fork between the tags (one
with the pesky attribute, one without), which leads to extra maintainence and
bugs and less modularity and is pretty much antitheitcal to the spirit of OO
code, a spirit that CF has been embracing with gusto.
that said, i'm wondering what solutions there are or could be to this problem.
perhaps a reserved word that, when an attribute is set to it, tells the
compiler to ignore it. OR, a way to dynamically create tags from strings--
something like a delayed runtime.
thoughts? insults? harangues?
JJBBDD Guest
-
Change the length of a bone via Lingo
I have been trying to find out if it is possible to alter the length of a bone with Lingo. All I've been able to find it how to rotate the bone but... -
Parent/Bone
Not that I bone my parents but, Is it possible to have a bone as a parent to a model ? Im using lightwave and when I attempt to do this and... -
bone[boneid].transform
I'm unable to change transform of a bone. I do it in the next way: boneid = mymodel.resource.getBoneID(validname) bonetransform =... -
bone contstraints no longer work (did they ever?)
I pulled up an old IK robot arm project made by David Cowperthwaite and attempted to make an exe and/or Shockwave version, but it doesn't seem to... -
joining a model to a bone in Lingo
Hello there. I have a bone-animation (3ds-max) - of a chicken, no less :-) - and I would like to join a hat from another 3d cast member to the... -
MikerRoo #2
Re: a bone to pick
I agree. Objects, including CF tags, should ignore attributes if they are not
used or not appropriate.
Isn't this also the paradigm for HTML?
The thing to do is to [url]http://www.macromedia.com/go/wish/[/url] when you see
something like this.
MikerRoo Guest



Reply With Quote

