Re: Return id after insert

2004-12-12 Thread S . Isaac Dealey
 S. Isaac Dealey wrote:
 I'm just saying that if the table being inserted into
 contains a

 no what you said was any session cross the server. that's
 wrong.

I was pretty sure I had corrected myself, but that's neither here nor
there...

 Do you not consider Oracle a major db? Oracle has
 sequences which are
 not the same thing. The problem with identities using SQL
 Server is

 oracle sequences are similar enough to include them.
 probably safer
 than identiy column in that you have to call them before
 use, but it
 still requires a bit of thought on the developers part
 same as identity.

 that they're only useful / helpful during the insert --
 they're a
 hideous, horrible, awful nightmare if you ever have to
 try and migrate

 yes but that's not a very common occurance. idents work
 well enough for
 the most part.

Heh... well my own personal experience is that if something is a
nightmare, I will automatically need to use it frequently, no matter
how infrequently anyone else uses it. :P

s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477DE=1
http://www.sys-con.com/story/?storyid=45569DE=1
http://www.fusiontap.com


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187248
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Auto appending of CFID and CFTOKEN in application.cfm

2004-12-12 Thread J M
Hi,
I am retooling a large CF site and need to append the CFID and CFTOKEN to each 
request as XPSP2 has locked out a lot of users who aren't allowing cookies.

There are too many pages to start digging through the links and forms to add 
the URLTOKEN (unless I really need to). Is it not possible to add some code to 
application.cfm to automatically do this? I tried with no success and received 
an invalid characters in the CFID or CFTOKEN message.

Any info appreciated.

JW 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CFMX + MySQL Query Problem

2004-12-12 Thread Marco Antonio C. Santos
Jamie

what you need?

Cheers

Marco


On Sat, 11 Dec 2004 21:25:39 -0400, Jamie Price [EMAIL PROTECTED] wrote:
 I know that this sounds like a pretty wild problem, but I would REALLY 
 appreciate any help you guys could give - I've been putting my head through a 
 wall for about two weeks trying to get this function right.  If you need 
 clarification on anything, just let me know.  Thanks!
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187250
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Will Tomlinson
I'm going to bring this one in from the Blackstone Beta thread yesterday 
because I think we all need to talk about this. I'm not going to rehash most of 
what's been said in that thread. 

ASP.NET is taking market away from CF! WHY? Will Blackstone fix the shift 
that's taking place? I say no! CF is still outrageous to purchase. The 
licensing for the .NET SDK is free as is the licensing to deploy. I'm not 
trying to attack CF here, I'm really not. I'm just trying to wake people up, 
because I think we've been lulled to sleep by Blackstone. Blackstone is not 
equivalent to .NET in power and performance. Yeah, maybe it's easy for us to 
code our simple CFML, and yeah that cfdocument is pretty neat, but there are 
a few factors making CF'ers like me change hats, and put on the .NET one! Will 
MM ever come up with a true development language like .NET? Are they going to 
keep putting more icing on the same cake, while Microsoft bakes fresh ones?

I'll plug Tim Uzzanti's comments below. I think the man would know something 
about the subject, plus he'll tend to be more honest since he's not on our side 
of the business.  

One more thing. Please don't attack me! I'm just the messenger!

Tim Uzzanti:
If you believe CF can handle the same traffic loads that .NET can handle, then 
you are completely confused on the technologies and their infrastructure. I 
have no idea if 75% of fortune 100% companies use CF, I would love to see some 
documentation for that, but the Fortune 100 companies ARE NOT the Top 100 sites 
on the Internet either!

Asking someone who maintains and manages 10,000 hosted applications on Cold 
Fusion and someone who manages thousands of .NET applications would probably 
give you a pretty good opinion of what they see? Is it in my BEST interest to 
tell a customer not to use CF, or is it in my best interest to suggest what 
might be the best technologies from my experiences on their requirements?

Someone mentioned ediet.com which has a traffic ranking of around 280,000 and 
in comparison CrystalTech is around 23,000. Microsoft.com which is in the top 
10 is using ASP.NET and Dell.COM which is in the top 100 is also using ASP.NET

Regarding the back end of Cold Fusion: CFMX is much better than CF5 but still 
has many limitations and quirks that we have see and deal with every day. I am 
not saying that CF doesn’t have the ability to grow with larger sites because 
it has features like the ability to cluster machines and the classes are 
compiled etc. What I am saying is, if you would like to build an application 
that can last longer on certain hardware or run more optimally, CF is not the 
way to go! Cold Fusion MX out of the box has a setting to support no more than 
10 simultaneous requests at one time. Macromedia suggestions that you never 
exceed 40 and this isn’t optimal for a large scale sites. There are other 
settings and issues from a server administration standpoint that hinder CFMX 
from out performing .NET

There are other factors that one needs to think about when writing an 
application. Think about the ability to use Threads in .NET. Depending on your 
application, sitting and processing 10 requests back to back may take 5 minutes 
but if you had the ability to run the 10 tasks concurrently you may be able to 
respond back to the customer in 30 seconds. You have to realize, .NET isn’t 
just a web based language, it is a Development language for desktop and server 
applications as well. CrystalTech uses SmarterMail which is built on the .NET 
and it outperforms all other mail servers that are built on C and C++.

One last comment that I would also provide to a potential customer who may want 
to move from a shared environment to a dedicated environment is that you will 
need to purchase a license for CFMX. If this is a large site and will expand to 
multiple servers then they will need to purchase a $4,500 license possibly x 
2... Again, this isn't something that affects CT, but would affect the 
customer...




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Blog! I think I'm ready.

2004-12-12 Thread Jake .
If you want a ColdFusion solution, then try my BlogFusion: www.countersinkdg.com

Jake

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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


Re: Blackstone Beta

2004-12-12 Thread Joe Rinehart
The price of one copy of CF Pro Server and DW MX 2004 is about the
cost of one copy of Visual Studio Enterprise Developer.

-joe

On Sun, 12 Dec 2004 08:53:45 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
 Ferrari's are fussy and very expensive to run so that's probably a
 very good analogy...
 
 
 Sean,
 
 Are you saying CF isn't fussy? And CF isn't more expensive than .NET? I'd 
 really love to know.
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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


Re: Blackstone Beta

2004-12-12 Thread Aaron Rouse
Can't Visual Studio be had via some of M$'s programs along with a ton
of other software and at a rather large discount?  I once recall
someone pointing out how M$ wants developers so that their server
products get used more and because of this that is why they make it
possible to get the development tools severely discounted in said
programs.  Sorry I do not know the actual names of the things, never
looked hard enough into it all since never had the need.


On Sun, 12 Dec 2004 07:04:28 -0800, Joe Rinehart [EMAIL PROTECTED] wrote:
 The price of one copy of CF Pro Server and DW MX 2004 is about the
 cost of one copy of Visual Studio Enterprise Developer.
 
 -joe
 
 On Sun, 12 Dec 2004 08:53:45 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
  Ferrari's are fussy and very expensive to run so that's probably a
  very good analogy...
 
 
  Sean,
 
  Are you saying CF isn't fussy? And CF isn't more expensive than .NET? I'd 
  really love to know.
 
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Blog! I think I'm ready.

2004-12-12 Thread Mark Drew
Or if you cant host it yourself, try http://www.blogger.com 

Regards

Mark Drew


On Sat, 11 Dec 2004 22:56:45 -0500, Joe Rinehart [EMAIL PROTECTED] wrote:
 http://www.camdenfamily.com/morpheus/blog/ - my tools - blog
 
 download it, read the readme, be happily blogging in a few minutes.
 
 
 On Sat, 11 Dec 2004 21:41:00 -0500, Dwayne Cole [EMAIL PROTECTED] wrote:
  I'm ready to set up my own blog. Can any one point me in the right 
  direction.
 
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187253
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Joe Rinehart
Will,

This is probably not a good place for this discussion.  It's CF-Talk,
not CF-Bash.

 ASP.NET is taking market away from CF! WHY? 

Are you sure?  Do you have numbers for that?  Either way, you're
probably right, but if so, can you show that it's for any
technological reasons other than the gullibility of IT managers when
it comes to the Microsoft marketing machine?

Secondly, would we _want_ ColdFusion to have the same market share as
ASP.NET?  Macromedia (compared to MS) is a fairly small company. 
Almost nothing is as dangerous to small companies as over-rapid
expansion.  They do what they do (provide a great server product to a
somewhat niche market), and do it well.  If their market share tripled
overnight, do you think the company could keep up its standards?

 Will Blackstone fix the shift that's taking place? I say no! 
 CF is still outrageous to purchase. 

This is a shortsighted statement.  For most purposes, TCO for CF is
usually lower.  Its development tools are cheaper, and work tends to
get done much faster.  For any decent company, the price of CF is
small potatoes compared to the price of getting an application
developed on any platform.

 The licensing for the .NET SDK is free as is the licensing to deploy. 

To quote a great author, TANSTAAFL - There Ain't No Such Thing As A
Free Lunch.  .NET is not free as in beer.  You don't think the price
of your Windows license was built into the price of your server?

 I'm not trying to attack CF here, I'm really not. I'm just trying to 
 wake people up, because I think we've been lulled to sleep by Blackstone. 

I think I'm pretty well awake - I've been developing for both CF and
.NET for a while now, and would like to think that I have more insight
into both worlds than most.

 Blackstone is not equivalent to .NET in power and performance. 

Well, that's because comparing CF and .NET is an apples-to-oranges
comparison.  .NET can be compared to Java, and ASP.NET can be compared
to CF.  Java is easily as powerful as .NET, if intrinsically more so
because of its ability to perform like tasks across multiple
platforms.

To me, CF is more power in ASP.NET in that it gives developers an
easier way to abstract and build n-tiered applications through CFCs,
opposed to ASP.NET's forcing classic ASP developers to learn VB.NET
or C#  in order to build a decently architected application (on a
basic level, meaning they don't so SQL in their code-behind).

 Yeah, maybe it's easy for us to code our simple CFML, 
 and yeah that cfdocument is pretty neat, but there are 
 a few factors making CF'ers like me change hats, 
 and put on the .NET one! 

Yes, it is very easy to develop applications that do things our
clients want in CF, and Macromedia identifies things that are
difficult (like generating PDFs) and makes a point of simplifying them
in later releases.

 Will MM ever come up with a true development language 
 like .NET? 

1.  .NET isn't a language.
2.  If you mean platform, why would they? Why abandon using one of the
largest and most robust frameworks available (Java)?

 Are they going to keep putting more icing on 
 the same cake, while Microsoft bakes fresh ones?

CFMX was a very fresh cake, not using the core of CF version 1-5.

ASP was a stale cake - Microsoft got behind in the market and put some
new icing on (gag) VB, and called it an application server.

I'll agree that ASP.NET has some very fresh ideas, but even
Microsoft is rolling back on some of them.  The code-behind model
isn't popular with a lot of 'classic' ASP developers, and we're
starting to see support for code-inside and code-beside creep back in.

-joe

-- 
For Tabs, Trees, and more, use the jComponents:
http://clearsoftware.net/client/jComponents.cfm

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187257
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX + MySQL Query Problem

2004-12-12 Thread Jochem van Dieten
Jamie Price wrote:
 
 ...which is close, but no cigar. I need to get rid of those 'blank' entries, 
 plus I need to arrange it so what's left comes out like this: 
 
 Quote: 
 UserID: 3 
 Owns Cards: 41001152 
 
 UserID: 8 
 Owns Cards: 41001151 
 
 UserID: 9 
 Owns Cards: 41001151 
 
 UserID: 13 
 Owns Cards: 41001151, 41001152 

 UserID CardId Own Trade 
 3 41001152 1 0 
 7 41001151 0 1 
 7 41001152 0 1 
 7 41001102 0 1 
 7 41001101 0 1 
 7 41001154 0 1 
 7 41001153 0 1 
 8 41001151 1 0 
 9 41001151 1 0 
 13 41001151 1 0 
 13 41001152 1 0 

SELECT   o.UserID, GROUP_CONCAT(o.CardID)
FROM mycards t INNER JOIN mycards o ON t.cardid = o.cardid
WHEREt.trade = 1
  AND
  o.own = 1
  AND
  t.UserID = cfqueryparam value=#cUserID# 
cfsqltype=cf_sql_integer
GROUP BY o.UserID

Jochem

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187258
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Blackstone Beta

2004-12-12 Thread Mark Drew
I thought I would research this a bit

A Server + Development tools

CF MX 6.1 Enterprise: US $ 5999 (you get a $100 rebate at the moment so $5899)
Dreamweaver MX US $ 399 (and you get a $100 on this too!)

Total: $6198


.NET

Visual Studio .NET 2003 Enterprise Architect  $1,799 US
or 
Visual Studio .NET 2003 Enterprise Developer $1,799 US
or
Visual Studio .NET 2003 Professional Special Edition $799 US

