It was never public info that you personally were on the beta.. that's also
covered by NDA.So even if MM person announces that beta 1 has begun, it's
still not allowed for anyone on the beta to state that they are on the beta.
MM has made exceptions in the past (Flex alpha) but I'm not aware of
Are there differences in SQL/functions when moving from an ODBC datasource
to a JDBC datasource?
We're hosting an application for another contractor and their app is the
only one using ODBC (all apps use Oracle).We'd like to remove the ODBC
services (well, we're setting up a brand new box and
You're better off not calling randomize() at all.If you don't call it,
then CF will default to the calling randomize() with the current time in
milliseconds.However, due to argument types you can't actually pass that
level of precision to randomize() yourself.
To get truly random numbers across
If what you need to do is integrate with SMS, IM, Sockets, or any of the
built-in gateways, then the chances it does what you need are really good.
Sam
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 17, 2004 10:08 AM
To: CF-Talk
Subject: RE:
Huh?The article is primarily about the Event Gateway architecture and
doesn't even mention JMS once.The Event Gateway stuff is about SMS and IM
integration, listening on sockets, and asynchronous CFC calls.All great
stuff that I'd use a lot in my CF development (particularly async calls).
Sam
How does JMS compare to the ability to call CFC methods asynchronously (one
of the mentioned new features in Blackstone)?
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
-Original
was JMS provider in anticipation of Blackstone
On Sun, 15 Aug 2004 23:28:36 -0400, Samuel R. Neff
[EMAIL PROTECTED] wrote:
How does JMS compare to the ability to call CFC methods
asynchronously (one
of the mentioned new features in Blackstone)?
They're unrelated really. JMS is just
, 16 Aug 2004 00:42:27 -0400, Samuel R. Neff
[EMAIL PROTECTED] wrote:
What's the advantage of tapping into JMS as opposed to
using async cfc calls
for a pure CF application?
If you have a pure CF app, JMS is irrelevant. JMS is useful for
passing data asynchronously between applications
You don't need to keep track of sessions, CF does it for you:
Access session vars from outside the session
http://www.rewindlife.com/archives/46.cfm
HTH,
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
Jochem,
I expect that the cfscript version of that particular code is going to be
significantly slower than the cfml version.The cfml version is taking
advantage of a list loop with does a single tokenization of the list.The
cfscript version tokenizes the list twice in each iteration--once for
and cfml list loop is even more efficient than array...
Why is a list loop faster than an array loop?
http://www.rewindlife.com/archives/56.cfm
Sam
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 3:29 PM
To: CF-Talk
Subject: RE:
Why tokenize the list twice per iteration when we can do it three times per
iteration?:-)
Sam
-Original Message-
From: Patricia Lee [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 4:09 PM
To: CF-Talk
Subject: Re: Can the following be written in cfscript?
or as an
The transaction logs get removed when you do a backup ('cause they're no
longer needed).
Sam
-Original Message-
From: David Koehler [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 4:33 PM
To: CF-Talk
Subject: Transaction Log Size
Some of our transaction logs are getting
Your primary concern should be normalizing the data.Issues like this don't
come up with normalized data and comma separated lists are an obvious sign
of a non-normalized database.
Barring that, the speed question comes down to if you're accessing items by
index or looping over them.If looping,
You could also do
cfinvoke component=#this# method=... ...
Which I think is easier to understand than a cfinvoke without a component
attribute (didn't know that worked, but still prefer to specify component).
Sam
Blog http://www.rewindlife.com
TeamMM
Why would you need java components or java connectivity if you're running
BD.NET, especially for a client that is asking for .net compliancy?The
whole point of BD.NET is to run in a pure .NET environment using .NET
components and functionality.
Unless there is no other option, it's usually best
This
department uses Java and
That department uses .NET and need to merge or share.
rish
-Original Message-
From: Samuel R. Neff [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 12:18 PM
To: CF-Talk
Subject: RE: .net compliant (ot)
Why would you need java components
Using the internal web server is one way to protect it since you can block
the port at firewall, but this only applies if admin is not accessible from
the sun web server and also remember that some of the files are required for
certain functionality.. wddx, cfform validation for example.
Sam
What's wrong with just using isNaN?Or if something wrong with that, what
about regexp?
function isNumber(testNumber) {
return String(testNumber).match(/^[0-9]*\.?[0-9]*$/);
}
Sam
-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 3:42 PM
and then try
alert(isNumeric(0.3.2));
:-)
-Original Message-
From: Joe Rinehart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 4:12 PM
To: CF-Talk
Subject: Re: OT: JS number check
This may help:
script
function isNumber2(inputStr, field) {
if (!inputStr.match(new
You can handle file uploads using the form field directly without using
cffile if that meets your needs.The form field value will be a path to the
temp file where it's stored.
This is useful for example if you want to read in the file and process it
but don't need to make a copy.
It's not
Even with a .NET application you have to program some this differently to
make it work in both Windows and Mac, particularly with file handling.
Mostly this involves just not making assumptions about the file system, but
since the vast majority of .NET programs are written for Windows without
Not even talking about hardcore sessions, just look at intermediate and
advanced sessions.Someone that is only interested in ColdFusion can not go
to a CF session appropriate to their level in every time slot at MAX (after
taking repeats into account).The fact is if you're only interested in CF
I personally would not call any decision made by a knowledgeable individual
that's based on a cost/benefit analysis stupid.
The fact is most people use Windows and writing an application that works
cross platform does take extra effort and does add an extra layer of
abstraction between your
PrimalScript
http://www.sapien.com
-Original Message-
From: Marco Antonio C. Santos [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 4:00 PM
To: CF-Talk
Subject: Best choice for ColdFusion Studio IDE...
Hi all
what's best option to change our old ColdFusion Studio IDE?
Express is a version of SQL Server 2005.MSDE is a version of SQL Server
2000 or 7.Hence the different requirements.
Sam
-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 10:27 PM
To: CF-Talk
Subject: Re: SQL Server 2000 developer edition?
In mail headers, it shows a trail of mail servers between the originating
smtp server and the receiving user.Are any of these servers guaranteed
accurate, particularly the originating server or is it easy to spoof the
servers along the trail?
I'm working on an app that allows submitting some info
Office Automation is not safe for server side use.You should avoid code
similar to what you posted (anything that instantiates an office
application).
Office Web Components supports pivot tables.I have a small example in one
presentation that talks about OWC but the example only covers using it
One thing I've found helps a lot is to put a cfcontent tag right before the
xml/html tag.Don't change the content type, just reset the output stream.
There can't be anything before the html tag besides whitespace anyways.
Sam
[Todays Threads]
[This Message]
[Subscription]
[Fast
The display of the new data in the browser was a standard HTTP
request/response.What happened was Ben copied the file to the drop folder.
Then talk for about 15 seconds and explain that he's waiting for the event
to kick in and make sure it processes.Then he refresh his browser and it
display the
Flash with XMLSockets or FlashComm will give you an always-on connection.
Any use of a webserver on the client machine to provide local back-end
functionality to a desktop app is really overkill.
Sam
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 2:42 PM
To: CF-Talk
Subject: Re: blackstone talk at CFUN
On Jul 2, 2004, at 10:58 AM, Samuel R. Neff wrote:
Flash with XMLSockets or FlashComm will give you an always-on
connection.
Any use of a webserver on the client machine
Whitespace is usually important when there's a lot of it.I heard at CFUN
that Mach-ii initially created tons of whitespace and was very problematic
until the most recent release.It still creates a lot of whitespace since
it supports Blue Dragon and BD has an incompatible implementation of the
You can set up a datasource to an empty access database, send sql comments
to that, and use either the from or in clause to redirect the query to
another odbc datasource.I have an explanation and example here:
http://www.rewindlife.com/archives/000118.cfm
Best regards,
Sam
-Original
You want to use CFMX and Flex to create desktop apps?You'll need at least
$18,000 per installation given current pricing.
Flex needs a license for each computer that serves up SWFs created by Flex
(regardless of whether or not Flex is installed).Distribute the SWFs on
CD, it's $12,000 per CD.
It has no UI capabilities of it's own, so it's always going to be the back
end to something else.That alone is enough to make it a poor choice for
desktop apps.
The 84mb runtime engine doesn't help either.
And most of all, even if it was technically possible to make desktop apps,
that certainly
Or if you consider $12,000/2cpu for a compiler and a bunch of components
expensive...:-)
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
-Original Message-
From: Calvin Ward
case sensitivity in the database depends on the DB, Oracle is case sensitive
for example.
Paths are usually case insensitive in Windows but Java is case sensitive so
there are situations where differences in case can be a problem.
Specifically, CFMX can generate a Wrong name error when calling a
At least you got a response.:-)
Thanks for sharing.
Sam
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 5:38 PM
To: CF-Talk
Subject: RDS support (was Re: CFEclipse release - beta
We have been talking about reverse engineering RDS
The results looks like a database admin tool and not a real website.I
wouldn't want to deliver anything like that for a client.If it was
on-the-fly table/form creation then I woudl say it is ok to use for back-end
stuff.
Of course, if that's what the client wants and is happy with it, then you
We use PrimalScript
http://www.sapien.com/primalscript.aspx
It's a great IDE with lots of features and supports 30+ languages (has great
AS2 support).
The developer is also looking for CF-specific features to add to the next
version since an increased number of people have been buying it to
As Jim said, you need to URLEncodedFormat() the result of Encrypt() before
putting it in the url...
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
-Original Message-
From:
What exactly are you modifying in the uploaded docs?If it's just a small
piece of text then I would suggest using fields linked to document
properties and then you can read/update those properties via DSOFile.This
is much faster and more stable than automating Word and doesn't require any
Office
There's a 6.1 updater but I'm not sure if it's cumulative or just 6.0 -
6.1.I seem to be remember it was only for 6.0 - 6.1 but could be
mistaken.
Listed Here:
http://www.macromedia.com/software/coldfusion/downloads/
Direct links:
Check the box.Usually when you win a MM product it's NFR -- Not For
Resale.
Sorry.
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
-Original Message-
From: Susan Prosser
The browser can spoof REMOTE_HOST and even REMOTE_ADDR.Try this out:
!--- DumpCGI.cfm ---
cfdump var=#cgi#
!--- Spoof.cfm ---
cfhttp url="">
cfhttpparam type=CGI name=REMOTE_ADDR encoded=false
value=132.145.1.2
cfhttpparam type=CGI name=REMOTE_HOST encoded=false
value=spoof.com
/cfhttp
I just set up IIS and ran the spoof test through that.Still spoofed.
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
-Original Message-
From: Samuel R. Neff [mailto:[EMAIL
and is a boolean operator.I would expect the result to always be a
boolean.
In my opinion, it's a bug.
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
-Original Message-
I think that would be even worse since it's almost like the UG is selling
what it received from MM for free as a promotional item, just not directly.
If you want to sell it, great, go sell it on ebay where nobody knows where
you got it and MM isn't paying as much attention (or are they?).I agree
This presentation sends HTML/CSS/XML to MS Word and includes examples on
creating Avery labels.
http://www.rewindlife.com/archives/32.cfm
HTH,
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
I'd agree with John's suggestion that you should create the formatted text
in Excel, save as HTML, and then view the HTML to see how it persisted the
formatting information.
The only difference of opinion I have is that this technique is extremely
flexible and can be used to accomplish a very
Dick,
I got same error.Assumed you were using developer version (IP restricted).
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
-Original Message-
From: Dick Applebaum
If you're using CFMX then it's a waste.You can get all the functionality
using Java classes.
Zip:
http://www.cflib.org/udf.cfm?ID=744
Unzip:
http://www.rewindlife.com/archives/41.cfm
HTH,
Sam
Blog http://www.rewindlife.com
TeamMM
Not the easiest but I would say best is XSL-FO/FOP route.Large learning
curve but very flexible once you get going.
Easiest is various HTML to PDF converters.
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
Access 2000 is the last major release of the Jet engine, so the data portion
of the database, what you're using through CF, is exactly the same for
Access 2000 and Access 2003.There's no point in upgrading for just a data
back-end.
The Jet team was disbanded soon after Access 2000 was released,
]
Sent: Friday, April 09, 2004 7:00 AM
To: CF-Talk
Subject: Re: ...just took 60+ seconds to load Hello World in Flex!
On Apr 9, 2004, at 1:04 AM, Samuel R. Neff wrote:
I don't know of any way to get rid of the loading message.If you
look at
the AS code generated by a Flex app
-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 11:25 PM
To: CF-Talk
Subject: Re: ...just took 60+ seconds to load Hello World in Flex!
On Apr 8, 2004, at 7:41 PM, Samuel R. Neff wrote:
The second
.
Sam
-Original Message-
From: Christian Cantrell [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 10:30 AM
To: CF-Talk
Subject: Re: ...just took 60+ seconds to load Hello World in Flex!
On Apr 8, 2004, at 10:41 PM, Samuel R. Neff wrote:
The second run should
Flex is a J2EE web application.CFMX is a J2EE web application.The way
J2EE is designed these should be installed as separate applications into
either the same or different server instances.Doing that is cake--just
unpack the wars.
However, some people want to put them in the same application so
-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 12:29 AM
To: CF-Talk
Subject: Re: Flex not?
On Apr 7, 2004, at 8:56 PM, Samuel R. Neff wrote:
JRun url's are always case sensitive, on a PC too
The first run requires compilation which is very slow.A client is never
meant to see compilation (although I don't think it includes any pre-built
pre-compiler other than the off-line MXMLC).
The second run should be significantly faster, but still a lot slower than a
Flash Hello World app since
I think the sluggishness comes from the animation, which you can turn off.
You can't really compare an animated tree to a non-animated one.
That said, Flex is very sluggish in general.The base classes are much
heavier than the equivalent Flash ones and they add a lot of code related to
layout and
That's fine for JS but I think the question here was about layout of HTML
and CSS support.You can't use JS to tell if a browser supports the
HTML/CSS you're using without browser sniffing.
But I think the only real concern is NN4 or not NN4.NN4 is the only old
browser we encounter on a regular
It's not just an issue of running the server application, there are
peripheral apps that aren't all available for the Mac or don't all work.
Flex has the Flex server, mxmlc compiler (which is just a script that calls
the right java classes in the server), fdb (again, script that calls java
I've done it, and yes it's a huge pain.Unfortunately the simple fact is
Java applications are designed to be installed as separate contexts.Just
there are some restrictions when doing that and there is a desire to have
them in the same instance--it simplifies remoting for example.I can't
offer any
Pretty much everything is java based except for the debug flash player.
JRun url's are always case sensitive, on a PC too.
Good luck,
Sam
-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 10:34 PM
To: CF-Talk
Subject: Re: Flex not?
Do you mean Flex pages or all pages?Flex compilation times are very slow.
Flex is not meant to re-compile files for each request but only once when
files are first loaded.The performance does not really allow for any
significant dynamic MXML creation, even though the JSP tags provide that
You can also use OWC server side to generate charts and send down images--no
client side requirement.
There's an example in here:http://www.rewindlife.com/archives/000118.cfm
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
The action pack mentioned earlier is only $300 and I think has everything
MSDN has.
http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack
/actionpackus.aspx
They also recently ran a special for .NET ISVs to get 5 licenses of MSDN
Universal for $375.
So not so expensive.:-)
This seems like a scenario where one really needs to look at all available
options and choose the best one.Using a server based technology for a
local application on a PDA is quite a bit of overkill..NET has very nice
PDA support.
My $0.02.
Sam
Blog
I was trying to stay out of this thread, but oh well (thanks Dave).:-)
First, if you program in ActionScript in anything other than PrimalScript
then you're going through a world of hurt for no reason.PrimalScript is a
real IDE and provides features of a real IDE including context-sensitive
PrimalScript
http://www.sapien.com
Windows only, has a 30-day trial.
Here's a review:
http://www.kodefusion.com/article/index.cfm?PrimalScript_3ArticleID=15Page
Number=1
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
If you run them on separate ports it will work fine, but I wouldn't suggest
it for a production server.
Sam
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
-Original Message-
If it's an all ASP site then isn't it really better to stick with ASP for
the whole site?Mixing ASP and CF seems like it's going to create a
maintenance nightmare.
If you want to display charts in ASP then you can look into Office Web
Components on the low end and many available charting engines
Why would you ever set replies to sender?That basically creates a
questions lists where questions go to the list and answers go only to the
original poster.No one else benefits and there are no conversations.
Sam
Blog http://www.rewindlife.com
TeamMM
out of office type auto
responders.
- Original Message -
From: Samuel R. Neff
To: CF-Talk
Sent: Monday, February 16, 2004 9:35 AM
Subject: RE: problems with spam
Why would you ever set replies to sender?That basically creates a
questions lists where questions go to the list
Jaye,
You can program things from scratch all the time or you can use frameworks
and available resources to make the program more efficiently.The official
curriculum is always going to be about the base functionality of a language.
You have to go outside that to learn about frameworks and
I think there's a difference between coming out and supporting a
framework/standard/whatever and using it themselves.Simply using a
framework for a portion of their own applications is not like they're saying
everyone should use it.Quite to the contrary, none of the DRK code uses
fusebox or
When you call duplicate(cfcatch) it returns a structure.Then you can pass
it to a UDF where the argument type is struct and use all struct functions
on it.
That's also how cfdump works.If it gets an exception, it duplicates it.
HTH,
Sam
---
Blog:
wrap cfsavecontent around it and save the generated content to a file with
cffile.
HTH,
Sam
---
Blog: http://www.rewindlife.com
Charts: http://www.blinex.com/products/charting
---
-Original
And don't forget...
4.Rewrite every time MM changes the style/html and breaks your
regexp/tokenizer.
:-)
I actually have a full mm webforum parser I wrote about a year ago to
display threads I'm participating in on my blog, but it doesn't work any
more since the html it triggered off changed.
You can close cfmodule tags, but when you do that you have to close ALL
cfmodule tags and it will call every cfmodule template twice--start and end.
HTH,
Sam
---
Blog: http://www.rewindlife.com
Charts: http://www.blinex.com/products/charting
I haven't heard anything about MM creating an Eclipse plug-in for CF but
they are working with IBM to create a plugin for Flex.IBM demonstrated it
at MAX.Had highlighting, color coding, some wysiwyg editing, and
debugging.
Sam
---
Blog:
You're missing ## around the cfc instance name inside the cfinvoke tag.By
leaving this out you're creating a new generator in each loop and it's being
seeded with the same number and producing the same results for several
iterations.This is exactly the problem we were talking about earlier with
Because passing a seed that is only accurate to the second will cause
duplicate numbers in a high volume site.
Read this thread:
http://www.houseoffusion.com/cf_lists/index.cfm?method=messagesforumid=4th
readid=30056
HTH,
Sam
---
Blog:
With the code you posted, you only need 2 hits in the same second to get
repeat numbers.That's not all that busy.
We're not talking about truly random numbers, just small simple measures to
take over the built in functions to avoid immediate repeats.
Sam
The code
Selection.InsertBreak Type:=wdPageBreak
Is not a property setting but a method call.The equivalent code in
CFScript would be
wordDoc.Selection.InsertBreak(7);
I'm not sure why the convention in VB is to use named parameters here since
there is only one parameter.
That said, Ian is
When either rand() or randRange() is used for the first time in a request, a
random number generator is instantiated using the value of getTickCount() as
the seed.This same random number generator is used for all rand(),
randRange(), and randomize() calls for the remainder of the request.
So,
Even if you don't have specific versions for your web apps, version controls
is invaluable for it's concurrency (multiple users editing files) and
history features.We use CVS for all our apps, including CF apps, and love
it.
Version control is also linked with quality control in a way.You can
If you're open to options other than automation, take a look at these links:
Integrating ColdFusion with Microsoft Office: Breezo and examples
http://www.rewindlife.com/archives/000118.cfm
Serving Word
http://www.rewindlife.com/archives/32.cfm
HTH,
Sam
Here's a preso with examples.
http://www.rewindlife.com/archives/16.cfm
HTH,
Sam
---
Blog: http://www.rewindlife.com
Charts: http://www.blinex.com/products/charting
---
-Original Message-
The CFMX implementation only supports returning an array of elements, not
attributes.
Sam
---
Blog: http://www.rewindlife.com
Charts: http://www.blinex.com/products/charting
---
-Original Message-
Can't give you a complete answer but a part of one.
It has something to do with interfaces.CFMX requires the IDispatch
interface and something I read in a forum from a tech support person is that
.NET components don't expose this by default.The .NET docs indicate that
.NET COM wrappers are in
.NET does not natively support COM.Whenever you talk about using .NET with
COM you are by definition using wrappers.So what Matt said is completely
true.
His Black Knight product works differently through a direct C interface used
by CFX tags.Has some advantages and disadvantages and is certainly
Duane,
You can sign up as a telemarketer and download the list as either a flat
file or an XML file.
https://telemarketing.donotcall.gov/default.aspx
More information here:
http://www.ftc.gov/bcp/conline/pubs/alerts/dncbizalrt.htm
You get five area codes free or have to pay $25 per area code,
If you're building a desktop app then you should use a language and
environment that supports desktop development--CF is a web development
language.
You can use a Flash or Director projector and store the data in XML on the
CD.Of course there are tons of other options, Java, VB6, any .NET
Make sure clob datatypes are turned on for the datasource in CFAdmin.
Sam
---
Blog: http://www.rewindlife.com
Charts: http://www.blinex.com/products/charting
---
-Original Message-
From: Dwayne
Interesting that there was no mention of the Active Content/Eolas issue;I
guess that change isn't in this update.Anyone have more
details/confirmation?
Sam
---
Blog: http://www.rewindlife.com
Charts: http://www.blinex.com/products/charting
Yuck, _ has got to be the worst function name I've ever seen.
:-)
Sam
---
Blog: http://www.rewindlife.com
Charts: http://www.blinex.com/products/charting
---
-Original Message-
From: Jochem van
Best option is Screenweaver.http://www.screenweaver.com/index.cfm?nav=0
If building an app that needs to work both as desktop and online, you can
write your own intermediary communication classes that determine the runtime
environment and either send out to screenweaver for local database access
1 - 100 of 254 matches
Mail list logo