RE: Charge for meetings
Cheap option - http://repositoryhosting.com/ http://repositoryhosting.com/ SVN, Git, HG and Trac support for $6 a month. Unlimited users, projects and repos. We've been using them for around 6/7 months and not had any issues. Will From: Justin Scott [mailto:leviat...@darktech.org] Sent: 08 February 2011 02:14 To: cf-talk Subject: Re: Charge for meetings Unfuddle.com seems to be the most accessible for clients in terms of friendly terminology etc. And I use git with it. Hey wow. Me too :) I'm glad this topic came up as I'm in the market for a new centralized repository for git as well as an issue tracking system, so this looks to be just what I'm looking for. -Justi ~| 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:341969 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
META: email notification for single threads?
I don't want to subscribe to emails for all of cf-talk because of the high volume but I do want it for threads I start and/or contribute to. Is there a way to do only that? I haven't been able to find it. Right now, I leave a browser tab open to the thread and I refresh it a couple of times during the day. ~| 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:341970 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Singleton var scoping
I know that var scoping is paramount with CFC development, however, I do have a question in regards to var scoping when the CFC is not going to be a singleton and the impact that might have. Please consider the following simplified example: !--- mySingletonCFC.cfc --- cfcomponent name=MySingletonCFC cffunction name=doSomething cfset var MyObj = createObject(component, MyNonSingletonCFC).init() / cfset MyObj.doSomethingElse() / /cffunction /cfcomponent !--- MyNonSingletonCFC --- cfcomponent name=MyNonSingletonCFC cffunction name=doSomethingElse !--- in here there are some non var scoped parameters --- /cffunction /cfcomponent In this example doSomething() creates a new object and then calls doSomethingElse() in the new non-singleton object. Inside doSomethingElse() there could be non var scoped variables. While I understand this is not good practice nor recommended, am I also correct in assuming that you could run into issues b/c the variables are not private to the function call? Or because the CFC always will be created with each invocation of doSomething() will it be ok. 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:341971 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Am I looking for a shopping cart? Or just SQL design pattern?
I've inherited a site at a customer and the previous (several) people working on this code did them no favors. For example, it's an e-commerce site and the table that records sales keeps track of the user id and the amount paid but not what product was bought or the form of payment. There actually IS a record of what the user bought but it's stored in their user record which is overwritten with each purchase so any history is lost. In addition, the site has discount-codes (coupons) but those are stored with the user, not the transaction so history is lost there too. In addition, I've noticed that discount codes are re-usable and can be edited without saving history so if you change the discount amount for future sales, running a historical report for sales involving that discount code are now bogus. I've been asked to fix this. I wonder if there is a standard pattern for the schema here since it must have been done a million times by now. I have never used an off-the-shelf shopping cart package either - I have always assumed that those are more about maintaining sessions/carts and interacting with payment gateways but it occurs to me that maybe they include the schema design I'm thinking of that allows proper accounting audit trails, etc. Any advice? ~| 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:341972 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Am I looking for a shopping cart? Or just SQL design pattern?
Dave, eCommerce sites can be a bear to tackle as the requirements seem to always grow. I have used SiteDirector from QuillDesign (http://quilldesign.com) for several sites and it is a great affordable application that can be fully customized. I would imagine for the time it would take to fix your application you could purchase SiteDirector which would handle all your issues plus give you more functionality. Hope that helps. I've inherited a site at a customer and the previous (several) people working on this code did them no favors. For example, it's an e-commerce site and the table that records sales keeps track of the user id and the amount paid but not what product was bought or the form of payment. There actually IS a record of what the user bought but it's stored in their user record which is overwritten with each purchase so any history is lost. In addition, the site has discount-codes (coupons) but those are stored with the user, not the transaction so history is lost there too. In addition, I've noticed that discount codes are re-usable and can be edited without saving history so if you change the discount amount for future sales, running a historical report for sales involving that discount code are now bogus. I've been asked to fix this. I wonder if there is a standard pattern for the schema here since it must have been done a million times by now. I have never used an off-the-shelf shopping cart package either - I have always assumed that those are more about maintaining sessions/carts and interacting with payment gateways but it occurs to me that maybe they include the schema design I'm thinking of that allows proper accounting audit trails, etc. Any advice? ~| 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:341973 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
(ot) redirect and referer
I know this is more of an HTTP question than it is a CF question but... So, there are (at least) three ways of performing a redirect: (For each of the following, start.cfm has a href=redirect.cfm) start.cfm - [click link] - redirect.cfm (with 301 / 302 / cflocation) - destination.cfm (where cgi.HTTP_REFERER is start.cfm) start.cfm - [click link] - redirect.cfm (with meta http-equiv=refresh content=0;url=destination.cfm) - destination.cfm (where cgi.HTTP_REFERER is NOT start.cfm) start.cfm - [click link] - redirect.cfm (with window.location = destination.cfm) - destination.cfm (where cgi.HTTP_REFERER is NOT start.cfm) Question: is there a way to do a 301 / 302 / cflocation where, on destination.cfm, cgi.HTTP_REFERER is NOT start.cfm ? -- John Bliss - http://about.me/jbliss ~| 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:341974 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Using a part number to query corresponding data from separate tables
Good Morning Everyone! I'm having a mental issue on how i can get the data i need based on a part number that Iâm retrieving from one table. In the one table i have the top 200 sellers, in my other three tables i have all of the information that goes with the parts. I have written three queries that go to each of the three tables. Question 1: In all the tables the part number may fit 7 different applications, therefore the part number can be in there multiple times on my results. I have used the DISTINCT attribute to get the distinct number from the table that hosts the information. How can i pull all of the corresponding info (Year, Make, Model, etc) while Iâm using the distinct clause? Question 2: If i wanted to get all information from any of the three tables based on a single part number without duplicates, how would i write that. I'm not sure is i should be doing joins, or sub-queries, and/or unions. Here are my 3 queries: cfquery name=get_Main_Group_rev datasource=XXX username=XXX password=XX SELECT DISTINCT PartNumber FROM GriffinDataRevised INNER JOIN Top200 ON GriffinDataRevised.PartNumber = Top200.Part_Number WHERE Top200.part_number = GriffinDataRevised.PartNumber /cfquery cfquery name=get_Main_Group_dominator datasource=XXX username=XXX password=XXX SELECT DISTINCT Dominator.part_number FROM Dominator INNER JOIN Top200 ON Top200.part_number = Dominator.part_number ORDER BY Dominator.Part_Number ASC /cfquery cfquery name=get_Main_Group_race datasource=XXX username=XXX password=XXX SELECT DISTINCT PartNumber FROM GriffinRaceDataNew INNER JOIN Top200 ON GriffinRaceDataNew.PartNumber = Top200.Part_Number WHERE Top200.part_number = GriffinRaceDataNew.PartNumber /cfquery How can i simplify this process :) Thank you! Aaron ~| 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:341975 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Am I looking for a shopping cart? Or just SQL design pattern?
this is all about normalization, there's a relationship between the user, the order and what was bought in the order. You'll have a one to many relationship between users and orders(a user can have multiple orders but an order can't have multiple users) and a many to many relationship between products and orders (an order can have multiple products and products can be in multiple orders) On Tue, Feb 8, 2011 at 9:34 AM, Dave Burns cft...@burnsorama.com wrote: I've inherited a site at a customer and the previous (several) people working on this code did them no favors. For example, it's an e-commerce site and the table that records sales keeps track of the user id and the amount paid but not what product was bought or the form of payment. There actually IS a record of what the user bought but it's stored in their user record which is overwritten with each purchase so any history is lost. In addition, the site has discount-codes (coupons) but those are stored with the user, not the transaction so history is lost there too. In addition, I've noticed that discount codes are re-usable and can be edited without saving history so if you change the discount amount for future sales, running a historical report for sales involving that discount code are now bogus. I've been asked to fix this. I wonder if there is a standard pattern for the schema here since it must have been done a million times by now. I have never used an off-the-shelf shopping cart package either - I have always assumed that those are more about maintaining sessions/carts and interacting with payment gateways but it occurs to me that maybe they include the schema design I'm thinking of that allows proper accounting audit trails, etc. Any advice? ~| 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:341976 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) redirect and referer
Question: is there a way to do a 301 / 302 / cflocation where, on destination.cfm, cgi.HTTP_REFERER is NOT start.cfm ? cfif (Find(destination.cfm., cgi.http_host) is true and Find(start.cfm., cgi.http_referer) is false) cflocation url=GOHERE addToken=no statusCode=301 /cfif Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Tuesday, February 08, 2011 9:57 AM To: cf-talk Subject: (ot) redirect and referer I know this is more of an HTTP question than it is a CF question but... So, there are (at least) three ways of performing a redirect: (For each of the following, start.cfm has a href=redirect.cfm) start.cfm - [click link] - redirect.cfm (with 301 / 302 / cflocation) - destination.cfm (where cgi.HTTP_REFERER is start.cfm) start.cfm - [click link] - redirect.cfm (with meta http-equiv=refresh content=0;url=destination.cfm) - destination.cfm (where cgi.HTTP_REFERER is NOT start.cfm) start.cfm - [click link] - redirect.cfm (with window.location = destination.cfm) - destination.cfm (where cgi.HTTP_REFERER is NOT start.cfm) Question: is there a way to do a 301 / 302 / cflocation where, on destination.cfm, cgi.HTTP_REFERER is NOT start.cfm ? -- John Bliss - http://about.me/jbliss ~| 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:341977 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) redirect and referer
Whoops... left in dots. Should be: cfif (Find(destination.cfm, cgi.http_host) is true and Find(start.cfm, cgi.http_referer) is false) cflocation url=GOHERE addToken=no statusCode=301 /cfif Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| 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:341978 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Mobile Editor: What's the best one?
Hello all: I just got my first android (tMobile myTouch 4G) and I'm excited to dive into doing things on my phone I would normally do on my laptop. One of them is building webpages or developing home projects. First question I'd be asking is, why the heck would you want to do developing on your phone?! 1. I have three kids and I rarely get to sit down and work on my laptop 2. Laptop is 2007 and recently the #2 RAM slot died, so I'm running at half speed 3. It's a new toy! :) With that said... I've searched the Android Market and there's a few editors (nothing for ColdFusion code that I know of) but I want to get something that I can play around with and wanted to know if anyone of you have a This is the best one to use... app or hear say about an app. So far it looks like touchqode looks like the best one and it's for free. ~| 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:341979 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: META: email notification for single threads?
There is no option for that but let me see about adding it. On Tue, Feb 8, 2011 at 9:21 AM, Dave Burns cft...@burnsorama.com wrote: I don't want to subscribe to emails for all of cf-talk because of the high volume but I do want it for threads I start and/or contribute to. Is there a way to do only that? I haven't been able to find it. Right now, I leave a browser tab open to the thread and I refresh it a couple of times during the day. ~| 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:341980 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) redirect and referer
Bejezzz... Must pay attention to my email. Do not multi task... do not multi task. Really correct syntax now cfif Find(destination.cfm, cgi.http_host) is true and Find(start.cfm, cgi.http_referer) is false cflocation url=GOHERE addToken=no statusCode=301 /cfif Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, February 08, 2011 11:53 AM To: cf-talk Subject: RE: (ot) redirect and referer Whoops... left in dots. Should be: cfif (Find(destination.cfm, cgi.http_host) is true and Find(start.cfm, cgi.http_referer) is false) cflocation url=GOHERE addToken=no statusCode=301 /cfif Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| 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:341981 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) redirect and referer
Thanks, Robert...but it wasn't a question of *detecting/acting on* cgi.http_referer on destination.cfm. Question is: Is there a way to write redirect.cfm with 301/302/cflocation so that, on destination.cfm, cgi.http_referer is not start.cfm? I know this can be done with meta refresh and with js...just haven't been able to figure out how to do it with any 301/302/cflocation-based solution. On Tue, Feb 8, 2011 at 10:59 AM, Robert Harrison rob...@austin-williams.com wrote: Bejezzz... Must pay attention to my email. Do not multi task... do not multi task. Really correct syntax now cfif Find(destination.cfm, cgi.http_host) is true and Find(start.cfm, cgi.http_referer) is false cflocation url=GOHERE addToken=no statusCode=301 /cfif Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, February 08, 2011 11:53 AM To: cf-talk Subject: RE: (ot) redirect and referer Whoops... left in dots. Should be: cfif (Find(destination.cfm, cgi.http_host) is true and Find(start.cfm, cgi.http_referer) is false) cflocation url=GOHERE addToken=no statusCode=301 /cfif Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| 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:341982 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) redirect and referer
Oh. I took destination.cfm to mean a literal file... do this if its that file and did not come from here. Is there a way to write redirect.cfm with 301/302/cflocation so that, on destination.cfm, cgi.http_referer is not start.cfm? I'm not sure I understand that question. I think you are saying that if redirect.cfm get accessed by start.cfm and does a 301 redirect to another page, you don't want the referred to show as start.cfm. Is that right? Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| 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:341983 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) redirect and referer
Right. On Tue, Feb 8, 2011 at 11:16 AM, Robert Harrison rob...@austin-williams.com wrote: Oh. I took destination.cfm to mean a literal file... do this if its that file and did not come from here. Is there a way to write redirect.cfm with 301/302/cflocation so that, on destination.cfm, cgi.http_referer is not start.cfm? I'm not sure I understand that question. I think you are saying that if redirect.cfm get accessed by start.cfm and does a 301 redirect to another page, you don't want the referred to show as start.cfm. Is that right? Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| 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:341984 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Getting information from a cfquery/cfloop to display in a table or div
Hello, I'm trying to get information from our database to display in horizontal form (table or div). I'm able to pull information from our database with the following code. Everytime I try to incorporate a table the same information will display in on each row; different information will not display in each cell. Any ideas? cfquery name=member datasource=ASAGOV SELECT fname, lname, Starship, Rank FROM Star_Trek where rank 'Captain' AND rank 'Science Officer' /cfquery cfloop query=membercfoutput #fname# #lname#, #starship# /cfoutput/cfloop ~| 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:341985 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Verity and Asian languages
Hi All, I've got a verity collection that I load periodically. Some of the data contains Unicode (English) characters. When they're retrieved and displayed, I get ? and other odd characters. Would using language=unicode on the cfindex tag take care of this? ~| 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:341986 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFINDEX and Encoding
Hi All, I've got a verity collection that I load periodically. Some of the data contains Unicode (English) characters. When they're retrieved and displayed, I get ? and other odd characters. Would using language=unicode on the cfindex tag take care of this? ~| 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:341987 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Getting information from a cfquery/cfloop to display in a table or div
Try leaving out the cfoutput/cfoutput in the your cfloop. Rick -Original Message- From: Michelle Dupray [mailto:mdup...@gmail.com] Sent: Tuesday, February 08, 2011 12:24 PM To: cf-talk Subject: Getting information from a cfquery/cfloop to display in a table or div Hello, I'm trying to get information from our database to display in horizontal form (table or div). I'm able to pull information from our database with the following code. Everytime I try to incorporate a table the same information will display in on each row; different information will not display in each cell. Any ideas? cfquery name=member datasource=ASAGOV SELECT fname, lname, Starship, Rank FROM Star_Trek where rank 'Captain' AND rank 'Science Officer' /cfquery cfloop query=membercfoutput #fname# #lname#, #starship# /cfoutput/cfloop ~| 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:341988 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: META: email notification for single threads?
Thanks, Michael. The ideal is what I've seen on other forums: a checkbox for each thread that anyone can check if they want to subscribe to that thread via email. Then, if you create a thread or add to it, the box gets checked for you by default. db ~| 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:341989 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Getting information from a cfquery/cfloop to display in a table or div
Michelle, Try the following: table trtdFirst Name/tdtdLast Name/tdtdStarship/td/tr cfoutput query=member trtd#fname#/tdtd#lname#/tdtd#starship#/td/tr /cfoutput /table Cheers, Rob On Tue, Feb 8, 2011 at 1:01 PM, Rick Faircloth r...@whitestonemedia.comwrote: Try leaving out the cfoutput/cfoutput in the your cfloop. Rick -Original Message- From: Michelle Dupray [mailto:mdup...@gmail.com] Sent: Tuesday, February 08, 2011 12:24 PM To: cf-talk Subject: Getting information from a cfquery/cfloop to display in a table or div Hello, I'm trying to get information from our database to display in horizontal form (table or div). I'm able to pull information from our database with the following code. Everytime I try to incorporate a table the same information will display in on each row; different information will not display in each cell. Any ideas? cfquery name=member datasource=ASAGOV SELECT fname, lname, Starship, Rank FROM Star_Trek where rank 'Captain' AND rank 'Science Officer' /cfquery cfloop query=membercfoutput #fname# #lname#, #starship# /cfoutput/cfloop ~| 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:341990 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Am I looking for a shopping cart? Or just SQL design pattern?
Thanks, Scott. I'm pretty good at data modeling so I feel like, with enough time, I can solve this problem well. But that's when it occurs to me that this has been solved by many before me who have the benefit of hindsight. Maybe I could save my client some money by either recommending they buy something or I could at least take someone else's schema and start with that instead of from scratch. BTW, it's not just about normalization. It's also thinking ahead about the requirements for audit trails, historical reporting, knowing what data can be changed and what is never allowed to change once recorded, etc. db ~| 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:341991 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Singleton var scoping
I know that var scoping is paramount with CFC development, however, I do have a question in regards to var scoping when the CFC is not going to be a singleton and the impact that might have. Please consider the following simplified example: !--- mySingletonCFC.cfc --- cfcomponent name=MySingletonCFC cffunction name=doSomething cfset var MyObj = createObject(component, MyNonSingletonCFC).init() / cfset MyObj.doSomethingElse() / /cffunction /cfcomponent !--- MyNonSingletonCFC --- cfcomponent name=MyNonSingletonCFC cffunction name=doSomethingElse !--- in here there are some non var scoped parameters --- /cffunction /cfcomponent In this example doSomething() creates a new object and then calls doSomethingElse() in the new non-singleton object. Inside doSomethingElse() there could be non var scoped variables. While I understand this is not good practice nor recommended, am I also correct in assuming that you could run into issues b/c the variables are not private to the function call? Or because the CFC always will be created with each invocation of doSomething() will it be ok. It will be ok, as you're creating a new separate instance of your non-singleton CFC for each call to doSomething. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, onlin ~| 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:341992 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) redirect and referer
I know this is more of an HTTP question than it is a CF question but... So, there are (at least) three ways of performing a redirect: (For each of the following, start.cfm has a href=redirect.cfm) start.cfm - [click link] - redirect.cfm (with 301 / 302 / cflocation) - destination.cfm (where cgi.HTTP_REFERER is start.cfm) start.cfm - [click link] - redirect.cfm (with meta http-equiv=refresh content=0;url=destination.cfm) - destination.cfm (where cgi.HTTP_REFERER is NOT start.cfm) start.cfm - [click link] - redirect.cfm (with window.location = destination.cfm) - destination.cfm (where cgi.HTTP_REFERER is NOT start.cfm) Question: is there a way to do a 301 / 302 / cflocation where, on destination.cfm, cgi.HTTP_REFERER is NOT start.cfm ? No. But it might make sense for you to explain further what you're trying to accomplish. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:341993 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) redirect and referer
Thanks. That's what I suspected. I can't get into detail but we'd prefer to do a 301/302 but we can't have starting URL visible in referer on destination page. On Feb 8, 2011 1:26 PM, Dave Watts dwa...@figleaf.com wrote: I know this is more of an HTTP question than it is a CF question but... So, there are (at lea... No. But it might make sense for you to explain further what you're trying to accomplish. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:341994 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) redirect and referer
Thanks. That's what I suspected. I can't get into detail but we'd prefer to do a 301/302 but we can't have starting URL visible in referer on destination page. If that's your goal, you could redirect to an intermediate page, then have that redirect to the final destination. The referrer seen by the destination would presumably be the intermediate page - you'd have to test that to make sure. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:341995 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) redirect and referer
Right but if all redirects in the chain are 301/302, original referer remains unchanged. And meta-refresh - 302 - destination doesn't solve our issue. On Feb 8, 2011 2:05 PM, Dave Watts dwa...@figleaf.com wrote: Thanks. That's what I suspected. I can't get into detail but we'd prefer to do a 301/302 but we... If that's your goal, you could redirect to an intermediate page, then have that redirect to the final destination. The referrer seen by the destination would presumably be the intermediate page - you'd have to test that to make sure. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf S... Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/143027... Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341995 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm ~| 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:341996 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) redirect and referer
Right but if all redirects in the chain are 301/302, original referer remains unchanged. And meta-refresh - 302 - destination doesn't solve our issue. I didn't know that. In that case, there isn't anything you can do with redirects only. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:341997 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
(ot) Find and Replace Help
I'm trying to parse XML and I've hit a problem where inbetween my XML of abstract/abstract There is occasionally some math values or thing like abstract the dog is than the cat /abstract I've got 3500 of these documents to run through an insert into a DB. Does anyone know how or in what program I could issue a Find and Replace Between the ABSTRACT/ABSTRACT for any instances of and replace them with the proper code. Thanks Pat - Patrick Kerley kerl...@yahoo.com -- ~| 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:341998 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) redirect and referer
Key concept to understand though re the original q is that the HTTP_REFERER field is set by the browser and there's nothing you can do on the server to tell them how to set 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:341999 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) redirect and referer
Right...except to use meta-refresh to make it so that most (all?) browsers won't pass it through. But don't do this unless you have a very good reason to do so as 301/302 is preferred. On Tue, Feb 8, 2011 at 2:52 PM, Dave Burns cft...@burnsorama.com wrote: Key concept to understand though re the original q is that the HTTP_REFERER field is set by the browser and there's nothing you can do on the server to tell them how to set 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:342000 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Looking for CF/Adobe Network group in Chicago
Does anybody know of any groups in Chicago (downtown) that are active and has a focus on Coldfusion/Adobe products I'm looking to possibly shift back into Java/CF/Mobile world from .NET world. thanks in advance -Joshua O'Connor-Rose -All is Good ~| 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:342001 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) Find and Replace Help
I'm trying to parse XML and I've hit a problem where inbetween my XML of abstract/abstract There is occasionally some math values or thing like abstract the dog is than the cat /abstract I've got 3500 of these documents to run through an insert into a DB. Does anyone know how or in what program I could issue a Find and Replace Between the ABSTRACT/ABSTRACT for any instances of and replace them with the proper code. First, if you have something in a document, it's not XML. By definition, an XML document is well-formed - it can be parsed by an XML parser. These documents can't. I'm not bringing this up simply to be annoying - if you're getting these documents from somewhere else, you need to get them to fix their document generation process. Second, within the text node of any XML element, you can declare the contents as off-limits to the parser: abstract![CDATA[ ... contents ... ]]/abstract Third, if you're creating these documents yourself, you can use the XMLFormat function in CF to escape XML metacharacters before you output them to the document. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or ~| 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:342002 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) Find and Replace Help
First, if you have something in a document, it's not XML. I meant to write, if you have something LIKE THAT in a document, it's not XML. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:342003 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for CF/Adobe Network group in Chicago
http://chicago.groups.adobe.com On Tue, Feb 8, 2011 at 3:05 PM, Joshua O'Connor-Rose joshua.oconnorr...@gmail.com wrote: Does anybody know of any groups in Chicago (downtown) that are active and has a focus on Coldfusion/Adobe products I'm looking to possibly shift back into Java/CF/Mobile world from .NET world. thanks in advance -Joshua O'Connor-Rose -All is Good ~| 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:342004 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) Find and Replace Help
abstract the dog is than the cat /abstract This is definitely NOT a valid XML file if you are working with this. Where is this coming from. If it's an XML file the problem is that the source XML file has errors. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| 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:342005 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) Find and Replace Help
The source file has errors. I'm trying to work through them. - Patrick Kerley kerl...@yahoo.com - From: Robert Harrison rob...@austin-williams.com To: cf-talk cf-talk@houseoffusion.com Sent: Tue, February 8, 2011 4:16:18 PM Subject: RE: (ot) Find and Replace Help abstract the dog is than the cat /abstract This is definitely NOT a valid XML file if you are working with this. Where is this coming from. If it's an XML file the problem is that the source XML file has errors. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| 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:342006 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for CF/Adobe Network group in Chicago
Joshua, The CHIFUG group has been relative dormant and there has only been a couple of meetings over the past couple of years. I would love to see something start up again. They guy that used to run it had twins a few years ago and obviously, that and the coffee shop he runs with his wife (which was an awesome place for meetings), took up all his time. Unfortunately that had the side effect of taking the steam out of the momentum of the group. Eric -Original Message- From: Joshua O'Connor-Rose [mailto:joshua.oconnorr...@gmail.com] Sent: Tuesday, February 08, 2011 15:05 To: cf-talk Subject: Looking for CF/Adobe Network group in Chicago Does anybody know of any groups in Chicago (downtown) that are active and has a focus on Coldfusion/Adobe products I'm looking to possibly shift back into Java/CF/Mobile world from .NET world. thanks in advance -Joshua O'Connor-Rose -All is Good ~| 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:342007 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) Find and Replace Help
The source file has errors. I'm trying to work through them. Uggh! Sorry. You may have to do search/replace and rewrite the source file to a temp file to get it straight. That's always fun. I feel your pain. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| 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:342008 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Mobile Editor: What's the best one?
The best editor on your phone is the one you don't use. The problems with trying to do serious coding on a phone should become apparent after a few minutes of trying it. Having a remote desktop/VNC program on a phone would help if you are away from your computer and need to change something on a Web site. -Mike Chabot On Tue, Feb 8, 2011 at 11:51 AM, Matthew Lowrey rid...@gmail.com wrote: Hello all: I just got my first android (tMobile myTouch 4G) and I'm excited to dive into doing things on my phone I would normally do on my laptop. One of them is building webpages or developing home projects. First question I'd be asking is, why the heck would you want to do developing on your phone?! 1. I have three kids and I rarely get to sit down and work on my laptop 2. Laptop is 2007 and recently the #2 RAM slot died, so I'm running at half speed 3. It's a new toy! :) With that said... I've searched the Android Market and there's a few editors (nothing for ColdFusion code that I know of) but I want to get something that I can play around with and wanted to know if anyone of you have a This is the best one to use... app or hear say about an app. So far it looks like touchqode looks like the best one and it's for free. ~| 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:342009 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Linking cfsearch results
I have indexed and used cfsearch according to the docs (cf9). I am searching a query. It works as the documentation defined, my only problem is that the only text that be be rendered in the search results is that which is defined in the title field in cfidex. This means that I cannout output any column from the database that was indexed other, other than the column which is in the title field in index. Appreciate 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:342010 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for CF/Adobe Network group in Chicago
Hey, is this the INTERNET world? Are we having a hard time finding the funds to have a big Coldfusion Extravaganza to host, participate in, attend, etc.? Why cannot some enterprising folks come up with some sort of Webinar that we can all attend and not have to leave our desk? Would you be willing to join something that was a forward thinking, idea creating, learning experience, knowledge expandinghey I am not a writer, but I don't have to bucks to travel somewhere to experience Something that just might be way over my head, but I certainly would want to partake in something well thought out that I could attend online that would allow me to expand, meet, and partake in anything CF related, that just might put some forward momentum in this wild and crazy language we all love so much. Some of you folks in this group certainly have the knowledge, resources, desire to pull something like this off. How 'bout you? Terry ~| 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:342011 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for CF/Adobe Network group in Chicago
On Tue, Feb 8, 2011 at 5:55 PM, Terry Troxel terry.tro...@gmail.com wrote: Hey, is this the INTERNET world? Are we having a hard time finding the funds to have a big Coldfusion Extravaganza to host, participate in, attend, etc.? You mean like? http://www.meetup.com/coldfusionmeetup/ ~| 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:342012 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for CF/Adobe Network group in Chicago
You beat me to it! LOL :) On 2/8/2011 6:10 PM, Casey Dougall wrote: You mean like? http://www.meetup.com/coldfusionmeetup/ ~| 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:342013 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for CF/Adobe Network group in Chicago
Thank you Casey, that is EXACTLY what I meant. I am off to read up on what I gotta do to get into that and learn. Thank you again. Terry -Original Message- From: Casey Dougall [mailto:ca...@uberwebsitesolutions.com] Sent: Tuesday, February 08, 2011 3:11 PM To: cf-talk Subject: Re: Looking for CF/Adobe Network group in Chicago On Tue, Feb 8, 2011 at 5:55 PM, Terry Troxel terry.tro...@gmail.com wrote: Hey, is this the INTERNET world? Are we having a hard time finding the funds to have a big Coldfusion Extravaganza to host, participate in, attend, etc.? You mean like? http://www.meetup.com/coldfusionmeetup/ ~| 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:342014 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Linking cfsearch results
Below is the code that does the index, and the cfsearch code that reads The index: cfquery name=Qryname datasource=dsnnane SELECT id, eid, title FROM tbl1 /cfquery cfindex query=Qryname collection=events action=Update type=Custom title=title key=id body=eid,title Search Results cfsearch collection=events name=Qryname criteria=#Form.Criteria# !--- Output the record set. --- cfoutput Your search returned #Qryname.RecordCount# result(s). /cfoutput cfoutput query=Qryname a href=page.cfm?eid=#eid##title#/a /cfoutput I get an error saying that eid is not defined. ~| 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:342015 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: refreshing application variables
Got it! Thanks for all of the help! ~| 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:342016 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Linking cfsearch results
Below is the code that does the index, and the cfsearch code that reads The index: cfquery name=Qryname datasource=dsnnane SELECT id, eid, title FROM tbl1 /cfquery cfindex query=Qryname collection=events action=Update type=Custom title=title key=id body=eid,title Search Results cfsearch collection=events name=Qryname criteria=#Form.Criteria# !--- Output the record set. --- cfoutput Your search returned #Qryname.RecordCount# result(s). /cfoutput cfoutput query=Qryname a href=page.cfm?eid=#eid##title#/a /cfoutput I get an error saying that eid is not defined. Verity doesn't store your database columns directly. You have both eid and title in the body, and that gets stored as one thing. If you want to access a specific database column, use one of the CUSTOM attributes (CUSTOM1, CUSTOM2) and store the eid column in that in your CFINDEX tag, then reference CUSTOM1 (or CUSTOM2) in your output. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our ~| 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:342017 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Multiple applications with a single codebase issues
I'm having a bit of an issue here. Over time, I have developed a CF web-based content management system (hey, who hasn't?). The software is currently running a handful of sites, all on different web hosts. It works fine in this mode. Recently, I realized that I could get a VPS for less money than the several web hosting accounts I'm using; this would have the added benefit of allowing me to update the core software in one location rather than in several. I have it set up so that IIS sees the root directory of the CMS software as each web sites' root, and then I set up a virtual directory to the site-specific content for each domain. For instance, c:\inetpub\wwwroot\app\core is set as the root directory; in it, I have an application.cfc file that sets up variables, security, etc. For site-specific stuff in the application.cfc, I am including a file that sets the app name, etc. before the onApplicationStart() runs. I then have the site-specific stuff (templates, config files, etc.) in separate directory paths, each set up mapped to /site as virtual directories for their respective web sites. The problem I am having is that application.applicationname is being set to whatever site loads first; i.e., I have SiteA and SiteB set up in IIS, restart CF, and if I load SiteB first, then SiteA has SiteB's application.applicationname value. This is a problem. Has anyone here tried to do this and succeeded? Or do I need to rethink how I have this site architected? Thanks, Pete ~| 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:342018 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Multiple applications with a single codebase issues
I have it set up so that IIS sees the root directory of the CMS software as each web sites' root, and then I set up a virtual directory to the site-specific content for each domain. Perhaps you could reverse this - set up the root directory of each virtual server to be site-specific, then create a virtual directory within each that uses the CMS software core directory. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:342019 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Linking cfsearch results
As a purely academic question I'd be interested in knowing your reasons to use verity (or whatever cf uses now) instead of the database directly. On Tue, Feb 8, 2011 at 6:17 PM, N kips nich...@gmail.com wrote: Below is the code that does the index, and the cfsearch code that reads The index: cfquery name=Qryname datasource=dsnnane SELECT id, eid, title FROM tbl1 /cfquery cfindex query=Qryname collection=events action=Update type=Custom title=title key=id body=eid,title Search Results cfsearch collection=events name=Qryname criteria=#Form.Criteria# !--- Output the record set. --- cfoutput Your search returned #Qryname.RecordCount# result(s). /cfoutput cfoutput query=Qryname a href=page.cfm?eid=#eid##title#/a /cfoutput I get an error saying that eid is not defined. ~| 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:342020 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Linking cfsearch results
As a purely academic question I'd be interested in knowing your reasons to use verity (or whatever cf uses now) instead of the database directly. CF allows you to use either Verity or Solr. In general, people use these instead of database queries to improve performance when searching for substrings of text. But in the original poster's case, he might be better served by your suggestion instead of mine. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:342021 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Multiple applications with a single codebase issues
I had a similar issue that came up a couple of years ago for me. As it turned out I had the name of the application the same across all of the sites, so the application variables weren't unique to each site. -- William E. Seiter On Feb 8, 2011, Pete Ruckelshaus pruckelsh...@gmail.com wrote: I'm having a bit of an issue here. Over time, I have developed a CF web-based content management system (hey, who hasn't?). The software is currently running a handful of sites, all on different web hosts. It works fine in this mode. Recently, I realized that I could get a VPS for less money than the several web hosting accounts I'm using; this would have the added benefit of allowing me to update the core software in one location rather than in several. I have it set up so that IIS sees the root directory of the CMS software as each web sites' root, and then I set up a virtual directory to the site-specific content for each domain. For instance, c:\inetpub\wwwroot\app\core is set as the root directory; in it, I have an application.cfc file that sets up variables, security, etc. For site-specific stuff in the application.cfc, I am including a file that sets the app name, etc. before the onApplicationStart() runs. I then have the site-specific stuff (templates, config files, etc.) in separate directory paths, each set up mapped to /site as virtual directories for their respective web sites. The problem I am having is that application.applicationname is being set to whatever site loads first; i.e., I have SiteA and SiteB set up in IIS, restart CF, and if I load SiteB first, then SiteA has SiteB's application.applicationname value. This is a problem. Has anyone here tried to do this and succeeded? Or do I need to rethink how I have this site architected? Thanks, Pete ~| 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:342022 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Linking cfsearch results
I've never used Solr before. About ten years ago I worked on a Monster.com competitor that never really got there. One of the things we did was make use of cf's verity collections for resume and job searching. It worked really well but we found it somewhat cumbersome updating the collections. It also proved to be less than portable when we moved servers. I do wonder now though, with the resources available to db servers now, if a well indexed db would really perform significantly slower. Ten years ago it was almost a given that a collection was faster, but I wonder now if that still holds true. On Tue, Feb 8, 2011 at 8:22 PM, Dave Watts dwa...@figleaf.com wrote: As a purely academic question I'd be interested in knowing your reasons to use verity (or whatever cf uses now) instead of the database directly. CF allows you to use either Verity or Solr. In general, people use these instead of database queries to improve performance when searching for substrings of text. But in the original poster's case, he might be better served by your suggestion instead of mine. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:342023 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Multiple applications with a single codebase issues
I'd have to rewrite the entire application to support thiswhich I really, really don't want to do. I think I just need to gut my application.cfc file and start by rewriting that and any of the site-specific instantiation code. On Tue, Feb 8, 2011 at 8:19 PM, Dave Watts dwa...@figleaf.com wrote: I have it set up so that IIS sees the root directory of the CMS software as each web sites' root, and then I set up a virtual directory to the site-specific content for each domain. Perhaps you could reverse this - set up the root directory of each virtual server to be site-specific, then create a virtual directory within each that uses the CMS software core directory. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:342024 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
coldfusion errors
Is there anyway to catch coldfusion programming errors? cfoutput#999sdflkjsdf;lk#/cfoutput is caught by my error handler. But cfoutput#alsdk;fjlkj#/cfoutpu is not. Thanks in advance. ~| 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:342025 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion errors
There's a whole section on it in the livedocs :) http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7fc4.html On Tue, Feb 8, 2011 at 6:30 PM, Richard Steele r...@photoeye.com wrote: Is there anyway to catch coldfusion programming errors? cfoutput#999sdflkjsdf;lk#/cfoutput is caught by my error handler. But cfoutput#alsdk;fjlkj#/cfoutpu is not. Thanks in advance. ~| 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:342026 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion errors
Error handling is for run time errors. Your second example is a compile error. You cannot use error handling to fix this. You could try a site wide error handler, but that probably won't work either. Brian Cain Sent from my iPhone On Feb 8, 2011, at 7:30 PM, Richard Steele r...@photoeye.com wrote: Is there anyway to catch coldfusion programming errors? cfoutput#999sdflkjsdf;lk#/cfoutput is caught by my error handler. But cfoutput#alsdk;fjlkj#/cfoutpu is not. Thanks in advance. ~| 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:342027 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Multiple applications with a single codebase issues
Pete, Make sure the APPLICATION NAME (this.name declared at the top along with the session stuff and timeouts etc.) is different for each domain. This can be done by using the URL itself as the application name. If the names are different then each site will be it's own application with it's own scope (and hence it's own application.applicationname -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Pete Ruckelshaus [mailto:pruckelsh...@gmail.com] Sent: Tuesday, February 08, 2011 7:16 PM To: cf-talk Subject: Multiple applications with a single codebase issues I'm having a bit of an issue here. Over time, I have developed a CF web-based content management system (hey, who hasn't?). The software is currently running a handful of sites, all on different web hosts. It works fine in this mode. Recently, I realized that I could get a VPS for less money than the several web hosting accounts I'm using; this would have the added benefit of allowing me to update the core software in one location rather than in several. I have it set up so that IIS sees the root directory of the CMS software as each web sites' root, and then I set up a virtual directory to the site-specific content for each domain. For instance, c:\inetpub\wwwroot\app\core is set as the root directory; in it, I have an application.cfc file that sets up variables, security, etc. For site-specific stuff in the application.cfc, I am including a file that sets the app name, etc. before the onApplicationStart() runs. I then have the site-specific stuff (templates, config files, etc.) in separate directory paths, each set up mapped to /site as virtual directories for their respective web sites. The problem I am having is that application.applicationname is being set to whatever site loads first; i.e., I have SiteA and SiteB set up in IIS, restart CF, and if I load SiteB first, then SiteA has SiteB's application.applicationname value. This is a problem. Has anyone here tried to do this and succeeded? Or do I need to rethink how I have this site architected? Thanks, Pete ~| 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:342028 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Multiple applications with a single codebase issues
Pete... see my other note... you can fix this by insure the name of the app is different for each URL... not tough at all :) Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Pete Ruckelshaus [mailto:pruckelsh...@gmail.com] Sent: Tuesday, February 08, 2011 7:34 PM To: cf-talk Subject: Re: Multiple applications with a single codebase issues I'd have to rewrite the entire application to support thiswhich I really, really don't want to do. I think I just need to gut my application.cfc file and start by rewriting that and any of the site-specific instantiation code. On Tue, Feb 8, 2011 at 8:19 PM, Dave Watts dwa...@figleaf.com wrote: I have it set up so that IIS sees the root directory of the CMS software as each web sites' root, and then I set up a virtual directory to the site-specific content for each domain. Perhaps you could reverse this - set up the root directory of each virtual server to be site-specific, then create a virtual directory within each that uses the CMS software core directory. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:342029 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for CF/Adobe Network group in Chicago
While CFMeetup is great and there are awesome presentations going on it's not exactly a networking opportunity for folks in the area. I participate in the web events and they are great, but networking ops aren't quite the same. Thanks for the info. -Joshua O'Connor-Rose -All is Good ~| 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:342030 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Multiple applications with a single codebase issues
On Tue, Feb 8, 2011 at 8:19 PM, Dave Watts dwa...@figleaf.com wrote: I have it set up so that IIS sees the root directory of the CMS software as each web sites' root, and then I set up a virtual directory to the site-specific content for each domain. Perhaps you could reverse this - set up the root directory of each virtual server to be site-specific, then create a virtual directory within each that uses the CMS software core directory. Or just setup domain aliases and host everything under one that root folder, switch content depending on which domain you enter with. Great when your host charges by domain or allows 100 aliases per domain ;-) ~| 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:342031 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for CF/Adobe Network group in Chicago
On Tue, Feb 8, 2011 at 10:09 PM, Joshua O'Connor-Rose joshua.oconnorr...@gmail.com wrote: While CFMeetup is great and there are awesome presentations going on it's not exactly a networking opportunity for folks in the area. I participate in the web events and they are great, but networking ops aren't quite the same. Thanks for the info. -Joshua O'Connor-Rose -All is Good The most intriging events like that around here are more the local chamber of commerce mixers. Also the Young Professional Networks many cities have. I know you may want something more specific to CFML, but if your looking to meet people and network, here ya go ;-) ~| 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:342032 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Multiple applications with a single codebase issues
You can accomplish that by using the domain name (CGI.SERVER_NAME) to figure the ApplicationName, for example (perhaps not directly though). Also check out the Many Sites, Single Codebase blog series by Steven Cutter Blades: http://blog.cutterscrossing.com/index.cfm/2011/1/13/Many-Sites-One-Codebase It has great stuff so far! Steve Pete... see my other note... you can fix this by insure the name of the app is different for each URL... not tough at all :) ~| 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:342033 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: refreshing application variables
Normally Dave Watts really knows his stuff, but I have to disagree with one of his suggestions. I definitely would NOT refresh an application by renaming it. While this will work, I would think that would leave the old Application scope running on the server. This isn't something that the GC would know to come by and pick up as there are still variables referencing the data - there just aren't any pages using the variables. The upshot of that is that all of the data stored in Application scope under the old Application name continues to exist after you have renamed the application - you have just created an entirely new copy of all of those application variables. Do this a few times and you eventually have a lot of RAM tied up keeping track of variables that you aren't using at all. Steve How does one refresh application.cfc application variables without restarting coldfusion services? Thanks in advance. 1. Rename your application. ~| 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:342034 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: refreshing application variables
Normally Dave Watts really knows his stuff, but I have to disagree with one of his suggestions. I definitely would NOT refresh an application by renaming it. While this will work, I would think that would leave the old Application scope running on the server. This isn't something that the GC would know to come by and pick up as there are still variables referencing the data - there just aren't any pages using the variables. The upshot of that is that all of the data stored in Application scope under the old Application name continues to exist after you have renamed the application - you have just created an entirely new copy of all of those application variables. Do this a few times and you eventually have a lot of RAM tied up keeping track of variables that you aren't using at all. Well, I was really just listing that for completeness. Those are the two ways I know to accomplish the requested task. I prefer the second approach usually, unless I'm really in a hurry I guess. But the first option isn't really harmful to the server, especially in the typical case when you'd do it - in development. The orphaned application will go out of scope normally after the specified period of inactivity. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:342035 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Linking cfsearch results
I do wonder now though, with the resources available to db servers now, if a well indexed db would really perform significantly slower. Ten years ago it was almost a given that a collection was faster, but I wonder now if that still holds true. Indexes don't really help with substring searches unless you're looking at the beginning of the string, though. So if you have that kind of content in a field, a full-text search solution will work much better than an SQL query. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:342036 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion errors
Error handling is for run time errors. Your second example is a compile error. You cannot use error handling to fix this. You could try a site wide error handler, but that probably won't work either. Actually, the site-wide error handler will trap compile errors as well as runtime exceptions. The onError event handler and CFTRY/CFCATCH will not. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:342037 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion errors
Is there anyway to catch coldfusion programming errors? cfoutput#999sdflkjsdf;lk#/cfoutput is caught by my error handler. But cfoutput#alsdk;fjlkj#/cfoutpu is not. As Brian pointed out, the first one is a runtime exception, and the second is a compiler error. Runtime exceptions can be caught using the onError event handler in Application.cfc or using CFTRY/CFCATCH. Compiler errors can be caught using the site-wide error handler or the CFERROR tag using TYPE=REQUEST. That said, you should not need to catch compiler errors. Those should never make it past the first stage of development, much less into production. A compiler error will prevent the page from ever running successfully - if you have one, it means you've never tried to run the page before! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:342038 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion errors
The site-wide error handler in CFAdmin should catch all errors, even compile-time errors (a syntax error, in this case). The problem is if your site-wide error handler has an error in there, then you're out of luck. It's a good idea to have your site-wide handler to be just a static file, or a very basic file that should avoid erroring out. Common errors that happen on the site-wide error handler is when referencing error variables, because they don't exist for all error types (like error.message) Ray Camden has a very good article and very long discussion on Error Handling at http://www.coldfusionjedi.com/index.cfm/2007/12/5/The-Complete-Guide-to-Adding-Error-Handling-to-Your-ColdFusion-Application That CF livedoc link that Charlie Griefer sent should be required reading for everyone, and has a lot of information on handling errors. On 2/8/2011 6:58 PM, Brian Cain wrote: Error handling is for run time errors. Your second example is a compile error. You cannot use error handling to fix this. You could try a site wide error handler, but that probably won't work either. Brian Cain Sent from my iPhone On Feb 8, 2011, at 7:30 PM, Richard Steeler...@photoeye.com wrote: Is there anyway to catch coldfusion programming errors? cfoutput#999sdflkjsdf;lk#/cfoutput is caught by my error handler. Butcfoutput#alsdk;fjlkj#/cfoutpu is not. Thanks in advance. ~| 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:342039 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for CF jobs in NYC
There is a NYCFUG meeting tonight. You might want to attend in case there's anyone looking for people. I'm going to be there as I'm looking as well. :) http://nycfug.com/ On Tue, Feb 8, 2011 at 12:31 PM, ColdFusion Developer cfdeveloper...@gmail.com wrote: Hi Everyone, I worked as a ColdFusion web developer for more than 6 years in NYC. If you have any CF job position, please send me an email : coldfusiondeveloper...@gmail.com. Thank you very much in advance. ColdFusion Developer. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4462 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm