> -----Original Message-----
> From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
> Sent: Sunday, September 25, 2005 1:34 PM
> To: CF-Talk
> Subject: RE: Best way of determining CF Datatypes
> 
> > For example <cfset foo = true /> is clearly Boolean while "<cfset foo =
> >  "true" /> isn't... but I can't figure out a way to determine which was
> > used after the fact.
> 
> And you most likely will not. It is, afterall, a typeless language.

Really... never noticed.  ;^)

It may be difficult to do in CF, but it's not by any means impossible - WDDX
already does a version of this for example.

It's more to the point that while CF is, indeed typeless, it interacts
heavily and often with typed (or at least less loosely typed) languages.  I
need to, in effect, transfer typeless CF data to either a less loosely typed
language (like JavaScript) or a typed language (like Java).  So how BEST to
do this is the question.

Again, use WDDX as the model (although I dislike some of the decisions that
WDDX makes).

I know it's not "easy" but you gotta do what you gotta do.

It's not a question of "use the right tool" - this isn't a task in a
language, it's a conversion from language to language.  Some languages will
do the conversion better than others but all of them should do the best job
possible.

Jim Davis



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219196
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

Reply via email to