Just a small thought. All I personally think that CF could
benefit from in
all of this strong typing discussion is the ability to
cast a variable to
any java class. I feel that if I could JavaCast() to any
java class in order
to create byte arrays or other specific types I would have
On Jul 10, 2004, at 6:23 AM, S. Isaac Dealey wrote:
Personally I think the lack of nulls in CF is far more
troublesome than the lack of strong-typing and if I had to prioritize
them, nulls would be way up near the top of my list, while stong
typing would be way down toward the bottom.
I've
This is one of those annoying things (like alphabetically
sorted query
ciomumnList) that you wonder why they just don't fix it.
columnlist doesn't so much bother me... listsort(query.columnlist) ...
what does still bother me is structsort()... the reason it annoys me
is because it creates an
Done right, CF doesn't need to give up anything to provide
optional support for strong typing any more than they had to
sacrifice anything to give us CFCs.
How do you know this?
We can all speculate on how easy or difficult something would be, but I find
it hard to reach this sort of
The way I test for null in CF is to knowingly assign a value from Java
into a CF variable. On the next line, if the variable is undefined
then we recieved a NULL value.If it's defined, then we didn't.
Doug
On Wed, 7 Jul 2004 11:46:01 -0400, Joe Rinehart [EMAIL PROTECTED] wrote:
Dick,
Glad
run into problems).
Best regards,
Sam
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 8:54 AM
To: CF-Talk
Subject: RE: Blackstone Strong Typing? was Re: CFX_FileReadLn
Done right, CF doesn't need to give up anything to provide
optional
You don't need access to the CFML source code to see how
strong typing can benefit CF and how it can be implemented--
only need to look at the Java files generated by CFMX.
If you look at these files you'll see how all variable
references go through a complex set of Hashtable lookups,
My impression from some of the people on the CF Development team is that
this would be a nightmare to develop while maintaining backwards
compatibility.Making the whole language typed, period, would be somewhat
easier - but only in a sense, as you would really just be ripping out the
massive
On Jul 9, 2004, at 5:54 AM, Dave Watts wrote:
Done right, CF doesn't need to give up anything to provide
optional support for strong typing any more than they had to
sacrifice anything to give us CFCs.
How do you know this?
We can all speculate on how easy or difficult something would be,
On Jul 8, 2004, at 9:09 PM, S. Isaac Dealey wrote:
I have my doubts. The closer CF comes to pure Java, the
more people
will ask why bother when there's Java. In order to
stay alive in the
market (as with any market) CF has to provide something
significant to
the customer which they
On Jul 9, 2004, at 9:39 AM, Jim Davis wrote:
My impression from some of the people on the CF Development team is
that
this would be a nightmare to develop while maintaining backwards
compatibility. Making the whole language typed, period, would be
somewhat
easier - but only in a sense, as
On Jul 9, 2004, at 7:35 AM, Samuel Neff wrote:
You don't need access to the CFML source code to see how strong
typing can
benefit CF and how it can be implemented--only need to look at the
Java
files generated by CFMX.
How do you do that with CFMX 6.1 -- all I can get is the class files
TIA
-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 2:28 PM
To: CF-Talk
Subject: Re: Blackstone Strong Typing? was Re: CFX_FileReadLn
On Jul 9, 2004, at 7:35 AM, Samuel Neff wrote:
You don't need access to the CFML source code to see how strong
typing can
benefit CF
.
Sam
-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 2:28 PM
To: CF-Talk
Subject: Re: Blackstone Strong Typing? was Re: CFX_FileReadLn
On Jul 9, 2004, at 7:35 AM, Samuel Neff wrote:
You don't need access to the CFML source code
PROTECTED]
Sent: Friday, July 09, 2004 3:01 PM
To: CF-Talk
Subject: RE: Blackstone Strong Typing? was Re: CFX_FileReadLn
With 6.1 you have to decompile the generated class files.There are lots of
tools to do that.Google.
It's your code, so I'm pretty sure there are no legal issues.Besides, it's
a good
The script page generated a 51 line java file, 2 imports, and
actually quite easy to read along to.
The tags page generated an 89 line .java file, 5 imports,
fairly difficult to read, but I noticed it kept mentioning
whitespace chars, even though whitespace management was off.
Well,
On Jul 9, 2004, at 12:00 PM, Samuel Neff wrote:
With 6.1 you have to decompile the generated class files. There are
lots of
tools to do that. Google.
Ahh... I was hopin' ya' knew of some way to get CF to gen source, like
it did in 6.0.
I wonder if there is an under-the-covers option to
: Blackstone Strong Typing? was Re: CFX_FileReadLn
On Jul 9, 2004, at 12:00 PM, Samuel Neff wrote:
With 6.1 you have to decompile the generated class files.
There are
lots of
tools to do that. Google.
Ahh... I was hopin' ya' knew of some way to get CF to gen
source, like
it did in 6.0
On Jul 9, 2004, at 5:47 PM, Barney Boisvert wrote:
In 6.1, it converts CFML directly to bytecode, bypassing Java
completely.This is significantly faster, as evidenced by the lack of
a first-view delay.
Yeah, I definitely noticed this when we upgraded last week to 6.1 - it
screams!
--
1) all typed variables could be referenced w or w/o the typed scope
2) in a block of strongly-typed code the typed scope would implied
(roughly analogous to Java's import statement)
3) Then The CF parser/compiler would have a set of readily-identifiable
strongly-typed variables, that it could
On Jul 9, 2004, at 3:12 PM, Claude Schneegans wrote:
1) all typed variables could be referenced w or w/o the typed scope
2) in a block of strongly-typed code the typed scope would implied
(roughly analogous to Java's import statement)
3) Then The CF parser/compiler would have a set of
but I would also like to
see it on a more-granular level:
This would be more difficult to implement, since the status of a variable would not be proper only to the variable, but would also depend on its environment.
--
___
REUSE CODE! Use custom tags;
See
On Jul 9, 2004, at 8:17 PM, Claude Schneegans wrote:
but I would also like to
see it on a more-granular level:
This would be more difficult to implement, since the status of a
variable would not be proper only to the variable, but would also
depend on its environment.
Yeah, I guess I'd be
I like strong typing, but I think ColdFusion isn't the place for it.
ColdFusion has a history of trying to maintain backward compatibility.
Also, one of the tenants of CF is that it is typeless language
(validation portion of cffunction and cfargument aside)so I doubt
we'd ever see it.
Joe Rinehart wrote:
IsNull() would be pretty handy, though!Ben Fanyone else from
MACR readingcan get this on the list?
http://www.macromedia.com/go/wish
Jochem
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
I second Joe's comments.
-Adam
- Original Message -
From: Joe Rinehart [EMAIL PROTECTED]
Date: Thu, 8 Jul 2004 06:48:25 -0400
Subject: Re: Blackstone Strong Typing? was Re: CFX_FileReadLn
To: CF-Talk [EMAIL PROTECTED]
I like strong typing, but I think ColdFusion isn't the place
On Jul 8, 2004, at 3:48 AM, Joe Rinehart wrote:
I like strong typing, but I think ColdFusion isn't the place for it.
I would like to se it as optional, maybe within a block of code or a
CFC.In fact, a CFC is a very logical place for strong typing (and a
lot of other things that would make CF
One of the avowed tenets of Blackstone is to go back to CF's roots --
a simple RAD tool that allows fast everyman productivity out of the
box.Seems like strong typing goes in the other direction.
Just an observation.
--
--Matt Robertson--
MSB Designs, Inc.
mysecretbase.com
[Todays Threads]
On Jul 8, 2004, at 10:04 AM, Matt Robertson wrote:
One of the avowed tenets of Blackstone is to go back to CF's roots --
a simple RAD tool that allows fast everyman productivity out of the
box. Seems like strong typing goes in the other direction.
Just an observation.
Interesting... I hadn't
Yes and no -- each major release of CF has had compelling and valuable
new features -- not to use these when needed, is a failure to exploit
the tool.
That doesn't really have anything to do with backward compatibility.
BC is so that code from previous versions runs unchanged (or very
nearly
PROTECTED]
Sent: Thursday, July 08, 2004 2:37 PM
Subject: Re: Blackstone Strong Typing? was Re: CFX_FileReadLn
On Jul 8, 2004, at 10:04 AM, Matt Robertson wrote:
One of the avowed tenets of Blackstone is to go back to CF's roots --
a simple RAD tool that allows fast everyman productivity out
If I were a betting man, I would bet that CF continues to
become closer
to pure Java -- this would (potentially) improve
performance and
broaden the acceptance/use of the CF language.
I have my doubts. The closer CF comes to pure Java, the more people
will ask why bother when there's Java.
On Jul 8, 2004, at 3:06 PM, S. Isaac Dealey wrote:
If I were a betting man, I would bet that CF continues to
become closer
to pure Java -- this would (potentially) improve
performance and
broaden the acceptance/use of the CF language.
I have my doubts. The closer CF comes to pure Java, the
On Jul 8, 2004, at 3:06 PM, S. Isaac Dealey wrote:
If I were a betting man, I would bet that CF continues
to
become closer
to pure Java -- this would (potentially) improve
performance and
broaden the acceptance/use of the CF language.
I have my doubts. The closer CF comes to pure Java,
If you are using CFMX, you prolly don't need a custom tag (or could
make your own).
I got some help from others on the list came up with the code below.
Works great -- I am using to parse an very large iTunes Library.xml
file.
HTH
Dick
P.S. The fact that others were able to so easily
I wrote CFX_ReadLn, which does a similar thing to CFX_FileReadLn and is free
:)
http://www.web-architect.co.uk/downloads.cfm
Paul
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Thanks Dick! but this site is on ColdFusion 4.1.
Frank
-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 6:44 AM
To: CF-Talk
Subject: Re: CFX_FileReadLn
If you are using CFMX, you prolly don't need a custom tag (or could
make your own).
I
Thanks Paul!
I will give it a try:-)
Frank
-Original Message-
From: Paul Vernon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 6:59 AM
To: CF-Talk
Subject: RE: CFX_FileReadLn
I wrote CFX_ReadLn, which does a similar thing to CFX_FileReadLn and is
free
:)
http://www.web
Dick,
Glad that code's being used - I found out the other day (from Doug
Hughes, the Alagad image component guy) that the reason line becomes
undefined is that CF doesn't know how to handle a Java NULL.
You may have already known this, but I found it interesting.
Blackstone is rumored to fix
Yeah, I think there was some code with a more formal EOF test
recommended by someone.
If Blackstone has a NULL, then is it reasonable to assume that it may
also have optional strong typing? -- then if that is so, couldn't one
code CF in such a way that more closely approached Java --then here
typed nature.
Jim Davis
From: Dick Applebaum [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 12:33 PM
To: CF-Talk
Subject: Blackstone Strong Typing? was Re: CFX_FileReadLn
Yeah, I think there was some code with a more formal EOF test
recommended by someone.
If Blackstone has a NULL
also have optional strong typing?
I STRONGLY AGREE.. This would be a really nice feature.
Joe
- Original Message -
From: Dick Applebaum [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 12:32 PM
Subject: Blackstone Strong Typing? was Re: CFX_FileReadLn
Anybody know what happened to the Author of this tag? I am trying to by a
license but can't seem to find any place to pay for it:-)
Thanks in advance for your time!
Frank
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
]
Sent: Monday, October 20, 2003 10:51
To: CF-Talk
Subject: A Lonely CFX - CFX_FileReadLn
Hi all.
We had a need to read large text files in blocks of lines and so went
looking for a suitable custom tag to do the base work for us. There are a
few that read CSV files and convert them to queries but our
one line at a time, not too good when you want to read a thousand line in one batch :-)
We then found CFX_FileReadLn which is perfect, you can specify a start line and the number of lines to read and it returns the result in a query, just right for our needs :-)
Unfortunately the tag
To: CF-Talk
Subject: A Lonely CFX - CFX_FileReadLn
Hi all.
We had a need to read large text files in blocks of lines and so went
looking for a suitable custom tag to do the base work for us. There are
a few that read CSV files and convert them to queries but our files are
pure text so they were
46 matches
Mail list logo