What else would you need?  (ok.. windows server licence and Database
but you need this for both anyway so we dont add it to the mix)


Thats the clever market penetration that MS does. It provides the
platform and charges for the tools.

It is a sad fact that a lot more companies are going .NET and ASP.NET
because its All from Microsoft so we only need one supplier


I love coding in CF, it provides a lot of things in the right way and
marries it to Java (oh.. Java is pretty much free  even as app servers
are concerned)

MD



On Sun, 12 Dec 2004 07:04:28 -0800, Joe Rinehart [EMAIL PROTECTED] wrote:
 The price of one copy of CF Pro Server and DW MX 2004 is about the
 cost of one copy of Visual Studio Enterprise Developer.
 
 -joe
 
 On Sun, 12 Dec 2004 08:53:45 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
  Ferrari's are fussy and very expensive to run so that's probably a
  very good analogy...
 
 
  Sean,
 
  Are you saying CF isn't fussy? And CF isn't more expensive than .NET? I'd 
  really love to know.
 
 
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187259
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Blackstone Beta

2004-12-12 Thread Joe Rinehart
Hey Aaron,

Yep, there are discount programs.  They require a small portion of your soul :)

Actually, yes, MS is trying to make things more accessible.  There are
light versions of VS 2005 Beta available for free, and there are
programs like MSDN that have a price tag attached.


On Sun, 12 Dec 2004 09:16:58 -0600, Aaron Rouse [EMAIL PROTECTED] wrote:
 Can't Visual Studio be had via some of M$'s programs along with a ton
 of other software and at a rather large discount?  I once recall
 someone pointing out how M$ wants developers so that their server
 products get used more and because of this that is why they make it
 possible to get the development tools severely discounted in said
 programs.  Sorry I do not know the actual names of the things, never
 looked hard enough into it all since never had the need.
 
 
 
 
 On Sun, 12 Dec 2004 07:04:28 -0800, Joe Rinehart [EMAIL PROTECTED] wrote:
  The price of one copy of CF Pro Server and DW MX 2004 is about the
  cost of one copy of Visual Studio Enterprise Developer.
 
  -joe
 
  On Sun, 12 Dec 2004 08:53:45 -0400, Will Tomlinson [EMAIL PROTECTED] 
  wrote:
   Ferrari's are fussy and very expensive to run so that's probably a
   very good analogy...
  
  
   Sean,
  
   Are you saying CF isn't fussy? And CF isn't more expensive than .NET? I'd 
   really love to know.
  
  
 
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187260
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Web services ok for sensitive data?

2004-12-12 Thread Will Tomlinson
Is a web service feasible for sensitive data? Like passing sensitive data to 
the service?

I don't know enough about them, but I'd think not.  

Thanks,
Will

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Blackstone Beta

2004-12-12 Thread Will Tomlinson
The price of one copy of CF Pro Server and DW MX 2004 is about the
cost of one copy of Visual Studio Enterprise Developer.


I don't use Visual Studio, I use Web matrix, which is free. 
Let's talk about deployment instead

Does 6K ring a bell?

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187263
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Blackstone Beta

2004-12-12 Thread Joe Rinehart
Heheheh, I think I'll pass, Jochem.

Your comment proves a point I should've made stronger - up-front
software license costs are fluid, and not a very good basis for
decision making.

-joe



On Sun, 12 Dec 2004 16:51:06 +0100, Jochem van Dieten
[EMAIL PROTECTED] wrote:
 Joe Rinehart wrote:
  The price of one copy of CF Pro Server and DW MX 2004 is about the
  cost of one copy of Visual Studio Enterprise Developer.
 
 The only relevant question when comparing prices is Who do you
 want to be cheaper?.
 
 I can easily argue that Eclipse, Linux, PostgreSQL and Bluedragon
 is cheaper then Visual Studio, Windows and MS SQL Server. I can
 also argue that Dreamweaver, Windows, MS SQL Server and CF MX
 Enterprise is more expensive as Visual Studio, Windows and MS SQL
 Server.
 Feel free to do the math yourself for all the possible
 combinations :-)
 
 Jochem
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187264
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Blackstone Beta

2004-12-12 Thread Joe Rinehart
6k?  If you're an organization that actually needs CF Enterprise, it
shouldn't be a very big bell.

See my reply to Jochem.

-joe



On Sun, 12 Dec 2004 10:58:43 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
 The price of one copy of CF Pro Server and DW MX 2004 is about the
 cost of one copy of Visual Studio Enterprise Developer.
 
 
 I don't use Visual Studio, I use Web matrix, which is free.
 Let's talk about deployment instead
 
 Does 6K ring a bell?
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187265
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Blackstone Beta

2004-12-12 Thread Will Tomlinson

Your comment proves a point I should've made stronger - up-front
software license costs are fluid, and not a very good basis for
decision making.


There's the rub with CF. I agree with what you're saying, but then I have to 
explain to my small-medium sized clients this concept. You have to SELL them on 
CF. Do you do it by saying, the code is so much easier, and I'll have less 
development time involved in your project because of it? The small - medium 
guys are listening to me and looking at 6K up front! 

Is a shift to .NET taking place because clients aren't being *SOLD* on CF? 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: [OT] Fck... Profane? was fck editor 2.0 RC

2004-12-12 Thread Matt Robertson
What Mike said super-important.  Its something I learned way back when
I was writing ad copy and building the ads (in Xerox Ventura Publisher
1.0; running on that super-cool GEM gui).

People perceive mixed case text strings one word at a time.  They
perceive all caps one letter at a time.  Processing and recognition
for mixed case strings (i.e. a sentence) is thus quite a bit faster
than all caps and hence its a lot easier to read/sink in.

So if you wanted people to actually read copy of even moderate length
you mixed-cased it.  If you wanted to blast them with a 3-10 letter
word in 28 pt type that was the only time for uppercase.

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187267
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Blackstone Beta

2004-12-12 Thread Joe Rinehart
I think it could be because people are being sold on .NET everywhere they look.

Why are you only selling people on enterprise?  Most small and medium
places are _fine_ with cf pro.

-joe


On Sun, 12 Dec 2004 11:21:58 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
 
 Your comment proves a point I should've made stronger - up-front
 software license costs are fluid, and not a very good basis for
 decision making.
 
 
 There's the rub with CF. I agree with what you're saying, but then I have to 
 explain to my small-medium sized clients this concept. You have to SELL them 
 on CF. Do you do it by saying, the code is so much easier, and I'll have less 
 development time involved in your project because of it? The small - medium 
 guys are listening to me and looking at 6K up front!
 
 Is a shift to .NET taking place because clients aren't being *SOLD* on CF?
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

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


Re: fck editor 2.0 RC

2004-12-12 Thread Matt Robertson
Rick,

CFFM only disallows extensions?  It doesn't do MIME checking?  As in
cffile's ACCEPT parameter?

The uploader I wrote for FCK 1.x added mime type checking.  Rather
than disallowing a specific list, it was then able to only *allow* a
specific list.  Not the same thing and a better way to go imho.  I
also used cgi.content_length to limit file upload size.  Imperfect I
know (the file has to arrive at the server in tmp form to measure it)
but the best I could do.

What I did was allow the developer to specify a list of acceptable
MIME types, comma-delimited, which then defined what images could be
uploaded in the image dialog, and what files could be uploaded in the
link dialog.

That link dialog is something that hasn't gotten any attention here
and is a huge boon.  Lets users upload pdfs, word docs, whatever you
specify in your acceptable MIME type list.  Its something my users had
been screaming for literally for years and one of the major elements
in deciding to start relying on FCKEditor.

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187269
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Blackstone Beta

2004-12-12 Thread Jochem van Dieten
Joe Rinehart wrote:
 The price of one copy of CF Pro Server and DW MX 2004 is about the
 cost of one copy of Visual Studio Enterprise Developer.

The only relevant question when comparing prices is Who do you 
want to be cheaper?.

I can easily argue that Eclipse, Linux, PostgreSQL and Bluedragon 
is cheaper then Visual Studio, Windows and MS SQL Server. I can 
also argue that Dreamweaver, Windows, MS SQL Server and CF MX 
Enterprise is more expensive as Visual Studio, Windows and MS SQL 
Server.
Feel free to do the math yourself for all the possible 
combinations :-)

Jochem

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187261
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: fck editor 2.0 RC

2004-12-12 Thread Rick Root
Matt Robertson wrote:
 
 CFFM only disallows extensions?  It doesn't do MIME checking?  As in
 cffile's ACCEPT parameter?

Since the browser is really what determines the mime type, couldn't I 
configure my system to think that .cfm files were of type image/jpeg? 
Thus allowing me to upload .cfm files to the server?  At the very least, 
you could hack around with perl to do a file upload with a faked mime 
type header

At least with extension monitoring, if a .cfm file gets on the server, 
it gets the axe.

Additionally, when unzipping files on the server or creating new files 
on the server (as CFFM allows users to do), there are no mime types.

Oh, and I just released 0.98b which includes the allowedExtensions 
configuration option.  So you can restrict uploads to just .gif, .png, 
jpg, etc..


  - Rick

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

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


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Spike
Will Tomlinson wrote:
 I'm going to bring this one in from the Blackstone Beta thread yesterday 
 because I think we all need to talk about this. I'm not going to rehash most 
 of what's been said in that thread. 
 

Glad you're not planning on going over what was said yesterday. There 
was very little light shed by either yourself or anyone else in that thread.

 ASP.NET is taking market away from CF! 

Do you have the hard market numbers to back up that statment, or is it 
what you've seen and heard?

WHY? Will Blackstone fix the shift that's taking place? I say no! CF is 
still outrageous to purchase.

I disagree with this. A ColdFusion license costs from $1199. A junior 
developer costs say $25 per hour. So a ColdFusion license equates to 48 
hours or so of developer time over the lifetime of the license. That's 
just over a week's worth of work. If there's you can save a week's worth 
of development time over the whole time you have the license, it will 
pay for itself.

The licensing for the .NET SDK is free as is the licensing to deploy.

Development licenses for CF are free and have been for quite a while. 
The license cost of CFMX is a tiny fraction of most project costs in any 
case. As is the cost of the windows license for ASP.NET. and the cost of 
any developer tools that you may need.

I'm not trying to attack CF here, I'm really not. I'm just trying to 
wake people up, because I think we've been lulled to sleep by Blackstone.

What exactly are you trying to wake people up to? That ASP.NET is 
getting a lot of media attention, and that some companies are moving 
there from ColdFusion? That's hardly news. There's been switching going 
on ever since I started using ColdFusion 7 years or so ago. The truth is 
that there will always be some .NET only environments, there will always 
be some PHP only environments, there will always be some CF only 
environments, and there will always be some who use a mixture.

Blackstone is not equivalent to .NET in power and performance.

Can you point me to something that claims that it is? I don't think I've 
ever seen anyone make that statement, so I'm curious where you came up 
with it.

Yeah, maybe it's easy for us to code our simple CFML, and yeah that 
cfdocument is pretty neat, but there are a few factors making CF'ers 
like me change hats, and put on the .NET one!

I hope it works out well for you.

I'll be sticking with Java and CFML for now. I've used ASP.NET and I 
can't say I liked either the IDEs or the language.

Will MM ever come up with a true development language like .NET?

God help us all if they do. CFMX on J2EE gives me all the power I need. 
If there's something that I can't easily do in CFML I write it in Java 
and call that from CFML.

Are they going to keep putting more icing on the same cake, while 
Microsoft bakes fresh ones?

Macromedia are adding features based on the requests from their 
customers. If the customers want icing, I guess icing is what they'll get.

 
 I'll plug Tim Uzzanti's comments below. I think the man would know something 
 about the subject, plus he'll tend to be more honest since he's not on our 
 side of the business.  
 
 One more thing. Please don't attack me! I'm just the messenger!
 


Tim has plenty to say about the performance of .NET vs CFMX, but nothing 
to say about the aspects of CFMX that make it a better value proposition 
when looking at the bigger picture.

I use CFML because it has a very rapid development time and that cuts 
the cost of development and maintenance. Since more than 70% of the cost 
for the vast majority of software projects is in development and 
maintenance I think that speaks for itself. The truth is that for the 
overwhelming majority of applications absolute performance is not the 
factor that should be used to determine the platform on which the 
application should be built. Certainly there are some, but they are the 
exception rather than the rule.

