Re: CF developer numbers
Or maybe even consider not going down the Blue Alanta pricing, but their own Flex pricing? Surely this would open up the gates a little? As long as you can gaurantee (somehow) that the site is going to be used for personal use (or charity etc) by giving the server away free in these cases means that ISP can offer CF at a rate thats in competition with ASP and PHP hosting. I know that CF costs more to host, and i've seen the threads that outway costs against development time. We all have. But i still know smaller developers who would rather pay £29 a year (http://www.web-hosting.uk.com/packages/) for hosting ASP or PHP than £119 (http://cfmxhosting.co.uk/index.cfm?action=services.hosting) and get half the features. I know that development time levy's of the cost etc, but to the small developer he see's his hosting cost in this example as 400% bigger than if he was hosting with another language. Andy www.andyjarrett.co.uk On Wed, 20 Oct 2004 20:51:19 -0700, Barney Boisvert [EMAIL PROTECTED] wrote: What do you think would make a difference? Or put even more bluntly, if you were my boss and could dictate how I spent my time, what would you want me doing to spread the gospel according to Saint CF? What ever's going to keep MM going strong and CF becoming a better product is what you ought to be doing. I'm convinced that's the large company market based on events of the past year or so, and your comments back that up 100%. However, there's still a lot of little guys around in the world, most of which aren't going to be affecting CF's overall revenue in any significant way (what's $1300 every few years next to $50,000 for 10 clustered CF enterprises), but it still represents a significant portion of the developer base. That developer base is a very valuable asset to MM's overall marketing of CF, more voices translates to more converts translates to more sales. If the little guys start petering out for PHP, ASP, or whatever, suddenly there's a lot less noise being made about CF, except withing the tight circles of corporate IT departments. This hasn't hurt Java or .NET in any way, of course, but it's going to piss off a LOT of CF developers who've invested heavily but have been swept by the wayside by MM, because they don't contribute to the bottom line enough to matter. Java and .NET have a certain barrier to entry. You just can't go that route without some real resources. PHP takes nothing but hardware. CF floats somewhere in the middle. So along with provding for the future development of CF and MM as a whole, a nod to the existing user base would be nice. How much do CF Standard sales account for? Would dropping that price down by 50% have a huge effect on the overall bottom line? I bet you'd get more sales if you did. (Chalk me up for at least one, but for now, it's JSPs for me). Hell, maybe even consider New Atlanta's route. Take CF Standard, trim it down some more (no CFX, only Access and MySQL, maybe even single-threaded) and give it away. With the unified codebase, you just change a serial to upgrade, and that's it. I have no idea if any of that is feasible, or even reasonable, you'll have to tell us that. But it some thoughts from a little guy that's seen MM ignore us more and more in favor of the big guy. cheers, barneyb On Wed, 20 Oct 2004 22:51:30 -0400, Ben Forta [EMAIL PROTECTED] wrote: Interesting thread, on a whole bunch of levels. A few comments, and then an open question ... 1) Lots of messages imply that MM is not working on getting the word out there. And I know for a fact that that is not true, it is what I do almost full-time, and others work at it too. Maybe many are not seeing it, I'll get back to that in a moment. 2) We are selling lots of CF. I can't disclose numbers and financials and stuff without getting into all sorts of trouble, but I don't think I'll get fired for saying that CF is indeed selling, and selling well. 3) What I have noticed is a dramatic change in who I am speaking to, and the types of conversations. A few years ago I was talking to lots of .com start-ups and developments shops and consultants and departmental decision makers. I honestly don't bump into many of these anymore. But I do spend lots of time talking to corporate decision makers, in the past few weeks I have met with no less than a dozen well known very high profile corporations, all using CF and lots of it. And this is reflected in the types of sales we are making, and who we are selling to. With the changes in CFMX, the maturation of the market in general, the tightening of the purse strings and the subsequent trend towards consolidation and bringing projects back in house, we are finding ourselves selling CF differently. Even pricing, which some of you pointed out as an obstacle to CF growth, is in reality not much of an obstacle. We rarely finds ourselves talking to those for
UTF-8 and MySQL
Hi there, I'm pretty sure this is me being naive. But i am running MySQL 4.1.6 and have create a MyIsam table with a UTF-8 character set. UPDATE cc_languages2 lang_coutry = 'Ελλάδα' WHERE langId = 2 When i run the above code in a cftry block i get the following error returned You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 'Îλλάδα' WHERE langId = 2 Do i need to convert the text i am updating before i run the SQL (by the way it says Greece in Greek)?? Cheers Andy www.andyjarrett.co.uk ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182146 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: UTF-8 and MySQL
Fixed already bad, SQL statement, i was too concerned thinking it was a UTF-8 problem. Andy On Thu, 21 Oct 2004 08:49:30 +0100, Andy Jarrett [EMAIL PROTECTED] wrote: Hi there, I'm pretty sure this is me being naive. But i am running MySQL 4.1.6 and have create a MyIsam table with a UTF-8 character set. UPDATE cc_languages2 lang_coutry = 'Ελλάδα' WHERE langId = 2 When i run the above code in a cftry block i get the following error returned You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 'Îλλάδα' WHERE langId = 2 Do i need to convert the text i am updating before i run the SQL (by the way it says Greece in Greek)?? Cheers Andy www.andyjarrett.co.uk ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182147 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 developer numbers
Well, if I lived in an area with a poor market I'd start by becoming VERY active in the User Group. So active that I ended-up speaking nearly every month. So active that I'd help with organizing and promoting it. I'd be sure to always illustrate and emphasise the strengths of the CF Server and J2EE in general when I present. I'd also try to get more and newer companies to come. I recently spoke with the other UK CFUG Board Members about how to draw more people to the meetings and one of my number one suggestions was to invite a .NET speaker every now and then. I think the CF people would find it interesting, it'd bring-in new people, and maybe some of those new people would end-up being exposed to the world of ColdFusion. I'd also talk with my employer or client(s) if I'm a contractor, about what they could do to excite their employees, the community around them, and their clients, about the technologies they're using. A direct result of that is that has been the sale of ColdFusion to MANY councils in England and Scotland, more emphasis on keeping the server version VERY up to date, and my client bought a nice shiny new Breeze Live Server (not account) because I harrassed them for 7 months about how cool it is and how impressed clients and staff will be when we use it. I saw an opening to help get more Macromedia Server products out there and did something about it. Macromedia periodically (pretty regularly) offers free half-day seminars that illustrate the power and benefits of ColdFusion. I'd see if they're happening near you and help let people know about it. If there isn't one near you, find a training partnerr in the area and talk with them about it. If that doesn't work, ask Macromedia if they can send Ben Forta, another empoyee, or even a Team Macromedia Member to your area to present. There's a lot you can do. I'm sure Rey has put in a lot of effort either now or in the past and I wasn't implying he hasn't. I am only stating that I'd prefer to hear something about what's being done. I know that a lot of you believe it's Macromedia's job to do all of the promoting, etc. and that the market should just be there. Maybe you're right, maybe you're wrong. I think Macromedia already does a lot, but that's beside the point. Macromedia can't focus heavilly on every area (they do try - just look at Ben Forta's schedule if you don't believe me) and if you live in an area that needs someone to help promote CF, it's going to hurt you a lot more than it's going to hurt Macromedia if you don't do anything about it. I'm curious to see how people respond to ben's question... ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Mike Kear wrote: Ok then, lets hear some of the things that a single-person developer working his heart out already to pay the bills can do to increase the market for CF developers, without giving all those opportunities to the other 136 people who responded to the same job. One that springs to mind is that we could stop developing and go without income for a while to start sales activity, to get companies to take on ColdFusion as their server of choice. I accept that. It's pretty hard to be paying the bills as well as doing sales, when you're basically a contractor, but I can see that SOMEONE has to do some selling, and in a one person business, there's no doubt who that is. What else? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182148 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 developer numbers
one thing I'd like to just mention is that if you're at MAX, there will be a lot of Macromedia folks there to talk to about these issues/concerns. Grab Ben if you can. Go over to the Community Pit - the MMUG and Team Macromedia folks will be there. Also, talk with Myself about it - not only for my thoughts and suggestions but because this is the kind of thing that CFDJ should be helping to combat. April Fleming is also going to be covering MAX for CFDJ - talk with her. Either way, you should definitely let people at Macromedia know about what's going on near you and your thoughts on the matter. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Andy Jarrett wrote: Or maybe even consider not going down the Blue Alanta pricing, but their own Flex pricing? Surely this would open up the gates a little? As long as you can gaurantee (somehow) that the site is going to be used for personal use (or charity etc) by giving the server away free in these cases means that ISP can offer CF at a rate thats in competition with ASP and PHP hosting. I know that CF costs more to host, and i've seen the threads that outway costs against development time. We all have. But i still know smaller developers who would rather pay £29 a year (http://www.web-hosting.uk.com/packages/) for hosting ASP or PHP than £119 (http://cfmxhosting.co.uk/index.cfm?action=services.hosting) and get half the features. I know that development time levy's of the cost etc, but to the small developer he see's his hosting cost in this example as 400% bigger than if he was hosting with another language. Andy www.andyjarrett.co.uk On Wed, 20 Oct 2004 20:51:19 -0700, Barney Boisvert [EMAIL PROTECTED] wrote: What do you think would make a difference? Or put even more bluntly, if you were my boss and could dictate how I spent my time, what would you want me doing to spread the gospel according to Saint CF? What ever's going to keep MM going strong and CF becoming a better product is what you ought to be doing. I'm convinced that's the large company market based on events of the past year or so, and your comments back that up 100%. However, there's still a lot of little guys around in the world, most of which aren't going to be affecting CF's overall revenue in any significant way (what's $1300 every few years next to $50,000 for 10 clustered CF enterprises), but it still represents a significant portion of the developer base. That developer base is a very valuable asset to MM's overall marketing of CF, more voices translates to more converts translates to more sales. If the little guys start petering out for PHP, ASP, or whatever, suddenly there's a lot less noise being made about CF, except withing the tight circles of corporate IT departments. This hasn't hurt Java or .NET in any way, of course, but it's going to piss off a LOT of CF developers who've invested heavily but have been swept by the wayside by MM, because they don't contribute to the bottom line enough to matter. Java and .NET have a certain barrier to entry. You just can't go that route without some real resources. PHP takes nothing but hardware. CF floats somewhere in the middle. So along with provding for the future development of CF and MM as a whole, a nod to the existing user base would be nice. How much do CF Standard sales account for? Would dropping that price down by 50% have a huge effect on the overall bottom line? I bet you'd get more sales if you did. (Chalk me up for at least one, but for now, it's JSPs for me). Hell, maybe even consider New Atlanta's route. Take CF Standard, trim it down some more (no CFX, only Access and MySQL, maybe even single-threaded) and give it away. With the unified codebase, you just change a serial to upgrade, and that's it. I have no idea if any of that is feasible, or even reasonable, you'll have to tell us that. But it some thoughts from a little guy that's seen MM ignore us more and more in favor of the big guy. cheers, barneyb On Wed, 20 Oct 2004 22:51:30 -0400, Ben Forta [EMAIL PROTECTED] wrote: Interesting thread, on a whole bunch of levels. A few comments, and then an open question ... 1) Lots of messages imply that MM is not working on getting the word out there. And I know for a fact that that is not true, it is what I do almost full-time, and others work at it too. Maybe many are not seeing it, I'll get back to that in a moment. 2) We are selling lots of CF. I can't disclose numbers and financials and stuff without getting into all sorts of trouble, but I don't think I'll get fired for saying that CF is indeed selling, and selling well. 3) What I have noticed is a dramatic change in who I am speaking to, and the types of conversations. A few years ago I was talking to lots of .com start-ups and developments shops and consultants and departmental decision makers. I
RE: Query string in db field
This will fail if you have a parameter without value (e.g. testtest2=1). Also, cf knows lists, so no need to convert to array first: cfoutput cfloop list=#querystring# index=i delimiters= Variable: #ListFirst(i,=)#br Value: #URLDecode(ListRest(i,=))#br /cfloop /cfoutput Pascal -Original Message- From: Umer Farooq [mailto:[EMAIL PROTECTED] Sent: 20 October 2004 20:39 To: CF-Talk Subject: Re: Query string in db field Sample code-- no error checking.. bunch of other ways to do it also.. cfset eachString = arrayNew(1) cfset pairedValue= arrayNew(1) cfset queryString = name=somenameid=12address=123email=yes cfset eachString = listToArray(queryString , ) cfloop from=1 to=#arrayLen(eachString)# index=i cfset pairedValue=listToArray(eachString[i], =) cfoutput Variable: #pairedValue[1]#br Value: #pairedValue[2]#br /cfoutput /cfloop ~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182150 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: JSSTRINGFORMAT
http://www.macromedia.com/support/coldfusion/ts/documents/cfmlhistory.ht m Pascal -Original Message- From: Ciliotta, Mario [mailto:[EMAIL PROTECTED] Sent: 20 October 2004 23:54 To: CF-Talk Subject: JSSTRINGFORMAT Hi, Can anyone tell when JSStringFormat was introduced into CF. Was only from version 6 and up. Thanks Mario ~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182151 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: UTF-8 and MySQL
Ok, im stuck again with this whole UTF-8 problem. This time outputting the results. Below is my complete page that i am testing cfprocessingdirective pageencoding=utf-8 cfcontent type=text/html; charset=utf-8 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd; html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en head title/title meta http-equiv=Content-Type content=text/html; charset=utf-8 / /head body cfquery datasource=#dsn# name=q SELECT * FROM cc_languages WHERE langId = '2' /cfquery cfoutput #q.lang_country# /cfoutput /cftry /body /html This should simply out Ελλάδα, but its not i am getting junk. I am running MySQL 4.1.6, on CFMX 6.1, windowsXP pro Cheers Andy On Thu, 21 Oct 2004 08:57:20 +0100, Andy Jarrett [EMAIL PROTECTED] wrote: Fixed already bad, SQL statement, i was too concerned thinking it was a UTF-8 problem. Andy On Thu, 21 Oct 2004 08:49:30 +0100, Andy Jarrett [EMAIL PROTECTED] wrote: Hi there, I'm pretty sure this is me being naive. But i am running MySQL 4.1.6 and have create a MyIsam table with a UTF-8 character set. UPDATE cc_languages2 lang_coutry = 'Ελλάδα' WHERE langId = 2 When i run the above code in a cftry block i get the following error returned You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 'Îλλάδα' WHERE langId = 2 Do i need to convert the text i am updating before i run the SQL (by the way it says Greece in Greek)?? Cheers Andy www.andyjarrett.co.uk ~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182152 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: Connection Reset By Peer
The newest cfmx 6.1 updater has resolved this problem on our servers. Rich On Mon, 18 Oct 2004 11:20:58 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Any idea how to increase the coldfusion reserved buffer space? Rich On Mon, 18 Oct 2004 11:10:17 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Could it be spiders and bots that are causing the massive amount of these records in the logs? I find it hard to believe that there are that many impatient users. Rich On Mon, 18 Oct 2004 08:55:14 -0700, Lawrence Ng [EMAIL PROTECTED] wrote: further to my feedback, here's MM's take on it. http://www.macromedia.com/support/coldfusion/ts/documents/connection_reset.htm ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182153 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
error Cannot create cookie: path = /
My default error log has a bunch of entries like this, the day changes: 10/20 11:35:34 error Cannot create cookie: expires = Fri 10/20 11:35:34 error Cannot create cookie: path = / 10/20 11:35:38 error Cannot create cookie: expires = Fri 10/20 11:35:38 error Cannot create cookie: path = / 10/20 11:35:40 error Cannot create cookie: expires = Fri 10/20 11:35:40 error Cannot create cookie: path = / Any ideas? Rich ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182154 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 developer numbers
I think that touches on the issue, CF is often perceieved as the layman's development platform and not taken seriously (such as .NET or J2EE) by many decision makers. It's MM's job to ensure that CF is taken seriously by folks at the right levels. Is that the gist of what we feel would help us help them :P ? - Calvin -Original Message- From: Tim Laureska Date: 10/20/04 8:56 pm To: CF-Talk Subj: RE: CF developer numbers Here, here Mike... Don't get me wrong, I love CF... it's what I use most for the sites I build, however, marketing is not my forte nor do I have the time to be an evangelist. I am a small shop web developer with limited staff and my clients don't have a clue what CF, ASP, .Net or PHP are. They only look at results (and costs - -I'm running up against much cheaper php sites now)... but if some effort were put forth at marketing to the laymen's level (public - small business owner - at least Cold Fusion Name Recognition by MM), marketing locally would be easier and accordingly CF presence would increase (or at least be known as an option)... Small businesses represent a tremendous market to be had - I don't know enough about MM's focus though IMHO Tim -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 8:19 PM To: CF-Talk Subject: Re: CF developer numbers Ok then, lets hear some of the things that a single-person developer working his heart out already to pay the bills can do to increase the market for CF developers, without giving all those opportunities to the other 136 people who responded to the same job. One that springs to mind is that we could stop developing and go without income for a while to start sales activity, to get companies to take on ColdFusion as their server of choice. I accept that. It's pretty hard to be paying the bills as well as doing sales, when you're basically a contractor, but I can see that SOMEONE has to do some selling, and in a one person business, there's no doubt who that is. What else? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year On Thu, 21 Oct 2004 00:58:12 +0100, Simon Horwith [EMAIL PROTECTED] wrote: this thread's getting a bit off topic, but I'll give a brief response. I don't personally like hearing about how bad the market is in an area... I want to hear about what someone is doing about it. If anyone would like suggestions about what they can do, I'll gladly give them a ton of them. If you frequently encounter companies or individuals with misconceptions and/or inhibitions about ColdFusion, or there's a poor ColdFusion market in your area, then you should do something about it. If you can't be bothered to do something about it then perhaps you're ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182155 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: Laszlo decision to open source pays a dividend
True, I guess I was just trying to say some things would be alot more fun were there a WYSIWIG editor. BTW, some kind gentlemen recently wrote the files necessary to get Dreamweaver and HomeSite+/CF Studio to parse Laszlo. That's very good news indeed: http://www.laszlosystems.com/developers/community/forums/showthread.php?threadid=1242goto=newpost -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 10:40 AM To: CF-Talk Subject: Re: Laszlo decision to open source pays a dividend On Monday 18 Oct 2004 15:03 pm, E C list wrote: instance, can get very tedious when you have to specify X,Y coordinates for the placement of each field. That's why they have the concept of layout's, so you don't have to, isn't it ? -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** - ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182156 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 developer numbers
It's interesting times we live in and things continue to look up for the tech market and ColdFusion developers in particular, however something is missing from the mix. I invite folks to glance at the Q205 Investor Update and look at Slide 5. Nowhere is the product ColdFusion or even JRun mentioned in the three synergistic businesses that Macromedia operates in. ColdFusion isn't mentioned specifically until it is mentioned in the same breath as Director on Slide 16, where we find out there are hundreds of thousands of users of both products. Talk about dilution! We get 14 more seconds talking about ColdFusion talking to cell phones. Breeze gets 4 to 5 slides, mobile technology interests get a great number of slides. I suppose we should be glad that CF and Director are last but not least together! What's not apparent is top down committment to the growth of the CF market. and to a degree a high level dismissal of the product's potential importance. That's just my thoughts at the moment ;P - Calvin -Original Message- From: Ben Forta Date: 10/20/04 10:52 pm To: CF-Talk Subj: RE: CF developer numbers Interesting thread, on a whole bunch of levels. A few comments, and then an open question ... 1) Lots of messages imply that MM is not working on getting the word out there. And I know for a fact that that is not true, it is what I do almost full-time, and others work at it too. Maybe many are not seeing it, I'll get back to that in a moment. 2) We are selling lots of CF. I can't disclose numbers and financials and stuff without getting into all sorts of trouble, but I don't think I'll get fired for saying that CF is indeed selling, and selling well. 3) What I have noticed is a dramatic change in who I am speaking to, and the types of conversations. A few years ago I was talking to lots of .com start-ups and developments shops and consultants and departmental decision makers. I honestly don't bump into many of these anymore. But I do spend lots of time talking to corporate decision makers, in the past few weeks I have met with no less than a dozen well known very high profile corporations, all using CF and lots of it. And this is reflected in the types of sales we are making, and who we are selling to. With the changes in CFMX, the maturation of the market in general, the tightening of the purse strings and the subsequent trend towards consolidation and bringing projects back in house, we are finding ourselves selling CF differently. Even pricing, which some of you pointed out as an obstacle to CF growth, is in reality not much of an obstacle. We rarely finds ourselves talking to those for whom the cost of CF Standard is a deal-breaker, those who want to only look at the initial cost. I can state quite emphatically that I have not heard price as an objection in a long time now, not where we are finding ourselves playing. The market has changed and space has changed. 4) Which brings me back to point #1. We are blowing the CF horn loud and clear, but ads in trade rags and banners on coding sites and blurbs in tech journals don't cut it anymore. We've ran ad campaigns, we know what they cost and know how effective they are (or are not), and this has necessitated a change in how we blow that horn (and where we blow it). And so my question to you is this ... What do you think would make a difference? Or put even more bluntly, if you were my boss and could dictate how I spent my time, what would you want me doing to spread the gospel according to Saint CF? --- Ben -Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 8:03 PM To: CF-Talk Subject: Re: CF developer numbers Man Dave, this one sentence sums up my gripes with MM: But maybe if MM did show more of what cfm can do it would get those ppl over from the other launguages. You can throw in the kitchen sink but if you don't get the word out, it doesn't mean squat. Great post bud. Rey... ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182157 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: RE: CF developer numbers
I agree that Macromedia does have a responsibility to present CF as an Enterprise solution and a real development platform, but also remember that the experience(s) companies have in dealing with CF developers and the quality of code we CF developers produce, also has a large impact on the perception people have about ColdFusion. ~Simon I think that touches on the issue, CF is often perceieved as the layman's development platform and not taken seriously (such as .NET or J2EE) by many decision makers. It's MM's job to ensure that CF is taken seriously by folks at the right levels. Is that the gist of what we feel would help us help them :P ? - Calvin -Original Message- From: Tim Laureska Date: 10/20/04 8:56 pm To: CF-Talk Subj: RE: CF developer numbers Here, here Mike... Don't get me wrong, I love CF... it's what I use most for the sites I build, however, marketing is not my forte nor do I have the time to be an evangelist. I am a small shop web developer with limited staff and my clients don't have a clue what CF, ASP, .Net or PHP are. They only look at results (and costs - -I'm running up against much cheaper php sites now)... but if some effort were put forth at marketing to the laymen's level (public - small business owner - at least Cold Fusion Name Recognition by MM), marketing locally would be easier and accordingly CF presence would increase (or at least be known as an option)... Small businesses represent a tremendous market to be had - I don't know enough about MM's focus though IMHO Tim -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 8:19 PM To: CF-Talk Subject: Re: CF developer numbers Ok then, lets hear some of the things that a single-person developer working his heart out already to pay the bills can do to increase the market for CF developers, without giving all those opportunities to the other 136 people who responded to the same job. One that springs to mind is that we could stop developing and go without income for a while to start sales activity, to get companies to take on ColdFusion as their server of choice. I accept that. It's pretty hard to be paying the bills as well as doing sales, when you're basically a contractor, but I can see that SOMEONE has to do some selling, and in a one person business, there's no doubt who that is. What else? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year On Thu, 21 Oct 2004 00:58:12 +0100, Simon Horwith [EMAIL PROTECTED] wrote: this thread's getting a bit off topic, but I'll give a brief response. I don't personally like hearing about how bad the market is in an area... I want to hear about what someone is doing about it. If anyone would like suggestions about what they can do, I'll gladly give them a ton of them. If you frequently encounter companies or individuals with misconceptions and/or inhibitions about ColdFusion, or there's a poor ColdFusion market in your area, then you should do something about it. If you can't be bothered to do something about it then perhaps you're ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182158 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: Oracle stored procedure returning a cursor
Make sure your driver is DataDirect 3.3...I was using 3.1 and it would not work, upgraded them and everything was fine. And we found the opposite - 3.3 killed us. 3.1 works fine. ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182159 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 developer numbers
Ben ( and all of MM), Things that you are most known for doing (speaking at user groups / conferences) would be considered by many as preaching to the choir. If you tell a ColdFusion developer about ColdFusion, that doesn't count as getting the word out. I can't speak intelligently on any other form of getting the word out that MM is doing. Aside from the CFDJ, I've never seen an ad for CF. But, then again I've never seen an ad for .NET or Java or PHP either. Someone else said that MM should be going after smaller developers. If I were MM, I don't know if I'd spend money trying to convert individual PHP developers. In many cases higher-up folks will be making decisions based on political reasons (someone told me x technology is good, so build this project in x technology). In many cases, I come into the development picture long after the technology is chosen, and have no say in the technology. At 05:02 AM 10/21/2004, you wrote: Subject: CF developer numbers From: Ben Forta [EMAIL PROTECTED] Date: Wed, 20 Oct 2004 22:51:30 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadid=36074forumid=4#182135 Interesting thread, on a whole bunch of levels. A few comments, and then an open question ... 1) Lots of messages imply that MM is not working on getting the word out there. And I know for a fact that that is not true, it is what I do almost full-time, and others work at it too. Maybe many are not seeing it, I'll get back to that in a moment. -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com My Recording Studio: http://www.fcfstudios.com My Energetic Acoustic Rock Band: http://www.farcryfly.com -- When did Reality Become TV ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182160 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: Running tasks in a console window?
I haven't tried that yet, will give it a shot this afternoon sometime. -- Jay -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: 20 October 2004 14:31 To: CF-Talk Subject: RE: Running tasks in a console window? So you haven't tried an arguments array then. Try this.. cfscript args = arraynew(1); args[1] = file; args[2] = url; args[3] = etc; /cfscript cfexecute name=c:\path\curl.exe arguments=#args# timeout=30/cfexecute Might not make a difference, but its worth a try. -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: 20 October 2004 13:42 To: CF-Talk Subject: RE: Running tasks in a console window? I have tried... cfexecute name=c:\path\curl.exe --arguments . someurl/ cfexecute name=c:\path\curl.exe arguments=--arguments .someurl/ Both with and without timeout variables. I have even tried... cfexecute name=c:\windows\system32\cmd.exe arguments=/c c:\path\curl.exe .../ And all produce the same result. -- Jay ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182161 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 developer numbers
I don't agree completely. I think going after the individual developers is key long term. Many individual developers become key players in larger organizations as they grow professionally, and often even start their own successful organziations. My previous employment being a key example, which now employs over 50 CF developers, but started as just two people hacking out code in CF. Those two people drive the technology choice for a mid sized successful organization now, which over time has amounted to large amounts of money spent in Macromedia's direction, and employes dozens of our CF compatriats gainfully! Yes do focus on the 'little guy'!! - Calvin -Original Message- From: Jeffry Houser Date: 10/21/04 8:10 am To: CF-Talk Subj: Re: CF developer numbers Ben ( and all of MM), Things that you are most known for doing (speaking at user groups / conferences) would be considered by many as preaching to the choir. If you tell a ColdFusion developer about ColdFusion, that doesn't count as getting the word out. I can't speak intelligently on any other form of getting the word out that MM is doing. Aside from the CFDJ, I've never seen an ad for CF. But, then again I've never seen an ad for .NET or Java or PHP either. Someone else said that MM should be going after smaller developers. If I were MM, I don't know if I'd spend money trying to convert individual PHP developers. In many cases higher-up folks will be making decisions based on political reasons (someone told me x technology is good, so build this project in x technology). In many cases, I come into the development picture long after the technology is chosen, and have no say in the technology. At 05:02 AM 10/21/2004, you wrote: Subject: CF developer numbers From: Ben Forta [EMAIL PROTECTED] Date: Wed, 20 Oct 2004 22:51:30 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadiid=36074forumid=4#182135 Interesting thread, on a whole bunch of levels. A few comments, and then an open question ... 1) Lots of messages imply that MM is not working on getting the word out there. And I know for a fact that that is not true, it is what I do almost full-time, and others work at it too. Maybe many are not seeing it, I'll get back to that in a moment. -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com My Recording Studio: http://www.fcfstudios.com My Energetic Acoustic Rock Band: http://www.farcryfly.com -- When did Reality Become TV ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182162 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 developer numbers
I've seen 3 user groups come and go in Connecticut due to lack of attendance. I had spoken at them, but there was never anyone to speak too. How do you suggest getting the word out? Word of mouth? Or something else? Instead of trying to put together a CFUG, I'd recommend finding alternate groups (Java, .NET, linux, networking groups, etc.. ) that you can speak at. What user group is not looking for speakers? Tie your presentation / topic into their general purpose. At a .NET group, I bet you'd raise a lot of heads with something a topic about how they've been doing it all wrong and CF is a better development tool. At 09:01 AM 10/21/2004, you wrote: Subject: CF developer numbers From: Simon Horwith [EMAIL PROTECTED] Date: Thu, 21 Oct 2004 09:02:29 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadid=36074forumid=4#182148 Well, if I lived in an area with a poor market I'd start by becoming VERY active in the User Group. So active that I ended-up speaking nearly every month. So active that I'd help with organizing and promoting it. I'd be sure to always illustrate and emphasise the strengths of the CF Server and J2EE in general when I present. I'd also try to get more and newer companies to come. I recently spoke with the other UK CFUG Board Members about how to draw more people to the meetings and one of my number one suggestions was to invite a .NET speaker every now and then. I think the CF people would find it interesting, it'd bring-in new people, and maybe some of those new people would end-up being exposed to the world of ColdFusion. I'd also talk with my employer or client(s) if I'm a contractor, about what they could do to excite their employees, the community around them, and their clients, about the technologies they're using. A direct result of that is that has been the sale of ColdFusion to MANY councils in England and Scotland, more emphasis on keeping the server version VERY up to date, and my client bought a nice shiny new Breeze Live Server (not account) because I harrassed them for 7 months about how cool it is and how impressed clients and staff will be when we use it. I saw an opening to help get more Macromedia Server products out there and did something about it. Macromedia periodically (pretty regularly) offers free half-day seminars that illustrate the power and benefits of ColdFusion. I'd see if they're happening near you and help let people know about it. If there isn't one near you, find a training partnerr in the area and talk with them about it. If that doesn't work, ask Macromedia if they can send Ben Forta, another empoyee, or even a Team Macromedia Member to your area to present. There's a lot you can do. I'm sure Rey has put in a lot of effort either now or in the past and I wasn't implying he hasn't. I am only stating that I'd prefer to hear something about what's being done. I know that a lot of you believe it's Macromedia's job to do all of the promoting, etc. and that the market should just be there. Maybe you're right, maybe you're wrong. I think Macromedia already does a lot, but that's beside the point. Macromedia can't focus heavilly on every area (they do try - just look at Ben Forta's schedule if you don't believe me) and if you live in an area that needs someone to help promote CF, it's going to hurt you a lot more than it's going to hurt Macromedia if you don't do anything about it. I'm curious to see how people respond to ben's question... ~Simon -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com My Recording Studio: http://www.fcfstudios.com My Energetic Acoustic Rock Band: http://www.farcryfly.com -- When did Reality Become TV ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182163 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
Lightweight portal framework
Does anyone have a lightweight portal framework for CFMX? All I'm looking for is code to wrap display modules in, and offer registered users their own configurable layout... I'm not looking for the various plugin/modules already developed, just the display/layout framework. Thanks in advance dbk NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182164 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
Submit after Page loads
Hello, We have an CFMX app that is using frames(arrrgh). Is there any way to prevent a submit button in Frame A from working until all of the frame B is loaded? Thanks! - Alex ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182165 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
Has anyone done this?
I have an application that uses sessions and cookies to log people in. Simple enough. Now for my issue. If a user leaves my site and goes somewhere else, and then attempts to use his back button to come back to the site, I would like to return them to the login prompt. Technically, since they didn't log off and moved to another url via a favorite or manually typed, when hitting the back button, they have sessions still active. So they are let back in. Has anyone done this before? I was thinking of checking the referrer, but am unsure if I can get that to work correctly when the user hits the back button. Am I on the right track looking at the CGI referrer variable... Thanks. Jeff ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182166 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: Submit after Page loads
(disregard outlook's capitalization of first char on lines) Something like this would work... (in rough pseudo-code). (Frame A) script language=JavaScript Var ready=false; Function canIDoIt(){ Return ready; } form onSubmit=canIDoIt() /form (Frame B) At the bottom... script Parent.frames['FrameA'].ready=true; /script -Original Message- From: DeMarco, Alex [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 8:53 AM To: CF-Talk Subject: Submit after Page loads Hello, We have an CFMX app that is using frames(arrrgh). Is there any way to prevent a submit button in Frame A from working until all of the frame B is loaded? Thanks! - Alex ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182167 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: Submit after Page loads
in frame b at the beginning of the page using js disable the submit button. then in the body tag use the onLoad method to enable the button, or just put another call at the end of the page. -Original Message- From: DeMarco, Alex [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 8:53 AM To: CF-Talk Subject: Submit after Page loads Hello, We have an CFMX app that is using frames(arrrgh). Is there any way to prevent a submit button in Frame A from working until all of the frame B is loaded? Thanks! - Alex ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182168 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: Submit after Page loads
us e the JavaScript luke! My first thought would be to have an onLoad() event in your pages that sets a var, hasloaded = true. Have your frame with the submit check for this value. Doug On Thu, 21 Oct 2004 08:52:33 -0400, DeMarco, Alex [EMAIL PROTECTED] wrote: Hello, We have an CFMX app that is using frames(arrrgh). Is there any way to prevent a submit button in Frame A from working until all of the frame B is loaded? Thanks! - Alex ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182169 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 developer numbers
Take CF Standard, trim it down some more (no CFX, only Access and MySQL, maybe even single-threaded) and give it away. FWIW, we did that back in the CF4 era, it was called ColdFusion Express, and it did not really make a whole lot of difference in the grand scheme of things. The free developer's edition was a far more successful offering, and one that I wish we'd have had ever since day one. --- Ben -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 11:51 PM To: CF-Talk Subject: Re: CF developer numbers What do you think would make a difference? Or put even more bluntly, if you were my boss and could dictate how I spent my time, what would you want me doing to spread the gospel according to Saint CF? What ever's going to keep MM going strong and CF becoming a better product is what you ought to be doing. I'm convinced that's the large company market based on events of the past year or so, and your comments back that up 100%. However, there's still a lot of little guys around in the world, most of which aren't going to be affecting CF's overall revenue in any significant way (what's $1300 every few years next to $50,000 for 10 clustered CF enterprises), but it still represents a significant portion of the developer base. That developer base is a very valuable asset to MM's overall marketing of CF, more voices translates to more converts translates to more sales. If the little guys start petering out for PHP, ASP, or whatever, suddenly there's a lot less noise being made about CF, except withing the tight circles of corporate IT departments. This hasn't hurt Java or .NET in any way, of course, but it's going to piss off a LOT of CF developers who've invested heavily but have been swept by the wayside by MM, because they don't contribute to the bottom line enough to matter. Java and .NET have a certain barrier to entry. You just can't go that route without some real resources. PHP takes nothing but hardware. CF floats somewhere in the middle. So along with provding for the future development of CF and MM as a whole, a nod to the existing user base would be nice. How much do CF Standard sales account for? Would dropping that price down by 50% have a huge effect on the overall bottom line? I bet you'd get more sales if you did. (Chalk me up for at least one, but for now, it's JSPs for me). Hell, maybe even consider New Atlanta's route. Take CF Standard, trim it down some more (no CFX, only Access and MySQL, maybe even single-threaded) and give it away. With the unified codebase, you just change a serial to upgrade, and that's it. I have no idea if any of that is feasible, or even reasonable, you'll have to tell us that. But it some thoughts from a little guy that's seen MM ignore us more and more in favor of the big guy. cheers, barneyb On Wed, 20 Oct 2004 22:51:30 -0400, Ben Forta [EMAIL PROTECTED] wrote: Interesting thread, on a whole bunch of levels. A few comments, and then an open question ... 1) Lots of messages imply that MM is not working on getting the word out there. And I know for a fact that that is not true, it is what I do almost full-time, and others work at it too. Maybe many are not seeing it, I'll get back to that in a moment. 2) We are selling lots of CF. I can't disclose numbers and financials and stuff without getting into all sorts of trouble, but I don't think I'll get fired for saying that CF is indeed selling, and selling well. 3) What I have noticed is a dramatic change in who I am speaking to, and the types of conversations. A few years ago I was talking to lots of .com start-ups and developments shops and consultants and departmental decision makers. I honestly don't bump into many of these anymore. But I do spend lots of time talking to corporate decision makers, in the past few weeks I have met with no less than a dozen well known very high profile corporations, all using CF and lots of it. And this is reflected in the types of sales we are making, and who we are selling to. With the changes in CFMX, the maturation of the market in general, the tightening of the purse strings and the subsequent trend towards consolidation and bringing projects back in house, we are finding ourselves selling CF differently. Even pricing, which some of you pointed out as an obstacle to CF growth, is in reality not much of an obstacle. We rarely finds ourselves talking to those for whom the cost of CF Standard is a deal-breaker, those who want to only look at the initial cost. I can state quite emphatically that I have not heard price as an objection in a long time now, not where we are finding ourselves playing. The market has changed and space has changed. 4) Which brings me back to point #1. We are blowing the CF horn loud and clear, but ads in trade rags and banners on coding sites and blurbs in tech journals don't cut it anymore. We've ran
RE: CF developer numbers
Calvin, You are 100% correct. The outside world still does not adequately appreciate the CF/Java relationship and what it means. We have an incredibly compelling story, one that resonates when told properly. We invest very heavily in this area, it is indeed our job as you note, and we do it very well. But we continue to struggle with finding the right way to tell it to the masses, without having to drop-ship one of us into each account. --- Ben -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 6:31 AM To: CF-Talk Subject: RE: CF developer numbers I think that touches on the issue, CF is often perceieved as the layman's development platform and not taken seriously (such as .NET or J2EE) by many decision makers. It's MM's job to ensure that CF is taken seriously by folks at the right levels. Is that the gist of what we feel would help us help them :P ? - Calvin -Original Message- From: Tim Laureska Date: 10/20/04 8:56 pm To: CF-Talk Subj: RE: CF developer numbers Here, here Mike... Don't get me wrong, I love CF... it's what I use most for the sites I build, however, marketing is not my forte nor do I have the time to be an evangelist. I am a small shop web developer with limited staff and my clients don't have a clue what CF, ASP, .Net or PHP are. They only look at results (and costs - -I'm running up against much cheaper php sites now)... but if some effort were put forth at marketing to the laymen's level (public - small business owner - at least Cold Fusion Name Recognition by MM), marketing locally would be easier and accordingly CF presence would increase (or at least be known as an option)... Small businesses represent a tremendous market to be had - I don't know enough about MM's focus though IMHO Tim -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 8:19 PM To: CF-Talk Subject: Re: CF developer numbers Ok then, lets hear some of the things that a single-person developer working his heart out already to pay the bills can do to increase the market for CF developers, without giving all those opportunities to the other 136 people who responded to the same job. One that springs to mind is that we could stop developing and go without income for a while to start sales activity, to get companies to take on ColdFusion as their server of choice. I accept that. It's pretty hard to be paying the bills as well as doing sales, when you're basically a contractor, but I can see that SOMEONE has to do some selling, and in a one person business, there's no doubt who that is. What else? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year On Thu, 21 Oct 2004 00:58:12 +0100, Simon Horwith [EMAIL PROTECTED] wrote: this thread's getting a bit off topic, but I'll give a brief response. I don't personally like hearing about how bad the market is in an area... I want to hear about what someone is doing about it. If anyone would like suggestions about what they can do, I'll gladly give them a ton of them. If you frequently encounter companies or individuals with misconceptions and/or inhibitions about ColdFusion, or there's a poor ColdFusion market in your area, then you should do something about it. If you can't be bothered to do something about it then perhaps you're ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182171 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: Re:CF developer numbers
just wanted to chime in and say that I do agree that if you're really interested in helping the CF Community, you can't ignore the other communities. When I was in India, I spoke to a packed house of Flash developers and designers at an MMUG about Flex, Flex with CFML, and software architecture. At mini MAX I'm presenting to a crowd of designers about how I used CF to create an API to allow designers at my client site to easily generate robust interfaces (SVG). About 4 months ago I was a speaker at a Microsoft Wireless conference here in London. I talked about Macromedia's Flash for mobile devices technologies (Flash Lite and especially FlashCast) and I hooked it all in to a great plug for using CF. Some of the best and most informative prsentations I've seen at CFUGS have been given by people well known in other circles and about other technologies... and there were many non- CFers in the audience. It's very important to spread the word outside of the CF Community. That said, it's also important to enthusiastically try to educate and motivate people within the CF Community. Every CFUG attendee that leaves a presentation armed with more or better information about the platform and why it's a viable solution for companies is a very good thing as well. ~Simon I've seen 3 user groups come and go in Connecticut due to lack of attendance. I had spoken at them, but there was never anyone to speak too. How do you suggest getting the word out? Word of mouth? Or something else? Instead of trying to put together a CFUG, I'd recommend finding alternate groups (Java, .NET, linux, networking groups, etc.. ) that you can speak at. What user group is not looking for speakers? Tie your presentation / topic into their general purpose. At a .NET group, I bet you'd raise a lot of heads with something a topic about how they've been doing it all wrong and CF is a better development tool. At 09:01 AM 10/21/2004, you wrote: Subject: CF developer numbers From: Simon Horwith [EMAIL PROTECTED] Date: Thu, 21 Oct 2004 09:02:29 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadid=36074; forumid=4#182148 Well, if I lived in an area with a poor market I'd start by becoming VERY active in the User Group. So active that I ended-up speaking nearly every month. So active that I'd help with organizing and promoting it. I'd be sure to always illustrate and emphasise the strengths of the CF Server and J2EE in general when I present. I'd also try to get more and newer companies to come. I recently spoke with the other UK CFUG Board Members about how to draw more people to the meetings and one of my number one suggestions was to invite a .NET speaker every now and then. I think the CF people would find it interesting, it'd bring-in new people, and maybe some of those new people would end-up being exposed to the world of ColdFusion. I'd also talk with my employer or client(s) if I'm a contractor, about what they could do to excite their employees, the community around them, and their clients, about the technologies they're using. A direct result of that is that has been the sale of ColdFusion to MANY councils in England and Scotland, more emphasis on keeping the server version VERY up to date, and my client bought a nice shiny new Breeze Live Server (not account) because I harrassed them for 7 months about how cool it is and how impressed clients and staff will be when we use it. I saw an opening to help get more Macromedia Server products out there and did something about it. Macromedia periodically (pretty regularly) offers free half-day seminars that illustrate the power and benefits of ColdFusion. I'd see if they're happening near you and help let people know about it. If there isn't one near you, find a training partnerr in the area and talk with them about it. If that doesn't work, ask Macromedia if they can send Ben Forta, another empoyee, or even a Team Macromedia Member to your area to present. There's a lot you can do. I'm sure Rey has put in a lot of effort either now or in the past and I wasn't implying he hasn't. I am only stating that I'd prefer to hear something about what's being done. I know that a lot of you believe it's Macromedia's job to do all of the promoting, etc. and that the market should just be there. Maybe you're right, maybe you're wrong. I think Macromedia already does a lot, but that's beside the point. Macromedia can't focus heavilly on every area (they do try - just look at Ben Forta's schedule if you don't believe me) and if you live in an area that needs someone to help promote CF, it's going to hurt you a lot more than it's going to hurt Macromedia if you don't do anything about it. I'm curious to see how people respond to ben's question... ~Simon -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer AIM: Reboog711 | Phone:
Re: Has anyone done this?
I was thinking of checking the referrer, Many browsers will hide/not send the last URL. :( Anders +===+ |Anders Green Email: [EMAIL PROTECTED] | | Home: 919.303.0218 | |Off Road Rally Racing Team: http://linaracing.com/ | +===+ ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182173 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 developer numbers
Excuse me - but why would being an MCSE make one more likely to overlook CF as an App server? Mark A. Kruger, CFG, MSCE www.cfwebtools.com www.necfug.com http://blog.mxconsulting.com -Original Message- -- [quote]I think the director of our division put it best when he said 'cf wasn't a realy app server until cfmx'. The people who think its not an app server today either haven't looked since CFMX, or are MCSEs.[/quote] ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182174 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: Re:CF developer numbers
Agreed. I personally have spoken to everything from WebSphere groups to Flash conferences to wireless events to Sun events in US and Asia, and more. Hey, so if I talk to CFUGs I am preaching to the choir. And if I talk to the outside world CFers don't see it and assume we are not doing it. Oh, joy! :-) Ok, I'm kidding - Simon, you are correct, both are important. --- Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 9:30 AM To: CF-Talk Subject: Re: Re:CF developer numbers just wanted to chime in and say that I do agree that if you're really interested in helping the CF Community, you can't ignore the other communities. When I was in India, I spoke to a packed house of Flash developers and designers at an MMUG about Flex, Flex with CFML, and software architecture. At mini MAX I'm presenting to a crowd of designers about how I used CF to create an API to allow designers at my client site to easily generate robust interfaces (SVG). About 4 months ago I was a speaker at a Microsoft Wireless conference here in London. I talked about Macromedia's Flash for mobile devices technologies (Flash Lite and especially FlashCast) and I hooked it all in to a great plug for using CF. Some of the best and most informative prsentations I've seen at CFUGS have been given by people well known in other circles and about other technologies... and there were many non- CFers in the audience. It's very important to spread the word outside of the CF Community. That said, it's also important to enthusiastically try to educate and motivate people within the CF Community. Every CFUG attendee that leaves a presentation armed with more or better information about the platform and why it's a viable solution for companies is a very good thing as well. ~Simon I've seen 3 user groups come and go in Connecticut due to lack of attendance. I had spoken at them, but there was never anyone to speak too. How do you suggest getting the word out? Word of mouth? Or something else? Instead of trying to put together a CFUG, I'd recommend finding alternate groups (Java, .NET, linux, networking groups, etc.. ) that you can speak at. What user group is not looking for speakers? Tie your presentation / topic into their general purpose. At a .NET group, I bet you'd raise a lot of heads with something a topic about how they've been doing it all wrong and CF is a better development tool. At 09:01 AM 10/21/2004, you wrote: Subject: CF developer numbers From: Simon Horwith [EMAIL PROTECTED] Date: Thu, 21 Oct 2004 09:02:29 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadi d=36074 forumid=4#182148 Well, if I lived in an area with a poor market I'd start by becoming VERY active in the User Group. So active that I ended-up speaking nearly every month. So active that I'd help with organizing and promoting it. I'd be sure to always illustrate and emphasise the strengths of the CF Server and J2EE in general when I present. I'd also try to get more and newer companies to come. I recently spoke with the other UK CFUG Board Members about how to draw more people to the meetings and one of my number one suggestions was to invite a .NET speaker every now and then. I think the CF people would find it interesting, it'd bring-in new people, and maybe some of those new people would end-up being exposed to the world of ColdFusion. I'd also talk with my employer or client(s) if I'm a contractor, about what they could do to excite their employees, the community around them, and their clients, about the technologies they're using. A direct result of that is that has been the sale of ColdFusion to MANY councils in England and Scotland, more emphasis on keeping the server version VERY up to date, and my client bought a nice shiny new Breeze Live Server (not account) because I harrassed them for 7 months about how cool it is and how impressed clients and staff will be when we use it. I saw an opening to help get more Macromedia Server products out there and did something about it. Macromedia periodically (pretty regularly) offers free half-day seminars that illustrate the power and benefits of ColdFusion. I'd see if they're happening near you and help let people know about it. If there isn't one near you, find a training partnerr in the area and talk with them about it. If that doesn't work, ask Macromedia if they can send Ben Forta, another empoyee, or even a Team Macromedia Member to your area to present. There's a lot you can do. I'm sure Rey has put in a lot of effort either now or in the past and I wasn't implying he hasn't. I am only stating that I'd prefer to hear something about what's being done. I know that a lot of you believe it's Macromedia's job to do all of the promoting, etc. and that the market should just be there. Maybe you're right,
RE: Has anyone done this?
No I haven't done this but there was just a thread on cookies and back buttons that I think might help you out -Original Message- From: Jeff Waris [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 8:55 AM To: CF-Talk Subject: Has anyone done this? I have an application that uses sessions and cookies to log people in. Simple enough. Now for my issue. If a user leaves my site and goes somewhere else, and then attempts to use his back button to come back to the site, I would like to return them to the login prompt. Technically, since they didn't log off and moved to another url via a favorite or manually typed, when hitting the back button, they have sessions still active. So they are let back in. Has anyone done this before? I was thinking of checking the referrer, but am unsure if I can get that to work correctly when the user hits the back button. Am I on the right track looking at the CGI referrer variable... Thanks. Jeff ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182176 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: Re:CF developer numbers
Just some brief comments on this already very long thread. Who is MM actually targeting CF at? Do they even know? Is it the small shop that has the one developer/designer who wants to be able to quickly knock up a shop front *or* The company churning out Enterprise applications? Perhaps MM is trying to be too much to too many? Perception is everything and if Macromedia are so keen to highlight the relationship between Java and CF where are all the articles on Sun.com/JavaWorld/Java.net/theserverside.com/Oracle.com? If MM want CF to finally be taken seriously they need to expose it to the right people. Its no good showing nice demonstrations of how quickly you can knock up a store front to these large companies. The MM site needs to have more example enterprise applications (on their site) utilizing the CF and J2EE integration. Finally on a slightly unrelated note, MM is going to continue to loose the lead they have on Microsoft by pricing people out of the market with Flex? Are they going to really wait till Microsoft comes out with Avalon (giving it away free of course - built into i.e. 7) and gets people knocking up some awesome RIA applications. I can just see it now: Gartner 2007 Microsoft reinvents the RIA! Kola -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: 21 October 2004 13:36 To: CF-Talk Subject: RE: Re:CF developer numbers Agreed. I personally have spoken to everything from WebSphere groups to Flash conferences to wireless events to Sun events in US and Asia, and more. Hey, so if I talk to CFUGs I am preaching to the choir. And if I talk to the outside world CFers don't see it and assume we are not doing it. Oh, joy! :-) Ok, I'm kidding - Simon, you are correct, both are important. --- Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 9:30 AM To: CF-Talk Subject: Re: Re:CF developer numbers just wanted to chime in and say that I do agree that if you're really interested in helping the CF Community, you can't ignore the other communities. When I was in India, I spoke to a packed house of Flash developers and designers at an MMUG about Flex, Flex with CFML, and software architecture. At mini MAX I'm presenting to a crowd of designers about how I used CF to create an API to allow designers at my client site to easily generate robust interfaces (SVG). About 4 months ago I was a speaker at a Microsoft Wireless conference here in London. I talked about Macromedia's Flash for mobile devices technologies (Flash Lite and especially FlashCast) and I hooked it all in to a great plug for using CF. Some of the best and most informative prsentations I've seen at CFUGS have been given by people well known in other circles and about other technologies... and there were many non- CFers in the audience. It's very important to spread the word outside of the CF Community. That said, it's also important to enthusiastically try to educate and motivate people within the CF Community. Every CFUG attendee that leaves a presentation armed with more or better information about the platform and why it's a viable solution for companies is a very good thing as well. ~Simon I've seen 3 user groups come and go in Connecticut due to lack of attendance. I had spoken at them, but there was never anyone to speak too. How do you suggest getting the word out? Word of mouth? Or something else? Instead of trying to put together a CFUG, I'd recommend finding alternate groups (Java, .NET, linux, networking groups, etc.. ) that you can speak at. What user group is not looking for speakers? Tie your presentation / topic into their general purpose. At a .NET group, I bet you'd raise a lot of heads with something a topic about how they've been doing it all wrong and CF is a better development tool. At 09:01 AM 10/21/2004, you wrote: Subject: CF developer numbers From: Simon Horwith [EMAIL PROTECTED] Date: Thu, 21 Oct 2004 09:02:29 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadi d=36074 forumid=4#182148 Well, if I lived in an area with a poor market I'd start by becoming VERY active in the User Group. So active that I ended-up speaking nearly every month. So active that I'd help with organizing and promoting it. I'd be sure to always illustrate and emphasise the strengths of the CF Server and J2EE in general when I present. I'd also try to get more and newer companies to come. I recently spoke with the other UK CFUG Board Members about how to draw more people to the meetings and one of my number one suggestions was to invite a .NET speaker every now and then. I think the CF people would find it interesting, it'd bring-in new people, and maybe some of those new people would end-up being exposed to the world of ColdFusion. I'd also talk with my employer or client(s) if I'm a contractor, about what they could do to excite their
Re: CF developer numbers
This is the side-effect of how easy cf is to learn. There are thousands of retards out there giving us all a bad name. In the past few months i've interveiwed about 4-5 cf developers per week.. its gotten so bad that a standard question is 'what is an array'. Those are the people who make cf look like some small-business cheapo server. Calling themselves developers when they really just know html and cfquery. So if you run into anyone and they say, 'my company couldn't afford fusebox' or 'we ran into licensing issues when we tried to use arrays', tell them they should check out .NET. -Adam On 21 Oct 2004 06:30:54 -0400, Calvin Ward [EMAIL PROTECTED] wrote: I think that touches on the issue, CF is often perceieved as the layman's development platform and not taken seriously (such as .NET or J2EE) by many decision makers. It's MM's job to ensure that CF is taken seriously by folks at the right levels. Is that the gist of what we feel would help us help them :P ? - Calvin -Original Message- From: Tim Laureska Date: 10/20/04 8:56 pm To: CF-Talk Subj: RE: CF developer numbers Here, here Mike... Don't get me wrong, I love CF... it's what I use most for the sites I build, however, marketing is not my forte nor do I have the time to be an evangelist. I am a small shop web developer with limited staff and my clients don't have a clue what CF, ASP, .Net or PHP are. They only look at results (and costs - -I'm running up against much cheaper php sites now)... but if some effort were put forth at marketing to the laymen's level (public - small business owner - at least Cold Fusion Name Recognition by MM), marketing locally would be easier and accordingly CF presence would increase (or at least be known as an option)... Small businesses represent a tremendous market to be had - I don't know enough about MM's focus though IMHO Tim -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 8:19 PM To: CF-Talk Subject: Re: CF developer numbers Ok then, lets hear some of the things that a single-person developer working his heart out already to pay the bills can do to increase the market for CF developers, without giving all those opportunities to the other 136 people who responded to the same job. One that springs to mind is that we could stop developing and go without income for a while to start sales activity, to get companies to take on ColdFusion as their server of choice. I accept that. It's pretty hard to be paying the bills as well as doing sales, when you're basically a contractor, but I can see that SOMEONE has to do some selling, and in a one person business, there's no doubt who that is. What else? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year On Thu, 21 Oct 2004 00:58:12 +0100, Simon Horwith [EMAIL PROTECTED] wrote: this thread's getting a bit off topic, but I'll give a brief response. I don't personally like hearing about how bad the market is in an area... I want to hear about what someone is doing about it. If anyone would like suggestions about what they can do, I'll gladly give them a ton of them. If you frequently encounter companies or individuals with misconceptions and/or inhibitions about ColdFusion, or there's a poor ColdFusion market in your area, then you should do something about it. If you can't be bothered to do something about it then perhaps you're ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182178 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 developer numbers
Sorry that was just a jab at M$ using the MCSE stereotype. I don't think all MCSEs are morons. (Atleast not the minority that can code) -Adam On Thu, 21 Oct 2004 08:35:26 -0500, Mark A Kruger [EMAIL PROTECTED] wrote: Excuse me - but why would being an MCSE make one more likely to overlook CF as an App server? Mark A. Kruger, CFG, MSCE www.cfwebtools.com www.necfug.com http://blog.mxconsulting.com -Original Message- -- [quote]I think the director of our division put it best when he said 'cf wasn't a realy app server until cfmx'. The people who think its not an app server today either haven't looked since CFMX, or are MCSEs.[/quote] ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182179 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
Need a functioning static CFCHART sample
I'm looking for a simple functioning static CFCHART sample so that I can test our LINUX/MX 6.1 system. Does anyone have a working sample they can send me, or can anyone write and test something and send it to me. I have writen a test peice, but I have no idea if it's bad code, or a bad server config that is crashing it. Thanks, Charles ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182181 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
Need a functioning static CFCHART sample
I'm looking for a simple functioning static CFCHART sample so that I can test our LINUX/MX 6.1 system. Does anyone have a working sample they can send me, or can anyone write and test something and send it to me. I have writen a test peice, but I have no idea if it's bad code, or a bad server config that is crashing it. Thanks, Charles ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182182 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: Submit after Page loads
Personally I wouldn't use the js at the beginning of frame b. Have the button disabled by default then use the onload method to enable the button. Something along the line of: (frame a) input id=submitbutton name=submitbutton type=submit disabled (frame b) script function LoadEnable() { parent.frames['framea'].submitbutton.enable = true; } /script body onload=LoadEnable(); ... Anyhow, my $.02 worth. __ Bill Grover Manager, Information SystemsPhone: 301.424.3300 x3324 EU Services, Inc. FAX:301.424.3696 649 North Horners Lane E-Mail: [EMAIL PROTECTED] Rockville, MD 20850-1299WWW: http://www.euservices.com __ -Original Message- From: John Stanley [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 8:59 AM To: CF-Talk Subject: RE: Submit after Page loads in frame b at the beginning of the page using js disable the submit button. then in the body tag use the onLoad method to enable the button, or just put another call at the end of the page. -Original Message- From: DeMarco, Alex [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 8:53 AM To: CF-Talk Subject: Submit after Page loads Hello, We have an CFMX app that is using frames(arrrgh). Is there any way to prevent a submit button in Frame A from working until all of the frame B is loaded? Thanks! - Alex ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182183 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: Lightweight portal framework
If someone send directions I'll get for use it in our app... Cheers On Thu, 21 Oct 2004 08:28:49 -0400, Katz, Dov B (IT) [EMAIL PROTECTED] wrote: Does anyone have a lightweight portal framework for CFMX? All I'm looking for is code to wrap display modules in, and offer registered users their own configurable layout... I'm not looking for the various plugin/modules already developed, just the display/layout framework. Thanks in advance dbk NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182184 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: Submit after Page loads
I did this a while and had the following in pseudo code which is a bit diff from the other suggestions: (frameset) ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182185 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: Submit after Page loads
try that again without the hyphens :)... I did this a while and had the following in pseudo code which is a bit diff from the other suggestions: (frameset) var hasLoadedFrameA = false; var hasLoadedFrameB = false; function isReady() { if (hasLoadedFrameA ++ hasLoadedFrameB { return true; } else { return false; } } function isLoadedFrameA() { hasLoadedFrameA = true; } function isLoadedFrameA() { hasLoadedFrameB = true; } (frame A) body onload=top.isLoadedFrameA() (frameB) body onload=top.isLoadedFrameB() Then just do all checking on top.isReady() for your onSubmit for the form Was a while ago and it does all seem a little verbose compared to the others now... -- dc ~| Protect your mail server with built in anti-virus protection. It's not only good for you, it's good for everybody. http://www.houseoffusion.com/banners/view.cfm?bannerid=39 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182186 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
Need a functioning static CFCHART sample
I'm looking for a simple functioning static CFCHART sample so that I can test our LINUX/MX 6.1 system. Does anyone have a working sample they can send me, or can anyone write and test something and send it to me. I have writen a test peice, but I have no idea if it's bad code, or a bad server config that is crashing it. Thanks, Charles ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182187 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: UTF-8 and MySQL
Andy Jarrett wrote: first off not really sure mysql supports unicode/utf-8 at all. cfprocessingdirective pageencoding=utf-8 cfcontent type=text/html; charset=utf-8 good. html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en not good if the page is in greek. head title/title meta http-equiv=Content-Type content=text/html; charset=utf-8 / waste of time for mx but useful for brain dead spiders, etc. This should simply out Ελλάδα, but its not i am getting junk. did you remember to add something like UseUnicode=truecharacterEncoding=UTF-8 to that dsn? ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182188 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: Need a functioning static CFCHART sample
!--- Create the chart --- cfchart pieslicestyle=solid format=flash chartHeight = 200 chartWidth = 300 font=Arial gridlines=6 showborder=yes show3d=yes yAxisTitle = Test X Axis url=index.cfm?Item=URLPARAMS HERE !--- Create the chart parameters for a pie chart --- cfchartseries type=pie seriesColor=olive paintStyle=plain !--- Loop over values to assign the chart data --- cfchartdata item = Test item 1 value = 1 cfchartdata item = Test item 2 value = 5 cfchartdata item = Test item 3 value = 55 /cfchartseries /cfchart Ryan Duckworth Macromedia ColdFusion Certified Professional Uhlig Communications 10983 Granada Lane Overland Park, KS 66211 (913) 754-4272 -Original Message- From: Sim, Charles [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 9:07 AM To: CF-Talk Subject: Need a functioning static CFCHART sample I'm looking for a simple functioning static CFCHART sample so that I can test our LINUX/MX 6.1 system. Does anyone have a working sample they can send me, or can anyone write and test something and send it to me. I have writen a test peice, but I have no idea if it's bad code, or a bad server config that is crashing it. Thanks, Charles ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182189 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
Jrun closed connection notification...
Has anyone figure out a way to log the famed JRun closed connection errors? The only way I can tell it happens is by trying to view the app in a browser...any information would be IMMENSELY appreciated- Tyler ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182190 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
what is it called..?
...when you have a value eg 22 which is made up of 2+4+16 so you know of all your options valued 2,4,8,16,32 Etc only 2 and 4 and 16 apply. I know there must be a mathematical name for this, but what? Does anyone have some example CF code to 'decrypt' such numbers? Are there other [simple] ways to do this to handle a large number of options (25, so I don't start having giant numbers?) Something to do with prime numbers perhaps? You can tell I'm not a mathmatician can't you! THANKS! -- Regards; Richard Meredith-Hardy - r[dot]mh[at]flymicro[dot]com Tel: + 44 (0)1462 834776 FAX: + 44 (0)1462 732668 ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182191 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: what is it called..?
You are asking about encryption which is covered very well in the latest CFDJ article by Wayne Graham. It includes step by step implementation. The areticle is here: http://www.sys-con.com/story/?storyid=46359DE=1#RES (scroll down to 2nd page for article) You can make calls like: encrypted = encrypted(password,symmetricKey); decrypted = decrypted(encrypted,symmetricKey); Ryan Duckworth Macromedia ColdFusion Certified Professional Uhlig Communications 10983 Granada Lane Overland Park, KS 66211 (913) 754-4272 -Original Message- From: Richard Meredith-Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 10:26 AM To: CF-Talk Subject: what is it called..? ...when you have a value eg 22 which is made up of 2+4+16 so you know of all your options valued 2,4,8,16,32 Etc only 2 and 4 and 16 apply. I know there must be a mathematical name for this, but what? Does anyone have some example CF code to 'decrypt' such numbers? Are there other [simple] ways to do this to handle a large number of options (25, so I don't start having giant numbers?) Something to do with prime numbers perhaps? You can tell I'm not a mathmatician can't you! THANKS! -- Regards; Richard Meredith-Hardy - r[dot]mh[at]flymicro[dot]com Tel: + 44 (0)1462 834776 FAX: + 44 (0)1462 732668 ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182192 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: what is it called..?
If I read you right all you need to do is convert from decimal to binary, in your case #FormatBaseN(22,2)# should do it. -- Jay -Original Message- From: Richard Meredith-Hardy [mailto:[EMAIL PROTECTED] Sent: 21 October 2004 16:26 To: CF-Talk Subject: what is it called..? ...when you have a value eg 22 which is made up of 2+4+16 so you know of all your options valued 2,4,8,16,32 Etc only 2 and 4 and 16 apply. I know there must be a mathematical name for this, but what? Does anyone have some example CF code to 'decrypt' such numbers? Are there other [simple] ways to do this to handle a large number of options (25, so I don't start having giant numbers?) Something to do with prime numbers perhaps? You can tell I'm not a mathmatician can't you! THANKS! -- Regards; Richard Meredith-Hardy - r[dot]mh[at]flymicro[dot]com Tel: + 44 (0)1462 834776 FAX: + 44 (0)1462 732668 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182193 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: what is it called..?
but you inherit a geat name in mathematics! Hardy! http://www.stetson.edu/~efriedma/periodictable/html/Ho.html So, what are you trying to do? looks like some sort of partitioning looking only at powers of 2.. Can you give another example? Doug On Thu, 21 Oct 2004 16:25:57 +0100, Richard Meredith-Hardy [EMAIL PROTECTED] wrote: ...when you have a value eg 22 which is made up of 2+4+16 so you know of all your options valued 2,4,8,16,32 Etc only 2 and 4 and 16 apply. I know there must be a mathematical name for this, but what? Does anyone have some example CF code to 'decrypt' such numbers? Are there other [simple] ways to do this to handle a large number of options (25, so I don't start having giant numbers?) Something to do with prime numbers perhaps? You can tell I'm not a mathmatician can't you! THANKS! -- Regards; Richard Meredith-Hardy - r[dot]mh[at]flymicro[dot]com Tel: + 44 (0)1462 834776 FAX: + 44 (0)1462 732668 ~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182194 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
Reporting
Our internal application users have been requesting some pretty complicated reports... anywhere from 20-75 data fields organized 25 ways from sunday, etc. What they really desire is to pick any field from any page in the application and generate a custom report, etc. and have the ability to save the criteria to use again, etc. I have some ideas on how to approach this, but in terms of presenting the reports; HTML output is getting tough since they want so much information and the real estate is just not there not too mention some of the reports are going to the president and what not (executive tye reports) and they desire a nice looking report. I have about 7 reports now that are fine in HTML but what are some things I can look into or that others have used in terms of more complicated reports. The backend is a SQL Server 2K DB. Crystal reports? COM and the MS products? The front end and such is done in CFMX 6.1 with lots of JS and CSS. Looking for some ideas or 3rd party products to look into. Thanks, Mike ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182195 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: what is it called..?
GCF - greatest common factor but i have no idea about anything in the CF dept to handle this HTH, Donna On Thu, 21 Oct 2004 16:25:57 +0100, Richard Meredith-Hardy [EMAIL PROTECTED] wrote: ...when you have a value eg 22 which is made up of 2+4+16 so you know of all your options valued 2,4,8,16,32 Etc only 2 and 4 and 16 apply. I know there must be a mathematical name for this, but what? Does anyone have some example CF code to 'decrypt' such numbers? Are there other [simple] ways to do this to handle a large number of options (25, so I don't start having giant numbers?) Something to do with prime numbers perhaps? You can tell I'm not a mathmatician can't you! THANKS! -- Regards; Richard Meredith-Hardy - r[dot]mh[at]flymicro[dot]com Tel: + 44 (0)1462 834776 FAX: + 44 (0)1462 732668 ~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182196 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: what is it called..?
Those would be called bits. 22 would be translated into binary as 1011 or 01011 or 1011 and you can treat each bit as a separate on/off switch. Jerry Johnson [EMAIL PROTECTED] 10/21/04 11:25AM ...when you have a value eg 22 which is made up of 2+4+16 so you know of all your options valued 2,4,8,16,32 Etc only 2 and 4 and 16 apply. I know there must be a mathematical name for this, but what? Does anyone have some example CF code to 'decrypt' such numbers? Are there other [simple] ways to do this to handle a large number of options (25, so I don't start having giant numbers?) Something to do with prime numbers perhaps? You can tell I'm not a mathmatician can't you! THANKS! -- Regards; Richard Meredith-Hardy - r[dot]mh[at]flymicro[dot]com Tel: + 44 (0)1462 834776 FAX: + 44 (0)1462 732668 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182197 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: Has anyone done this?
Now for my issue. If a user leaves my site and goes somewhere else, and then attempts to use his back button to come back to the site, I would like to return them to the login prompt. Technically, since they didn't log off and moved to another url via a favorite or manually typed, when hitting the back button, they have sessions still active. So they are let back in. Has anyone done this before? I was thinking of checking the referrer, but am unsure if I can get that to work correctly when the user hits the back button. Am I on the right track looking at the CGI referrer variable... Unfortunately, you will find it very difficult to do this in a reliable way, I suspect. I'm not sure why you'd want to do it at all - it seems like a significant annoyance for your users. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182198 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: error Cannot create cookie: path = /
My default error log has a bunch of entries like this, the day changes: 10/20 11:35:34 error Cannot create cookie: expires = Fri 10/20 11:35:34 error Cannot create cookie: path = / 10/20 11:35:38 error Cannot create cookie: expires = Fri 10/20 11:35:38 error Cannot create cookie: path = / 10/20 11:35:40 error Cannot create cookie: expires = Fri 10/20 11:35:40 error Cannot create cookie: path = / Any ideas? Can you show the code that you're using to create cookies? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182199 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
StrucKeyFind Question
I have an array of structures in a UDF. I am trying to see if a certain key exists in the structure and if it does I want to highlight the row. When I tried this code CFIF form.process AND StructFindKey( #reqiredfields()#, main ) I got a 500 internal error. Then when I just tried to output the new structure I got an error saying Complex object types cannot be converted to simple values. I have included all of the code below. Can someone please help me with this. Thanks. UDF !--- Are required fields filled in --- cffunction name=reqiredfields returntype=array !--- validate your inputs, set Variables.ErrorText if anything failes --- cfif not len(form.city) or not len(form.country) or not len(form.mgender) or not len(form.dob1) or not len(form.title) or not len(form.message) or not len(form.yold) or not len(form.mold) -- If Error is found, create an Array of Structures --- Cfset emessage = ArrayNew(1) Cfset emessage [1] = StructNew() Cfset emessage[1].ecode = main cfset emessage[1].edisplay = Required fields are blank !--- No City --- cfelseif form.city is Cfset emessage [2] = StructNew() Cfset emessage[2].ecode = city cfset emessage[2].edisplay = You must fill in your city /Cfif cfreturn emessage /cffunction Looking for Structure !--- If something failed, tell the user what it was --- CFIF form.process AND StructFindKey( #reqiredfields()#, main ) Caption align=center valign=top class=errorcfoutput#emessage[1].edisplay#/cfoutput/Caption cfelse Caption align=center valign=top class=errorAll fields marked with * are required/Caption /CFIF ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182200 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: what is it called..?
No relation, I'm afraid! Say I have a DB record with lots of attributes. Rather than have loads of bit columns which each have to be individually evaluated yes/no, I think you can achieve the same thing by having the single value 22 which can be evaluated later to mean 2=yes, 4=yes, 8=no, 16=yes, 32=no Etc. Douglas Knudsen wrote: but you inherit a geat name in mathematics! Hardy! http://www.stetson.edu/~efriedma/periodictable/html/Ho.html So, what are you trying to do? looks like some sort of partitioning looking only at powers of 2.. Can you give another example? Doug On Thu, 21 Oct 2004 16:25:57 +0100, Richard Meredith-Hardy [EMAIL PROTECTED] wrote: ...when you have a value eg 22 which is made up of 2+4+16 so you know of all your options valued 2,4,8,16,32 Etc only 2 and 4 and 16 apply. I know there must be a mathematical name for this, but what? Does anyone have some example CF code to 'decrypt' such numbers? Are there other [simple] ways to do this to handle a large number of options (25, so I don't start having giant numbers?) Something to do with prime numbers perhaps? You can tell I'm not a mathmatician can't you! THANKS! -- Regards; Richard Meredith-Hardy - r[dot]mh[at]flymicro[dot]com Tel: + 44 (0)1462 834776 FAX: + 44 (0)1462 732668 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182201 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: Reporting
In spite of some early growing pains, MS SQL Server Reporting Services can serve up some pretty nice looking reports. Very customizable (you can write complicated logic in .NET and access these modules in your report). It requires SQL Server for it's operation (which you have), but the data for the reports can be in any common database. If you have Visual Studio .NET, you can already create SRS reports. Its greatest advantage, in my opinion, is that its NOT crystal reports - Original Message - From: Tangorre, Michael [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 21, 2004 10:46 AM Subject: Reporting Our internal application users have been requesting some pretty complicated reports... anywhere from 20-75 data fields organized 25 ways from sunday, etc. What they really desire is to pick any field from any page in the application and generate a custom report, etc. and have the ability to save the criteria to use again, etc. I have some ideas on how to approach this, but in terms of presenting the reports; HTML output is getting tough since they want so much information and the real estate is just not there not too mention some of the reports are going to the president and what not (executive tye reports) and they desire a nice looking report. I have about 7 reports now that are fine in HTML but what are some things I can look into or that others have used in terms of more complicated reports. The backend is a SQL Server 2K DB. Crystal reports? COM and the MS products? The front end and such is done in CFMX 6.1 with lots of JS and CSS. Looking for some ideas or 3rd party products to look into. Thanks, Mike ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182202 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: Reporting
All I would say and it's pretty obvious but wasn't for me a year ago or so... Cache the crunched report data and the presentation separate... got an app now that I would love to change the fact that I cached the HTML page generated (mixing the data with the presentation) Would have helped me when my equivalent of your head exec wanted to change the color of the background of the report arrghhh... well we live and learn :) -- dc ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182203 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: Reporting
I usually ask them if its cost effective to build so many reports or a huge reporting tool when there are other products out there, crystal, business logic, etc. In my company we usually build a couple canned reports then give the user a CSV dump of all the data. They can tehn use excel and such to slice, dice, filter, massage, and get all pretty with the data in whatever way they want to. Doug On Thu, 21 Oct 2004 11:46:02 -0400, Tangorre, Michael [EMAIL PROTECTED] wrote: Our internal application users have been requesting some pretty complicated reports... anywhere from 20-75 data fields organized 25 ways from sunday, etc. What they really desire is to pick any field from any page in the application and generate a custom report, etc. and have the ability to save the criteria to use again, etc. I have some ideas on how to approach this, but in terms of presenting the reports; HTML output is getting tough since they want so much information and the real estate is just not there not too mention some of the reports are going to the president and what not (executive tye reports) and they desire a nice looking report. I have about 7 reports now that are fine in HTML but what are some things I can look into or that others have used in terms of more complicated reports. The backend is a SQL Server 2K DB. Crystal reports? COM and the MS products? The front end and such is done in CFMX 6.1 with lots of JS and CSS. Looking for some ideas or 3rd party products to look into. Thanks, Mike ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182204 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: what is it called..?
cfif bitAnd (yourVariable, 2^0) gt 0 ... /cfif Replace 0 in 2^0 with whatever power you want to test for. Marius - Original Message - From: Richard Meredith-Hardy [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 21, 2004 11:51 AM Subject: Re: what is it called..? No relation, I'm afraid! Say I have a DB record with lots of attributes. Rather than have loads of bit columns which each have to be individually evaluated yes/no, I think you can achieve the same thing by having the single value 22 which can be evaluated later to mean 2=yes, 4=yes, 8=no, 16=yes, 32=no Etc. Douglas Knudsen wrote: but you inherit a geat name in mathematics! Hardy! http://www.stetson.edu/~efriedma/periodictable/html/Ho.html So, what are you trying to do? looks like some sort of partitioning looking only at powers of 2.. Can you give another example? Doug On Thu, 21 Oct 2004 16:25:57 +0100, Richard Meredith-Hardy [EMAIL PROTECTED] wrote: ...when you have a value eg 22 which is made up of 2+4+16 so you know of all your options valued 2,4,8,16,32 Etc only 2 and 4 and 16 apply. I know there must be a mathematical name for this, but what? Does anyone have some example CF code to 'decrypt' such numbers? Are there other [simple] ways to do this to handle a large number of options (25, so I don't start having giant numbers?) Something to do with prime numbers perhaps? You can tell I'm not a mathmatician can't you! THANKS! -- Regards; Richard Meredith-Hardy - r[dot]mh[at]flymicro[dot]com Tel: + 44 (0)1462 834776 FAX: + 44 (0)1462 732668 ~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182205 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: Reporting
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Cache the crunched report data and the presentation separate... got an app now that I would love to change the fact that I cached the HTML page generated (mixing the data with the presentation) The app is in FB4, so the data is separate... In fact all the queries are in stored procs, so its even more separated :-) Michael T. Tangorre ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182206 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: what is it called..?
As far as determining your binary number programmatically, and i'm fishing way back into my math memory here.but... If you did Floor(Log Base 2 of X), that should tell you the last on bit. Then raise 2 to the power of Floor(Log Base 2 X). Take this value, subtract it from your original value, and you have the seed for the next run. Repeat this process until you've determined all your on bits. (Log Base 2 of X = 0). If your bits are numbered from 0, this should work. - Original Message - From: Richard Meredith-Hardy [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 21, 2004 10:51 AM Subject: Re: what is it called..? No relation, I'm afraid! Say I have a DB record with lots of attributes. Rather than have loads of bit columns which each have to be individually evaluated yes/no, I think you can achieve the same thing by having the single value 22 which can be evaluated later to mean 2=yes, 4=yes, 8=no, 16=yes, 32=no Etc. snip ~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182207 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: Reporting
From: Douglas Knudsen [mailto:[EMAIL PROTECTED] I usually ask them if its cost effective to build so many reports or a huge reporting tool when there are other products out there, crystal, business logic, etc. In my company we usually build a couple canned reports then give the user a CSV dump of all the data. They can tehn use excel and such to slice, dice, filter, massage, and get all pretty with the data in whatever way they want to. Yeah, the reports we have are the canned ones. I can always dump the data into a CSV/Excel file and let them format them etc.. Which will work for 50% of the new reporting requirements, but I will still need the ability to have some reports generated, formatted, and printable... SQL Server Reporting services sounds like a good place to start maybe. They also don't want to wait for blackstone to be released to take advantage of the new reporting capabilities... Which would actually be worth the wait in my opinion... From what I hear :-) Mike ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182208 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: reports
Interesting. Earlier versions of Sybase is more like MS SQL Server, which version of Sybase are you using? I do exactly this except with Sybase - it works great. On Wed, 20 Oct 2004 21:19:46 +0800, James Holmes [EMAIL PROTECTED] wrote: ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182209 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: Reporting
Lemme know if you got any questions about reporting services MT, i've been immersed in it for months now...for better and worse :) - Original Message - From: Tangorre, Michael [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 21, 2004 11:18 AM Subject: RE: Reporting From: Douglas Knudsen [mailto:[EMAIL PROTECTED] I usually ask them if its cost effective to build so many reports or a huge reporting tool when there are other products out there, crystal, business logic, etc. In my company we usually build a couple canned reports then give the user a CSV dump of all the data. They can tehn use excel and such to slice, dice, filter, massage, and get all pretty with the data in whatever way they want to. Yeah, the reports we have are the canned ones. I can always dump the data into a CSV/Excel file and let them format them etc.. Which will work for 50% of the new reporting requirements, but I will still need the ability to have some reports generated, formatted, and printable... SQL Server Reporting services sounds like a good place to start maybe. snip ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182210 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
RegEx help
I'm trying to parse through some information in a text document where there is information like this: Text text text text text text text FirstName: Bob Age: 30 text text text text text text text text LastName: Brown text text text text text but this information is also within a bunch of other text. I was attempting to do a find() for the field I was looking for and then do other finds for the spaces and such, but it was getting pretty confusing. I was thinking about writing a RegEx where I could plug in the field name and it would find the field name followed by a colon and a space and grab the next value until the next space is encountered. I know that the field names will always be followed by a colon and a space and that the value for that field will never have a space in it and the end of the value will be a space. Does this make sense? If so, could anyone get me started on the right track? I want to use reReplace to get rid of everything except the value that I'm trying to get. Am I way off? Is there an easier way? John Burns ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182211 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: error Cannot create cookie: path = /
This is the only cooke being created by CF: cfif IsDefined(cookie.cfid) AND IsDefined(cookie.cftoken) cfset localCFID = cookie.cfid cfset localCFTOKEN = cookie.cftoken cfcookie name=CFID value=#localCFID# cfcookie name=CFTOKEN value=#localCFTOKEN# /cfif Other than this, I have a cookie test but that is in javascript. Could the problem simply be that the cookie test is taking place after the cfcookie tag and those users are not allowing the cookie? Rich On Thu, 21 Oct 2004 11:58:18 -0400, Dave Watts [EMAIL PROTECTED] wrote: My default error log has a bunch of entries like this, the day changes: 10/20 11:35:34 error Cannot create cookie: expires = Fri 10/20 11:35:34 error Cannot create cookie: path = / 10/20 11:35:38 error Cannot create cookie: expires = Fri 10/20 11:35:38 error Cannot create cookie: path = / 10/20 11:35:40 error Cannot create cookie: expires = Fri 10/20 11:35:40 error Cannot create cookie: path = / Any ideas? Can you show the code that you're using to create cookies? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182212 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
OT .NET
Hi All Sorry for being OT. But could anyone point me to a good resource to learn .NET, from the begining (hopefully skipping console apps). I am interested in Web and Windows apps. Also if anyone could share their thoughts about VB.NET and C# which to learn? Please note that I am not a formal trained programmer. Thanks Mike ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182213 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: what is it called..?
Jerry Johnson wrote: Those would be called bits. Or flags, even, seeing as that's what he's using the bits as. 22 would be translated into binary as 1011 or 01011 or 1011 and you can treat each bit as a separate on/off switch. K. -- Keith Gaughan, Developer Digital Crew Ltd., Pembroke House, Pembroke Street, Cork, Ireland http://www.digital-crew.com/ ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182214 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: RegEx help
What version of Cold Fusion? How long is the longest possible string you are searching through? If newer than cf 5, or cf 5 and the max string is less than 20KB, cfset fieldName=FirstName cfset fieldVal=rereplace(content,.*#fieldName#: +([^ ]+) +.*,\1) (I think) Jerry Johnson [EMAIL PROTECTED] 10/21/04 12:26PM I'm trying to parse through some information in a text document where there is information like this: ~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182215 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 .NET
I've taken a college course and learned the basics of VB.NET and Visual Studio, but we only worked with windows forms - no ASP.NET. So I've been going through the tutorial at W3Schools (www.w3schools.com). They also have tutorials on the .NET framework which you'll need at least a basic understanding of before diving into the others. If you find something else that works great for you let me know. I'm always looking for good tutorials b/c I learn best by example instead of reading page after page of explanation. HTH, Donna On Thu, 21 Oct 2004 12:26:55 -0400, Mickael [EMAIL PROTECTED] wrote: Hi All Sorry for being OT. But could anyone point me to a good resource to learn .NET, from the begining (hopefully skipping console apps). I am interested in Web and Windows apps. Also if anyone could share their thoughts about VB.NET and C# which to learn? Please note that I am not a formal trained programmer. Thanks Mike ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182216 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: OT .NET
Sorry for being OT. But could anyone point me to a good resource to learn .NET, from the begining (hopefully skipping console apps). I am interested in Web and Windows apps. You don't want to skip console apps! They're very helpful for learning fundamental programming without the complexities of GUI building. In that vein, you might want to take a look at Programming in the Key of C#, which is an introduction to C# for non-programmers: http://www.amazon.com/exec/obidos/tg/detail/-/0735618003/qid=1098376723/sr=1 -1/ref=sr_1_1/104-8014579-3212717?v=glances=books Personally, I liked the O'Reilly Programming C# book by Jesse Liberty, which focuses on C# syntax but covers ASP.NET and Windows Forms along the way. Also if anyone could share their thoughts about VB.NET and C# which to learn? I would recommend that you learn C# instead of VB.NET. C# is the reference language for the .NET platform, and it's a C-style language. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182217 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: error Cannot create cookie: path = /
This is the only cooke being created by CF: cfif IsDefined(cookie.cfid) AND IsDefined(cookie.cftoken) cfset localCFID = cookie.cfid cfset localCFTOKEN = cookie.cftoken cfcookie name=CFID value=#localCFID# cfcookie name=CFTOKEN value=#localCFTOKEN# /cfif Other than this, I have a cookie test but that is in javascript. Could the problem simply be that the cookie test is taking place after the cfcookie tag and those users are not allowing the cookie? I'm not sure what your cookie test is doing. However, rather than writing the cookies for each page request, you could do something like this instead: cfapplication ... setclientcookies=no cfif not IsDefined(Cookie.CFID) cfcookie name=CFID value=#Session.CFID# cfcookie name=CFTOKEN value=#Session.CFTOKEN# /cfif Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182218 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: Reporting
From: G [mailto:[EMAIL PROTECTED] Lemme know if you got any questions about reporting services MT, i've been immersed in it for months now...for better and worse :) Will do! Thanks for the offer :-) Mike ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182219 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 .NET
Dave, Thanks for the resources I don't want to start the whole .net vs cf discussion here. But is it possible to build things as quick as you can in C# as you can in CF? Are somethings faster better in C#? Mike - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 21, 2004 12:49 PM Subject: RE: OT .NET Sorry for being OT. But could anyone point me to a good resource to learn .NET, from the begining (hopefully skipping console apps). I am interested in Web and Windows apps. You don't want to skip console apps! They're very helpful for learning fundamental programming without the complexities of GUI building. In that vein, you might want to take a look at Programming in the Key of C#, which is an introduction to C# for non-programmers: http://www.amazon.com/exec/obidos/tg/detail/-/0735618003/qid=1098376723/sr=1 -1/ref=sr_1_1/104-8014579-3212717?v=glances=books Personally, I liked the O'Reilly Programming C# book by Jesse Liberty, which focuses on C# syntax but covers ASP.NET and Windows Forms along the way. Also if anyone could share their thoughts about VB.NET and C# which to learn? I would recommend that you learn C# instead of VB.NET. C# is the reference language for the .NET platform, and it's a C-style language. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182220 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 .NET
will do - Original Message - From: Donna French [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 21, 2004 12:40 PM Subject: Re: OT .NET I've taken a college course and learned the basics of VB.NET and Visual Studio, but we only worked with windows forms - no ASP.NET. So I've been going through the tutorial at W3Schools (www.w3schools.com). They also have tutorials on the .NET framework which you'll need at least a basic understanding of before diving into the others. If you find something else that works great for you let me know. I'm always looking for good tutorials b/c I learn best by example instead of reading page after page of explanation. HTH, Donna On Thu, 21 Oct 2004 12:26:55 -0400, Mickael [EMAIL PROTECTED] wrote: Hi All Sorry for being OT. But could anyone point me to a good resource to learn .NET, from the begining (hopefully skipping console apps). I am interested in Web and Windows apps. Also if anyone could share their thoughts about VB.NET and C# which to learn? Please note that I am not a formal trained programmer. Thanks Mike ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182221 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: RegEx help
Hmmm, I think I see what you're trying to do there, but it doesn't work. The files aren't very large at all and I am using CFMX. I'm not very good with Regexs so I'm not sure what's wrong, but it seems to not be stripping anything out. John -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 12:41 PM To: CF-Talk Subject: Re: RegEx help What version of Cold Fusion? How long is the longest possible string you are searching through? If newer than cf 5, or cf 5 and the max string is less than 20KB, cfset fieldName=FirstName cfset fieldVal=rereplace(content,.*#fieldName#: +([^ ]+) +.*,\1) (I think) Jerry Johnson [EMAIL PROTECTED] 10/21/04 12:26PM I'm trying to parse through some information in a text document where there is information like this: ~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:18 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 developer numbers
I thought CF Express was great, personally. I used it numerous times, on everything from little one-off sites for clients who had a web server in their office, but needed zero-cost app servers, to kiosk-style apps on non-connected computers (just install CF right on the machine). At least two of those clients came back and had more real CF work done, and to support them we bought additional CF Pro licenses to run their apps. And the rest have continued down the CF path with us, though they can't be directly linked to more CF purchase. How about free CF for certain applications, like Flex is now doing? cheers, barneyb On Thu, 21 Oct 2004 09:15:21 -0400, Ben Forta [EMAIL PROTECTED] wrote: Take CF Standard, trim it down some more (no CFX, only Access and MySQL, maybe even single-threaded) and give it away. FWIW, we did that back in the CF4 era, it was called ColdFusion Express, and it did not really make a whole lot of difference in the grand scheme of things. The free developer's edition was a far more successful offering, and one that I wish we'd have had ever since day one. --- Ben -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ I currently have 2 GMail invites for the taking ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182223 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 .NET
Sure it's possible. If you have the right tools and the right experience in any given language, you can develop quickly. Are some things faster, better, in C#? Sure. The question is, are these the things you are interested in? Start with your needs, then ask which platform is best suited to those needs. - Original Message - From: Mickael [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 21, 2004 11:49 AM Subject: Re: OT .NET Dave, Thanks for the resources I don't want to start the whole .net vs cf discussion here. But is it possible to build things as quick as you can in C# as you can in CF? Are somethings faster better in C#? Mike snip ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182224 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 developer numbers
WOW! What a thread, I am all FIRED UP now. I am happy to hear this being discussed so openly, I think that CF has quite a diverse customer base (as opposed to java, php, etc) and it causes some confusion, misunderstanding etc when discussing things like this Small co. vs. large co. Small apps vs. enterprise level apps. Contractors vs. CIO Little programmer employed by company vs. Evangelist Etc. etc. But I would like to say that if anyone is not going to MAX and has anything specific that they would like to see in the Conference coverage of the CFDJ, please email me offline. I want to be sure to focus on the topics that people actually want to hear about. Thanks. April -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 4:08 AM To: CF-Talk Subject: Re: CF developer numbers one thing I'd like to just mention is that if you're at MAX, there will be a lot of Macromedia folks there to talk to about these issues/concerns. Grab Ben if you can. Go over to the Community Pit - the MMUG and Team Macromedia folks will be there. Also, talk with Myself about it - not only for my thoughts and suggestions but because this is the kind of thing that CFDJ should be helping to combat. April Fleming is also going to be covering MAX for CFDJ - talk with her. Either way, you should definitely let people at Macromedia know about what's going on near you and your thoughts on the matter. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Andy Jarrett wrote: Or maybe even consider not going down the Blue Alanta pricing, but their own Flex pricing? Surely this would open up the gates a little? As long as you can gaurantee (somehow) that the site is going to be used for personal use (or charity etc) by giving the server away free in these cases means that ISP can offer CF at a rate thats in competition with ASP and PHP hosting. I know that CF costs more to host, and i've seen the threads that outway costs against development time. We all have. But i still know smaller developers who would rather pay £29 a year (http://www.web-hosting.uk.com/packages/) for hosting ASP or PHP than £119 (http://cfmxhosting.co.uk/index.cfm?action=services.hosting) and get half the features. I know that development time levy's of the cost etc, but to the small developer he see's his hosting cost in this example as 400% bigger than if he was hosting with another language. Andy www.andyjarrett.co.uk On Wed, 20 Oct 2004 20:51:19 -0700, Barney Boisvert [EMAIL PROTECTED] wrote: What do you think would make a difference? Or put even more bluntly, if you were my boss and could dictate how I spent my time, what would you want me doing to spread the gospel according to Saint CF? What ever's going to keep MM going strong and CF becoming a better product is what you ought to be doing. I'm convinced that's the large company market based on events of the past year or so, and your comments back that up 100%. However, there's still a lot of little guys around in the world, most of which aren't going to be affecting CF's overall revenue in any significant way (what's $1300 every few years next to $50,000 for 10 clustered CF enterprises), but it still represents a significant portion of the developer base. That developer base is a very valuable asset to MM's overall marketing of CF, more voices translates to more converts translates to more sales. If the little guys start petering out for PHP, ASP, or whatever, suddenly there's a lot less noise being made about CF, except withing the tight circles of corporate IT departments. This hasn't hurt Java or .NET in any way, of course, but it's going to piss off a LOT of CF developers who've invested heavily but have been swept by the wayside by MM, because they don't contribute to the bottom line enough to matter. Java and .NET have a certain barrier to entry. You just can't go that route without some real resources. PHP takes nothing but hardware. CF floats somewhere in the middle. So along with provding for the future development of CF and MM as a whole, a nod to the existing user base would be nice. How much do CF Standard sales account for? Would dropping that price down by 50% have a huge effect on the overall bottom line? I bet you'd get more sales if you did. (Chalk me up for at least one, but for now, it's JSPs for me). Hell, maybe even consider New Atlanta's route. Take CF Standard, trim it down some more (no CFX, only Access and MySQL, maybe even single-threaded) and give it away. With the unified codebase, you just change a serial to upgrade, and that's it. I have no idea if any of that is feasible, or even reasonable, you'll have to tell us that. But it some thoughts from a little guy that's seen MM ignore us more and more in favor of the big guy.
RE: Need a functioning static CFCHART sample
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-a11.htm -Original Message- From: Charles Sim [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 11:25 AM To: CF-Talk Subject: Need a functioning static CFCHART sample I'm looking for a simple functioning static CFCHART sample so that I can test our LINUX/MX 6.1 system. Does anyone have a working sample they can send me, or can anyone write and test something and send it to me. I have writen a test peice, but I have no idea if it's bad code, or a bad server config that is crashing it. Thanks, Charles ~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182226 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 developer numbers
WOW! What a thread, I am all FIRED UP now. I am happy to hear this being discussed so openly, I think that CF has quite a diverse customer base (as opposed to java, php, etc) and it causes some confusion, misunderstanding etc when discussing things like this Small co. vs. large co. Small apps vs. enterprise level apps. Contractors vs. CIO Little programmer employed by company vs. Evangelist Etc. etc. But I would like to say that if anyone is not going to MAX and has anything specific that they would like to see in the Conference coverage of the CFDJ, please email me offline. I want to be sure to focus on the topics that people actually want to hear about. Thanks. April -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 4:08 AM To: CF-Talk Subject: Re: CF developer numbers one thing I'd like to just mention is that if you're at MAX, there will be a lot of Macromedia folks there to talk to about these issues/concerns. Grab Ben if you can. Go over to the Community Pit - the MMUG and Team Macromedia folks will be there. Also, talk with Myself about it - not only for my thoughts and suggestions but because this is the kind of thing that CFDJ should be helping to combat. April Fleming is also going to be covering MAX for CFDJ - talk with her. Either way, you should definitely let people at Macromedia know about what's going on near you and your thoughts on the matter. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182227 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
Query Of Queries runtime error. Unsupported type comparison.
Data set example: Table name: Orders *** BatchNumber, CheckNumber, Name a, 1234, Joe Johnson a, 1235, Mary Madison 12-32-1, 3434, Jon Johnson 12-32-1, 3453, Victoria V cfquery name=getOrders dataousre=#DSN# Select * from Orders /cfquery cfloop query=GetOrders cfset thisBatch = GetOrders.BatchNumber cfquery name=getBatchOrders dbtype=query select * from getOrders where BatchNumber = '#thisBatch#' /cfqery cfloop query... /cfloop /cfloop The loop works until I reach the batch with two hyphens in it. It handles numeric values, alphanumeric valuse, lenghts that are short and long, and one hypen in the string... but once there are two hyphens in the batch number it fails. It is NOT a possiblity to restrict two hyphens on the input as this is a potentially valid batch number. The SQL statement works as straight SQL against the DB, but fails when queried against a query. IS THIS A CF BUG?!!! ~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182228 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: RegEx help
Are you sure you've got the fieldname correct? Capitilization counts. If you want to do a case-insensitive search, use rereplacenocase() instead. --Ben Burns, John D wrote: Hmmm, I think I see what you're trying to do there, but it doesn't work. The files aren't very large at all and I am using CFMX. I'm not very good with Regexs so I'm not sure what's wrong, but it seems to not be stripping anything out. John -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 12:41 PM To: CF-Talk Subject: Re: RegEx help What version of Cold Fusion? How long is the longest possible string you are searching through? If newer than cf 5, or cf 5 and the max string is less than 20KB, cfset fieldName=FirstName cfset fieldVal=rereplace(content,.*#fieldName#: +([^ ]+) +.*,\1) (I think) Jerry Johnson [EMAIL PROTECTED] 10/21/04 12:26PM I'm trying to parse through some information in a text document where there is information like this: ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182229 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: error Cannot create cookie: path = /
That wasn't the test, that simply resets the cookie on close of browser so that the client is logged out automatically on browser close. I didn't show the test because it is a javascript test which should not bother JRun. Rich On Thu, 21 Oct 2004 12:51:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: This is the only cooke being created by CF: cfif IsDefined(cookie.cfid) AND IsDefined(cookie.cftoken) cfset localCFID = cookie.cfid cfset localCFTOKEN = cookie.cftoken cfcookie name=CFID value=#localCFID# cfcookie name=CFTOKEN value=#localCFTOKEN# /cfif Other than this, I have a cookie test but that is in javascript. Could the problem simply be that the cookie test is taking place after the cfcookie tag and those users are not allowing the cookie? I'm not sure what your cookie test is doing. However, rather than writing the cookies for each page request, you could do something like this instead: cfapplication ... setclientcookies=no cfif not IsDefined(Cookie.CFID) cfcookie name=CFID value=#Session.CFID# cfcookie name=CFTOKEN value=#Session.CFTOKEN# /cfif Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182230 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: Jrun closed connection notification...
{cf install dir}\runtime\lib\wsconfig\{instance number}\jrun.ini un-comment the #errorurl line, specify a page (relative to the site root). I believe the page must be html, non-dynamic, but i've never tried sending it to an asp or aspx page. On that page, you can use html to call something to log your issue, like an iframe. -nathan strutz http://www.dopefly.com/ Tyler wrote: Has anyone figure out a way to log the famed JRun closed connection errors? The only way I can tell it happens is by trying to view the app in a browser...any information would be IMMENSELY appreciated- Tyler ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182231 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: Query Of Queries runtime error. Unsupported type comparison.
There are all sorts of bugs like this in query of queries. This is because CFMX is assuming the data type of each column based on the first value in the query. So if you have a field that has bunch of strings in it, but one row has a numeric value in that column, even if YOU want it to be treated like a string, CFMX has other plans. You'll get this error. It's gotten so bad for us that we've written CFCs that take the place of query of queries in many cases by looping over the queries and manually doing joins, etc. I'm hopeful they'll fix this in Blackstone but who knows. For now, we avoid all use of cfquery because even if it works now, if your data changes, one day it will all suddenly blow up. On Thu, 21 Oct 2004 13:25:13 -0400, Jonathan Nickle [EMAIL PROTECTED] wrote: Data set example: Table name: Orders *** BatchNumber, CheckNumber, Name a, 1234, Joe Johnson a, 1235, Mary Madison 12-32-1, 3434, Jon Johnson 12-32-1, 3453, Victoria V cfquery name=getOrders dataousre=#DSN# Select * from Orders /cfquery cfloop query=GetOrders cfset thisBatch = GetOrders.BatchNumber cfquery name=getBatchOrders dbtype=query select * from getOrders where BatchNumber = '#thisBatch#' /cfqery cfloop query... /cfloop /cfloop The loop works until I reach the batch with two hyphens in it. It handles numeric values, alphanumeric valuse, lenghts that are short and long, and one hypen in the string... but once there are two hyphens in the batch number it fails. It is NOT a possiblity to restrict two hyphens on the input as this is a potentially valid batch number. The SQL statement works as straight SQL against the DB, but fails when queried against a query. IS THIS A CF BUG?!!! ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182232 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: Query Of Queries runtime error. Unsupported type comparison.
Kind of. It's CF trying to be clever, and failing. With a QofQ, there isn't any metadata about the column types, so CF has to attemp to decypher it on the fly. Sometimes it works, sometimes it doesn't. I suspect what's happening is that CF is assuming that the double hyphen means a date, so it's doing a date compare, and saying that the passed batch number isn't a valid date. I've never seen it happen like that, but I've seen it all the time with numbers. Build a query with a varchar column, but make sure the first few rows have a valid number for that column. You'll get the same error on the first row that has a non-numeric value in that column, even though it's storing varchar data. cheers, barneyb On Thu, 21 Oct 2004 13:25:13 -0400, Jonathan Nickle [EMAIL PROTECTED] wrote: Data set example: Table name: Orders *** BatchNumber, CheckNumber, Name a, 1234, Joe Johnson a, 1235, Mary Madison 12-32-1, 3434, Jon Johnson 12-32-1, 3453, Victoria V cfquery name=getOrders dataousre=#DSN# Select * from Orders /cfquery cfloop query=GetOrders cfset thisBatch = GetOrders.BatchNumber cfquery name=getBatchOrders dbtype=query select * from getOrders where BatchNumber = '#thisBatch#' /cfqery cfloop query... /cfloop /cfloop The loop works until I reach the batch with two hyphens in it. It handles numeric values, alphanumeric valuse, lenghts that are short and long, and one hypen in the string... but once there are two hyphens in the batch number it fails. It is NOT a possiblity to restrict two hyphens on the input as this is a potentially valid batch number. The SQL statement works as straight SQL against the DB, but fails when queried against a query. IS THIS A CF BUG?!!! -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ I currently have 2 GMail invites for the taking ~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182233 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: Query Of Queries runtime error. Unsupported type comparison.
Of course I meant we avoid the use of Query of Queries, not cfquery. :-) On Thu, 21 Oct 2004 13:32:08 -0400, Brian Kotek [EMAIL PROTECTED] wrote: There are all sorts of bugs like this in query of queries. This is because CFMX is assuming the data type of each column based on the first value in the query. So if you have a field that has bunch of strings in it, but one row has a numeric value in that column, even if YOU want it to be treated like a string, CFMX has other plans. You'll get this error. It's gotten so bad for us that we've written CFCs that take the place of query of queries in many cases by looping over the queries and manually doing joins, etc. I'm hopeful they'll fix this in Blackstone but who knows. For now, we avoid all use of cfquery because even if it works now, if your data changes, one day it will all suddenly blow up. On Thu, 21 Oct 2004 13:25:13 -0400, Jonathan Nickle [EMAIL PROTECTED] wrote: Data set example: Table name: Orders *** BatchNumber, CheckNumber, Name a, 1234, Joe Johnson a, 1235, Mary Madison 12-32-1, 3434, Jon Johnson 12-32-1, 3453, Victoria V cfquery name=getOrders dataousre=#DSN# Select * from Orders /cfquery cfloop query=GetOrders cfset thisBatch = GetOrders.BatchNumber cfquery name=getBatchOrders dbtype=query select * from getOrders where BatchNumber = '#thisBatch#' /cfqery cfloop query... /cfloop /cfloop The loop works until I reach the batch with two hyphens in it. It handles numeric values, alphanumeric valuse, lenghts that are short and long, and one hypen in the string... but once there are two hyphens in the batch number it fails. It is NOT a possiblity to restrict two hyphens on the input as this is a potentially valid batch number. The SQL statement works as straight SQL against the DB, but fails when queried against a query. IS THIS A CF BUG?!!! ~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182234 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: what is it called..? partially solved
OK, thanks very much, I think I have a solution, though I still don't know what this is called, or really what the bitand() function is doing (any pointers to a -simple- explanation of the bitxx functions?) Consider the following code. It seems to work: CFSET mylistOfOn = !--- create a list of 'on switches' of a random length between 1 30 --- CFSET len = randrange(1,30) CFLOOP CONDITION=listlen(mylistOfOn) lte len CFSET xnum = randrange(0,30) CFIF listfind(mylistOfOn,xnum) eq false CFSET mylistOfOn = listappend(mylistOfOn,xnum) /CFIF /CFLOOP !--- generate the number --- CFSET num = 0 CFLOOP LIST=#mylistOfOn# INDEX=idx CFSET num = num + (2^idx) /CFLOOP CFOUTPUTList of 'on switches': #mylistOfOn#BR Transposed to the single number: #num#/CFOUTPUTBR !--- test which switch is on --- BRnbsp;BR Test the numberBR CFLOOP FROM=0 TO=30 INDEX=idx CFSET z = 2^idx CFOUTPUT #idx#: CFIF bitand(z,num) gt 0yesCFELSEno/CFIF [#z#]BR /CFOUTPUT /CFLOOP Richard Meredith-Hardy wrote: ...when you have a value eg 22 which is made up of 2+4+16 so you know of all your options valued 2,4,8,16,32 Etc only 2 and 4 and 16 apply. I know there must be a mathematical name for this, but what? Does anyone have some example CF code to 'decrypt' such numbers? Are there other [simple] ways to do this to handle a large number of options (25, so I don't start having giant numbers?) Something to do with prime numbers perhaps? You can tell I'm not a mathmatician can't you! THANKS! -- Regards; Richard Meredith-Hardy - r[dot]mh[at]flymicro[dot]com Tel: + 44 (0)1462 834776 FAX: + 44 (0)1462 732668 ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182235 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 developer numbers
I started to post to this thread last night, but got interrupted, Lotta' good stuff here! One thing that I think would really contribute to the acceptance of CF is to make it pervasive and ubiquitous-- the same way MS does with IE and MM does with Flash. On OS X you get most of what you need to publish a web site pre-installed: 'Nix OS Apache web server PHP, Perl Python Java Missing is a database -- MySQL is easily available is pre-installed on the Server version of OS X, as is JBoss There are loads of on-line examples tutorials to get people started on (the wrong road, IMO) in writing PHP. What I would like to see is a free, fully-capable (any 5 concurrent IPs in session) Blackstone J2ee, come pre-installed on EVERY new computer. This would allow the beginner to get started down the correct path -- and eventually feed work to the professional CF developer. With publicly-discussed Blackstone features like Event gateway there are opportunities to use CFML to address a much broader range of applications -- from the simple, ad-hoc desktop app that a beginner whips out in an hour -- to sophisticated enterprise apps that require the capabilities of a J2ee environment -- and, incidentally, you can publish web sites too :) Dick On Oct 21, 2004, at 9:54 AM, Barney Boisvert wrote: I thought CF Express was great, personally. I used it numerous times, on everything from little one-off sites for clients who had a web server in their office, but needed zero-cost app servers, to kiosk-style apps on non-connected computers (just install CF right on the machine). At least two of those clients came back and had more real CF work done, and to support them we bought additional CF Pro licenses to run their apps. And the rest have continued down the CF path with us, though they can't be directly linked to more CF purchase. How about free CF for certain applications, like Flex is now doing? cheers, barneyb On Thu, 21 Oct 2004 09:15:21 -0400, Ben Forta [EMAIL PROTECTED] wrote: Take CF Standard, trim it down some more (no CFX, only Access and MySQL, maybe even single-threaded) and give it away. FWIW, we did that back in the CF4 era, it was called ColdFusion Express, and it did not really make a whole lot of difference in the grand scheme of things. The free developer's edition was a far more successful offering, and one that I wish we'd have had ever since day one. --- Ben -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ I currently have 2 GMail invites for the taking ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182236 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 developer numbers
I've been breezing through these messages, just kind of skimming everyone's points. I wanted to share my experience on community actions and where it got me and where I'd like to go. Back in 1999, a fellow CF coder (Kyle Jenkins) in my area decided to start a CFUG. I had been contemplating doing the same thing for a few months, so when I heard about it, I started attending meetings. I quickly became very active in the group; hosted the website, gave presentations, sent email marketing to local companies and eventually shared in the management of the group. As time went by, we started requesting support from Allaire/Macromedia in terms of getting speakers, marketing materials and merchandise and demos. The support at the time was very underwhelming. We received a total of 1 box of t-shirts and pencils, a copy of CF5 and Jrun to raffle off to user group members. That was the only time we received support. Our repeated requests for more marketing material and guest speakers were met with the sound of crickets in an empty field. Finally in late 2002 we had to completely shut down the user group due to lack of participation and lack of support. I have had my ear to the ground listen intently for Macromedia support in this area for over 5 years now and have heard nothing. In fact, the general purpose Macromedia User Group recently went bottom-up for lack of support. Now, I know that it's not for lack of usage in this area. We have some major international companies that use CF extensively and for mission critical applications. However, its usage has seemed to stagnate since 1999-2000 (I have no actual usage statistics for this, just opinion from my own grapevine) because there is no push in this market from MM. I never see marketing material in the local trade magazines or newspapers, training seminars, or development preview events (viz a viz .NET). We made the attempt. We had *very* dedicated people. We had means, opportunity and motive. It died anyway. To this day I still don't know why. Now, all that said, I'd love to be able to resurrect the user group if I had any kind of assurance from MM that I wouldn't be Sysiphus again. If there are any other UG managers reading this list, please let me know on or off-list what your experience has been. - Steve -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 4:02 AM To: CF-Talk Subject: Re: CF developer numbers Well, if I lived in an area with a poor market I'd start by becoming VERY active in the User Group. So active that I ended-up speaking nearly every month. So active that I'd help with organizing and promoting it. I'd be sure to always illustrate and emphasise the strengths of the CF Server and J2EE in general when I present. I'd also try to get more and newer companies to come. I recently spoke with the other UK CFUG Board Members about how to draw more people to the meetings and one of my number one suggestions was to invite a .NET speaker every now and then. I think the CF people would find it interesting, it'd bring-in new people, and maybe some of those new people would end-up being exposed to the world of ColdFusion. I'd also talk with my employer or client(s) if I'm a contractor, about what they could do to excite their employees, the community around them, and their clients, about the technologies they're using. A direct result of that is that has been the sale of ColdFusion to MANY councils in England and Scotland, more emphasis on keeping the server version VERY up to date, and my client bought a nice shiny new Breeze Live Server (not account) because I harrassed them for 7 months about how cool it is and how impressed clients and staff will be when we use it. I saw an opening to help get more Macromedia Server products out there and did something about it. Macromedia periodically (pretty regularly) offers free half-day seminars that illustrate the power and benefits of ColdFusion. I'd see if they're happening near you and help let people know about it. If there isn't one near you, find a training partnerr in the area and talk with them about it. If that doesn't work, ask Macromedia if they can send Ben Forta, another empoyee, or even a Team Macromedia Member to your area to present. ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182237 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: RegEx help
A bigger question is whether my logic holds together. Sanity check from a ninja, please. Notes: I assumed matching the fieldname's case was a good thing (to reduce false positives) I assumed the characters before and after the data were, in fact, spaces (chr(32)). If not, then maybe the [:[space]:] class should be used, instead. I assumed there had to be at least one space after the field name and after the field value. Jerry Johnson ~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182238 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: RegEx help
Ben, Great catch. That was my stupidity. However, the regex is picking up a little bit too much info. For instance, if this was the text: firstName: Bob lastName: Jones When I run the regex, it's returned Bob: lastName: as the value of firstName. It's like it's going to the next space after the one right after the value. Is there a tweak that needs to be made? cfset fieldName=firstName cfset fieldVal=rereplace(content,.*#fieldName#: +([^ ]+) +.*,\1) Thanks for the help! John Burns -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 1:28 PM To: CF-Talk Subject: Re: RegEx help Are you sure you've got the fieldname correct? Capitilization counts. If you want to do a case-insensitive search, use rereplacenocase() instead. --Ben Burns, John D wrote: Hmmm, I think I see what you're trying to do there, but it doesn't work. The files aren't very large at all and I am using CFMX. I'm not very good with Regexs so I'm not sure what's wrong, but it seems to not be stripping anything out. John -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 12:41 PM To: CF-Talk Subject: Re: RegEx help What version of Cold Fusion? How long is the longest possible string you are searching through? If newer than cf 5, or cf 5 and the max string is less than 20KB, cfset fieldName=FirstName cfset fieldVal=rereplace(content,.*#fieldName#: +([^ ]+) +.*,\1) (I think) Jerry Johnson [EMAIL PROTECTED] 10/21/04 12:26PM I'm trying to parse through some information in a text document where there is information like this: ~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182239 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: RegEx help
Jerry Johnson wrote: Notes: I assumed matching the fieldname's case was a good thing (to reduce false positives) I would have assumed the same. That was my first thought. I assumed the characters before and after the data were, in fact, spaces (chr(32)). If not, then maybe the [:[space]:] class should be used, instead. Good thought. If there's a linebreak directly after one, it would return bad results, or none at all. I assumed there had to be at least one space after the field name and after the field value. That was in the spec. If the value is the last word in the text, it wouldn't be true, though. --Ben ~| Protect your mail server with built in anti-virus protection. It's not only good for you, it's good for everybody. http://www.houseoffusion.com/banners/view.cfm?bannerid=39 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182240 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: Need a functioning static CFCHART sample
For some reason I thought there was a working example there, sorry. Ryan's works -Original Message- From: Ewok [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 1:16 PM To: CF-Talk Subject: RE: Need a functioning static CFCHART sample http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-a11.htm -Original Message- From: Charles Sim [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 11:25 AM To: CF-Talk Subject: Need a functioning static CFCHART sample I'm looking for a simple functioning static CFCHART sample so that I can test our LINUX/MX 6.1 system. Does anyone have a working sample they can send me, or can anyone write and test something and send it to me. I have writen a test peice, but I have no idea if it's bad code, or a bad server config that is crashing it. Thanks, Charles ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182241 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: RegEx help
Maybe that's what it is. I think the case I'm talking about has a linebreak after the data. Which space (chr(32)) would I replace with the space class? The one after the ^ or the one before the +. John -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 2:09 PM To: CF-Talk Subject: Re: RegEx help Jerry Johnson wrote: Notes: I assumed matching the fieldname's case was a good thing (to reduce false positives) I would have assumed the same. That was my first thought. I assumed the characters before and after the data were, in fact, spaces (chr(32)). If not, then maybe the [:[space]:] class should be used, instead. Good thought. If there's a linebreak directly after one, it would return bad results, or none at all. I assumed there had to be at least one space after the field name and after the field value. That was in the spec. If the value is the last word in the text, it wouldn't be true, though. --Ben ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182242 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: what is it called..?
That trick is awesome! I must remember that for lots of ftickboxes and what have you! saving a single number would be great! My answer to life the universe and everything would be 101010 MD On Thu, 21 Oct 2004 17:29:21 +0100, Keith Gaughan [EMAIL PROTECTED] wrote: Jerry Johnson wrote: Those would be called bits. Or flags, even, seeing as that's what he's using the bits as. 22 would be translated into binary as 1011 or 01011 or 1011 and you can treat each bit as a separate on/off switch. K. -- Keith Gaughan, Developer Digital Crew Ltd., Pembroke House, Pembroke Street, Cork, Ireland http://www.digital-crew.com/ ~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182243 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: RegEx help
That doesn't make any sense. I'm scratching my head on this one. I just ran a quick test (empasis on quick) and it seemed to work fine. Is it really returning a colon after Bob? Could it be a glitch in the output, or are you outputting #fieldval# directly? Just some thoughts --Ben Burns, John D wrote: Ben, Great catch. That was my stupidity. However, the regex is picking up a little bit too much info. For instance, if this was the text: firstName: Bob lastName: Jones When I run the regex, it's returned Bob: lastName: as the value of firstName. It's like it's going to the next space after the one right after the value. Is there a tweak that needs to be made? cfset fieldName=firstName cfset fieldVal=rereplace(content,.*#fieldName#: +([^ ]+) +.*,\1) Thanks for the help! John Burns -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 1:28 PM To: CF-Talk Subject: Re: RegEx help Are you sure you've got the fieldname correct? Capitilization counts. If you want to do a case-insensitive search, use rereplacenocase() instead. --Ben ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182244 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: RegEx help
Both! You should probably replace the second and third spaces with the generic space class. This will allow tabs, returns, and spaces. [[:space:]] The last character issue I didn't handle at all. Maybe something along these lines (completely not tested) cfset fieldName=FirstName cfset fieldVal=rereplaceNoCase(content,.*#fieldName#:[[:space:]]+([^[[:space:]]]+)($|[[:space:]]+.*),\1) This should check for one or more space characters or the end of the string. Jerry Johnson [EMAIL PROTECTED] 10/21/04 02:15PM Maybe that's what it is. I think the case I'm talking about has a linebreak after the data. Which space (chr(32)) would I replace with the space class? The one after the ^ or the one before the +. John ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182245 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