>> Hi... just wondering how CF MX7 reacts using legacy code that
>> includes deprecated tags/functions like ParameterExists etc.
>> Would it generate error messages, or would it process the
>> pages ignoring the deprecated code?
>
>"Deprecated" doesn't mean it won't work. It simply means that it may not
>work in future versions. When that day comes, if it ever does, it will no
>longer be deprecated, but removed:
>
>http://en.wikipedia.org/wiki/Deprecated
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/

Another thing to consider about "depreciated" functionality is that if the
functionality hasn't yet been removed, it probably hasn't had the same level
of testing done to it. This means the code could potentially be buggy or
problematic.

A tag like parameterExists() has been depreciated long enough (I like since
either 3.1 or 4.0,) that you really should make the investment to change the
code. It shouldn't take very long, as a global find should find all
occurrences of the function. You should be able to do a global replace to
isDefined() as well (although for performance reasons, many suggest using
structKeyExists() instead.)

-Dan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251814
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to