I've worked with a *lot* of ColdFusion applications that were run on 
anything from shared hosting to clustered servers and I've yet to 
experience a problem with performance that was caused by the underlying 
application server rather than poorly written code. In any case, if your 
site is so overwhelmed with requests that a single server can no longer 
handle the load, I'd be extremely surprised if the cost of another 
server and CFMX license was of any consequence compared to the cashflow 
that your organization was already handling.

 Tim Uzzanti:
 If you believe CF can handle the same traffic loads that .NET can handle, 
 then you are completely confused on the technologies and their 
 infrastructure. I have no idea if 75% of fortune 100% companies use CF, I 
 would love to see some documentation for that, but the Fortune 100 companies 
 ARE NOT the Top 100 sites on the Internet either!
 
 Asking someone who maintains and manages 10,000 hosted applications on Cold 
 Fusion and someone who manages thousands of .NET 

Re: Web services ok for sensitive data?

2004-12-12 Thread Will Tomlinson
Thanks so much Barney. 

Will

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187274
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Blackstone Beta

2004-12-12 Thread Jim Davis
 -Original Message-
 From: Mark Drew [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 12, 2004 10:33 AM
 To: CF-Talk
 Subject: Re: Blackstone Beta
 
 What else would you need?  (ok.. windows server licence and Database
 but you need this for both anyway so we dont add it to the mix)

Just play devil's advocate: you do not need a windows license for both.  You
may, for example, run CF on Linux.

Dreamweaver does, indeed, need either a Windows OR Mac license, however
DreamWeaver is not the only (and often not considered the best) way to code
CF.  Eclipse will also run on Linux and is considered by many the preferred
platform for CF development.

Jim Davis



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: fck editor 2.0 RC

2004-12-12 Thread Matt Robertson
But isn't the CFFILE ACCEPT parameter a more sound way to govern file
acceptability than a simple extension check?  Sure on any given day
anything can be spoofed, but someone with a much higher knowledge
level would have to be making the attempt.

I've seen literally dozens of attempts to send up bad file types,
followed by manipulation of the extension (I set up the uploader to
email me when such things happen, with details).  These aren't
malicious users, but dopey, headstrong ones who want to get their way
or think the program is broken and they have this magic way to fix it
(instead they got a supervisory reprimand in their employee jackets). 
They were typical cms users: staffers with just barely enough
knowledge to be dangerous, but no more.

If I'm understanding you right and you're only doing extension checks
it just seems that you're not using an important feature of cffile. 
Using both features would be ideal but on a given day with a typical
user I'd say cffile accept= was a lot more powerful piece of
protection.

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187276
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Blackstone Beta

2004-12-12 Thread Jim Davis
 -Original Message-
 From: Joe Rinehart [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 12, 2004 11:02 AM
 To: CF-Talk
 Subject: Re: Blackstone Beta
 
 6k?  If you're an organization that actually needs CF Enterprise, it
 shouldn't be a very big bell.

Yes - I would agree.  I've seen very few places that NEED Enterprise as
well.

And if you do need enterprise you're probably used to spending much, must
more for software (compare, for example, the licensing costs of Oracle or
Websphere to CF).

Jim Davis



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187277
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


IIS questions

2004-12-12 Thread Michael Dinowitz
In the home directory/configuration/app options there are three checkboxes. 
They are normally turned on and seem to only have anything to do with Asp. Is 
there any known reason to have them checked on if the server is set to CF only 
(all asp type extensions removed)?

I'm finalizing the move to 100% CF 7 today for the HoF server and want to be as 
sure as possible with things.

Thanks

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187280
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Sean Corfield
On Sun, 12 Dec 2004 08:16:04 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
 I'm not going to rehash most of what's been said in that thread.

Er, sure you are. You even repeated Tim Uzzanti's quote *in* *full*!
It's not a case of right or wrong, just that you're not going to get
everyone to agree with you so give it up. Please!

 ASP.NET is taking market away from CF!

As others have said: where is your proof? I don't think you'll find
anything more than anecdotal evidence to support that claim especially
since several studies have shown a healthy growth in CF over the last
year or two. Read a bit further and you'll see that there's a lot of
evidence that Java is still doing much better than .NET - which is
part of the reason behind Microsoft's back-pedalling on a number of
.NET and Longhorn related issues: they're just not seeing .NET be as
successful as they'd planned.

 CF is still outrageous to purchase. The licensing for the .NET SDK is free as 
 is the licensing to deploy.

As others have said: deployment costs are such a minimal part of most
projects. You need to consider the Total Cost of Ownership over the
lifetime of the software.

 I'm not trying to attack CF here, I'm really not.

Uh-huh?

 I'm just trying to wake people up, because I think we've been lulled to sleep 
 by Blackstone.

I think you do a great disservice to people on this list - and the CF
community in general - by accusing them of being asleep!

 Will MM ever come up with a true development language like .NET?

.NET is not a language. .NET is more comparable to J2EE. You know
J2EE? The platform that CFMX runs on? And those other folks have most
of CFML running on .NET. Try and get your facts straight and compare
like to like.

 I'll plug Tim Uzzanti's comments below.

Again. Yawn!

 Someone mentioned ediet.com which has a traffic ranking of around 280,000 and 
 in comparison CrystalTech is around 23,000. Microsoft.com which is in the top 
 10 is using ASP.NET and Dell.COM which is in the top 100 is also using ASP.NET

Looks like these numbers come from Alexa (which many people think has
pretty suspect numbers but...). According to Alexa, Macromedia is
ranked about 180 and uses... CFMX! I bet there are quite a few high
traffic sites using CFMX. If you look at the top 200 sites, you'll see
all manner of technologies... You can't draw any conclusions from
that. People can easily write ASP.NET sites that don't scale just like
they can in CFML. But you can also build highly-scalable sites in CFML
- as Ben pointed out, most of the issues preventing scalability are
either bad code or bad configuration (and that's true of all
technologies).

 There are other factors that one needs to think about when writing an 
 application. Think about the ability to use Threads in .NET. Depending on 
 your application, sitting and processing 10 requests back to back may take 5 
 minutes but if you had the ability to run the 10 tasks concurrently you may 
 be able to respond back to the customer in 30 seconds.

Damon demonstrated Blackstone's ability to run concurrent threads -
see his blog. A sequential task that took 20+ seconds could be run by
Blackstone in 2-3 seconds using concurrent execution.

 You have to realize, .NET isn't just a web based language, it is a 
 Development language

*sigh* Tim clearly doesn't realize that .NET isn't a *language* at all...

I have this horrible feeling this one will run and run... :)
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187282
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: select next/previous *record*?

2004-12-12 Thread Jeff Small
I have an application where the user selects a record via a key
 lookup, and then that record is displayed individually.  From there I
 want to be able to click a '' button to go to the previous record in
 the sequence, or a '' to go to the next record, and continue to
 select records via this method as an alternative to the key lookup.
 
 I did this in an entirely different environment where I was able to
 use native controls that allowed straight up SELECT NEXT and SELECT
 PREVIOUS commands, where I was also able to throw those commands into
 a loop for fast forward and rewind as well.  Don't expect to get that
 in the web world, but I need the next/previous.
 
 I think I can come up with something, but the convolutions necessary
 to make it work are making my head hurt.  Is there something simple
 and obvious I have missed on this (for me) Sunday morning?.

Quick question...are ya using DreamweaverMX?


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187284
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: select next/previous *record*?

2004-12-12 Thread Matt Robertson
Thanks Barney, thats *exactly* what I was looking for!


-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com


On Sun, 12 Dec 2004 11:12:27 -0800, Barney Boisvert [EMAIL PROTECTED] wrote:
 I'm not sure exactly what you're looking for, but if it's SQL, I've
 done this in the past:
 
 SELECT *
 FROM table
 WHERE id  #currentId#
 ORDER BY id DESC
 LIMIT 1
 
 for getting the previous item.  Just flipt the  to  and make the
 order ASC to get next record.  The LIMIT clause is MySQL's version of
 MS products' TOP clause.  If you want to fast forward, the LIMIT
 clause also specifies an offset, so you can do LIMIT 19, 1 to pull the
 20th item in the list.  With MS's TOP clause, you have to pull all 20,
 and then just look at the last one, I believe.
 
 cheers,
 barneyb
 
 On Sun, 12 Dec 2004 10:58:50 -0800, Matt Robertson
 
 
 [EMAIL PROTECTED] wrote:
  I have an application where the user selects a record via a key
  lookup, and then that record is displayed individually.  From there I
  want to be able to click a '' button to go to the previous record in
  the sequence, or a '' to go to the next record, and continue to
  select records via this method as an alternative to the key lookup.
 
  I did this in an entirely different environment where I was able to
  use native controls that allowed straight up SELECT NEXT and SELECT
  PREVIOUS commands, where I was also able to throw those commands into
  a loop for fast forward and rewind as well.  Don't expect to get that
  in the web world, but I need the next/previous.
 
  I think I can come up with something, but the convolutions necessary
  to make it work are making my head hurt.  Is there something simple
  and obvious I have missed on this (for me) Sunday morning?.
 
  --
  --Matt Robertson--
  President, Janitor
  MSB Designs, Inc.
  mysecretbase.com
 
 
 
 --
 Barney Boisvert
 [EMAIL PROTECTED]
 360.319.6145
 http://www.barneyb.com/blog/
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187285
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Jim Davis
Just a few comments.

 -Original Message-
 From: Will Tomlinson [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 12, 2004 7:16 AM
 To: CF-Talk
 Subject: CF vs ASP.NET! GET YOUR FRESH POPCON!!
 
 I'm going to bring this one in from the Blackstone Beta thread yesterday
 because I think we all need to talk about this. I'm not going to rehash
 most of what's been said in that thread.
 
 ASP.NET is taking market away from CF! WHY? Will Blackstone fix the shift

Apparently this doesn't seem matter (if it's true) as all reports from MM
indicate that CF sales have been steadily growing since the merger with most
sales to new customers.

In general the Web Application market is growing - there's plenty of room
for multiple vendors to see increases sales.

 that's taking place? I say no! CF is still outrageous to purchase. The
 licensing for the .NET SDK is free as is the licensing to deploy. I'm not

Macromedia simply does not have the resources to compete at this level, it's
true.  Microsoft (and a few others) can spend millions developing an
application or technology and give it away in hopes of selling tools and
OSs.

In MM's case CF development requires more.  For example take a look at the
pricing between CF Pro and CF Enterprise.  It's a tremendous difference,
yeah?  The core of that difference is not at MM however, but rather in the
cost of the licensing the third party components contained in the products.

MM can't give it away without dropping those third party extensions.
(This, by the way, is also one reason that BlueDragon CAN give it away -
they are still taking a development hit, no doubt, but there are fewer hard
costs associated)

That being said the question is why buy it?  Well, I've my reasons, but
the real answer is who cares? as people are buying it.  They obviously
have their reasons and the product gives them something (speed, features,
peace of mind or whatever) that they're willing to spend money on.

 trying to attack CF here, I'm really not. I'm just trying to wake people
 up, because I think we've been lulled to sleep by Blackstone. Blackstone
 is not equivalent to .NET in power and performance. Yeah, maybe it's easy

As Ben's mentioned the two are really not comparable as one is an
application framework and on is an application working on a framework.

CF is an application.  Say it with me: CF is an application.

Let's take your scenario to the extreme: .NET steamrolls the universe, Java
is crushed under it's wheels like gravel.  Do you know what you happen then?

ColdFusion would be moved to a .NET platform!  It's as simple as that.  When
the decision to move CF it a standard platform they quickly decided on Java
vrx .NET simply because that's the only way they could support their Linux
customers.

However if market needs dictated they could create CF for .NET summarily.
New Atlanta (with far resources that MM) has already done this, by the way.

 for us to code our simple CFML, and yeah that cfdocument is pretty neat,
 but there are a few factors making CF'ers like me change hats, and put on
 the .NET one! Will MM ever come up with a true development language like
 .NET? Are they going to keep putting more icing on the same cake, while
 Microsoft bakes fresh ones?

What could you mean here?  .NET isn't a development language.  .NET is a
framework that supports multiple development languages (VB and C# to name
two).  Are you comparing CF's tag-based development to them?

 I'll plug Tim Uzzanti's comments below. I think the man would know
 something about the subject, plus he'll tend to be more honest since he's
 not on our side of the business.

Two things here:

1) Even if CF could never, would never and can never have work with any
Fortune 100 companies, that still leaves several million websites that it
CAN work with.

2) You have to place his comments in context.  It may be fair to say that CF
applications running on the built-in server (JRUN) can't compete but CF
applications do not have to run on that server.

3) I respect his opinion, but prefer to see actual proof.  Also it strikes
me that this comment seems taken out of context.  As he notes, there is
definite confusion on the technologies infrastructure and this comment
doesn't illuminate that at all.
 
 Asking someone who maintains and manages 10,000 hosted applications on
 Cold Fusion and someone who manages thousands of .NET applications would
 probably give you a pretty good opinion of what they see? Is it in my BEST
 interest to tell a customer not to use CF, or is it in my best interest to
 suggest what might be the best technologies from my experiences on their
 requirements?

