Re: Thank God for query params. ;)
I often amazed why simple cf tags like cfqueryparam and even cfoutpout don't get pimped enough. Stuff CF developers don't worry as much as PHP, ASP, or RoR developers would. On Mar 10, 2012, at 9:43 PM, Justin Scott leviat...@darktech.org wrote: An IP from the Ukraine was attacking my contact form with name values like: John 1) declare @q varchar(8000) select @q = 0x57414954464F522044454C4159202730303A30303A313527 exec(@q) -- Indeed, this looks like an initial reconnaissance injection to see if other commands would work (that hex value decodes to WAITFOR DELAY '00:00:15'). This would cause a page load to be delayed a short period so they know the command executed on the database server before moving on to more interesting attacks. -Justin ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350348 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF-friendly iPad Code Editor app
I'm trying to decide which CF-friendly iPad code editor to get. So far, its a toss-up between Koder Code, Textastic, and Gusto. Anyone got some experience in using any of these apps and if so, have some nice or not-so-nice things to comment? Also your wish list features if those are absent from your chosen app. Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350076 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
SOT: Eclipse RDS to VivioTech stuck at Contacting Server
I am finally moving from Homesite to Eclipse. I installed Eclipse/CFEclipse/AdobeCF8Extension (with RDS) on both my Windows and Mac machines. Everything seems to work, except that when I try to RDS connect to my VivioTech server, it only displays the Connecting Server... icon, and never shows the server's file/directory tree. Any suggestions on where I should check to fix it? Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349934 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
SOT: Eclipse RDS to VivioTech stuck at Contacting Server
James this is our prototype/proof of concept area. On Feb 18, 2012, at 12:50 AM, James Holmes james.hol...@gmail.com wrote: Ah sorry, misread. RDS (not RDP) communicates via port 80, so that's not likely the issue. However, I might add that enabling RDS for a production server is an incredibly bad idea. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 18 February 2012 16:48, James Holmes james.hol...@gmail.com wrote: My first guess is that the server's firewall rules are blocking RDP. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ T On 18 February 2012 16:41, Michael E. Carluen mecarl...@gmail.com wrote: I am finally moving from Homesite to Eclipse. I installed Eclipse/CFEclipse/AdobeCF8Extension (with RDS) on both my Windows and Mac machines. Everything seems to work, except that when I try to RDS connect to my VivioTech server, it only displays the Connecting Server... icon, and never shows the server's file/directory tree. Any suggestions on where I should check to fix it? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349937 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: Eclipse RDS to VivioTech stuck at Contacting Server
Russ, yes it is enabled... I am able to use RDS via Homesite+. On Feb 18, 2012, at 3:45 AM, Russ Michaels r...@michaels.me.uk wrote: you do actually have RDS enabled on the server right ? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349939 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: Eclipse RDS to VivioTech stuck at Contacting Server
After Google-ing a bit more, I found out that theres a bug on the Arrows icon that toggle the RDS directory tree it does not work. The work around is simply using the Go Into menu item. Funny that the bug has been around for years and still no fixed. http://www.vintagecoding.com/www/blog/2008/07/24/eclipse-rds-might-be-a-problem-with-ganymede/ you do actually have RDS enabled on the server right ? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349943 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
skEdit Express for CFML
Hello gang. Is there anyone using skEdit Express and have an opinion on it? (I'm on Mac OS Lion) Thanks!!! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349900 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Hosting Recommendations
Try authenticating the user using their LinkedIn or their Twitter userid. That often deters 'phony' users from creating accounts with self-serving or malicious intentions that'll skew your data. On Nov 4, 2011, at 6:44 PM, Steve Bryant st...@bryantwebconsulting.com wrote: Russ, That is certainly a concern and I do have some steps in place to combat that. At the same time, I am really torn with how to balance fraud checks with making it painless to post a review. Anyone else have any thoughts on this? (more thoughts from you, Russ, are welcome as well of course) Thanks, Steve I would like to suggest that you put some checks in place to stop hosts from reviewing themselves or posting bad reviews of the competition, as some hosts are really bad for this. require all reviewers to complete some basic details (name, address, email,website hosted with this host, time with host), and send out a validation link via email. Ideally the email address should be using the domain they listed as their website. record the hosts IP address when they sign up and do not allow any reviews from the IP or from the domain of any listed host. that should put a stop to most of the dodgy reviews :-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348468 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Pyschich Serch
Don, You do it using ajax (referred to as 'auto-suggest'). There many different ways on how you can do it. One implementation is by using CF with jQuery. Check-out the following: http://www.dyve.net/jquery/?autocomplete http://jquery.bassistance.de/autocomplete/demo/ Most auto-suggest is done by simply looking up a corresponding field lookup to a database field record. But you can get real fancy with the query depending on what you need. Example: when you type in: Harrison Ford- it'll return the titles of his movies- that kind of thing. Hth, -Original Message- From: Don R Seibert [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 12:43 PM To: CF-Talk Subject: Pyschich Serch Hello All, I have been to a number of websites that have search boxes that when you start to type into it, it starts to recognise what you are looking and makes suggestion. How would you do this in ColdFusion. Is it a built in function or is there a list that gets pre-populated. I have a database that has movie titles and that would be great for someone looking for a particular movie. Thanks, Don Seibert www.twodudesmoviereviews.com [EMAIL PROTECTED] Email services provided by SeiberSpace Technologies, LLC http://www.seiberspace.net ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307760 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Time Rounding
Terry, Try this: cfoutput#minute(now())#/cfoutput cfset theminute = minute(now()) cfset roundedhour = hour(now()) cfif theminute lte 7 cfset roundedMinute = 0 cfelseif theminute lte 23 cfset roundedMinute = 15 cfelseif theminute lte 37 cfset roundedMinute = 30 cfelseif theminute lte 53 cfset roundedMinute = 45 cfelse cfset roundedhour = hour(now())+1 cfset roundedMinute = 0 /cfif cfset theroundedtime=createDateTime(year(now()),month(now()),day(now()),roundedhou r,roundedMinute,0) cfoutput#theroundedtime#/cfoutput There probably a better way that someone else may suggest, but for now you can start with the one above. Hth, Michael -Original Message- From: Terry Troxel [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2008 5:11 AM To: CF-Talk Subject: Time Rounding I have been asked to write a time clock application and am having trouble figuring how to round time to 15 minute increments based upon a punch time as our mechanical time clock does. Any help would be appreciated. Terry Troxel ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306796 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Sever-side data validation with ajax
Don, As Kevin eluded to, building a rock-solid server side validation should always be the first step. I typically reserve ajax/js validation as input helpers for just enhancing the form's data entry user experience- such as autosuggest, auto-fill drop downs, etc. (I always think that the user may turn off javascript half way through the form filling process.) As for displaying the error message, I add a span element next to a label element, and put the input box just below it. For errors, I just display the span, then dump the on message on it. My .02, hth! Michael As long as you still implement the server-side aspect, the choices you have to notify the user are practically endless. I personally prefer: I knew the 'traditional' server-side validation is more secure... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305273 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Secure Flash Audio Player and CF
Checkout http://flowplayer.org/player/advanced.html#antileeching This player already has an anit-leeching feature partially built-in into the player itself. So as Kevin described, all you need to do is build the uuid token authentication handling on the CF side. I believe the player handles both have flv and mp3s. Have fun guys. Michael -Original Message- From: Kevin Aebig [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2008 3:33 PM To: CF-Talk Subject: RE: Secure Flash Audio Player and CF Hi Mike, This method has been used to secure resources loading into Flash for a long time and works rather easily. To use this method, you should learn about FlashVars so that you can pass your encrypted token to Flash. Your token can be any number of things, but I would suggest a combination of a Unique ID( uuid() ), some other random characters and the actual id of the 'ticket'. Flash decrypts it, verifies that it's legitimate, than re-codes it along with the requested file and sends it to the server-side. The server-side receives the request and validates the token, than processes the request and returns the file. I dug up an example that was built for the Flash Media Server, but the process is similar and should work well. http://echo.ryerson.ca/authentication/ !k ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304967 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: The unofficial ahphosting status thread
@Terry: Yes, everything is working on my end, including the CP. As Jeff noticed, it's a tad bit faster too. You're probably on the same box as Mary Jo, where as I recall, Greg said it was 'toast'- but I'm just guessing. So like everyone, I am just waiting the official word of conclusion. I share my sentiments with Charlie. I knew getting into AHP that it was a just micro-operation, so I wont claim ignorance on the known risk on such type of small biz even at the time I engaged with Greg's company. Collectively, if we monetize the loss of time, productivity, and revenue wasted during this incident, it would total up to be quite a significant amount. We all know that Greg has already lost (and probably will loose more) customers because of this. And his customers including myself, has lost customers as well. On day 1, I was demo-ing my sites to a potential client, but to my embarrassment, none worked. I certainly hope (expect?) that Parallels/SWS admit to some accountability/responsibility to this. And with such responsibility, comes some sort of gesture to repair relationships: monetary or otherwise to AHP, which then gets passed on to AHP customers. No, I am not implying having lawyers with fangs and suckers getting involved. Just a 'gesture', a mere token. My .02. -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 8:29 AM To: CF-Talk Subject: Re: The unofficial ahphosting status thread btw, just thought i'd throw out an i'm not leaving. i'm relatively new to AHP and i'll take it on faith for now that this outage is the exception rather than the rule. I'm choosing to look at it as, hey, my host was taking the initiative to upgrade the software that i get to use... without me having to ask, and without any increase in price. it obviously didn't go well, but you can't fault the intentions. i'm not debating the fact that 8 days is a long time to be encountering issues... but there's only so much you can do when you're one guy. in different situations, being with a small company has its advantages (direct access to the person you need to talk to at almost any time day or night, for example), so i'm not going to complain (too much) about it when it doesn't happen to work out in my favor. just my $0.02, fwiw. On Wed, Feb 27, 2008 at 8:24 AM, Charlie Griefer [EMAIL PROTECTED] wrote: i emailed greg yesterday just to see if everything was done (as in, we expect everything should be working, so please report any issues versus we are not done, so you may still encounter intermittent issues). he did mention that he'd been doing his best to keep the support page of the site up to date, and planned for another update as soon as today. i hadn't even thought to look there thru all of this :\ http://ahphosting.net/support/ On Wed, Feb 27, 2008 at 6:53 AM, Terry Schmitt [EMAIL PROTECTED] wrote: It's getting strangely quiet... Has everyone left ahp or are things working? I remain the same with http operational and ftp, vcp, and mail down. I just called ahp and Greg's mailbox is full, so at this point, I have absolutely no idea what the status of this mess is. It's hard to make a stay or go decision without any info, so it appears, at this point, that the decision is getting made for me. There are other Virtuozzo CF hosting companies out there, but I sure can't find any info that any of them are having the trouble that we are having. I'd really hate to switch hosts and run into the same darned problem somewhere else though. Guess I'll flip a coin... Since there are quite a few concerned ahphosting customers here, I thought I'd start this thread instead of using the lengthy Holy Grail thread. My current status on a VPS is: http up about 80% since Sunday. email down 100%. RDC comes and goes. Currently down. FTP down 100%. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299981 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: FW: unoffical ahphosting thread
On Failover: At the price/value we're paying, I personally only expect the bare minimum, that is just the ability for AHP to rollback any failed version updates. On System Updates/Emails: I prefer emails, or even an official thread on HoF, for incidents like this. Do remember that throughout this incident, the AHP Support page where being hosted by the same servers that were having the outage problem. Everyone's individual disaster mitigation and recovery plan should include a server and email environment *without* relying on AHP. At worst case scenario, everyone should be able to replicate at a different hosting company... and you do that by having very portable code and frequently updated backup database files. -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 10:57 AM To: CF-Talk Subject: RE: FW: unoffical ahphosting thread That should be part of the user sent up and then he can have an interface to let users keep it up to date themselves(might even be able to do that via one of the management interfaces)...if they don't, then that is their issue...not Greg's ;-) Having on the site assumes that users even know about it...without an email letting us know it is there, we don't know. Not all of his customers are necessarily on this list and have benefited from Michael's (an others) updates. Eric ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300010 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: The unofficial ahphosting status thread
You can do the same thing using the free MySQL Administrator (GUI) tool. -Original Message- From: Anthony Katgert [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 2:09 PM To: CF-Talk Subject: Re: The unofficial ahphosting status thread Pfff I was able to connect to the mysql database server and created a backup and extracted a mysql.sql file to my notebook with Navicat I do not follow you Tom. What did you mean with that remark. Not a lot of help now, but next time you'll make sure systems send you nightlies, yes ? :-) I'd assume Nightly Backups. For example I've got a Virtual PC Server running here at home with duplicates (my Disaster Recovery servers) of my production ColdFusion and database servers. I use a SQL Server DTS (Data Transformation Services) package scheduled to run every night at 3am which copies all data from the production database to the DR database. I don't actually do any backups for the CF server (since I only update it from a development virtual server so it's always backed up) but you could easily script an FTP to copy any important files. Of course there are easy to use automated tools as well. You can also, of course, run an actual backup program in difference mode which saves to a remote location - the initial backup would take a while (even over broadband) but the nightly differences should be small. More sensitive data might require quicker backups (hourly or even live) but that of course consumes more resources as well. Most databases have methods for subscribing to data todo close-to-live backups (using log shipping - which sends updates to one database's log files to another from minute to minute is popular). The bottom line is that you have your data (or at least the vast majority of it) when things like this happen. There are plenty of cheap or free options for all this stuff but it does take some resources (time and sometimes equipment) but every pain will be forgotten then first time that backup saves your hide. ;^) Jim Davis ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299760 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: The unofficial ahphosting status thread
Now here's a totally new symptom. On some of my sites that lands on an index.htm, http displays fine. However, on index.cfm, displays 403.1 errors. Anyone else observed that problem yet? -Original Message- From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] Sent: Thursday, February 21, 2008 3:17 PM To: CF-Talk Subject: Re: The unofficial ahphosting status thread Don't know that his assessment of the router issue was correct. But it did seem as if something *other* than just Virtuozzo was going wrong, too. Mine cleared up. Hope yours does, too. Nope, still can't access. I was hoping to just export my SSL but guess I'll have to go through having it reissued, as he doesn't seem to be able to get me access. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299638 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
AHPHosting Downtimes?
Is it just me, or are there anyone else noticing sporatic downtimes (10 to 30 min long) on AHPHosting's VPS? I wanted to create a trouble ticket. But unfortunately, the AHP site kept on going south as well. Anyone? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297893 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: AHPHosting Downtimes?
Thanks for the reply, Michael, Terry. It happens around 3am-4:30am PST. Not quite sure if it really AHP, that's the reason why I wanted to field it on the list. Accessing via FTP or RDS is OK. But I can not seem to hit the (mine and AHP's) sites via http when its down. Have not done a trace route though, maybe next time I should. -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 5:24 AM To: CF-Talk Subject: Re: AHPHosting Downtimes? I haven't seen anything on my clients using VPS (HoF is on a dedicated box). When has it been happening and what domain? Also, what type of downtime? Just your site, just CF on your site, the whole AHP site? Is it just me, or are there anyone else noticing sporatic downtimes (10 to 30 min long) on AHPHosting's VPS? I wanted to create a trouble ticket. But unfortunately, the AHP site kept on going south as well. Anyone? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297968 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: IP Address to Country API
I've been using it for several months now. I don't remember it ever choking yet. -Original Message- From: Coldfusion Monkey [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 4:50 PM To: CF-Talk Subject: Re: IP Address to Country API I have a high traffic site that needs to only lookup the country from the user ip address. I checked out the hostip.info service and its great as i can post cfhttp requests and parse through the response. Just wondering if you guys are aware of any negatives in using this service like updates to db, uptime,speed etc. Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296638 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Using includes to build pages
Tim, I've even had one that had nested includes (an include inside another)- and I couldn't tell if there's even a performance hit. I really like the modular flexibility of includes. I don't think 7 includes will make a significant noticeable difference, just link what Ben stated. -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 12:20 PM To: CF-Talk Subject: Re: Using includes to build pages It is, technically, slower. However, this slowdown is likely not even measurable in milliseconds. Honestly, I wouldn't worry about the performance. The ease of building/altering/updating the site pays for the shaved milliseconds very quickly. --Ben Doom Tim Ashworth wrote: Hi, Just a quick newbie question - how does using includes affect the way that a site performs? If I've got a page that has 7 includes - header in one, content in another, etc. Is this worse than having a page that is compiled from only 2 or 3? Cheers Tim ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293324 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Rails vs CF.... :)
Lol, that's really funny. Thanks John Paul. I am curious as to the size of the RoR base (adoption/implementation). I checked the Top100 RoR Users list http://rails100.pbwiki.com/ but it only lists 74- and 4 of them are 37Signals/David Hansson's products (no surprise there). Most on the list are names only hard core geeks and web developers will recognize. I mean, I haven't really seen an RoR site the size of BofA, or as heavy-trafficed site as mySpace. Maybe Basecamp- but its still not a mySpace. Having an evangelist driven campaign like RailsEnvy, is like having cfwack's Ben and Ray create videos dispelling the Death of CF. That's going to be a pretty long series since its been dying for a long time now- and will be in a state of dying even longer, I think. Now that's going to be pretty funny.. at least to us. Have a nice weekend y'all. -Original Message- From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED] Sent: Saturday, October 20, 2007 11:06 AM To: CF-Talk Subject: SOT: Rails vs CF :) Folks, I checked the archives -- maybe I missed this on the list the first time around. http://www.railsenvy.com/2007/10/3/ruby-on-rails-vs-coldfusion FWIW, these guys have several funny comparisons between Ruby on Rails and X (9 I believe). -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291679 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
File disappears after cffile rename
Has anyone experienced having a file literally disappear after a cffile action=rename ? This happens on CF8. but code works fine on 7.0.2. Any ideas? ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291396 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: File disappears after cffile rename
I am still trying to wrangle this issue. cflock name=#CreateUUID()# type=exclusive timeout=30 throwontimeout=no cfset PAGE_clean_SERVERFILE = replace(cffile.SERVERFILE, ,_,all) cffile action=RENAME source=cffile.SERVERFILE# destination=#PAGE_clean_SERVERFILE# /cflock Since this is an avi file being uploaded on a fairly new server, does my MIME registration on IIS have anything to do with the cffile rename anomaly? I currently have it for video/avi. Any other ideas for me to check for, will help. Thanks, Michael -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 3:09 AM To: CF-Talk Subject: File disappears after cffile rename Has anyone experienced having a file literally disappear after a cffile action=rename ? This happens on CF8. but code works fine on 7.0.2. Any ideas? ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291424 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: File disappears after cffile rename
Issue solved. (Or perhaps a CF8 bug) On: cfset PAGE_clean_SERVERFILE = replace(cffile.SERVERFILE, ,_,all) cffile action=RENAME source=#cffile.SERVERFILE# destination=#PAGE_clean_SERVERFILE# Apparently on CF8, if the cffile.serverfile name and the newly assigned name var are the same, the file will get deleted when it fires the cffile rename. To fix it, I wrote a compare() between the 2 names: if its different, on then will it execute the cffile rename. I didn't have to do this on CF7 and below. Hth someone else in the future. Michael -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 10:01 AM To: CF-Talk Subject: RE: File disappears after cffile rename I am still trying to wrangle this issue. cflock name=#CreateUUID()# type=exclusive timeout=30 throwontimeout=no cfset PAGE_clean_SERVERFILE = replace(cffile.SERVERFILE, ,_,all) cffile action=RENAME source=cffile.SERVERFILE# destination=#PAGE_clean_SERVERFILE# /cflock Since this is an avi file being uploaded on a fairly new server, does my MIME registration on IIS have anything to do with the cffile rename anomaly? I currently have it for video/avi. Any other ideas for me to check for, will help. Thanks, Michael -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 3:09 AM To: CF-Talk Subject: File disappears after cffile rename Has anyone experienced having a file literally disappear after a cffile action=rename ? This happens on CF8. but code works fine on 7.0.2. Any ideas? ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291450 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: File disappears after cffile rename
@ Paul, Rick, and Brad: Thanks a bunch for your comments, ideas, suggestions. The reason why I had the cflock was because directly after the cffile rename, was a cfexecute for ffmpeg. Without the lock, it seemed that ffmpeg begins to execute even before the actual file rename on the file system completes. Ffmpeg then throws an error because it does not allow file names with spaces. You're talking milliseconds of overlap here- unsure if its caused by the server OS latency but as far as CF goes, I think it thinks has completed rename. It doesn't seem to happen all the time, but I did see it happen. The lock just seemed to prevent that from happening. -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 11:11 AM To: CF-Talk Subject: RE: File disappears after cffile rename Issue solved. (Or perhaps a CF8 bug) On: cfset PAGE_clean_SERVERFILE = replace(cffile.SERVERFILE, ,_,all) cffile action=RENAME source=#cffile.SERVERFILE# destination=#PAGE_clean_SERVERFILE# Apparently on CF8, if the cffile.serverfile name and the newly assigned name var are the same, the file will get deleted when it fires the cffile rename. To fix it, I wrote a compare() between the 2 names: if its different, on then will it execute the cffile rename. I didn't have to do this on CF7 and below. Hth someone else in the future. Michael ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291459 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: File disappears after cffile rename
Claude, I am sure you (et al) are right on the use(lessness) of locks in this case. As I said, I used it with uncertainty thinking (hoping?) that it was preventing an overlapping of execution between the file rename and cfexecute. In other blog threads, I found quite a number of posts about cffile and ffmpeg, and how both can co-exists but don't really sync well together. Circling back to the original cffile renaming-disappearing issue, at least that is resolved. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 3:19 PM To: CF-Talk Subject: Re: File disappears after cffile rename The lock just seemed to prevent that from happening. If it did, it cannot be for any logical reason. The purpose of named locks is to ensure that a program cannot lock under the name, if another lock with the same name is already active. Using CreateUUID() to create a unique name, you just make sure that no other program, not even another instance of the same template, will never try to compete this lock. So your lock is completely useless. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291485 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Creating replicated sites with coldfusion
This sounds like a good Idea... what would be the proper syntax to use to get the username field if I went with a wildcard variable? I don't have a lot of experience with CGI variables, which seems to be what I will need to do this. You can treat the CGI scope just like any other struct... just cfdump it to see what's in it. For this you can use CGI.HTTP_HOST . You can then evaluate the returned var and treat it as a list delimited by a dot (.). Get the listlen. If it has 3 elements, the first one should be your wildcard value, which you can capture, create a query, then cflocate to the appropriate site. Hth, Jessica. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291245 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Creating replicated sites with coldfusion
I could be wrong, but I don't think IIS supports wildcard sites. Which is too bad, because that's actually a very elegant solution. Hi Ben, Yes, you can. But from my experience, it has to be on a 'dedicated' IP address. By dedicated, I mean- there should be no other sites/domains sharing the IP address, except for the domain using the wildcard. (I could be wrong, and if so, I'm all ears- anyone) -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 12:14 PM To: CF-Talk Subject: Re: Creating replicated sites with coldfusion Jessica Kennedy wrote: Jessica: Also, have you considered using wildcard DNS? As in http://jessica.sample.com You can do that by simply adding a * A host entry in your DNS manager. Michael This sounds like a good Idea... what would be the proper syntax to use to get the username field if I went with a wildcard variable? I don't have a lot of experience with CGI variables, which seems to be what I will need to do this. I could be wrong, but I don't think IIS supports wildcard sites. Which is too bad, because that's actually a very elegant solution. Also, I will be using an IIS server, not apache, and I don't think there is a mod_rewrite equivalent with IIS, hopefully somebody can prove me wrong though! I've never used one, but there were a couple brought up on the list a while back. Both were for-pay, I think, but very cheap IIRC. --Ben Doom ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291267 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cferror wont fire on syntax problems
I have the following catch-all cferror in place on my application.cfm: cferror type=EXCEPTION exception=any template=/error/index.cfm mailto=[EMAIL PROTECTED] cferror type=REQUEST template=/error/index.cfm mailto=[EMAIL PROTECTED] However, If I run my test page with a bad cf syntax cfoutput#now(#/cfoutput, it still displays the default error display thrown by CF, and not my specified template. Any ideas, suggestions anyone? ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291118 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Creating replicated sites with coldfusion
Jessica: Also, have you considered using wildcard DNS? As in http://jessica.sample.com You can do that by simply adding a * A host entry in your DNS manager. Michael -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Monday, October 15, 2007 11:41 AM To: CF-Talk Subject: RE: Creating replicated sites with coldfusion You've got CGI variables at your disposal, when the URL is called. Provided that the username will equal the path name in every case You can use cgi.PATH_INFO and extrapolate the username from the path, and run your queries accordingly. Hth sas -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (703) 220-2835 http://www.sstwebworks.com http://www.linkedin.com/in/sstwebworks -Original Message- From: Jessica Kennedy [mailto:[EMAIL PROTECTED] Sent: Monday, October 15, 2007 3:14 PM To: CF-Talk Subject: Creating replicated sites with coldfusion Hi, I am working on a site for a MLM company that wants each person who signs up with the company to have their own replicated website. The replicated site is really no more than each person having a separate URL that is defined by the username they put in when they sign up- everyone's site is exactly the same otherwise. For example, if I signed up for the program with a username of jessica my replicated website's address would be http://www.sample.com/jessica;. I do not want to have to create a separate folder index page for each every person who signs up, because that seems like it would be kind of ridiculous waste a lot of space, so how can I (firstly) trick the server into believing there is a separate page for each person even without a folder with their username existing in my directory? Second, and I guess this question could be answered by the first, how can I get that username to be pulled from the URL for use in dynamic queries and the like. -More or less, I am just wanting to somehow convert a query string such as http://www.sample.com?username=jessica; into the more user-friendly http://www.sample.com/jessica;. I think i am making this harder than it really is.. hopefully I have made this clear enough to understand, and any help would be greatly appreciated! Thanks!! ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291142 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Site wide error handlers
What does cferror do if cftry-cfthrow-cfcatch is already in place? -Original Message- From: ColdFusion [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 6:30 PM To: CF-Talk Subject: RE: Site wide error handlers What I have is in my Application.cfm file: cferror type=EXCEPTION template=error/error.cfm cferror type=REQUEST template=error/error.cfm Then within the error.cfm file, I display an error message to the user and then have a CFMAIL tag to send me all the information (cfdump of request, session, request, etc) -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 10:15 PM To: CF-Talk Subject: Site wide error handlers Hi, i have just set up a hosting package with a cf host. it is on a shared server and they are telling me that they do not allow me to have access to the cf administrator and therefore i cannot set a site wide error handler or a missing template handler. i was told that i couldn't set a site wide error handler at all. i was even told that i should test it at home before i upload it - lol, im sure it would be great if we could all develop 100% error free software and anticipate everything that may happen. is there a way that i can set the site wide and missing template error handlers in the code thanks ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289833 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Site wide error handlers
Thanks, William. I was hoping someone would confirm that order and you did. I have not used cferror, but have used cftry extensively. I just want to make sure that nothing breaks if I slide in cferror on the application.cfm on a working app. Again, I appreciate the response, William. -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 9:40 PM To: CF-Talk Subject: RE: Site wide error handlers Michael, There is an 'order of presedence' with error control. CFTRY/CFCATCH - priority over all CFERROR is 2nd priority Site wide Custom Template is the 3rd priority (this is set in the Administrator pages) System error Handling (also in the Administrator pages, involving the debug) Basically, when an error occurs, CF looks for the resolution through that list, and in that order. Eg. an error is thrown but it was not in a CFTRY/CFCATCH, then it will send the error to the appropriate CFERROR setting (unless there isn't one then it will go to the Site-Wide, otherwise it will display the error 'on-page' using the debug settings from your admin settings.) Hope this helps, William -- William E. Seiter Web Developer http://William.Seiter.com -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 7:04 PM To: CF-Talk Subject: RE: Site wide error handlers What does cferror do if cftry-cfthrow-cfcatch is already in place? -Original Message- From: ColdFusion [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 6:30 PM To: CF-Talk Subject: RE: Site wide error handlers What I have is in my Application.cfm file: cferror type=EXCEPTION template=error/error.cfm cferror type=REQUEST template=error/error.cfm Then within the error.cfm file, I display an error message to the user and then have a CFMAIL tag to send me all the information (cfdump of request, session, request, etc) -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 10:15 PM To: CF-Talk Subject: Site wide error handlers Hi, i have just set up a hosting package with a cf host. it is on a shared server and they are telling me that they do not allow me to have access to the cf administrator and therefore i cannot set a site wide error handler or a missing template handler. i was told that i couldn't set a site wide error handler at all. i was even told that i should test it at home before i upload it - lol, im sure it would be great if we could all develop 100% error free software and anticipate everything that may happen. is there a way that i can set the site wide and missing template error handlers in the code thanks ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289839 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Security Questions
and the evil Java Developers (j/k ;o) You just gotta love them purists and elitists- and their will to resists anything but...! -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Monday, September 24, 2007 12:33 PM To: CF-Talk Subject: Re: Security Questions You guys are all just awesome. With your responses and the ones from my CFUG, I'm much more at ease with this issue (or at least I will be after I do my homework on the concepts you guys have given me!) @Jochem: I really wish I was going to MAX, and maybe if my boss sees all this he'll find it of value and send me ;o) Some day I'll make it out to one of these blasted events and put faces to some of the names I see so often on the lists! Cheers everyone! And I'll keep you posted as to what happens with this client and the evil Java Developers (j/k ;o) Chris ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289361 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF-happy CAPTCHA recommendations?
Hey there Scott, Have your tried CFFormProtect? http://cfformprotect.riaforge.org/ Its not the traditional Captcha since it does not ask the user to type in the obscured string of characters prior to the form submission. It works by systematically observing the users' activities, that only humans would do like mouse movements, user latency, etc. It can even check spam-ish posts, in case it is an actual human that is maliciously using the form. Check it out, ...would be great to know your evaluation. Kudos goes to Jacob Munson. Michael -Original Message- From: Scott Weikert [mailto:[EMAIL PROTECTED] Sent: Friday, September 21, 2007 8:48 AM To: CF-Talk Subject: CF-happy CAPTCHA recommendations? I've been using CF_CAPTCHA for a while now, and it's old enough that the spambots have 'cracked the code', so to speak, and is nigh useless. Anyone out there have any recommendations on a good, CF-based (or non CF-based, but can be easily used from within CF) CAPTCHA solution that's a bit tougher to break? --Scott ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289112 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: IP Address to Country API
Hi Chad, I use http://api.hostip.info/?ip= anyIP Contact me offline if you need more. I have modified portions of Matt Robertson's ZipMonger code to create a simple custom UDF, that can calculate the mile proximity of a visitor's machine, to another geo valid coordinate/point. Michael -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 11:35 AM To: CF-Talk Subject: IP Address to Country API I am looking for a free API/Script that will take the IP address from each visitor and find out which country they are coming from. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288631 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Loop based on if statement
Scott, Please clarify what you are working with; do you have a query with 2 fields (field1: query.id1 and field2: query.id2), and single list with multiple values ('id1', 'id2')? Is you intention to verify the existence of the values contained in either fields to the values of contained in the list? Michael -Original Message- From: Scott Raley -ITC [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 1:05 PM To: CF-Talk Subject: Loop based on if statement I have a cfif that is run to verify results of a query vs list cfloop query=query cfif query.id1 EQ list.id1 OR query.id2 EQ list.id2 /cfif /cfloop What happens is that I need whats inside of this cfif to keep running until its false. I tried to put a conditional cfloop around this cfset myvalue = 0 cfloop cfif query.id1 EQ list.id1 OR query.id2 EQ list.id2 cfloop condition=myvalue EQ 0 run generation cfif query.id1 EQ list.id1 OR query.id2 EQ list.id2 cfset myvalue = 1 cfelse cfset myvalue =0 /cfif /cfloop /cfif cfset myvalue=0 /cfloop This still isn't working.. if I output what myvalue is set to alot of the rows show a value of 1 as if its not running until the condition is 0. What am I missing? ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288635 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Google Maps Tag - CF5
Try this http://www.blayter.com/john/cf_googlemap/ It's a custom tag, not a cfc. -Original Message- From: Dennis Powers [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 4:42 PM To: CF-Talk Subject: Google Maps Tag - CF5 I apologize for being a Luddite on this list but does anyone know of a CF 5.x tag for interfacing Google maps for insertion and display on a local website? Everything I find is CFMX or later. Best Regards, Dennis Powers UXB Internet - A website design and Hosting Company 690 Wolcott Road P.O. Box 6029 Wolcott, CT 06716 Tel: (203)879-2844 http://www.uxbinternet.com/ http://www.uxb.net/ ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288439 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Replacing the CFDJ awards.... ?
LOL, Steve. That is probably why I never liked reading CFDJ, or any SysCon published material for that matter. You could never see what you are looking for even if its right in front of you. A minute on any of their site sends me running for some aspirin. -Original Message- From: DURETTE, STEVEN J (ATTASIAIT) [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 10:41 AM To: CF-Talk Subject: RE: Replacing the CFDJ awards ? Am I missing something here? Was there an announcement about CFDJ going away? Nothing on the cfdj main page. Steve -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 11:47 AM To: CF-Talk Subject: Re: Replacing the CFDJ awards ? How about a community driven award, for and by the community? On 9/10/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote: Folks, While I'm certainly neither surprised or upset by the demise of CFDJ, I always did get a lot of vicarious pleasure out of the yearly CFDJ awards. Regardless of the value of such awards (and no offense to any recipients or nominees) such a popularity contest is always useful in one way or another. So who's stepping up to take over? :) Not me ;) -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288107 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: SQL select where in headache
Hugh, I'd caution you to thoroughly check the results of your query. Per your previous posts, if the PERMISSIONS value is 1,2,3 then the query will not return anything on a session.status that has a value of 1,3,2- because they a not LIKE -Original Message- From: Hugh Fidgen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 2:53 AM To: CF-Talk Subject: Re: SQL select where in headache Thanks WHERE PERMISSIONS LIKE '%#session.status#%' Seems to have done the trick! ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:28 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfexecute ffmpeg
Hi Mark, I am curious as to what doesn't work. I pretty much do the same method as what you're doing. In my experience however, I notice some latency associated with the ffmpeg processing in the background even after cffile and cfexecute completes. As an example, 10meg .avi can take a full minute until it can be viewed completely as a flv. Michael -Original Message- From: Mark Lewis [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 2:46 AM To: CF-Talk Subject: cfexecute ffmpeg Hi Guys, i've been trying to convert .avi videos to .flv using ffmpeg, I have it workng from the command line, however when I try it using cfexecute it only converts a small part of the file and the video doesn't work... the arguments I am using are very basic as follows. cfexecute name=directory\ffmpeg.exe arguments = -i directory\testvid2.avi directory\testvid2.flv outputfile=c:\ timeout=0 /cfexecute Thank You in advance Mark ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287820 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PHP or .Net?
Sean, Michael, Andrew... Any thoughts on Ruby and Python? -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 8:57 AM To: CF-Talk Subject: Re: PHP or .Net? On 9/5/07, Ali Majdzadeh [EMAIL PROTECTED] wrote: For about 5 years I am using CF as my main devloping laguage but many experienced programmers suggested I learn another programming language too because CF is great but not as popular as PHP or .Net Which one do you suggest as the second language I learn? The only thing I ever used is Coldfusion. I don't think you'll actually learn anything new from PHP but you may find it easier to pick up if you've only done CF. I think PHP is a *horrible* language but a lot of people think I'm a bit of a language purist (I've designed a couple of languages and written compilers and interpreters so I probably have a different view of languages to most folks :) C# / .NET will be a good learning experience in terms of new concepts and it's fairly marketable. Java would also be a similarly good learning experience (and is also fairly marketable). I generally suggest that folks learn new languages for the concepts they can teach rather than how marketable a specific language is - the more languages you know, the easier it is to pick up the marketable languages - and unusual languages teach you a lot more than mainstream languages, in terms of techniques (many of which will make you a better CF programmer!). Consequently, I recommend learning unusual stuff like Smalltalk, Prolog and Haskell... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287822 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: SQL select where in headache
Also, don't forget- cfqueryparam is your friend cfqueryparam value=#session.status# separator=, list=Yes -Original Message- From: Adkins, Randy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 11:39 AM To: CF-Talk Subject: RE: SQL select where in headache if session.status is a numeric list and PERMISSIONS is a numeric value, remove the single quotes: WHERE PERMISSIONS IN (#session.status#) From: Hugh Fidgen [mailto:[EMAIL PROTECTED] Sent: Tue 9/4/2007 3:24 PM To: CF-Talk Subject: SQL select where in headache Hiya, I've got a problem selecting data from a table and I was wondering if anyone could help. Code so far: cfquery name=eventlist1 SELECT * FROM EVENTS WHERE PERMISSIONS IN ('#session.status#') ORDER BY EVENT_DATE, EVENT_START ASC /cfquery This works fine where field permissions = 1 but when permissions = 1,2,x,x and so on the query fails. Basically - how can I loop through the comma delimeted values in the permissions variable and compare them each against #session.status# until a match is found. Thanks so much, Hugh ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287719 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
[OT] Ann: Rey Bango is now Ajaxian
http://ajaxian.com/archives/introducing-the-latest-ajaxan-rey-bango Coolness Rey! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of R. Rajesh Jeba Anbiah Sent: Sunday, September 02, 2007 3:54 AM To: jQuery (English) Subject: [jQuery] Rey Bango is now Ajaxian Usually, he'll be posting this sort of links/news; now for a change, I'm doing;) http://ajaxian.com/archives/introducing-the-latest-ajaxan-rey-bango -- ?php echo 'Just another PHP saint'; ? Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/ ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287638 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: [OT] Ann: Rey Bango is now Ajaxian
Rey, I'm sure the communities you are apart of, (CF and others) will somehow benefit from your visibility and from your future contributions to Ajaxian. -Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Sunday, September 02, 2007 1:26 PM To: CF-Talk Subject: Re: [OT] Ann: Rey Bango is now Ajaxian LOL! I can't believe this made it to CFTalk! Thanks for the kudos Michael. I'm really happy about being an Ajaxian and posting for the site. :) Rey... Michael E. Carluen wrote: http://ajaxian.com/archives/introducing-the-latest-ajaxan-rey-bango Coolness Rey! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of R. Rajesh Jeba Anbiah Sent: Sunday, September 02, 2007 3:54 AM To: jQuery (English) Subject: [jQuery] Rey Bango is now Ajaxian Usually, he'll be posting this sort of links/news; now for a change, I'm doing;) http://ajaxian.com/archives/introducing-the-latest-ajaxan-rey-bango -- ?php echo 'Just another PHP saint'; ? Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/ ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287645 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Fading images with ajax
Bill, To Andy's and Will's suggestion, here's a css that might help you: style ..transpOn { filter:alpha(opacity=60);-moz-opacity:0.6;opacity:0.6; margin:;} ..transpOff { margin: 0px;} /style a href=your_linkimg class=transpOn onmouseover=this.className='transpOff' onmouseout=this.className='transpOn' src=your_image title=your_title border=0/a Hth! Michael -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 10:37 AM To: CF-Talk Subject: RE: Fading images with ajax Depending on how many images you have, that could get a little intensive for the user's browser. Might be better to start with the images at 70% and fade the selected image IN to 100%. That way you're only affecting one image as opposed to 10 or 15. -Original Message- From: Bill Betournay [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 12:02 PM To: CF-Talk Subject: Fading images with ajax Hi All I'm wondering if anyone knows of a way too or if it's possible with the new Ajax features in CF8 to fade all images except the one that is selected. Here's what mean. I have a loop of images outputting. All the image I need to display initially with a opacity of 100% but when the user mouse's over one of the images I need all other images to fade to 80 or 90%. I've found several ways to fade the selected image but I can't figure out any way of fading the images that are not selected. It has to be CF and not Flex. Thanks Bill ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286618 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
SOT: Getting Started with FFMPEG Windows
I'll be working with FFMEG with CF. Can anyone recommend a good installer package? There a ton of stuff to read. I was wondering if anyone know a fasttrack way for the installation. Thanks all ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283119 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Using cfinclude and udfs on application.cfm
Hi all. I am updating a legacy app that is still using an application.cfm (not a .cfc). The update simply adds a cfinclude tag for a udf library. Is there anything illegal (for a lack of a better term) about adding cfincludes on an application.cfm? It works, but would like to confirm whether or not the practice is not recommended or would post a risk down the line. Thanks all. Michael ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281375 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Using cfinclude and udfs on application.cfm
Btw, just for clarity, the udf library is being used, of course, for just a couple functions to be used within the application.cfm. -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Saturday, June 16, 2007 11:45 AM To: CF-Talk Subject: Using cfinclude and udfs on application.cfm Hi all. I am updating a legacy app that is still using an application.cfm (not a .cfc). The update simply adds a cfinclude tag for a udf library. Is there anything illegal (for a lack of a better term) about adding cfincludes on an application.cfm? It works, but would like to confirm whether or not the practice is not recommended or would post a risk down the line. Thanks all. Michael ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281382 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Using cfinclude and udfs on application.cfm
Lotsa thanks JJ. Thatâs what I originally thought it was, but I was not entirely sure if there was any other inherent and unique properties of the application.cfm/cfc that makes it different from the standard cf template. Again, thanks... if there are any other folks who think otherwise, please continue the thread. Otherwise, JJ answered my question. -Original Message- From: J.J. Merrick [mailto:[EMAIL PROTECTED] Sent: Saturday, June 16, 2007 1:28 PM To: CF-Talk Subject: Re: Using cfinclude and udfs on application.cfm The application.cfm runs prior to all pages thus is nothing really special about it. it is just called that because it is a nice place to put application level variables. So to answer your question YES it is ok to put a cfinclude inside of it and I do that often. J.J. M On 6/16/07, Michael E. Carluen [EMAIL PROTECTED] wrote: Hi all. I am updating a legacy app that is still using an application.cfm (not a .cfc). The update simply adds a cfinclude tag for a udf library. Is there anything illegal (for a lack of a better term) about adding cfincludes on an application.cfm? It works, but would like to confirm whether or not the practice is not recommended or would post a risk down the line. Thanks all. Michael ~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281386 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Ajax/flex/spry
To add to Rey's suggestion: yes, get up to speed with your JS basics and fundamentals first... you don't have to be an expert but still know the JS syntax and constructs before ajax. Then, decide on the JS library that serves your need. There have been more than enough comparison discussions on this subject in the list archive. So just dig-in. I will not suggest for you to pickup any AJAX books since the technology is just changing so quickly, that some, if not most, seems to be out-dated by the time the book goes in print. Just save you Moolah for your caffeine. (just my opinion, though some might disagree.) I am sure that whatever js/ajax library you choose will have more than enough online docs for you go on. Finally, don't forget one of the best js/ajax teacher of all...: view source. -Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 13, 2007 6:24 AM To: CF-Talk Subject: Re: Ajax/flex/spry Charles, If you only know minimal JS, you should really consider getting a good book on it and picking it up before diving into an Ajax library. While most Ajax libs abstract JS to some extent, eventually, you're going to have to dig into it to actually build something. If you just want a straight Ajax library, then I would suggest AjaxCFC or JSMX. If you want more in terms of widgets, then mxAjax has that. I use jQuery which is one of the more popular JS libs, because of its ease of syntax, community and wealth of widgets. I've turned on a number of CF folks to it and they've been very happy with it. Adobe Spry is also a nice alternative and includes some very nice data binding capabilities. Rey... Charles Sheehan-Miles wrote: Hello all, So this is a request for opinions. I'm way behind the curve in that I've done nothing in terms of Ajax or flex. I'm looking for opinions in terms of what would be the quickest and easiest to get up to speed on. I only know the most minimal javascript. Any opinions on what is the most effective to get up to speed on quickly? Is there anything that's already encapsulated in cfcs? Thanks, Charles ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281055 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: AJAX Libraries
Brook, One thing that I like about jQuery is the growing number of community developed plugins and extensions. It seems like one is added everyday. http://docs.jquery.com/Plugins Also it also good to know that the list of recognizable brands have deployed sites on it. http://docs.jquery.com/Sites_Using_jQuery Finally, it is also good to find reputable CF gurus (or even novice to intermediate to advance CFers) being quite visible in its already active community. As in, don't hesitate to ask anything CF-related. http://www.reybango.com/index.cfm/2007/2/2/Holy-Cow-Anothe-CF-BigWig-Using-t he-jQuery-Ajax-Library Hth you... and good luck on your search and on your decision. Again it'll all just boil down to your personal preference of features you are looking for, as others have indicated. The 3 points I stated above was personally important to me at the time I was deciding. -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 5:57 PM To: CF-Talk Subject: Re: AJAX Libraries I would look at such libraries as Yahoos, googles, spry, Dojo to name a few before cfajax and mxAjax. Even jQuery would be on my list to look at. Anyway, its up to you what your looking for. CF8 has intergration into Yahoo's ajax library yui. For one of the best resources for Ajax, visit www.ajaxian.com On 6/10/07, Brook Davies [EMAIL PROTECTED] wrote: Hello, Does anyone have suggestions on an ajax library? I read that CF8 has an integrated AJAX 'gateway', but is that really worth waiting for? There most be some good AJAX libraries out there. Has anyone had success with cfajax or mxAjax? Brook ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280589 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: ajax based 5-star rating system
This is a simple example of CF+jQuery using a jquery 5-star rating plugin http://songfordad.org The implementation is super-simple. Goto: http://jquery.com for the plugin, download and just read-up on: http://dev.jquery.com/~john/plugins/rating/ -Original Message- From: DKI [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 1:28 PM To: CF-Talk Subject: ajax based 5-star rating system Hi. I want to create a ajax based 5-star rating system in coldfusion for my site. The stars will be clickable and will update the database. Also, it needs to avoid repeat voting by the same user. Can you please provide some guidance or sample code? Thanks, K ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280429 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: New developer vs. Veteran developer
Ken, also consider the complexity of the first projects you'd like your developer to do. If it is fairly low to medium complexity, then his/her learning curve could be right along with the development timeline. I have seen CF developers 'grow' into their first apps with pretty good results. CF afterall, is quite easy to learn if the learner quite motivated and creative. Of course if you have a pretty complex app, with little to spare on the sched, then you know the answer to that. I think there is a 3 year threshold to any developer's experience. This means after the third year, you can all view them in equal footing. Since web technology changes in a very fast pace, whoever keeps up with present technology wins. Take Ajax, as an example. Today, a developer with 3 years exp maybe more adept to it than the one with 8 because he/she might've jumped on it first... you get the picture. Hope I've given you a bit of perspective Ken. Good luck on your search! Michael -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 10:37 AM To: CF-Talk Subject: Re: New developer vs. Veteran developer If the bean counters want to quantify that, you might be well advised to find some new bean counters. ; ) My opinion is that language idioms are pretty simple, but core development concepts are quite complex. As such, I'd generally rather hire a developer with experience building the types of applications I'm building in a different language over a CF developer who is new to the arena I'm building apps in. Quantifying the relevance of the experience is what it's all about. It's entirely possible that a newby with CS degree and no real-world experience will be a better fit than an experienced senior developer. They might take slightly more spinup time (specifically to learn the language), but LOC is only one measure of productivity, and it's a generally low-value one. cheers, barneyb On 5/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This may be OT, however I would appreciate your opinion, realizing this is hard to quantify and purely speculative. You have two developers. One is a couple years out of college, BS in Computer Science. Done some work with Access and VB. You need to train him in CF, but he has all the intangible attributes you like, enthusiasm, good learner, self starter blah blah The other is a veteran senior CF developer with more than 6 years of CF experience working with fairly complicated applications. How much more would you expect from a senior developer than a newbie you need to train. Bean counters want some sort of quantifiable comparison. Would you expect 20% more productivity? 40% how much? For how long obviously the newbie will get better / faster with time so maybe after two or three years there are equal expectations. I realize there are too many intangibles to count. But as a rule how much better are you in year ___ of your CF experience than you were in year one? ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278302 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFJS 1.1.1 (a jQuery plugin) is now available
Chris, As I said on the jQuery list, thanks... CFJS will prove to be a very useful tool in the toolbox. Strongly recommended for those who see themselves as CFers first, and Javascripters a far second. Michael -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 7:49 AM To: CF-Talk Subject: Re: CFJS 1.1.1 (a jQuery plugin) is now available Thanks Rey! :o) Chris Rey Bango wrote: Awesome work! These are really great functions my man. :) Christopher Jordan wrote: Hi folks, I know this isn't a jQuery list, but I thought there might be some interest over on this list, and I know there are some jQuery fans who frequent CF-Talk. I've been working the CFJS plugin again tonight, and I've added eight new functions and fixed some sloppy JS code that was keeping the packed version of the code from working. The new version of the code is available from: http://cfjs.riaforge.org http://jquery.com/plugins (listed under 'Extensions') or http://cjordan.us This information and more is in the ChangeLog, but if you're interested, here are the new functions: * CreateDate() * CreateDateTime() * CreateTime() * CreateODBCDate() * CreateODBCDateTime() * CreateODBCTime() * DatePart() * IsLeapYear() If there's enough interest in this being a library separate from jQuery, I'll consider publishing it as a non-jQuerified version. But, if there's not enough interest, I'm not going to bother because it would be more work to keep the two versions in sync with each other. Cheers, Chris ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276935 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Book Recommendations
My suggestion? Don't bother with design books as they're generally a small portion based on a single (or a few) design styles. I have a few that were good for about 5 minutes and than out of date. I totally agree with Kevin on this, Bruce. Browse a few sites (found in http://www.go2web20.net) , then just emulate the sites that just appeals to you or your clients eye. Frontend design is like trendy clothes, they could look fashionable one day, and out of style the next. Chances are design books go out of date by the time they hit press. But if you still like a book, I've learned a few conceptual tricks from Jacob Nielsen's Designing for Web Usability. I also recommend checking out the 37signals' Signal vs Noise every now and again. http://www.37signals.com/svn HTH, Bruce. Michael -Original Message- From: Kevin Aebig [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 8:56 AM To: CF-Talk Subject: RE: Book Recommendations I'm not subscribed to Community, but I think this is somewhat on topic as a lot of programmers would like better design / front-end skills. My suggestion? Don't bother with design books as they're generally a small portion based on a single (or a few) design styles. I have a few that were good for about 5 minutes and than out of date. Whenever I need some inspiration, I check out the submissions to design contest and deconstruct them. Take a screen capture, bring it into Photoshop and start to pick apart the elements to see how it's done by zooming in to see the added details. Another good source is check out template sites as they offer a general overview of current design trends. Cheers, !k -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 9:28 AM To: CF-Talk Subject: Book Recommendations I want to improve my web design skills (look and feel, not back-end programming). Can anyone recommend any good books out there for artistically challenged folks like me? Something with the current trends and technologies. I have the entire Macromedia Studio MX 2004 suite (Flash, Fireworks, Dreamweaver, Freehand, Homesite). I also have Photoshop 6 I believe. Thanks, -- Bruce Sorge I'm a mawg: half man, half dog. I'm my own best friend! ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276945 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: EST to CST timestamp
Deepak, I am guessing that the reason you're asking is that your server is EST, and your client is CST?? If yes, one way is to convert now() into UTC/ GMT when writing into the server db. Once a request is done, just calculate the difference between the requesting timezone (CST) and GMT. Check out this UDF: http://www.cflib.org/codeView.cfm?ID=373 HTH, Michael Deepak Gupta wrote: How can I convert EST timestamp to CST timestamp? Has anyone done this? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276179 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFFormProtect vs. Captcha
Hello all, I have been searching for a captcha alternative that will identify non-human form entries. I would like to know what you think about Jacob Munson's CFFormProtect. Also, I anyone knows of other effective methods to identify non-human activities, that you can share, that'll be great. Again, I am already aware of the captcha tags and cfcs available- however, what I am looking for are the captcha alternative methods. Thank you in advance. Michael ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276070 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Broadcasting RSS from your site
Instead of generating a file, just use cfcontent. Checkout http://www.petefreitag.com/item/465.cfm Hth, Michael -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 9:04 PM To: CF-Talk Subject: Re: Broadcasting RSS from your site Why write the file? Why not dynamically generate the feed when it's requested by a reader? Point me to an example of this somewhere? Would like to evaluate the best way to do this based on the material the client wants to publish. Thanks, Les ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275914 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Client-side validation or Server-side Validation?
I gotta be wondering at this point - why bother with client-side at all if I'm finding close to 35% of my specific users have javascript off? This definitely drives the same point in which many have continuously repeated many posts ago. Know your audience. Javascript is the UI eye-candy. If majority of your audience is in a prohibitive environment where rich UI can not be served effectively, then you may not even need to use JS or AJAX. Obviously, if your js on your app benefits 95+% of you audience, add a few hours and a few lines of code time to implement js. -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 2:58 PM To: CF-Talk Subject: Re: Client-side validation or Server-side Validation? Is it accurate to say that once the submit button is clicked, Jorn's plug-in validates everything server-side first based on the id of the form, then once that's complete, with no errors, the form will be submitted to the action page automatically, in this case ex2_process.cfm, and perform the server-side validation? and if javascript is OFF, which I'm finding to be the case in more of the users of the forms in question I'm working on than I though - then basically there *is* no client-side validation anyway. I gotta be wondering at this point - why bother with client-side at all if I'm finding close to 35% of my specific users have javascript off? ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275783 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Not Sure What is Wrong
Do a cfdump your FORM and check your field list; see if it matches. -Original Message- From: Steve LaBadie [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 4:43 PM To: CF-Talk Subject: RE: Not Sure What is Wrong Changed Date to Event_Date and now I get Element EVENT_DATE is undefined in FORM INSERT INTO Events (Events, Event_Date) VALUES ( cfif IsDefined(FORM.Events) AND #FORM.Event_Date# NEQ '#FORM.Events#', #FORM.Event_Date# cfelse From: Wesley Middendorff [mailto:[EMAIL PROTECTED] Sent: Wed 4/18/2007 7:37 PM To: CF-Talk Subject: Re: Not Sure What is Wrong Keyword date, didnt even dawn on me, but that is the more likely answer. On 4/18/07, Charlie Griefer [EMAIL PROTECTED] wrote: 1) Date is a reserved word. If you can't change it, enclose it in square brackets. 2) you have 2 columns specified (Events, Date) but in your cfelse condition you're only inserting a single value. You should have NULL, NULL. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275799 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Client-side validation or Server-side Validation?
Wow, this thread kept going like the energizer bunny. @Rick, on your next projects, first, try building your form, its processing page, and your server-side validation in pure CF. Once that is done, separately slap in your JS bells and whistles, including your client-side validation, and your *ajax form helpers*, second. You'd be amazed on just how much this approach will address most of the issues talked about in this thread. After doing this approach for awhile, you'd learn how to be efficient and won't be too much of a hassle at all. Keep in mind that you should be leveraging the CF and JS for why you use them in the first place- that is, CF for server side data integrity mgt, and JS/ajax for the richer UI. Even on a javascript disabled client, you may loose the richer UI, but still not compromise the data integrity and control you have on the server side. @Claude, Dan S., Paul V.: I definitely agree with your points. Finally, here is an example of a poorly executed Javascript Required site. https://www.smithbarney.com/app-bin/homepage/servlets/HomepageServlet On Firefox or IE, simply view the page on enabled and disabled JS. Its developers simply neglected to detect JS on the client's browser, it does not even provide the necessary instructions to remedy the login form and display problem. Michael -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 10:42 AM To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? But now what I need to know is how to go about using dual validation... I can dream up some schemes, but I'm sure that wheel's been driven many miles already, so if anyone knows of some info or tutorial on the subject as to the best way to approach it, I'd be delighted to check it out... Rick ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275607 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Client-side validation or Server-side Validation?
Rick, I agree with Dan and Zaphod's comments. I personally use both client and server side validation, at a minimum spec for my apps, even if I require that javascript be turned on. Think of it this way- jQuery (or any client side library for that matter) can not replace the kind of data integrity enforcement you can do with CF. jQuery is great for the form UI and other tasks like data entry formatting/data masking. CF, however, is where I do the data logic and rule heavy-lifting. I prefer that it is CF that 'monitors' any data to be written on the db. Again, I do this even if I require javascript be on, at minimum. If anyone has any comments in this approach, I'm all ears. Michael -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Saturday, April 14, 2007 8:35 AM To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? Rick, It's probably just my ignorance about the use of JS, but why can't JS be coded to insure clean code? I mean, if I set up validation to only allow digits on the client-side, how can they insert hack code that will affect my server? (I really know next to nothing about hacking servers and the code that is used, so I really am just looking to be educated...) There are many very easy ways to bypass JavaScript validation. The user can disable it in their browser, a JS error could prevent your validation from running, a malicious user could just post data to your form page, etc, etc. The bottom line is you use JS to improve the user's experience. You use server-side validation to ensure your business rules are enforced. Client-side validation is used to provide the user a better experience, but if you assume that client-side code will always run, you are leaving your code up to be exploited. -Dan ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275210 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Client-side validation or Server-side Validation?
Rick, Do you use Ajax to pass data from the form to CF for validation, then return the results to the form page? 95+% of the time, No, I personally do not use Ajax as part of my form validation. When I build an app, I typically create the form, the form submission action logic, and the server-side validation at the early stages of the development. Once I get that nailed down, then I add the form user interface, client side validation, and all other window dressing elements. So as you can see, the server side and the client side validation works independently (obviously it is redundant, but I am OK with that). This is my personal coding style in which it is reflective of how I learned as a developer- being CF first, then JS later. Now as far as Ajax- I still use ajax only as an enhancement to the user experience; as in: auto-populating dropdown selects values, sortables and draggables etc. Perhaps, only time will tell when I will be comfortable enough to start depending on ajax for form validation more frequently. Michael -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Saturday, April 14, 2007 1:19 PM To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? Hi, Michael... Your perspective agrees with everything I've been reading. I was working on using jQuery to display error messages and using Ajax to send the form data over to a CF page for validation, but I couldn't get everything to work correctly. I was very close, but I'm new to JS in general and jQuery in particular and just figure out why the scheme wouldn't work. Do you use Ajax to pass data from the form to CF for validation, then return the results to the form page? Rick -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Saturday, April 14, 2007 3:00 PM To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? Rick, I agree with Dan and Zaphod's comments. I personally use both client and server side validation, at a minimum spec for my apps, even if I require that javascript be turned on. Think of it this way- jQuery (or any client side library for that matter) can not replace the kind of data integrity enforcement you can do with CF. jQuery is great for the form UI and other tasks like data entry formatting/data masking. CF, however, is where I do the data logic and rule heavy-lifting. I prefer that it is CF that 'monitors' any data to be written on the db. Again, I do this even if I require javascript be on, at minimum. If anyone has any comments in this approach, I'm all ears. Michael -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Saturday, April 14, 2007 8:35 AM To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? Rick, It's probably just my ignorance about the use of JS, but why can't JS be coded to insure clean code? I mean, if I set up validation to only allow digits on the client-side, how can they insert hack code that will affect my server? (I really know next to nothing about hacking servers and the code that is used, so I really am just looking to be educated...) There are many very easy ways to bypass JavaScript validation. The user can disable it in their browser, a JS error could prevent your validation from running, a malicious user could just post data to your form page, etc, etc. The bottom line is you use JS to improve the user's experience. You use server-side validation to ensure your business rules are enforced. Client-side validation is used to provide the user a better experience, but if you assume that client-side code will always run, you are leaving your code up to be exploited. -Dan ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275215 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Embed Flash into Powerpoint?
Andy, Try posting at Scriptlance.com Finding someone to do this kinds of work (aka the not-the-core-stuff-I-want-to-bother-with) is pretty easy. I'm sure someone someplace can do it for you for only a few bucks. Good resource to find talented flash sub-contract designers, animators, etc too. But I'm sure this is Flash to PPT pretty easy to do. Anyway... Michael -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 1:49 PM To: CF-Talk Subject: OT: Embed Flash into Powerpoint? A potential client says: I'm doing a powerpoint for a presentation my bosses are giving next week at a big foundation. I need two slides with animation. My timeline is pretty tight, so it would be great to find someone who could do it by Saturday night. I can send the description of what they want it to look like to see if its even possible - I have no idea if its complicated or not. I've only used PP a few times, but I'm pretty good with Flash. Can you embed SWF files into Powerpoint or is she grasping at straws? A possible solution might be to convert the PP file into HTML then inject the two Flash slides as pages. Anyone else have other ideas? Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Embed Flash into Powerpoint?
Gotcha, Andy... same here, I do my flash stuff. At times though, I feel I'm not artsy enough for my animations or even my own prezos, so I just sub-out the task- scriptlance is a cool place for that. Glad you found what you were looking for. :-) -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 2:19 PM To: CF-Talk Subject: RE: Embed Flash into Powerpoint? Michael... I can do the Flash stuff myself...I just didn't know if it was possible. Turns out it is and, like you said, it looks pretty simple. -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 4:12 PM To: CF-Talk Subject: RE: Embed Flash into Powerpoint? Andy, Try posting at Scriptlance.com Finding someone to do this kinds of work (aka the not-the-core-stuff-I-want-to-bother-with) is pretty easy. I'm sure someone someplace can do it for you for only a few bucks. Good resource to find talented flash sub-contract designers, animators, etc too. But I'm sure this is Flash to PPT pretty easy to do. Anyway... Michael -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 1:49 PM To: CF-Talk Subject: OT: Embed Flash into Powerpoint? A potential client says: I'm doing a powerpoint for a presentation my bosses are giving next week at a big foundation. I need two slides with animation. My timeline is pretty tight, so it would be great to find someone who could do it by Saturday night. I can send the description of what they want it to look like to see if its even possible - I have no idea if its complicated or not. I've only used PP a few times, but I'm pretty good with Flash. Can you embed SWF files into Powerpoint or is she grasping at straws? A possible solution might be to convert the PP file into HTML then inject the two Flash slides as pages. Anyone else have other ideas? Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274143 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF + Ajax
On the jquery list, you can feel very comfortable posting your cfml+cfc+jquery+javascript code knowing that you'll definitely be able to find help, and fast. That speaks volumes not just for the library itself, but for the jquery community as a whole. -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 10:20 AM To: CF-Talk Subject: RE: CF + Ajax Look into jQuery.com. Many CF programmers on this list are using it. -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 12:08 PM To: CF-Talk Subject: CF + Ajax Hey all, been years since I have been on this list. Back into doing more CF programming with some pretty decent applications in the works. What I am interested in at the moment is seeing what people are doing for their Ajax applications. i.e. libraries, functions, cfcs, etc. Thanks... ~Terry ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273593 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to Random Pick records from a 10k record table via SQL
To all- thanks for all your responses. Shucks, Neil; but of course, the most obvious answers is always just a google away. -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:Neil.Robertson- [EMAIL PROTECTED] Sent: Thursday, March 22, 2007 12:13 AM To: CF-Talk Subject: Re: How to Random Pick records from a 10k record table via SQL By taking 2 seconds to use Google http://www.google.co.uk/search?hl=enq=select+random+rows+%2B+SQLbtnG=Goo gl e+Searchmeta= This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: srinivas ganta To: CF-Talk Sent: Thu Mar 22 07:10:47 2007 Subject: Re: How to Random Pick records from a 10k record table via SQL Hi Michel, try the following query,i think this will help you. select * from myTable order by rand() limit 20; Thanks Srinivas On 3/22/07, Michael E. Carluen [EMAIL PROTECTED] wrote: Hello All, I am wondering how to randomly pick any 20 records from a table of 10,000+ records, directly from a cfquery? Currently using mySQL. Any suggestions will be appreciated. Michael ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273347 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: New Features In Scorpio
One that allows you to tell cfdump whether you want to include the JavaScript functionality, Plus one here. It would be nice to see something like this added into an all inclusive cfdump http://www.netgrow.com.au/files/javascript_dump.cfm -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 9:44 AM To: CF-Talk Subject: Re: New Features In Scorpio I'd personally like to see two additional switches. One that allows you to tell cfdump whether you want to include the JavaScript functionality, and another that allows the user to tell cfdump to show results in a separate window. Chris Leitch, Oblio wrote: No - I haven't found any. But I think there are ways to improve it. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:49 AM To: CF-Talk Subject: RE: New Features In Scorpio Leitch, Oblio said: Are there any plans to smooth-out cfdump? Have you filed any bugs against cfdump? Jochem ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273397 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
How to Random Pick records from a 10k record table via SQL
Hello All, I am wondering how to randomly pick any 20 records from a table of 10,000+ records, directly from a cfquery? Currently using mySQL. Any suggestions will be appreciated. Michael ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273340 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: GotCFM.com - Need Opinion on Whether to Approve a Site
Here's a suggestion in an effort to satisfy both sides of the debate (again just a suggestion- don't bite my head off)... How about listing the Company Name down or its parent and add a description as simply Adult Entertainment with descriptions of how CF is being used in the site. No link or Snap previews. What we want to communicate is the diversity of industries using CF, right? No matter how sleazy the industry is, it is still a legit and a $ubstantial part of the web. Adult entertainment and the Web is akin to the reality Life and Taxes. My 2cents. -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 10:26 AM To: CF-Talk Subject: RE: GotCFM.com - Need Opinion on Whether to Approve a Site I think we should totally exclude porn. It's not like the $10 billion that Americans alone spend on it each year (src: http://www.cbsnews.com/stories/2003/11/21/60minutes/main585049.shtml) event makes a blip on the grand scale of things ;) .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273169 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Other GotCFM suggestions... was GotCFM.com - Need Opinion on Whether to Approve a Site
For clients who are unfamiliar with cfml, I only need to mention the same 2 familiar and credible names: Bank of America and Potter Barn. That seems to do the job. @Ray B.: Thinking out loud- going forward, what I really hope to see added on GotCFM are more non-technical developer tools like the (1) developer pay rate survey by geography (conducted by someone several months ago); and (2) various calculators like an project estimators templates, ROI calculators etc... I am hoping is that if GotCFM can eventually be a resource for me to go to, if I want to know how other CF developers did it on a project type X with a client type Y using CF. If I'm not mistaken, the original objective of GotCFM is to assist and equip CF developers with the information needed to sell CF to the clients and not really to preach to the choir. Am I correct? Thanks for listening! -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 2:26 PM To: CF-Talk Subject: RE: GotCFM.com - Need Opinion on Whether to Approve a Site It's a great resource for the community to go and pick some sites from the list to demo for clients... and to pick some big names that clients will recognize. Rick ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273214 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFUNITED news: rave review on HoF, Fusebox help, CFUNITED/Express Atlanta, Earlybird ends 3/31/07
Michael, Any plans of having a west-coast CFU/Express in the future? -Original Message- From: Michael Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 12:27 PM To: CF-Talk Subject: CFUNITED news: rave review on HoF, Fusebox help, CFUNITED/Express Atlanta, Earlybird ends 3/31/07 Here is the ColdFusion and Fusebox news: * Rave review of CFUNITED/Express NYC by Ben Nadel * CFUNITED early bird price ends 3/31/07 * CFUNITED hotel is full! * Call for Fusebox help - marketing, sample apps * CFUNITED/Express Atlanta tomorrow 3/15/07 * Rave review of CFUNITED/Express NYC by Ben Nadel http://www.fusionauthority.com/Community/4668-CFUNITED-Express-NYC-March- 8-2007.htm Like a young boy sent into the forest with nothing but a spear and a dream, I attended my first CFUNITED event and have returned a man. What I really meant to say was: I just attended my first CFUNITED event and I can finally see what all the hubbub is about. Michael Smith and TeraTech sure do host an amazing conference. Content aside, the registration process, freebies, setup, catering, and printed materials were all top-notch and very professional. * CFUNITED early bird price ends 3/31/07 There are only 17 days left to get the early-bird price on CFUNITED. See http://cfunited.com/go/prices for details. * CFUNITED hotel is full! The main CFUNITED hotel is full. We have rooms at an overflow hotel, see http://cfunited.com/go/travel for more info. Register now to make sure you get a room near the event. * CFUnited website redesign Check out our new CFUnited website http://www.cfunited.com/ We are excited to release the new design to the public this week. Thanks to Elliott and Liz for a great design. Please me know what you think of the new site because we will continue to make updates regularly to improve it year round. Also, we will be posting classes this week! So come back and visit to view more changes. * Call for Fusebox help - marketing, sample apps If you want to help fusebox.org with marketing/SEO or writing sample apps let me know by replying to this email and I will add you to the groups working on these projects. Learn more at http://trac.fuseboxframework.org/fusebox/wiki/FuseboxCommunityCoordinating Help BTW We got 25 entries for the Fusebox website design competition - thanks every one who entered. The winner will be announced at the end of the month. * CFUNITED/Express Atlanta tomorrow Altanta 3/15/07 For details see http://cfunitedexpress.com/ -- Michael Smith, TeraTech Inc - Tools for Programmers(tm) TeraTech voted Best Consulting Service by CFDJ readers! CF/ASP Web, VB, Math, Access programming tools and consulting 405 E Gude Dr Ste 207, Rockville MD 20850 USA Please check out http://www.teratech.com/ - email mailto:[EMAIL PROTECTED], or call us for more information; in the USA at 1-800-447-9120, +1-301-424-3903 International, Fax 301-762-8185 Thanks! ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272695 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Obscenity/Bad Words filter udf/cfc?
Thanks Andy. Matt Q actually found me a UDF in cflib that loops pretty much the same way as your code. It does, however, just replaces the profanity with [EMAIL PROTECTED] chars. Michael -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Monday, March 12, 2007 6:10 AM To: CF-Talk Subject: RE: Obscenity/Bad Words filter udf/cfc? I don't have a UDF or CFC, but I do have some code for you: !--- list of no-no terms --- cfset VARIABLES.valid = 1 cfset VARIABLES.badterms = MIME-Version,Content-Type,bcc:,Content-Transfer-Encoding,text/plain !--- loop over form fields and see if there's any crap in them --- cfloop index=field list=#FORM.fieldnames# !--- loop over bad terms on this form field --- cfloop index=term list=#VARIABLES.badterms# !--- if there's crap in the form field then cancel the loop and break out --- cfif FindNoCase(term,Evaluate(FORM.field)) cfset VARIABLES.valid = 0 cfbreak /cfif /cfloop !--- if there's crap in the form field then cancel the loop and break out --- cfif NOT VARIABLES.valid cfbreak /cfif /cfloop cfif NOT VARIABLES.valid cflocation url=http://www.fortna.com; addToken=no cfelse FORM GOES HERE /cfif -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 09, 2007 6:15 PM To: CF-Talk Subject: Obscenity/Bad Words filter udf/cfc? Before I create something on my own, I was wondering if anyone already has an available obscenity or bad-words filter, either as a udf or a cfc. Something that can evaluate any textfield and replace or remove any bad words. Thank you in advance!! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272387 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Uploading and resizing gif files
Hey Mike, I use Rick Root's imageCFC http://www.opensourcecf.com/imagecfc/ It does all of the stuff you just stated, and more. Does jpg, gif and png Michael -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, March 12, 2007 10:46 PM To: CF-Talk Subject: Uploading and resizing gif files I've been using iEdit.cfc for processing images uploaded by users and that's been ok for me until now. Until now all i've wanted to do is receive jpgs, resize them, add a watermark to some of them and put them away in the proper places. Now i have a client who wants me also handle .gif files. iEdit.cfc doesnt handle gif files (to do with the copyright/AOL/CompuServe thing I understand) So what do the rest of you use to process .gif files uploaded? Remember i want to do more than just receive tem and move them to their locations - i need to resize and add watermarks too. Can it be done? -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272488 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Uploading and resizing gif files
Ooops, sent it a little too soon. Just read the note on reading/writing gifs. I recall that in my app, it wasn't a big deal to covert the modified file into a png. Anyway, it still seems to be better than what you have, IMHO. -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Monday, March 12, 2007 10:55 PM To: CF-Talk Subject: RE: Uploading and resizing gif files Hey Mike, I use Rick Root's imageCFC http://www.opensourcecf.com/imagecfc/ It does all of the stuff you just stated, and more. Does jpg, gif and png Michael -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, March 12, 2007 10:46 PM To: CF-Talk Subject: Uploading and resizing gif files I've been using iEdit.cfc for processing images uploaded by users and that's been ok for me until now. Until now all i've wanted to do is receive jpgs, resize them, add a watermark to some of them and put them away in the proper places. Now i have a client who wants me also handle .gif files. iEdit.cfc doesnt handle gif files (to do with the copyright/AOL/CompuServe thing I understand) So what do the rest of you use to process .gif files uploaded? Remember i want to do more than just receive tem and move them to their locations - i need to resize and add watermarks too. Can it be done? -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272489 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Obscenity/Bad Words filter udf/cfc?
Hey Thanks Matt. I went to cflib but did not see/notice the NaughtyFilter. It works perfectly now. Michael -Original Message- From: Matt Quackenbush [mailto:[EMAIL PROTECTED] Sent: Saturday, March 10, 2007 11:04 AM To: CF-Talk Subject: Re: Obscenity/Bad Words filter udf/cfc? There's also one at CFlib.org. http://www.cflib.org/udf.cfm?ID=1105 ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272276 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF and AJAX
I agree with Chris, and Josh with jQuery on AjaxCFC. But for the record, you can go implement Ajax on CF with jQuery only. AjaxCFC just includes several built-in features like better error handling etc- to make life just a little bit better ;)... -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Monday, March 05, 2007 12:51 PM To: CF-Talk Subject: Re: CF and AJAX Once you've read up on how Ajax works, and you think you understand the concepts, I'd suggest using Rob Gonda's AjaxCFC. I was just writing essentially the same email when the above posted. +1 jQuery, +1 AjaxCFC Super duper easy to get up and running. -- Josh ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271629 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Suggestions on validating embed or object entries
Hi Tom. Thanks for the reply. I actually do have your suggestion already in place. To clarify my question: what I wanted to find out is if I can validate whether or not the submitted embed or object tags have proper syntax to display the source video. My concern is that if the user incompletely/partially pasted the tags, the page that displays it will error-out. Again, thanks. Michael -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:13 AM To: CF-Talk Subject: Re: Suggestions on validating embed or object entries On Wednesday 28 Feb 2007, Michael E. Carluen wrote: tags, but thought it will not be truly effective. Unlike URLs entries, I don't think there is a mask applicable to even perform a regex find on it. or does it? Why not offer the user boxes for just the bits that matter to them (type, URL), and then write the actual HTML yourself. -- Tom Chiverton Helping to efficiently facilitate real-time e-services On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271153 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Suggestions on validating embed or object entries
Hello all, I am looking for suggestions on how to validate form field entries used to attach embed, script, OR, object tags. as in YouTube videos for example. I have thought of evaluating the string if it begins with those tags, but thought it will not be truly effective. Unlike URLs entries, I don't think there is a mask applicable to even perform a regex find on it. or does it? Any suggestions will be appreciated. Michael ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271015 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Ajax and CF question?
Hello Che... For starters, just the growing number of CF developers embracing the jQuery library http://www.jquery.com For CF specific tutorials/sample code: http://www.365labs.net/cf_jquery/jquery_coldfusion_quickstart.htm http://www.365labs.net/cf_jquery/interface/form_sort.cfm For the jquery-powered AjaxCFC: http://www.robgonda.com/blog/projects/ajaxcfc/ The jquery list have a number excellent CF coders to answer any of your CF+jQuery implementation questions (newbies-friendly of course). See you there Che! Michael -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 9:09 AM To: CF-Talk Subject: Ajax and CF question? Take a look at the following page. It pulls information from the Amazon.com web service. http://typedhype.com/bpp/displayresults.cfm?f=2s=Booksk=buicksort=price ra nk I would like to be able to capture and write specific product information (including the images) to a file or a database by checking individual checkboxes. Has anyone done something similar to this with CF and Ajax? I could do this using the tried and true FORM based approach, but I was looking for a more elegant solution. Thanks, Ché ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270818 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: GotCFM.Com is Launched - Dedicated to CF Evangelism
Hi Rey, Awesome idea... and you know, like everyone who's responded, I will support your efforts in this regard. I recall, when I used to be in my corporate position, how using CF and doing a sales job for Adobe/Macromedia/Allaire seems to go hand in hand. It was fun at first, but quickly became frustrating as it grew old. I take to heart your bullets: # Information on how to position CF within your company # Information on specific features that make CF better than other technologies # Case studies on successful implementations of CF Thinking-out-loud, do I wish I can get an asp.net, a php, a ruby-on-rails, a jsp, and a perl- developers in one room, all with competent and with similar experience in their preferred language, and see who turns out the best code, the quickest... ala Iron Chef. Seriously though, in a corporate setting, its all about developer productivity, ROI, and total cost of ownership. If we can cook-up something that arm us with addressing that (hint: calculators like an ROI.cfc or something... anyone?), we are all good. Again, great idea, Rey, and thank you for kicking off this effort!! Michael http://www.365labs.com -Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 8:22 PM To: CF-Talk Subject: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism Guys, for awhile, I've been griping up a storm via my blog and to whomever would listen that MM Adobe weren't doing enough to get the word out about CF. And while I still think that a lot of work needs to be done, I came to the realization that I also needed to do more than just post gripes. I recently read this post on Ray Camden's blog: http://ray.camdenfamily.com/index.cfm/2007/2/22/Help-spread-the-word-at- the-Peoples-Toolbox The quote that struck me was: apparently they had never heard of it, and I'm having a bit of trouble convincing them that a) lots of people use ColdFusion and b) that it is indeed worth adding to their site It hit me how bad of a job *all* of us have done in keeping ColdFusion in the limelight. ColdFusion and CFML just celebrated its 10th year and here's some new, unknown site questioning CF's worthiness. I was floored. So I decided to use a domain that I've had sitting around for some time as a vehicle for CF-related evangelism. http://www.gotcfm.com/ I am looking at GotCFM.com as a VERY niche site that's whole focus is to have information to help promote CF-related technologies. It won't allow people to search for the best way to create a CFC or which custom tag is available for zip code locations. There are plenty of top-notch sites for that. I want to build a place where anyone can go to find specific information such as: - A continuously updated list of sites using CF - Information on how to position CF within your company - Information on specific features that make CF better than other technologies - Case studies on successful implementations of CF - Powered by buttons - Banner ads that can be added to your site to promote your favorite CF engine Some of you may say, Well, Ben Forta already keeps a list of sites using CF, and that's certainly true. Ben has done a great job over the years of trying to get a nice list of sites. But, by no fault of Ben, its not all encompassing, its not up-to-date and it doesn't appear to include sites built using other technologies like Ralio, Coral or BlueDragon. We don't just need a list of Adobe ColdFusion powered sites. We need a list of ALL *CFML* powered sites. And we need a method of allowing people to submit these sites themselves. I hope to flush it out further, especially if I can get community support. I hope that this type of site, dedicated solely to methods of bi-partisan CF evangelism, will help spread the word about CFML. I've already received support from New Atlanta and hope to soon get the support of Adobe, Ralio and the whole CF-Community. Your feedback is welcome and your involvement would definitely be appreciated. You can start by submitting sites that powered by *ANY* CFML engine. That would be a great first step. If you have other ideas for the site, please let me know. Thanks, Rey Bango... ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270848 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: imageCFC getImageInfo ImageType question
Thank for both of your responses Rick. That explanation below was helpful (or at least it was nice to know that what I thought it was, was actually incorrect ;-) ). Again, thanks Rick. - Michael -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 5:26 AM To: CF-Talk Subject: Re: imageCFC getImageInfo ImageType question On 2/25/07, Michael E. Carluen [EMAIL PROTECTED] wrote: I am currently using Rick's ImageCFC. Using the getImageInfo method, it returns a numeric equivalent to jpg (5) or gif(13). I noticed that the CFC uses the standard getType() method. Does anyone know where I can lookup the numeric equivalents of all other graphic file formats? You can find the list of constant values returned by the BufferedImage getType() method here: http://java.sun.com/j2se/1.4.2/docs/api/constant- values.html#java.awt.image.BufferedImage.TYPE_3BYTE_BGR Descriptions are here: http://java.sun.com/j2se/1.4.2/docs/api/java/awt/image/BufferedImage.html# field_summary Most all of this stuff is over my head =) I can say that the image type is *NOT* necessarily related to the image format (jpeg, gif)... type 13, for example, is indexed color. GIF images are not the only images that use this format - however all GIF images are indexed color. type 5 is most typical for JPG images (3 byte BGR), but some JPEG images - particularly those with embedded color profiles, end up being TYPE_CUSTOM (0) and imageCFC can't handle them. Rick ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270681 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
imageCFC getImageInfo ImageType question
Just got a quick/easy question to Rick Root or anyone who knows. I am currently using Rick's ImageCFC. Using the getImageInfo method, it returns a numeric equivalent to jpg (5) or gif(13). I noticed that the CFC uses the standard getType() method. Does anyone know where I can lookup the numeric equivalents of all other graphic file formats? Thanks. Michael ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270655 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Best CSS book for beginners
Doug, Also check out CSS in Easy Steps by Mike McGrath (sold exclusively in Barnes and Noble for $9.95). It is not the most comprehensive, but it could be a good quick reference for the CSS stuff you will use very often; like positioning and inheritance. Good value for what you're getting. -Original Message- From: Sandra Clark [mailto:[EMAIL PROTECTED] Sent: Monday, February 19, 2007 4:48 AM To: CF-Talk Subject: RE: Best CSS book for beginners I'd recommend Head First HTML with CSS and xHTML http://www.oreilly.com/catalog/hfhtmlcss/ Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, February 19, 2007 7:39 AM To: CF-Talk Subject: OT: Best CSS book for beginners Sandra, if you are out there in cyberspace today, could you tell me what the very best book would be for learning css? I have the lynda.com tutorials on video, but not very good as far as I am concerned. I am more of a book learner. Doug B. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270203 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF+jQuery Click Drag Sorting Demo (was: How to re-order items?)
Thanks Andy. Btw, if you have any suggestions on a better CF way to handle the serialized string that Interface's SortSerialize function generates, please let me know. Michael -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Monday, February 19, 2007 6:09 AM To: CF-Talk Subject: RE: CF+jQuery Click Drag Sorting Demo (was: How to re-order items?) Good job!!! -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Saturday, February 17, 2007 1:00 AM To: CF-Talk Subject: CF+jQuery Click Drag Sorting Demo (was: How to re-order items?) Rick F or anyone else who is interested: I just put up a quick working demo of CF using jQuery with the Interface Sortable and Draggable Plugins. The demo saves the serialized sorted list into a mySql database. Included on the demo page is a link to the complete ..cfm code You can further optimize the code by going straight to an ajax post. (I only did it the long way just to mimic what I have mentioned to Rick earlier in this thread.) Goto: http://www.365labs.net/cf_jquery/interface/form_sort.cfm Have fun, Michael ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270126 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF+jQuery Click Drag Sorting Demo
Thanks Rey. Will do... I'm sure that anyone can cut the sample code down by as much as 30%. As you said, it is quite easy especially when developing a new app. However, for most CF developers, the challenge has been the 'makeover' of legacy apps with the latest JS libraries- specifically: modernizing the UI and incorporating ajax. jQuery, by far, is the easiest to implement into existing CF code. By that I mean, you can modernize your UI and form processing without completely re-writing your page. Again thanks, Michael -Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Saturday, February 17, 2007 7:20 AM To: CF-Talk Subject: Re: CF+jQuery Click Drag Sorting Demo Great work Michael! I'm so happy to see people taking the ball with jQuery and really coming up with cool samples. Looks like a pretty straightforward use of the sortables plugin. Very nice. It was pretty easy to build that wasn't it? :o) Be sure to post this on the jQuery mailing list (http://jquery.com/discuss/) so that you can get people to eval your code and offer suggestions. Rey Bango... jQuery Project Team Michael E. Carluen wrote: Rick F or anyone else who is interested: I just put up a quick working demo of CF using jQuery with the Interface Sortable and Draggable Plugins. The demo saves the serialized sorted list into a mySql database. Included on the demo page is a link to the complete .cfm code You can further optimize the code by going straight to an ajax post. (I only did it the long way just to mimic what I have mentioned to Rick earlier in this thread.) Goto: http://www.365labs.net/cf_jquery/interface/form_sort.cfm Have fun, Michael ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270056 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF+jQuery Click Drag Sorting Demo (was: How to re-order items?)
Rick F or anyone else who is interested: I just put up a quick working demo of CF using jQuery with the Interface Sortable and Draggable Plugins. The demo saves the serialized sorted list into a mySql database. Included on the demo page is a link to the complete .cfm code You can further optimize the code by going straight to an ajax post. (I only did it the long way just to mimic what I have mentioned to Rick earlier in this thread.) Goto: http://www.365labs.net/cf_jquery/interface/form_sort.cfm Have fun, Michael -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 9:32 AM To: CF-Talk Subject: Re: How to re-order items? Hi Rick, You don't want to add 10, you want to multiply by 10. So you are looping the data: cfoutput query=getAgents Your cfquery would look like UPDATE AgentsTable SET displayorder = #currentRow# * 10 WHERE AgentID = #AgentID# /cfoutput This will insert 10, 20, 30 etc. as the display order. -- Josh - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, February 14, 2007 7:47 PM Subject: RE: How to re-order items? That sounds like the approach I'm currently using in principle, I'm just doing the insert correct number here approach. Two questions... 1) For my approach, I can't figure out how to loop the query, assign the CurrentRow value to the Display_Order number, then add 10 that number. My loops aren't changing the Display_Order number. Suggestions? 2) For your approach, want to share the js solution? I'm not much of a javascript coder, but perhaps it's doable... Thanks for the feedback, Dennis. Rick -Original Message- From: Dennis Powers [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 6:00 PM To: CF-Talk Subject: RE: How to re-order items? the best approach to ordering the display of Real Estate agents In just about all the applications we develop where sort order is required I supply a sort field which is a numeric (int) field in the table. I create a page that retrieves the records to be sorted and displays the relevant part of the records ie: picture name, product name ...etc in a form select box. then use a javascript routine to allow them to click on an item and move the items up or down in the order. The form gets submitted and the result page gets a list of ID's in sorted order. I loop through the ID's incrementing a counter and update the sort field for each ID with the counter. This gives the user full visual control without the insert correct number here problem. Best Regards, Dennis Powers UXB Internet - A website design and Hosting Company 690 Wolcott Road P.O. Box 6029 Wolcott, CT 06716 Tel: (203)879-2844 http://www.uxbinternet.com/ http://www.uxb.net/ ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270042 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: writing xml files
I want to write the XML file with CF. cfxml? http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/w whelp.htm?context=ColdFusion_Documentation http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/ wwhelp.htm?context=ColdFusion_Documentationfile=0352.htm file=0352.htm -Original Message- From: Bob Imperial [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 9:46 PM To: CF-Talk Subject: writing xml files Working on a little flash slideshow here for a client and at present, I'm pulling the images and some captions in via an XML file. What I'm looking to do is make it easy for them to upload their images and use a text field to pass their captions along as well. I want to write the XML file with CF. Has anyone out there done this or something like it that can offer some direction or point me in the direction of some decent tutorials on this? TIA Bob ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269979 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: writing xml files
Bob, It'll be something along these lines... to get you started. cfxml variable=XML_results data ...cfstuff here... /data /cfxml cfset XMLText=ToString(XML_results) cffile action=write file=#expandPath('.')#\temp_xml\youfile.xml output=#XMLText# Hope that helps. Michael -Original Message- From: Bob Imperial [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 10:06 PM To: CF-Talk Subject: RE: writing xml files Aye...playing around with that nowwas hoping for a tutorial of sorts. Thanks for the reply ;) -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Friday, February 16, 2007 12:56 AM To: CF-Talk Subject: RE: writing xml files I want to write the XML file with CF. cfxml? http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html /w whelp.htm?context=ColdFusion_Documentation http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/htm l/ wwhelp.htm?context=ColdFusion_Documentationfile=0352.htm file=0352.htm -Original Message- From: Bob Imperial [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 9:46 PM To: CF-Talk Subject: writing xml files Working on a little flash slideshow here for a client and at present, I'm pulling the images and some captions in via an XML file. What I'm looking to do is make it easy for them to upload their images and use a text field to pass their captions along as well. I want to write the XML file with CF. Has anyone out there done this or something like it that can offer some direction or point me in the direction of some decent tutorials on this? TIA Bob ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269981 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How to re-order items?
Hi there Rick, This solution is similar to Bobby's, but with a CF+jQuery twist. First, when a new realtor is added to a list, the assigned seniority sort order number will be the maximum number. Example, if there are 9 realtors, the new/added realtor will have sort order number (seniority_id) 10. Next, you can use jQuery's Interface Draggable and Sortable plugin http://interface.eyecon.ro/docs/sort to reorder the list. The user then drags the 10th realtor (the added guy) to the 2nd position (new seniority). Once saved, the submitted form will post a serialized list of realtor_id numbers in the desired sort order. You can then loop through the list and update the seniority_id of all realtors using the realtor_id as your index. The demo is at: http://interface.eyecon.ro/demos and select Sortable list. This is a very scalable solution. Hope that helps, Rick. Michael -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 10:42 AM To: CF-Talk Subject: How to re-order items? Hi, all. I'm trying to figure out the best approach to ordering the display of Real Estate agents on a website. I have it by last name currently, but my client wants to re-order by Seniority. So, I figured I'd just put a field in the database called Display_Order and then the person who manages the site could provide a number for each person. e.g. 1 on top, 2 next, etc. The problem would come when an agent gets added to the list who would be between 1 and 2. (I don't want to use decimals). I can instruct the manager of the site to put 10 for the top spot, then 20 for the second, etc. That leaves room for additional spots to be added between 10 and 20. However, I'm looking for a long-term solution. Would it be a good approach to have them initially number the agents starting with 10, then 20, and have them say, use 15 if someone needed to between 10 and 20, but code the site so that all number are rounded up to increments of 10 upon entry into the database? 10 stays 10, but 15 becomes 20, 20 becomes 30, etc. Is that a good solution? What other solutions have any of you used for this? Thanks for the insight. Rick (Remember. CF 4.5 here. :o) ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269690 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How to re-order items?
I used to use http://tool-man.org/examples/sorting.html before I found jQuery. You can check that out too... but it comes a little too many JS files to tweek. The Interface plugin is pretty slam dunk with a bunch of other features. Enjoy! -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 11:51 AM To: CF-Talk Subject: RE: How to re-order items? I'm considering trying a jQuery implementation for this one, too. I'll check out your suggestion! Thanks! -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 2:27 PM To: CF-Talk Subject: RE: How to re-order items? Hi there Rick, This solution is similar to Bobby's, but with a CF+jQuery twist. First, when a new realtor is added to a list, the assigned seniority sort order number will be the maximum number. Example, if there are 9 realtors, the new/added realtor will have sort order number (seniority_id) 10. Next, you can use jQuery's Interface Draggable and Sortable plugin http://interface.eyecon.ro/docs/sort to reorder the list. The user then drags the 10th realtor (the added guy) to the 2nd position (new seniority). Once saved, the submitted form will post a serialized list of realtor_id numbers in the desired sort order. You can then loop through the list and update the seniority_id of all realtors using the realtor_id as your index. The demo is at: http://interface.eyecon.ro/demos and select Sortable list. This is a very scalable solution. Hope that helps, Rick. Michael ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269700 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How to re-order items?
Hi Rick, Based on the js below, you can simple create a ul like ul cfloop query=get_realtor_by_seniority li class=sortableitem id=sortrealtor#realtor_id##realtor_name#/li /cfloop /ul I did not test the above, but the html would be along those lines. Michael -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 12:47 PM To: CF-Talk Subject: RE: How to re-order items? I see the sample js code, but no HTML application examples...how would the following be implemented in the HTML? $('ul').Sortable( { accept : 'sortableitem', activeclass : 'sortableactive', hoverclass : 'sortablehover', helperclass : 'sorthelper', opacity:0.5, fit : false }) -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 3:12 PM To: CF-Talk Subject: RE: How to re-order items? I used to use http://tool-man.org/examples/sorting.html before I found jQuery. You can check that out too... but it comes a little too many JS files to tweek. The Interface plugin is pretty slam dunk with a bunch of other features. Enjoy! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269707 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: US Salaries
Dale, several months back, I recall an informal survey conducted within the list. I know that there were about 100+ responders, and majority of whom were here in the US. Someone actually took the initiative to whip out a quick survey form, as I remember. You may want to search the archives. Also, if anyone knows if that site still exists and what the URL is, that'll be great. Michael -Original Message- From: Dale Fraser [mailto:[EMAIL PROTECTED] Sent: Friday, February 09, 2007 3:39 PM To: CF-Talk Subject: US Salaries We are an Australian company but are setting up an office in the US. I've seen the other posts, but anyone give me an indication on what I should be paying for these type of roles, I think people might be taking advantage of the fact that we don't know salaries. Testing / Support ?? CF Developer 1-2 Years ?? CF Developer 2-4 Years ?? CF Developer 5+ Years ?? Office is based in New Haven CT, if that makes a difference. While I don't expect people to tell me what they are earning (Although you can if you want) perhaps a range, I'll consolidate the results and see what's appropriate. Regards Dale Fraser ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269379 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
MX7+jQuery today versus the future in Scorpio (?)
Hello Folks, This has been at the back of my mind for some time now. Currently, I am investing a bit of time ajax-ifying my CF apps with (the awesome) jQuery library. Now that Scorpio is just around the corner, I am wondering if it (Scorpio) will come with some sort of native support to ajax. If so, I would only assume Adobe to integrate or have some built-in implementation of its own Spry into Scorpio. And if it is, I am just hoping to know to what extent is its implementation, so I know how it may or may not affect me on what I am doing today. I don't want anyone to break any NDAs, but merely trying to find guidance, comments, or suggestions. Much appreciated everyone. Michael ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269030 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT: CF Developer Partnerships
Hi Rick, here's my 2 cents. I always close every project with a handshake on one hand, and a CD copy of the source code on the other, with closing note that in essence I say, 'should anything happens to me, ANY competent CF Developer they choose can pickup where I left off'. Whether or not you have entered into partnerships with other developers, its always good to give them a recommended developers list. As for having my wife benefit after I pass, well, I'll leave that part to my life insurance. My primary concern is more of her indemnification from the business when I'm no longer around. The unthinkable happens even from the most successful of businesses. I think it is more prudent to assure your customers/clients that they can stand on their own, even if your business dissolves. Michael -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Friday, February 02, 2007 1:17 PM To: CF-Talk Subject: RE: OT: CF Developer Partnerships Sounds reasonable... have you ever thought about having your friends, who are basically being given the company you built, provide a percentage payment of business profit from your clients back to your survivors? I'd hate for the business that I've built not to benefit my wife after I'm gone. It does complicate the situation, however, and might deter some from entering into such a partnership. I guess it would be like selling the business, but, instead of selling for a one-time amount, all business profits from my company's work (basically site/app hosting) would be split between my survivors and the handling company, until my clients decided not to continue using the sites or apps. There are as many ways to do this as there are to build a CF app... Rick -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Friday, February 02, 2007 3:31 PM To: CF-Talk Subject: Re: OT: CF Developer Partnerships So. anyone worked out a solution where lone developers form a relationship to take over one another's work if something happens to one of them? I've signed an agreement with my friends who host my customers on their server. They also are CF developers. Our agreement just stipulates that if, for whatever reason my company is not able to go on supporting my customer's applications, then they will have all rights on all source code to continue hosting, support, development, etc. I give a copy to my customers, and apparently they are happy with this. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268542 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Checking for existance of a file/SLEEP
Rick, Checkout http://malsup.com/jquery/block/ May not be exactly what you were asking for, but definitely a good solution to your scenario nonetheless. -Original Message- From: AJ Mercer [mailto:[EMAIL PROTECTED] Sent: Monday, January 15, 2007 1:45 PM To: CF-Talk Subject: Re: Checking for existance of a file/SLEEP cfset thread = CreateObject(java, java.lang.Thread) cfset thread.sleep(5000) This sleeps for 5 seconds On 1/16/07, Richard Colman [EMAIL PROTECTED] wrote: I need to start a script on a remote server, wait for the results file to appear, and get the contents. I often need to wait about 15-30 seconds from the start to finish. Is there any easy way to have a cold fusion page wait for the remote action to appear. Is there the equivalent of a SLEEP command in CF that might provide the delays that I need? Rick Colman ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266645 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: What am I missing?
Doug, Are you using InitAvgFeedback as a UDF or as part of a CFC? If it's used as a UDF, which looks like it based on what you've sent, all you need to do is use #InitAvgFeedback(memberID)#. No need for cfinvoke. Hth, Michael -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Saturday, January 13, 2007 5:53 AM To: CF-Talk Subject: What am I missing? CFFUNCTION name=InitAvgFeedback access=public output=false returntype=string hint=Output the average rating for all feedback per member CFARGUMENT name=memberID required=yes type=numeric cfset var RatingAverage = CFQUERY datasource=#APPLICATION.DB# username=#APPLICATION.UN# password=#APPLICATION.PW# select avg(rating) AS ratings from #APPLICATION.DBPRE#memberRatings where TAuthorID = CFQUERYPARAM cfsqltype=cf_sql_bigint value=#ARGUMENTS.MEMBERID# /CFQUERY CFRETURN RatingAverage /CFFUNCTION Then my invocation CFINVOKE component=advertiser.components.commonQrys method = returnAverage memberID = #Val(attributes.memberID)# returnvariable = RatingAverage /CFINVOKE ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266517 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Client asked me: Why you use coldfusion?
I think there are more than enough written resources available out there that compares CF against PHP, ASP etc... as Josh pointed one out directly from Adobe. Most of which however, are written to convince developers on what platform to develop on. At one point or another, we've all been asked by prospective clients the same question Ali was asked... Why should I go with you, cf guy, and not the php guy? Is there anything Adobe is doing to make the selling of CF directly to the guy who'll write the check? If Adobe markets CF right, these potential clients should be looking for and asking who is the best CF guy around? instead. Adobe, are you listening? -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Friday, January 12, 2007 2:07 PM To: CF-Talk Subject: Re: Client asked me: Why you use coldfusion? Here's a link that addresses your issue directly (don't know if anyone posted this one yet): http://www.adobe.com/devnet/coldfusion/articles/php_cfmx.html This might give your client something to chew on. -- Josh - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, January 12, 2007 1:57 PM Subject: RE: Client asked me: Why you use coldfusion? The client asked me why are you using Coldfusion and why don't you use ASP.Net or PHP?. Can you please send me a link that compared the major server side technologies that I show the client the big advantages of Coldfusion compared to others. You don't really need a link for this, just tell your client why you prefer to use CF. Presumably, you prefer to use it because (a) you know it, and (b) it would take you less time to develop the desired applications. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266465 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Open a Web Page
Chris, As Charlie suggested, window.open() will definitely do the job. However, keep in mind that the client's browser's pop-up blocker may kick in. Another suggestion would be to display your results in an in-line div element. This would involve using a Javascript library like jQuery. I've written a simple quickstart guide that is quite similar to the .cfc to .cfm scenario you described, but only displays the results on a div from the calling page. The guide is at: http://www.365labs.net/cf_jquery/jquery_coldfusion_quickstart.htm Hope that helps, Chris. Michael -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 12:38 PM To: CF-Talk Subject: Re: Open a Web Page assuming the CFC returns a URL to the calling page... on the calling page, after the CFC call... script type=text/javascript cfoutput window.open('#YOUR_CFC_RESULT_HERE#', 'title', 'new_window_attributes_here'); /cfoutput /script opening a new window is going to be client side JS code. it's not the responsibility of the CFC. On 1/11/07, Chris Bleile [EMAIL PROTECTED] wrote: I am calling a .cfc and performming a query after the query is preformed i want to open another web page. I cannot figure out how to make another web browser open up and go to the page i desire. PLease Help! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266324 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFcache how to clear browser cache
D, Try using: meta http-equiv=Refresh content=0; URL=rotating_baby_image_preview.cfm to force a clientside browser refresh instead. Hth. -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2007 10:50 AM To: CF-Talk Subject: Re: CFcache how to clear browser cache CFCACHE is server-side. There is nothing that can be done to explicitly clear the client browser cache via a web page. Try using something like this: cfheader name=Expires value=#Now()# cfheader name=Pragma value=no-cache which will force the browser to go to the server to get the page, rather than drawing from the browser cache. On 1/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: All, I've got an application that changes images and when the page refreshes, the image change doesn't replace the original and show up until I refresh the page. So I'm trying to clear the browser cache with cfcache, but it's not working. Any ideas? cfcache action=flush timespan=#CreateTimeSpan(0, 0, 0, 0)# expireURL = *rotating_baby_image_preview.cfm?* Thanks D ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265853 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4