The latter of course.  Do as you think right by your customer.  However this
is a cut-and-dry answer.  I've been working in a fortune 50 for nine years
that benefits greatly from CF (even when they don't want to admit it) and
have worked with dozens of smaller (and a coupla larger) companies that have
also benefited greatly.

 

Re: Auto appending of CFID and CFTOKEN in application.cfm

2004-12-12 Thread Stephen Cassady
I might be off my rocker - but are you implying that you are using cookie as 
the Default Storage Mechanism for Client Sessions? Could I suggest instead that 
you run all your client session requirements to a database instead?

I know that to create Search Engine Friendly URLs ( http://www.peoplefield.org 
and http://www.spankmag.com ) all my href links are actually a custom function 
I wrote so I can automatically append (and pre-append) items to a link (in this 
case adding the /p.htm to everything at the end, and a parsed vaiable to map to 
the correct directory structure, yes I know, not Fusebox sturcture :-) ). But I 
don't think you want to rewirite all your links in the code.

Can you expalain your problems more though about XPSP2? I've not had that 
problem (I think) and if I am, I would like to know more about what you are 
experiencing.

Stephen
http://www.Lopedia.com 
Canada is cold, so ColdFusion is natural to us!


 Hi,
 I am retooling a large CF site and need to append the CFID and CFTOKEN 
 to each request as XPSP2 has locked out a lot of users who aren't 
 allowing cookies.
 
 There are too many pages to start digging through the links and forms 
 to add the URLTOKEN (unless I really need to). Is it not possible to 
 add some code to application.cfm to automatically do this? I tried 
 with no success and received an invalid characters in the CFID or 
 CFTOKEN message.
 
 Any info appreciated.
 
 JW 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: select next/previous *record*?

2004-12-12 Thread Matt Robertson
 Quick question...are ya using DreamweaverMX?

Nope.  Another complication I didn't mentuion before is the user has
the ability to select which index is current, so they might be
indexing on ID, and cycling up and down thru the numbers, or one of
several other fields, such as Last Name.  I'm working thru that now. 
Don't see how it would work in the ID-based example.

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187288
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services ok for sensitive data?

2004-12-12 Thread Lewis Sellers
Will Tomlinson wrote:
 Thanks so much Barney. 

What Barney just said.

Some of them will use unencrypted HTTP, others will use standard HTTP 
(SSL) security. Some in fact, like PayPals WS API I just wrote a Java 
CFX to interface with will use custom security protocols. Just depends 
how it was implimented.

-- 
--Lewis Sellers (AKA min)
Intrafoundation Software
http://www.intrafoundation.com

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Micha Schopman
Both platforms have their own good and bad issues. I have been using CF since 
the first versions and since the .NET platform was marketed (and the management 
board showed twinkeling eyes, hey another Microsoft cashcow) also started using 
C#. I like both, unfortunately management has problems selling CF with bigger 
marges, and has none with .NET.
 
When switching to ASP.NET, keep in mind salaries will rise, costs will rise as 
well as the prices for an ASP.NET product. Even the simpliest smartass can make 
CF applications, but for C# development you need people with higher educations, 
the level of programming is just way higher in most cases.  
 
An often used argument for ASP.NET is also the way it forces better code. Due 
to compilation, syntax errors are history. Ofcourse other errors will stay, but 
you increase the quality of your code. For PHP this is also able but only in 
combination with Zend.
 
CF has big plusses on development speed (C# development time is indeed much 
more, especially bug solving needs alot of time because we experienced strange 
bugs platform dependent), but I just hope future releases will also look at 
profiling options, precompiling options (and thus filtering out the syntax 
errors before even testing), out of the box stability, and better use of 
multithreading (which is supported by the underlying architecture).
 
I saw someone asking if someone could prove .NET is faster, .. haven't you seen 
any benchmarks? My diff algorithm (using levensthein) is about 1000x faster in 
.NET and the CF code has been finetuned into it's most optimal form. CF 
ofcourse has it's plusses or else I would not use it, but CF cannot match .NET 
performance, neither can PHP, ASP, or even pure Java. Only C++ and C are 
quicker, people are even creating 3D games in C#.


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187290
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Ben Forta
I am not going to get sucked into a flame war here, but this one line just
begged a response ...

 Blackstone is not equivalent to .NET in power and performance.

Did you, by any chance, mean to compare J2EE to .NET, or were you really
displaying such an amazing lack of understanding as to what ColdFusion MX is
as to compare CF to .NET? I am hoping this was just a typo.

If you want to get into a .NET versus J2EE debate, go for it. There is no
winner or loser in that one, by the way.

And if CF does not scale, well, neither does IBM WebSphere, BEA WebLogic,
JRun, and the like. I assume that you did not mean to imply that.

Does that mean that ever CF application will scale well? Nope, not at all,
but well written ones will. In the past few weeks I have been personally
involved in several massive CF deployments that were failing under load, and
when the consulting team went in to find the causes each and every one of
the problems ended up being bad code or badly configured J2EE servers.

And no, I am not putting down .NET, .NET has lots going for it, as does
J2EE, as does CF. Pick one, pick multiple, pick them all, pick something
else altogether - whatever works best for you. But please avoid silly flame
rampage postings. They serve no one.

--- Ben



-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 12, 2004 7:16 AM
To: CF-Talk
Subject: CF vs ASP.NET! GET YOUR FRESH POPCON!!

I'm going to bring this one in from the Blackstone Beta thread yesterday
because I think we all need to talk about this. I'm not going to rehash most
of what's been said in that thread. 

ASP.NET is taking market away from CF! WHY? Will Blackstone fix the shift
that's taking place? I say no! CF is still outrageous to purchase. The
licensing for the .NET SDK is free as is the licensing to deploy. I'm not
trying to attack CF here, I'm really not. I'm just trying to wake people up,
because I think we've been lulled to sleep by Blackstone. Blackstone is not
equivalent to .NET in power and performance. Yeah, maybe it's easy for us to
code our simple CFML, and yeah that cfdocument is pretty neat, but there
are a few factors making CF'ers like me change hats, and put on the .NET
one! Will MM ever come up with a true development language like .NET? Are
they going to keep putting more icing on the same cake, while Microsoft
bakes fresh ones?

I'll plug Tim Uzzanti's comments below. I think the man would know something
about the subject, plus he'll tend to be more honest since he's not on our
side of the business.  

One more thing. Please don't attack me! I'm just the messenger!

Tim Uzzanti:
If you believe CF can handle the same traffic loads that .NET can handle,
then you are completely confused on the technologies and their
infrastructure. I have no idea if 75% of fortune 100% companies use CF, I
would love to see some documentation for that, but the Fortune 100 companies
ARE NOT the Top 100 sites on the Internet either!

Asking someone who maintains and manages 10,000 hosted applications on Cold
Fusion and someone who manages thousands of .NET applications would probably
give you a pretty good opinion of what they see? Is it in my BEST interest
to tell a customer not to use CF, or is it in my best interest to suggest
what might be the best technologies from my experiences on their
requirements?

Someone mentioned ediet.com which has a traffic ranking of around 280,000
and in comparison CrystalTech is around 23,000. Microsoft.com which is in
the top 10 is using ASP.NET and Dell.COM which is in the top 100 is also
using ASP.NET

Regarding the back end of Cold Fusion: CFMX is much better than CF5 but
still has many limitations and quirks that we have see and deal with every
day. I am not saying that CF doesn't have the ability to grow with larger
sites because it has features like the ability to cluster machines and the
classes are compiled etc. What I am saying is, if you would like to build an
application that can last longer on certain hardware or run more optimally,
CF is not the way to go! Cold Fusion MX out of the box has a setting to
support no more than 10 simultaneous requests at one time. Macromedia
suggestions that you never exceed 40 and this isn't optimal for a large
scale sites. There are other settings and issues from a server
administration standpoint that hinder CFMX from out performing .NET

There are other factors that one needs to think about when writing an
application. Think about the ability to use Threads in .NET. Depending on
your application, sitting and processing 10 requests back to back may take 5
minutes but if you had the ability to run the 10 tasks concurrently you may
be able to respond back to the customer in 30 seconds. You have to realize,
.NET isn't just a web based language, it is a Development language for
desktop and server applications as well. CrystalTech uses SmarterMail which
is built on the .NET and it outperforms all other mail servers that are

Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Matt Robertson
Z Z Z Z Z Z Z Z z z z z z z

*meemeemeemeemee*

Z Z Z Z Z Z Z Z Z Z Z Z Z z z z z z

*meemeemeemeemee*

***BUZ***

Wha?!? Hnh? OK I'm awake ... Whats going on? ... Oh.

Z Z Z Z Z Z Z Z Z Z Z Z Z z z z z z

*meemeemeemeemee*

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: OT- DBA question SQL2K

2004-12-12 Thread Dana
non-expert opinion: afaik there is no difference. The wizard generates
the same code. It is just easier and probably less prone to error. On
the other hand TSQL may offer more flexibility, not sure.

Dana


On Fri, 10 Dec 2004 11:30:07 -0600, Eric Creese [EMAIL PROTECTED] wrote:
 When setting up backup strategies would you rather wrtie the commands and 
 save them in a job and schedule them or use the Data Maintainence Plan Wizard?
 
 I simply write the code and stick it in jobs and it works fine, however I got 
 some people her telling me to use the Wizard because jobs are unreliable. But 
 the Wizard simply creates a job that is scheduled the same way so I do. I do 
 not see what the difference is at all.
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187292
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Matt Woodward
 I saw someone asking if someone could prove .NET is faster, .. haven't 
 you seen any benchmarks? My diff algorithm (using levensthein) is 
 about 1000x faster in .NET and the CF code has been finetuned into 
 it's most optimal form. CF ofcourse has it's plusses or else I would 
 not use it, but CF cannot match .NET performance, neither can PHP, ASP, 
 or even pure Java. Only C++ and C are quicker, people are even 
 creating 3D games in C#.

I just want to point out that you simply cannot ever say technology X is 
faster than technology Y without a ton of disclaimers attached.  There are 
numerous cases in which Java is faster than C, so if you still have the Java 
is horrendously slow notion from 1998, it's time to update your thinking:
http://www.idiom.com/~zilla/Computer/javaCbenchmark.html

Speed is so relative and of such little importance in the overall scheme of 
making technology decisions that it certainly wouldn't be a deciding factor 
unless you have very specific needs.  If the one particular thing you're doing 
is the core of your application and a particular technology is 10X as fast at 
this one thing, then sure, use that technology.  Otherwise performance is 
pretty much a wash between the major web development technologies.

Also, in terms of the technology and how it works, there isn't a single 
technical aspect that would give .NET a speed advantage over J2EE other than 
the fact that .NET doesn't have to worry about platform independence.  From an 
architectural standpoint the two platforms are remarkably similar  I would 
suspect that even in cases where there are speed advantages (if there are any, 
and if they're even worth worrying about) they would be so negligible as to be 
immaterial to the discussion unless you're talking about building desktop 
applications, which isn't the focus of this forum.

I guess my point is that saying one technology is faster than another is a 
pretty ridiculous statement without providing a clear context, and there are so 
many variables involved (hardware, the code itself, etc., etc., etc.) that it's 
pretty impossible to ever have a straight-across comparison.  You can write a 
web app in either CF or .NET that will perform extremely well if you know what 
you're doing.  One does not provide a clear speed advantage over the other in 
any absolute terms.

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187293
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Micha Schopman
I dont think anyone with enough knowledge says Java is slow :) In fact, .NET 
currently is slower than Java which is pretty funny compared to the wrapper 
(around win32) .NET actually is, compared to Java which has to do all on his 
own. (btw.. benches: http://www.shudo.net/jit/perf/).

Nobody using CF currently dislikes the language, nor is forced to use CF. I do 
think the average quality of CF applications is much lower compared to the 
quality of .NET apps. It is directly related to the learning curve (and 
principles of OO languages) and companies tend to think they hire real 
professionals when aiming at .NET as opposed to a CF or PHP.

I just think alot of people are scared about the immense .net approach 
companies are taking nowadays, and therefore people want to push Macromedia to 
invest in CF as a core product and to use it's marketing on CF and publicly 
promote their product. Combine that with bad economy and fear of losing your 
job due to lack of .net knowledge and you have bingo.

I think people only switch from CF if they are forced to by company stategy 
changes, or general opportunities with CF in their country. CF in my country 
isn't very popular compared to the US, and alot of people don't even know it 
exists.


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-12 Thread Cliff Meyers
Hey guys,


I posted this on Friday, didn't get a response.  Figured I'd try it again.


I have a simple text file that I want to force-download for users of a web
application.  I've set up the following code:

cfheader
  name=Content-Disposition
  value=attachment; filename=#filename#

cfcontent
  type=text/plain
  file=#filepath#
  deletefile=no

When I run the code in IE, I get the File Download dialog box as you'd
expect.  When I either try to open or save the file, I get this error
message:

Internet Explorer cannot download act_download_key.cfm from www.anyhost.com.

Internet Explorer was not able to open this internet site... blah blah

This site is being served over HTTPS.  When I adjust the IIS configuration
to allow requests over HTTP, the code magically works without issues.
Furthermore Firefox can open/save the file without problems over either
HTTP or HTTPS.  I'm assuming this is some idiosyncrasy with IE when using
CFCONTENT/CFHEADER over an SSL site.  Thanks for your help.


-Cliff Meyers

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187295
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Dave Watts
 I'm going to bring this one in from the Blackstone Beta thread yesterday
 because I think we all need to talk about this.

Why? I thought this was a technical discussion list? If this were a list
about, say, Porsches, would it be appropriate to talk about how much better
Ferraris are? (Oh, and by the way, as Sean as implied, they're not.)

 ASP.NET is taking market away from CF!

Do you have any statistics to back this up? I think it's certainly possible,
but even if it's true it says little about the comparative value of either
CFMX or .NET.

 CF is still outrageous to purchase. The licensing for the .NET SDK 
 is free as is the licensing to deploy.

If you think the pricing for CF is outrageous, you should look at the
pricing for, well, any enterprise product you can think of. The pricing for
CF Pro is quite reasonable for small businesses, and the pricing for CF
Enterprise is quite reasonable for large ones. The .NET platform is only
free if you purchase Windows, which you seem to be conveniently ignoring.

 Blackstone is not equivalent to .NET in power and performance. Yeah,
 maybe it's easy for us to code our simple CFML, and yeah that 
 cfdocument is pretty neat, but there are a few factors making CF'ers 
 like me change hats, and put on the .NET one! Will MM ever
 come up with a true development language like .NET? Are they going to
 keep putting more icing on the same cake, while Microsoft bakes fresh
 ones?

Honestly, I don't know what the hell that paragraph means. If CFML isn't a
true development language, I wonder how we've developed all these
applications? If you have a problem with simple CFML, there are plenty of
more complex languages for you to use, like C# or Java. Feel free to use
those - the rest of us will be happy to continue using CF to develop
applications more quickly and easily.

As for Microsoft being the one who bakes fresh cakes, well, that's sort of
the problem. Every couple of years, MS comes along and changes everything
for developers. ASP.NET is very nice, and C# is very nice, but there are a
lot of pissed-off VB 6 and classic ASP guys, who find themselves having to
relearn almost everything to continue using MS tools. Those VB 6 guys, after
just learning to use .NET and Windows Forms, will have to switch gears again
to learn XAML when Longhorn comes out. Here's an interesting take on this
problem:

http://www.joelonsoftware.com/articles/APIWar.html

 Tim Uzzanti:
 If you believe CF can handle the same traffic loads that .NET can
 handle, then you are completely confused on the technologies and their
 infrastructure. I have no idea if 75% of fortune 100% companies use CF,
 I would love to see some documentation for that, but the Fortune 100
 companies ARE NOT the Top 100 sites on the Internet either!

I know plenty of large-scale sites using CF. I'd seriously doubt that you
can scale ASP.NET up to equal CFMX running on, say, a Solaris 64-processor
box. Good luck with that! ASP.NET is inherently limited by Windows. I don't
know who Tim Uzzanti is, but I don't see why I should take what he says at
face value. My experience says otherwise.

Oh, wait. Now, having Googled Tim Uzzanti, I see he runs a web hosting
company. I wonder if he has any incentive in seeing people use .NET rather
than CF. He wouldn't have to pay for CF licenses if none of his clients used
CF, right? How many large-scale applications has Mr. Uzzanti worked on,
exactly? All his servers are Windows servers, aren't they? I wonder if this
has anything at all to do with his enthusiasm for .NET - something he's
already paid for?

 Asking someone who maintains and manages 10,000 hosted applications on
 Cold Fusion and someone who manages thousands of .NET applications would
 probably give you a pretty good opinion of what they see? Is it in my
 BEST interest to tell a customer not to use CF, or is it in my best
 interest to suggest what might be the best technologies from my
 experiences on their requirements?

Hosted applications? What's the specific relevance of talking only about
hosted applications? Most big applications run on dedicated servers.

 Someone mentioned ediet.com which has a traffic ranking of around
 280,000 and in comparison CrystalTech is around 23,000. Microsoft.com
 which is in the top 10 is using ASP.NET and Dell.COM which is in the top
 100 is also using ASP.NET

Uh, and this is relevant how again? How many servers do MS and Dell use to
keep this working? The fact is, there are huge sites using practically any
technology you can think of, and scalability needn't be a problem with CFMX
or ASP.NET or J2EE or whatever.

 Cold Fusion MX out of the box has a setting to support no more than 10 
 simultaneous requests at one time. Macromedia suggestions that you never 
 exceed 40 and this isn't optimal for a large scale sites.

This is a load of hooey. CF uses a queued threading model, which is more
efficient than creating threads on demand. Even with large-scale CF
applications that are heavily 

Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Sean Corfield
On Sun, 12 Dec 2004 17:00:56 -0400, Micha Schopman
[EMAIL PROTECTED] wrote:
 I dont think anyone with enough knowledge says Java is slow :) In fact, .NET 
 currently is slower than Java which is pretty funny compared to the wrapper 
 (around win32) .NET actually is, compared to Java which has to do all on his 
 own. (btw.. benches: http://www.shudo.net/jit/perf/).

Thanx for pulling up benchmarks to back that up. I'd also heard Java
was faster than .NET but hadn't seen any evidence. Of course, I'd also
heard .NET was faster than Java :)

 I just think alot of people are scared about the immense .net approach 
 companies are taking nowadays, and therefore people want to push Macromedia 
 to invest in CF as a core product and to use it's marketing on CF and 
 publicly promote their product. Combine that with bad economy and fear of 
 losing your job due to lack of .net knowledge and you have bingo.

I think this is a very interesting point (and, hey, for once I'm
agreeing with Micha!). Java has had huge growth with a lot of support
from Sun and IBM and others and, according to several studies, J2EE is
still doing much better than .NET (and .NET is *not* taking business
away from J2EE as Microsoft had hoped) and yet... and yet people
didn't seem to be scared by the growth of Java. Macromedia doesn't
have the marketing budget that Microsoft has so you'll never see
Superbowl ads for ColdFusion. You can't compare the two companies in
that respect. But fear of losing your job due to lack of .net
knowledge is exactly what Microsoft wants. They want you to believe
that if you don't learn .NET, you're dead. There's something very
particular about Microsoft that seems to have people worried that
technology X will take over the world and we'll all be forced to
switch to it... yet the facts don't really back that up.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

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


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread S . Isaac Dealey
 There are other factors that one needs to think about
 when writing an
 application. Think about the ability to use Threads in
 .NET. Depending
 on your application, sitting and processing 10 requests
 back to back may
 take 5 minutes but if you had the ability to run the 10
 tasks
 concurrently you may be able to respond back to the
 customer in 30
 seconds.

 First, asynchronous processing isn't that common in web
 applications.
 Second, you can use asynchronous processing in CFMX
 applications now, by
 hooking to JMS - it's not easy or trivial, but it can be
 done. Third, I've
 heard that Blackstone will provide an easier way to do
 asynchronous
 processing. If that's true, why would you complain about
 Blackstone not
 providing what you need?

I believe it's a built-in async.cfc which can be extended to perform
asynchronous tasks... I haven't had a chance to look into it yet --
I've been too busy working on the framework recently, adding xml
templating and built-in i18n features, but I've heard it's very
impressive.

s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477DE=1
http://www.sys-con.com/story/?storyid=45569DE=1
http://www.fusiontap.com


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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


Re: Auto appending of CFID and CFTOKEN in application.cfm

2004-12-12 Thread J M
I'm sure you're rocker is fine.

I am using non-persistant session cookies for session management, not 
persistant cookies.

A few members installed XPSP2 and it apparently disables all cookies, 
persistant ant not, so that can login but the session cookie fails to be set, 
and they get punted back to the login. Some members had no problem setting the 
browser accordingly, but others would find it easier to build a roller-coaster. 
So, I just need an easy way (short of rewriting all my links/forms) to append 
the CFID and CFTOKEN.

JW

 I might be off my rocker - but are you implying that you are using 
 cookie as the Default Storage Mechanism for Client Sessions? Could I 
 suggest instead that you run all your client session requirements to a 
 database instead?
 
 I know that to create Search Engine Friendly URLs ( http://www.
 peoplefield.org and http://www.spankmag.com ) all my href links are 
 actually a custom function I wrote so I can automatically append (and 
 pre-append) items to a link (in this case adding the /p.htm to 
 everything at the end, and a parsed vaiable to map to the correct 
 directory structure, yes I know, not Fusebox sturcture :-) ). But I 
 don't think you want to rewirite all your links in the code.
 
 Can you expalain your problems more though about XPSP2? I've not had 
 that problem (I think) and if I am, I would like to know more about 
 what you are experiencing.
 
 Stephen
 http://www.Lopedia.com 
 Canada is cold, so ColdFusion is natural to us!
 
 
  Hi,
  I am retooling a large CF site and need to append the CFID and 
 CFTOKEN 
  to each request as XPSP2 has locked out a lot of users who aren't 
  allowing cookies.
  
  There are too many pages to start digging through the links and 
 forms 
  to add the URLTOKEN (unless I really need to). Is it not possible to 
 
  add some code to application.cfm to automatically do this? I tried 
  with no success and received an invalid characters in the CFID or 
  CFTOKEN message.
  
  Any info appreciated.
  
  JW 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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


Re: SOT moving to FireFox

2004-12-12 Thread S . Isaac Dealey
 There are a few DHTML widgets and they are not working
 properly in FF.
 For example the following is some of the code behind one
 DHTML widget:

 document.onmouseover = ItemOver;


 var eOld = null;

 function ItemOver()
 {
  var eSrc = window.event.srcElement;
  if (eSrc != null  eSrc.className == item-b)
  {
eSrc.className = item-b2;
  }
 }

 // this one complains about window.event has no properties

This wouldn't necessarily be a bad way to handle this task _if_
srcElement were a DOM standard property of the event object... The
event object itself is part of the DOM, so that's okay. Though it
would be much better to include a similar function in the onMouseOver
event-handler for each item of class item-b on your page...

function ItemOver(item) { item.className = 'item-b2'; }

then in your elements div class=item-b
onmouseover=ItemOver(this); /

Unfortunately it doesn't look as though there is a DOM standard syntax
that would really be comparable to your original script. Although in
general looking at the script I have to think to myself and you want
to do this why? ... It's designed to change the class-name of objects
once they've been moused-over, but without changing them back on a
mouseout event? ... just seems odd...


 function setItem(eSrc, eNo, eExtern)
 {
eOld = eSrc;

if (eNo == 1)
   eOld.className = item-b1;
else
  eOld.className = item-b4;

   var eTxt = eval(txt + eOld.id);
  eTxt.style.display = ;
 }
 // the eSrc is item1 and it complains during the eval
 function:
 txtitem1 is not defined

 what will be the equivalent of window.event in DOM2 event
 model?

This one's reasonably easy... You have to have an element on the page
with the ID (or possibly name) attribute of 'txtitem1' and then you
can replace var eTxt = eval(txt+eOld.id); with var eTxt =
document.getElementById(txt + eOld.id);

I would also recommend adding in the {} braces ... I understand that
the code works currently without them but, the less consistent
demarkation your code has (missing {}, missing ; at the end of a
line), the more potential there is for the code to produce undesirable
behavior, whether that's an error or something else.


s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477DE=1
http://www.sys-con.com/story/?storyid=45569DE=1
http://www.fusiontap.com


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-12 Thread Dave Watts
 I have a simple text file that I want to force-download for 
 users of a web application.  I've set up the following code:
 
 cfheader
   name=Content-Disposition
   value=attachment; filename=#filename#
 
 cfcontent
   type=text/plain
   file=#filepath#
   deletefile=no
 
 When I run the code in IE, I get the File Download dialog 
 box as you'd expect.  When I either try to open or save the 
 file, I get this error
 message:
 
 Internet Explorer cannot download act_download_key.cfm from 
 www.anyhost.com.
 
 Internet Explorer was not able to open this internet site... 
 blah blah
 
 This site is being served over HTTPS.  When I adjust the IIS 
 configuration to allow requests over HTTP, the code magically 
 works without issues.
 Furthermore Firefox can open/save the file without problems 
 over either HTTP or HTTPS.  I'm assuming this is some 
 idiosyncrasy with IE when using CFCONTENT/CFHEADER over an 
 SSL site.  Thanks for your help.

Perhaps there's a problem with the Content-Disposition header. You might
want to try inline instead of attachment.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

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


RE: IIS questions

2004-12-12 Thread Dave Watts
 In the home directory/configuration/app options there are 
 three checkboxes. They are normally turned on and seem to 
 only have anything to do with Asp. Is there any known reason 
 to have them checked on if the server is set to CF only (all 
 asp type extensions removed)?

Those options only affect classic ASP. You can safely disregard them - it
doesn't matter how they're set.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187303
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


SOT moving to FireFox

2004-12-12 Thread Victor Moore
I don't want to start another browser war thread, but the last few
days I was looking into moving some of our (intranet) apps to FF. Our
policy is to have only IE on desktops, but I would be very happy if I
can get rid of IE and move to FF.

Unfortunately there is no budget of even desire for this from the
business community, so I have to do it on my own time.

Anyway, my question is: are there any sites that can show how would
you code differently for two browsers. It will have to work in both :)


There are a few DHTML widgets and they are not working properly in FF. 
For example the following is some of the code behind one DHTML widget:

document.onmouseover = ItemOver;


var eOld = null;

function ItemOver() 
{
 var eSrc = window.event.srcElement;
 if (eSrc != null  eSrc.className == item-b) 
 {
   eSrc.className = item-b2;
 }
}

// this one complains about window.event has no properties


function setItem(eSrc, eNo, eExtern) 
{
   eOld = eSrc;

   if (eNo == 1)
  eOld.className = item-b1;
   else
 eOld.className = item-b4;

  var eTxt = eval(txt + eOld.id);
 eTxt.style.display = ;
}
// the eSrc is item1 and it complains during the eval function:
txtitem1 is not defined

what will be the equivalent of window.event in DOM2 event model?

Thanks
Victor

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187300
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Philipp Cielen
I wonder if using large numbers of concurrent threads is helping performance
regarding web sites/apps in any case. If a server is processing 100 pages
that all take the same time to deliver a limited queue would improve
performance because the pages that have finished would be delivered in
batches of 10 - i.e. they would already be available to the user. With 100
concurrent threads all users would have to wait until all threads have
finished working. So unlimited concurrent threads would not always guarantee
better performance. 
Well, this is just what's been spinning in my head - it's late around here
so correct me if I'm completely off. 

Cheers,

Philipp


--
cielen.com
Fressgass / Alte Oper
Grosse Bockenheimer Str. 54
60313 Frankfurt am Main
Germany

tel +49-69-29724620
fax +49-69-29724637


 -Original Message-
 From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 12, 2004 11:50 PM
 To: CF-Talk
 Subject: RE: CF vs ASP.NET! GET YOUR FRESH POPCON!!
 
  There are other factors that one needs to think about
  when writing an
  application. Think about the ability to use Threads in
  .NET. Depending
  on your application, sitting and processing 10 requests
  back to back may
  take 5 minutes but if you had the ability to run the 10
  tasks
  concurrently you may be able to respond back to the
  customer in 30
  seconds.
 
  First, asynchronous processing isn't that common in web
  applications.
  Second, you can use asynchronous processing in CFMX
  applications now, by
  hooking to JMS - it's not easy or trivial, but it can be
  done. Third, I've
  heard that Blackstone will provide an easier way to do
  asynchronous
  processing. If that's true, why would you complain about
  Blackstone not
  providing what you need?
 
 I believe it's a built-in async.cfc which can be extended to perform
 asynchronous tasks... I haven't had a chance to look into it yet --
 I've been too busy working on the framework recently, adding xml
 templating and built-in i18n features, but I've heard it's very
 impressive.
 
 s. isaac dealey 954.927.5117
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.sys-con.com/story/?storyid=44477DE=1
 http://www.sys-con.com/story/?storyid=45569DE=1
 http://www.fusiontap.com
 
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187304
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Auto appending of CFID and CFTOKEN in application.cfm

2004-12-12 Thread Mary Jo Sminkey
 I am using non-persistant session cookies for session management, not 
 persistant cookies.

Actually, in terms of the issue you are having, it wouldn't really matter. Even 
if you use client variables in the database, Cold Fusion still uses the CFID 
and CFTOKEN to identify the client. So they either need cookies on or you need 
to pass it over the variable.


 A few members installed XPSP2 and it apparently disables all cookies, 
 persistant ant not, so that can login but the session cookie fails to 
 be set, and they get punted back to the login. Some members had no 
 problem setting the browser accordingly, but others would find it 
 easier to build a roller-coaster. So, I just need an easy way (short 
 of rewriting all my links/forms) to append the CFID and CFTOKEN.

Well, afraid I don't know any way to do this through the application. I always 
build that kind of function into the application, because I've had lots of 
issues with various browsers or users having problems with losing sessions even 
with cookies turned on. What I do is set a variable in the application either 
blank or with the session token and then use that variable on all the links. 
Yeah, it's a bit of a pain to do, but becomes habit after awhile. You can find 
the links in your site fairly easily with a regular expresssion search, which 
will at least save you a bit of time. 

Interestingly enough, I had installed SP2 and then had to take it off for other 
issues. But recently I've been having major issues with my application losing 
the session whenever a new window is opened (or a JS location script runs). 
Only happens in IE and enabling all cookies does not seem to help. It's really 
driving me nuts! 

Mary Jo

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: IIS questions

2004-12-12 Thread Michael Dinowitz
Thanks. 
Any known savings?

Those options only affect classic ASP. You can safely disregard them - it
doesn't matter how they're set.

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: SOT moving to FireFox

2004-12-12 Thread Victor Moore
Thanks Isaac,

I have implemented the second part and it's working fine.
I am working now on the first one. There is actually one function for
all the events:
document.onmouseout  = ItemOut;
document.onmousedown = ItemDown;
document.onmouseup   = ItemUp;

Thanks again.

Victor

PS One more thing: Is there a difference in rendering between the two
browsers? It seems that there is 5 pixel offset. Not a biggie but some
items on the form are not aligned properly.

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Mike Kear
Regarding the relative costs of the expensive ColdFusion and the
free other technologies, I have  a statement from a colleague in
another organisation, which I'll be posting separately.  I told him
about a site I'd just about finished in ColdFusion and he told me he
was amazed.  That I'd done my site in about 70 hours with another
40hours or so to finish it , and he had done a similar site in Free
PHP - it had taken two of them (part time) two years to build.

Let's assume for the sake of argument that all people working on these
sites are costing $50/hour either as paid contractors or as employees
including on-costs.I built my site, using expensive ColdFusion
for $3500 plus a cold fusion server at perhaps $1200 - total $4700.

They built their site using free PHP for (say) two people at 600
hours each - that's $60,000!! But they got the server software for
free.

Saved a big bunch there by going with the 'free' one didn't they.

.Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


CFFILE Upload file restrictions (was Re: fck editor 2.0 RC)

2004-12-12 Thread Rick Root
Matt Robertson wrote:
 
 If I'm understanding you right and you're only doing extension checks
 it just seems that you're not using an important feature of cffile. 
 Using both features would be ideal but on a given day with a typical
 user I'd say cffile accept= was a lot more powerful piece of
 protection.

According to macromedia documentation, the browser uses the file 
extension to determine the mime type.

What are you trying to protect against?

The only difference I see is that I specify jpg,jpe,jpeg,jpeg, while 
you would specify image/jpeg,image/pjpeg

The other difference I see is that if I were only checking mime types, I 
could easily upload a .cfm by making my computer think .cfm was image/jpeg.

If I were only checking extensions, then I could NEVER upload a .cfm file.

That seems more secure to me.

  - Rick


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

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


Re: SOT moving to FireFox

2004-12-12 Thread Victor Moore
Interesting.  So how are people coding for this? Determine the browser
and then have two dimensions?

I was wondering if M$ is doing this on purpose or just doesn't care.

Thanks Barney

Victor


On Sun, 12 Dec 2004 18:46:13 -0800, Barney Boisvert [EMAIL PROTECTED] wrote:
 IE incorrectly implements the CSS box model, while FF (and other
 browsers) gets it right.  Specifically, IE assumes the width you
 specify is for the actual content area of the elements box, while the
 CSS spec says that the width you specify is for the entire box
 (including padding, border, and margin).  So if you've got 5px of
 margin, a 1px border, and 4px of padding, your elements will be 10px
 wider than they should be.  Or, if you're looking at it from the IE
 side, rather than the standards side, a standards compliant browser
 will show your boxes 10px smaller than you're used to.
 
 cheers,
 barneyb
 
 
 
 On Sun, 12 Dec 2004 21:28:48 -0500, Victor Moore [EMAIL PROTECTED] wrote:
  Thanks Isaac,
 
  I have implemented the second part and it's working fine.
  I am working now on the first one. There is actually one function for
  all the events:
  document.onmouseout  = ItemOut;
  document.onmousedown = ItemDown;
  document.onmouseup   = ItemUp;
 
  Thanks again.
 
  Victor
 
  PS One more thing: Is there a difference in rendering between the two
  browsers? It seems that there is 5 pixel offset. Not a biggie but some
  items on the form are not aligned properly.
 
 
 
 --
 Barney Boisvert
 [EMAIL PROTECTED]
 360.319.6145
 http://www.barneyb.com/blog/
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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


RE: IIS questions

2004-12-12 Thread Dave Watts
 Any known savings?

Not unless you're using ASP.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187308
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


WOT: Porting flash games

2004-12-12 Thread Parker, Kevin
Apologies for the WOT - please e-mail me off list if you have any clues.

Is it possible to port games written in Flash to other game consoles
e.g. Xbox, Playstation, Nintendo etc


++
Kevin Parker
Web Services Manager
WorkCover Corporation

p: 08 8233 2548
m: 0418 806 166
e: [EMAIL PROTECTED]
w: www.workcover.com

++

 
This e-mail is intended for the use of the addressee only. It may 
contain information that is protected by legislated confidentiality 
and/or is legally privileged. If you are not the intended recipient you 
are prohibited from disseminating, distributing or copying this e-mail. 

Any opinion expressed in this e-mail may not necessarily be that of the 
WorkCover Corporation of South Australia. Although precautions have 
been taken, the sender cannot warrant that this e-mail or any files 
transmitted with it are free of viruses or any other defect. 

If you have received this e-mail in error, please notify the sender 
immediately by return e-mail and destroy the original e-mail and any 
copies. 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187313
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SOT moving to FireFox

2004-12-12 Thread Jim Davis
 -Original Message-
 From: Rob [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 12, 2004 10:34 PM
 To: CF-Talk
 Subject: Re: SOT moving to FireFox

  I was wondering if M$ is doing this on purpose or just doesn't care.
 
 I doubt they are doing it on purpose. I think it's just they just have
 little reason to fix them, and some people insist that is valid
 behavior because they have lots of money.

For what it's worth it seems clear to me that IE was an unfortunate victim
of consolidation.

Let's remember that IE 6 is what, 5 years old?  When it was released it
really did have surprisingly good standards support (especially considering
that many of the standards that it supported weren't even done yet) -
perhaps the best at the time (even Opera, which had better support for some
standards at the time failed to support others completely).

MS sat on its haunches watching this (admit it) truly good browser grow in
usage until it dominated.  Then they got lazy.

Sure, they addressed security issues but there was nothing more than
keeping the lights on maintenance money for IE.  They got so lazy in fact
that even an open source project was able to smoke them (talk about the
tortoise and the hair - FireFox took at least 5 years of development to
reach 1.0 status).

Finally they formalized the ridiculousness: new versions of IE would only be
distributed with new versions of Windows.  This seemingly solved many issues
for them: they spent years in court trying to prove that IE was a core OS
component - this only confirmed that.  They found themselves with larger OS
issues than they imagined so they pulled the best into that arena.

Besides, so the logic went, the next version of Windows will be out in late
2004!  That's not so long to wait.

Of course that's a mistake: the next version of Windows won't reach us until
late next year if then - and even then it will lack several of the key
technologies driving its development.

So MS finds itself with a woefully out of date browser against renewed
threats from Apple and open source - both of which bring more to the table
than IE.  Of course IE has slowed it's own demise somewhat through it's
extensibility: browsers like AvantBrowser and others have popped up to add
new faces and capabilities to IE.  Clever authors have discovered ways to
use IEs extensibility to overcome some of the more egregious issues with it.

But when it comes down to it we're still looking at a truly ancient codebase
(a codebase that I think should be praised for it's longevity rather than
crucified for its failings compared to newer tools).

MS does seem to have heard the music.  Rumors are flying that the IE
development team has been reassembled and at that something will be
released before the next version of Windows.

We'll see if they're able to address the problems in time for it to make any
difference, but I hope they do.  As old and decrepit as it is IE is still a
strong platform.  It's a broken platform to be sure, but one that still has
a definite spark of promise - if only it wasn't abandoned.

Jim Davis




~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

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


Re: SOT moving to FireFox

2004-12-12 Thread Adam Howitt
Take a look at the post on leftjustified.net on the topic where they 
tear down the box model and start from scratch universally:

http://leftjustified.net/journal/2004/10/19/global-ws-reset/

Adam Howitt
http://www.webdevref.com


Rob wrote:

On Sun, 12 Dec 2004 22:04:20 -0500, Victor Moore [EMAIL PROTECTED] wrote:
  

Interesting.  So how are people coding for this? Determine the browser
and then have two dimensions?



I just do give and take untill it looks ok in IE and great in FireFox.
If it gets really bad then I do sniff the browser and adjust for IEs
bugs.

Here are some more good ones to watch out for:
http://www.positioniseverything.net/explorer.html
 
  

I was wondering if M$ is doing this on purpose or just doesn't care.



I doubt they are doing it on purpose. I think it's just they just have
little reason to fix them, and some people insist that is valid
behavior because they have lots of money.



  

On Sun, 12 Dec 2004 18:46:13 -0800, Barney Boisvert [EMAIL PROTECTED] wrote:


IE incorrectly implements the CSS box model, while FF (and other
browsers) gets it right.  Specifically, IE assumes the width you
specify is for the actual content area of the elements box, while the
CSS spec says that the width you specify is for the entire box
(including padding, border, and margin).  So if you've got 5px of
margin, a 1px border, and 4px of padding, your elements will be 10px
wider than they should be.  Or, if you're looking at it from the IE
side, rather than the standards side, a standards compliant browser
will show your boxes 10px smaller than you're used to.

cheers,
barneyb

  


  



-
[This E-mail scanned for viruses by declude AntiVirus Software]


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187316
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread S . Isaac Dealey
I think you're a bit off...

I could be wrong, but it's been my impression that when a thread
finishes processing, it delivers any undelivered content from the
buffer immediately and then grabs up the next incoming http request.
So nobody's actually waiting for someone else's thread to finsih, just
their own. So in the case of being able to spawn as many threads as
you want within a request, your request would just be waiting for
whatever threads it spawned and then needed results from to continue.

 I wonder if using large numbers of concurrent threads is
 helping performance
 regarding web sites/apps in any case. If a server is
 processing 100 pages
 that all take the same time to deliver a limited queue
 would improve
 performance because the pages that have finished would be
 delivered in
 batches of 10 - i.e. they would already be available to
 the user. With 100
 concurrent threads all users would have to wait until all
 threads have
 finished working. So unlimited concurrent threads would
 not always guarantee
 better performance.
 Well, this is just what's been spinning in my head - it's
 late around here
 so correct me if I'm completely off.

 Cheers,

 Philipp


s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477DE=1
http://www.sys-con.com/story/?storyid=45569DE=1
http://www.fusiontap.com


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187317
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Coldfusion tag prefixes

2004-12-12 Thread Andrew Scott
cfset myCom = CreateObject('Component','myComponent') /
cfset myCom(Blah,Blah,Blah) /


-Original Message-
From: Stephen Cowling [mailto:[EMAIL PROTECTED] 
Sent: Monday, 13 December 2004 3:37 PM
To: CF-Talk
Subject: Coldfusion tag prefixes

Is it all possible to create your own tag prefix? Instead of using cf_ 
to get to custom tags.

the reason I ask, is to try and reduce the amount of
cfinvoke component=myComponent method=setBlah
   cfinvokeargument name=blah
   cfinvokeargument name2=blah
   cfinvokeargument name3=blah
   cfinvokeargument name4=blah
   cfinvokeargument name5=blah
... etc
That needs to be called.

I know I could cfinclude it, but I thought a more elegant way would be 
to have say,
blah:set name=blah name2=blah name3=blah name4=blah
name5=blah

Or am I barking mad?


Steve


-- 




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187319
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT moving to FireFox

2004-12-12 Thread Barney Boisvert
IE incorrectly implements the CSS box model, while FF (and other
browsers) gets it right.  Specifically, IE assumes the width you
specify is for the actual content area of the elements box, while the
CSS spec says that the width you specify is for the entire box
(including padding, border, and margin).  So if you've got 5px of
margin, a 1px border, and 4px of padding, your elements will be 10px
wider than they should be.  Or, if you're looking at it from the IE
side, rather than the standards side, a standards compliant browser
will show your boxes 10px smaller than you're used to.

cheers,
barneyb

On Sun, 12 Dec 2004 21:28:48 -0500, Victor Moore [EMAIL PROTECTED] wrote:
 Thanks Isaac,
 
 I have implemented the second part and it's working fine.
 I am working now on the first one. There is actually one function for
 all the events:
 document.onmouseout  = ItemOut;
 document.onmousedown = ItemDown;
 document.onmouseup   = ItemUp;
 
 Thanks again.
 
 Victor
 
 PS One more thing: Is there a difference in rendering between the two
 browsers? It seems that there is 5 pixel offset. Not a biggie but some
 items on the form are not aligned properly.
 


-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187310
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Coldfusion tag prefixes

2004-12-12 Thread Douglas Knudsen
take a look at cfimport.

Doug


On Mon, 13 Dec 2004 15:48:56 +1100, Andrew Scott [EMAIL PROTECTED] wrote:
 cfset myCom = CreateObject('Component','myComponent') /
 cfset myCom(Blah,Blah,Blah) /
 
 
 
 
 -Original Message-
 From: Stephen Cowling [mailto:[EMAIL PROTECTED]
 Sent: Monday, 13 December 2004 3:37 PM
 To: CF-Talk
 Subject: Coldfusion tag prefixes
 
 Is it all possible to create your own tag prefix? Instead of using cf_
 to get to custom tags.
 
 the reason I ask, is to try and reduce the amount of
 cfinvoke component=myComponent method=setBlah
cfinvokeargument name=blah
cfinvokeargument name2=blah
cfinvokeargument name3=blah
cfinvokeargument name4=blah
cfinvokeargument name5=blah
 ... etc
 That needs to be called.
 
 I know I could cfinclude it, but I thought a more elegant way would be
 to have say,
 blah:set name=blah name2=blah name3=blah name4=blah
 name5=blah
 
 Or am I barking mad?
 
 Steve
 
 --
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Coldfusion tag prefixes

2004-12-12 Thread Stephen Cowling
sorry, typo..

cfimport prefix=name taglib=setName.cfm
name:setName fname=Steve

and in setName.cfm

cfinvoke component=MyComponent method=setName
 cfinvokeargument name=firstname value=arguments.fname /
/cfinvoke

gives me:
  Unknown tag: name:setName.
ColdFusion cannot determine how to process the tag name:setName because 
the tag is unknown and not in any imported tag libraries. The tag name 
might be misspelled.



Am I completely suffering monday-itis here?



Stephen Cowling wrote:

 Hmmm I have been looking at cfimport, but I may be trying to do 
 something it was never intended to do.
 
 ie.
 cfimport prefix=name taglib=name.cfm
 name:set argument=value
 
 and in name.cfm it invokes a component, passing the argument value.
 
 But I get this error:
   Could not import the tag library specified by name.cfm.
 
 
 
 Douglas Knudsen wrote:
 
 
take a look at cfimport.

Doug


On Mon, 13 Dec 2004 15:48:56 +1100, Andrew Scott [EMAIL PROTECTED] wrote:


cfset myCom = CreateObject('Component','myComponent') /
cfset myCom(Blah,Blah,Blah) /




-Original Message-
From: Stephen Cowling [mailto:[EMAIL PROTECTED]
Sent: Monday, 13 December 2004 3:37 PM
To: CF-Talk
Subject: Coldfusion tag prefixes

Is it all possible to create your own tag prefix? Instead of using cf_
to get to custom tags.

the reason I ask, is to try and reduce the amount of
cfinvoke component=myComponent method=setBlah
  cfinvokeargument name=blah
  cfinvokeargument name2=blah
  cfinvokeargument name3=blah
  cfinvokeargument name4=blah
  cfinvokeargument name5=blah
... etc
That needs to be called.

I know I could cfinclude it, but I thought a more elegant way would be
to have say,
blah:set name=blah name2=blah name3=blah name4=blah
name5=blah

Or am I barking mad?

Steve

--





 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187322
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT moving to FireFox

2004-12-12 Thread Barney Boisvert
There are a few CSS parsing bugs that are unique to IE as well.  You
can use those to easily specify both dimensions.  For example, IE will
transparently ignore // comment in stylesheets, while Mozilla
correctly recognizes the invalid syntax and ignores through the end of
the rule.  That lets you do things like this:

#mydiv {
  width: 50px;
  border: 1px solid #f90;
  padding: 3px;
  margin: 0px;
  // width: 58px;
}

Now the mydiv box will appear the same width on both IE and FF (50
pixel content area, 58 pixels to the outside of the borders).  There
is also a hack termed the box model hack that a google search should
turn up quite easily.

To return to the discussion (read: flame war) of a few days ago, this
is a good example of developing compliant code, and then tweaking it
for IE's discrepancies.  In other words, I deal with the first four
lines of that style block, and then when I'm finished with everything,
fire it up and IE and see what bits of hackery I need to add (the
fifth line).  In general, there aren't very many unless you'd doing
pretty complicated layout stuff that requires pixel perfection.

cheers,
barneyb

On Sun, 12 Dec 2004 22:04:20 -0500, Victor Moore [EMAIL PROTECTED] wrote:
 Interesting.  So how are people coding for this? Determine the browser
 and then have two dimensions?
 
 I was wondering if M$ is doing this on purpose or just doesn't care.
 
 Thanks Barney
 
 Victor
 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Coldfusion tag prefixes

2004-12-12 Thread Barney Boisvert
the 'taglib' attribute to CFIMPORT is a directory.  You then reference
the files in the directory using the prefix.  So if you do this:

cfimport prefix=name taglib=path/to/my/custom/tags /

then you can call the custom tag named mytag.cfm inside the
path/to/my/custom/tags directory like this:

name:mytag ... /

CFIMPORT is nothing more than an alternate way to call custom tags,
with much greater specificity than using custom tag paths from the
administrator.  it also lets you call JSP custom tags, but that's a
bit of a different topic.

cheers,
barneyb

On Mon, 13 Dec 2004 16:12:04 +1100, Stephen Cowling
[EMAIL PROTECTED] wrote:
 sorry, typo..
 
 cfimport prefix=name taglib=setName.cfm
 name:setName fname=Steve
 
 and in setName.cfm
 
 cfinvoke component=MyComponent method=setName
  cfinvokeargument name=firstname value=arguments.fname /
 /cfinvoke
 
 gives me:
   Unknown tag: name:setName.
 ColdFusion cannot determine how to process the tag name:setName because
 the tag is unknown and not in any imported tag libraries. The tag name
 might be misspelled.
 
 Am I completely suffering monday-itis here?
 
 


-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Coldfusion tag prefixes

2004-12-12 Thread Stephen Cowling
Is it all possible to create your own tag prefix? Instead of using cf_ 
to get to custom tags.

the reason I ask, is to try and reduce the amount of
cfinvoke component=myComponent method=setBlah
   cfinvokeargument name=blah
   cfinvokeargument name2=blah
   cfinvokeargument name3=blah
   cfinvokeargument name4=blah
   cfinvokeargument name5=blah
... etc
That needs to be called.

I know I could cfinclude it, but I thought a more elegant way would be 
to have say,
blah:set name=blah name2=blah name3=blah name4=blah name5=blah

Or am I barking mad?


Steve


-- 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Jim Davis
 -Original Message-
 From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 12, 2004 11:33 PM
 To: CF-Talk
 Subject: RE: CF vs ASP.NET! GET YOUR FRESH POPCON!!
 
 I think you're a bit off...

I think that the original poster might be confusing two separate things
here: asynchronous calls and thread pooling.

CF has been doing thread pooling since it became truly multi-threaded in CF
3 or 4 (I forget which... but I think it was 3).

All this means is that a certain number of threads is set aside for handling
requests (the default is 10).  When a request comes in it's assigned to a
thread from the pool which runs it serially and returns.  If all threads are
active the request is queued and will be assigned the first available
thread.

As an aside the number of threads is only important in relation to your
application.  It should be clear that all active threads actually share the
resources of the box.  So, for example, if your application is highly
CPU-bound (a calculator of some time or a data processer) then it's
generally recommended that fewer threads be created.  This means that more
requests may have to wait, but that more processor time can be spread
amongst the relatively few threads - this ensures that once a request gets a
thread it finishes as fast as possible.

(Remember that in actual fact the CPU is essentially running in serial -
working on a small piece from each thread one after the other, not at the
same time.  Since thread management can consume significant resources you
want to set your thread count low enough where you're not spending more time
managing threads than completing your processing.)

By the same token if you're threads may spend a lot of idle time - for
example waiting for a web server or a database to respond you can up the
number of active threads.  Since they're only waiting for responses they're
not consuming significant resources on their own - so why not allow a lot of
them to put in their orders and wait instead of just a few?

Anyway, that's thread pooling.  We've had it forever and so has everything
else.

But the key point here is that within a thread everything runs in SERIAL -
it plods along one after the other.  A CF template can't call a database and
then output a timer while it's waiting for a response.  It must make the
call, then wait for the DB to respond and then continue.

Asynchronous calls (what Isaac was talking about originally) address this
problem.  This means simply that a single request can start something, then
do something else while the first thing is working.

Such processing isn't as necessary in web applications as in client-side
applications (for example, think how annoying it would be if you counld't
read email at the same time you were fetching new mail?) but can be very
useful in certain situations.

For example I've got a page that allows the user to fetch a PDF from the
server.  The page checks security permissions, writes and entry to a metrics
log file, then delivers the PDF.

In this case, as it is today, you musty get a response from the database to
continue to deliver the PDF.  But the metrics logging isn't critical to the
process (in this case at least) so why should it delay the customer request?

With an asynchronous call I could spawn a new thread to handle the
database entry and then immediately deliver the file.  The PDF thread would
continue even if the new logging thread failed or was slow for some reason.

From a single request I created two distinct, parallel processes that didn't
have to be dependent upon one another.

I'm not sure how this will be implemented in BlackStone - Isaac's post was
the first I'd heard of it.  But it is doable in Java (of course) and it
wouldn't be all that hard to create a CFC to kick something like this off in
CFMX (several people on this list have already done it I'm sure).

If they're going to standardize it in BlackStone, more power to them, but
HOW they're going to do it I'm not sure.  Will they only support orphaned
threads (threads which are created and launched but can't communicate back
to the parent thread) or will they support a more complete model.

As I said the actual practical uses for this kind of thing in a web
application aren't all that common (think of the really good CF or ASP
applications you've seen - none of them support this - I may be wrong, but I
don't think PHP supports it either).  So I would bet it will pretty
simplistic support, not a full thread management model, but that's just a
guess.

Jim Davis



~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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

Re: Coldfusion tag prefixes

2004-12-12 Thread Stephen Cowling
Hmmm I have been looking at cfimport, but I may be trying to do 
something it was never intended to do.

ie.
cfimport prefix=name taglib=name.cfm
name:set argument=value

and in name.cfm it invokes a component, passing the argument value.

But I get this error:
  Could not import the tag library specified by name.cfm.



Douglas Knudsen wrote:

 take a look at cfimport.
 
 Doug
 
 
 On Mon, 13 Dec 2004 15:48:56 +1100, Andrew Scott [EMAIL PROTECTED] wrote:
 
cfset myCom = CreateObject('Component','myComponent') /
cfset myCom(Blah,Blah,Blah) /




-Original Message-
From: Stephen Cowling [mailto:[EMAIL PROTECTED]
Sent: Monday, 13 December 2004 3:37 PM
To: CF-Talk
Subject: Coldfusion tag prefixes

Is it all possible to create your own tag prefix? Instead of using cf_
to get to custom tags.

the reason I ask, is to try and reduce the amount of
cfinvoke component=myComponent method=setBlah
   cfinvokeargument name=blah
   cfinvokeargument name2=blah
   cfinvokeargument name3=blah
   cfinvokeargument name4=blah
   cfinvokeargument name5=blah
... etc
That needs to be called.

I know I could cfinclude it, but I thought a more elegant way would be
to have say,
blah:set name=blah name2=blah name3=blah name4=blah
name5=blah

Or am I barking mad?

Steve

--


 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Sean Corfield
On Mon, 13 Dec 2004 01:02:18 -0500, Jim Davis
[EMAIL PROTECTED] wrote:
 I'm not sure how this will be implemented in BlackStone - Isaac's post was
 the first I'd heard of it.  But it is doable in Java (of course) and it
 wouldn't be all that hard to create a CFC to kick something like this off in
 CFMX (several people on this list have already done it I'm sure).
 
 If they're going to standardize it in BlackStone, more power to them, but
 HOW they're going to do it I'm not sure.  Will they only support orphaned
 threads (threads which are created and launched but can't communicate back
 to the parent thread) or will they support a more complete model.

Go read Damon Cooper's blog - he goes into quite a bit of detail about
how this will work and, I believe, gives a code example.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

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


Regular Expression

2004-12-12 Thread vishnu prasad
Hi all 
need an help in requlaer expression
i have a string like this 
'this is samp'le data to in'sert'

now i need to replace the like this usign regular expression
'this is samp''le data to in''sert'


 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Coldfusion tag prefixes

2004-12-12 Thread Stephen Cowling
Ahhh.. OK. I'll give that a go.

thanks all.


Barney Boisvert wrote:

 the 'taglib' attribute to CFIMPORT is a directory.  You then reference
 the files in the directory using the prefix.  So if you do this:
 
 cfimport prefix=name taglib=path/to/my/custom/tags /
 
 then you can call the custom tag named mytag.cfm inside the
 path/to/my/custom/tags directory like this:
 
 name:mytag ... /
 
 CFIMPORT is nothing more than an alternate way to call custom tags,
 with much greater specificity than using custom tag paths from the
 administrator.  it also lets you call JSP custom tags, but that's a
 bit of a different topic.
 
 cheers,
 barneyb
 
 On Mon, 13 Dec 2004 16:12:04 +1100, Stephen Cowling
 [EMAIL PROTECTED] wrote:
 
sorry, typo..

cfimport prefix=name taglib=setName.cfm
name:setName fname=Steve

and in setName.cfm

cfinvoke component=MyComponent method=setName
 cfinvokeargument name=firstname value=arguments.fname /
/cfinvoke

gives me:
  Unknown tag: name:setName.
ColdFusion cannot determine how to process the tag name:setName because
the tag is unknown and not in any imported tag libraries. The tag name
might be misspelled.

Am I completely suffering monday-itis here?


 
 
 

-- 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187326
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT moving to FireFox

2004-12-12 Thread Barney Boisvert
After sending this I realized I was AMAZINGLY unclear on the first
paragraph.  What I should have said was something like this :

IE has some parsing bugs that can make this easier.  For example, if
you use a // for a one-line comment (a syntax that CSS does NOT
support), IE will read the slashes, and then continue to read
whatever's behind it.  Mozilla (including FF) will properly ignore the
entire line as invalid.  So you can specify the standards-compliant
style value, and then specify an IE-only one behind double slashes:

Sorry for the confusion.

cheers,
barneyb


On Sun, 12 Dec 2004 21:27:45 -0800, Barney Boisvert [EMAIL PROTECTED] wrote:
 There are a few CSS parsing bugs that are unique to IE as well.  You
 can use those to easily specify both dimensions.  For example, IE will
 transparently ignore // comment in stylesheets, while Mozilla
 correctly recognizes the invalid syntax and ignores through the end of
 the rule.  That lets you do things like this:
 
 #mydiv {
   width: 50px;
   border: 1px solid #f90;
   padding: 3px;
   margin: 0px;
   // width: 58px;
 }
 
 Now the mydiv box will appear the same width on both IE and FF (50
 pixel content area, 58 pixels to the outside of the borders).  There
 is also a hack termed the box model hack that a google search should
 turn up quite easily.
 
 To return to the discussion (read: flame war) of a few days ago, this
 is a good example of developing compliant code, and then tweaking it
 for IE's discrepancies.  In other words, I deal with the first four
 lines of that style block, and then when I'm finished with everything,
 fire it up and IE and see what bits of hackery I need to add (the
 fifth line).  In general, there aren't very many unless you'd doing
 pretty complicated layout stuff that requires pixel perfection.
 
 cheers,
 barneyb


-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

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


Re: Blackstone Beta

2004-12-12 Thread Will Tomlinson
Ferrari's are fussy and very expensive to run so that's probably a
very good analogy...


Sean,

Are you saying CF isn't fussy? And CF isn't more expensive than .NET? I'd 
really love to know.  

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187252
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services ok for sensitive data?

2004-12-12 Thread Barney Boisvert
A web service is exactly the same as a normal web request, except
that they're designed to be made by machines, and not web browsers. 
They're not any more or less secure than any interaction over the web.
 So if a given piece of data is exchanged with a normal client (i.e.
a user with a browser), then just make sure your web service has the
same security considerations placed on it (HTTPS, appropriate
authentication and authorization), and it'll be just as secure.

cheers,
barneyb

On Sun, 12 Dec 2004 10:55:15 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
 Is a web service feasible for sensitive data? Like passing sensitive data to 
 the service?
 
 I don't know enough about them, but I'd think not.
 
 Thanks,
 Will
 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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


RE: Blackstone Beta

2004-12-12 Thread Jim Davis
 -Original Message-
 From: Will Tomlinson [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 12, 2004 10:22 AM
 To: CF-Talk
 Subject: Re: Blackstone Beta
 
 
 Your comment proves a point I should've made stronger - up-front
 software license costs are fluid, and not a very good basis for
 decision making.
 
 
 There's the rub with CF. I agree with what you're saying, but then I have
 to explain to my small-medium sized clients this concept. You have to SELL
 them on CF. Do you do it by saying, the code is so much easier, and I'll
 have less development time involved in your project because of it? The
 small - medium guys are listening to me and looking at 6K up front!
 
 Is a shift to .NET taking place because clients aren't being *SOLD* on CF?

Small to medium sized clients are exactly the ones that would benefit from
the professional edition of CF (at $1300 less depending on current deals) or
BlueDragon Server (starting at free).

Recommending CF Enterprise to small/medium clients is, in most cases, simply
wrong and completely overkill.

Jim Davis




~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187278
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-12 Thread Roger B.
 ASP.NET is taking market away from CF!

I doubt you can substantiate that. CF's market share appears to have shrunk
from the old 2.0 and 3.0 days, but there's been a lot more going on than
ASP.NET. In fact, ASP.NET is a minor blip on CF's radar when compared to the
giant swarm of open-source development platforms like PHP.

  I'm just trying to wake people up...

Why? Perhaps people know something about their businesses or clients that
you don't.

 CF is still 
 outrageous to purchase.

(1) Anyone who is price-conscious won't be using ASP.NET. They'll be using
PHP or Ruby on a Linux box.

(2) Anyone who is forced to pay an outrageous price for CF (those in need of
Enterprise features) is already paying much, much more for the development
and hosting of a large, complicated, and clustered application.


--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/  





~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187279
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


select next/previous *record*?

2004-12-12 Thread Matt Robertson
I have an application where the user selects a record via a key
lookup, and then that record is displayed individually.  From there I
want to be able to click a '' button to go to the previous record in
the sequence, or a '' to go to the next record, and continue to
select records via this method as an alternative to the key lookup.

I did this in an entirely different environment where I was able to
use native controls that allowed straight up SELECT NEXT and SELECT
PREVIOUS commands, where I was also able to throw those commands into
a loop for fast forward and rewind as well.  Don't expect to get that
in the web world, but I need the next/previous.

I think I can come up with something, but the convolutions necessary
to make it work are making my head hurt.  Is there something simple
and obvious I have missed on this (for me) Sunday morning?.

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187281
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: select next/previous *record*?

2004-12-12 Thread Barney Boisvert
I'm not sure exactly what you're looking for, but if it's SQL, I've
done this in the past:

SELECT *
FROM table
WHERE id  #currentId#
ORDER BY id DESC
LIMIT 1

for getting the previous item.  Just flipt the  to  and make the
order ASC to get next record.  The LIMIT clause is MySQL's version of
MS products' TOP clause.  If you want to fast forward, the LIMIT
clause also specifies an offset, so you can do LIMIT 19, 1 to pull the
20th item in the list.  With MS's TOP clause, you have to pull all 20,
and then just look at the last one, I believe.

cheers,
barneyb

On Sun, 12 Dec 2004 10:58:50 -0800, Matt Robertson
[EMAIL PROTECTED] wrote:
 I have an application where the user selects a record via a key
 lookup, and then that record is displayed individually.  From there I
 want to be able to click a '' button to go to the previous record in
 the sequence, or a '' to go to the next record, and continue to
 select records via this method as an alternative to the key lookup.
 
 I did this in an entirely different environment where I was able to
 use native controls that allowed straight up SELECT NEXT and SELECT
 PREVIOUS commands, where I was also able to throw those commands into
 a loop for fast forward and rewind as well.  Don't expect to get that
 in the web world, but I need the next/previous.
 
 I think I can come up with something, but the convolutions necessary
 to make it work are making my head hurt.  Is there something simple
 and obvious I have missed on this (for me) Sunday morning?.
 
 --
 --Matt Robertson--
 President, Janitor
 MSB Designs, Inc.
 mysecretbase.com
 


-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187283
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54