Re: Google Adwords API Question..
The process you described is that of the V13 release of the AdWords API. They have recently released the V2010 Beta of the reporting service, and life is much simpler, although they have not yet moved all of the V13 reporting functionality to V2010 (and some of the old functionality is probably going to be left to die on the vine). In V2010, there are only 2 required steps (3 if you do the validate, but that was an optional step in V13 as well): 1. Define the report job - this is a SOAP call where you specify the account, type of report, date range, and data items desired. This just defines the report, it doesn't run the report 2. Request the report, using the job# returned from step 1. This is a REST call and has to be for the same client account for which the report was defined. It will return the actual file data of the report. The format (CSV, XML, ...) and compression (ZIP) would have been specified in the report definition in Step 1. The wait time that we used to have to deal with in V13 is now implicit in how long the REST call in Step 2 takes to complete, since that is when it generates the report and returns the report data. From the looks of things, and discussions on the adWords API forum/blog, you really only have to define the report once for each client, so long as you aren't using hard-coded date ranges, and then pull that same report's JOB # each day. I haven't tried that approach yet. FYI, they have not yet set a price for doing the report pull in step 2. Hopefully it will be at least as cheap as it was in V13. There is an associated API call added in V2010 to return the names of the fields that you can specify in the report definitions for each type of report. Those names are no longer in the docs, so you need to do the API call to get the data values to use on subsequent API calls. Good luck, yell if you need more help, there are a couple of CF adWords API people on this list. -reed ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335177 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Google Adwords API Question..
It for a SaS, so it would have to run reports continuously for x number of clients on the system. You think that would still be something that would work if I had multiple tasks setup for each client on the system? You ever run into reliability issues with the Reports coming back empty or generating an error etc? I kept reading on old threads that it wasn't very reliable, but that was from a thread in 2006 or something. This is a constant problem with the adWords API - if you are trying to get the prior day's data, then you have to decide when you want to try and pull the data, and then hope for the best. There are no API calls in adWords (like there are in Yahoo's API) to find out when the data is ready to pull. What we do for the daily performance numbers is to setup a scheduled report on the AdWords GUI, and have it emailed to us. We have a CF task that monitor's the inbox used for the purpose, and unloads the incoming files for processing. That way Google is in control of determining when to send the data. You also need to take into account the fact that the performance data for a specific date can change anytime during the 30 days that follow, as changes are made for click-fraud corrections. 99% of the time those changes are only made within a day or two after the date. -reed Matt ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335178 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Google Adwords API Question..
Thanks Reed, I'm glad to hear that will get easier in the next version. I also continue to read that the API is suppsed to be free in the next 90 days? Is that another urban legand? I can't imagine Goolge making it free after they just up'd the price a little while ago. Matt ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335179 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
See how easy everything is in CF? Coldfusion is different: function manageRecipes(){ for(i=1;i lte RecipesQuery.recordcount;i++){ recipes[i].manage(); } } I've been writing a lot of JavaScript lately. Why they decided to start the index at 1 and not allow relational or assignment operators is completely baffling. It makes sense with tags but not with script. Back on track; Ennio I would be willing to bet there are a number of people that can dig up a recipe module and DB schema for you. Just try to be more specific to what you need. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335180 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Facebook Connect and coldfusion
Unfortunately, its being demanded here, so its gotta be done. Anyone else have any success with facebook connect? And that's why I'm pretty negative on integrating with Facebook. We created an app 2 years ago and could never get the functionality of processing some of our code after someone removed our app to work. The API for that was always broken. Or, we'd finally see that it had been fixed, but by the time we got to it, it was broken again. (I expect someone to tell me here it works now, but by the time I would get to it again, it would be broken. ) ) The lack of stability in their integration apparently isn't any better now with FB Connect. On Tue, Jun 22, 2010 at 10:05 AM, Kris Jones kris.jon...@verizon.netwrote: We're using FBConnect for a site in development now. It works fine, no problem. Except when FB does something stupid and breaks the API. Which happens every couple of weeks. -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
Why they decided to start the index at 1 and not allow relational or assignment operators is completely baffling. It makes sense with tags but not with script. CFSCRIPT isn't an entirely separate language from CFML. It has different syntax and statements, but shares the same operators, and commands map to the same underlying functionality as far as I can tell. That is, if you loop in CFSCRIPT using a for-next loop, it's going to generate the same Java bytecode as the analogous loop in CFML. One-based indexes don't make any more sense with tags than they do with script, either - if you're new to programming entirely, they seem acceptable, but if you have any prior programming experience they don't seem like such a good idea (or at least they're not what you're used to). My theory about that is that CF was primarily aimed at people without a lot (or any) prior programming experience. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335182 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 12:06 PM, Dave Watts dwa...@figleaf.com wrote: One-based indexes don't make any more sense with tags than they do with script, either - if you're new to programming entirely, they seem acceptable, but if you have any prior programming experience they don't seem like such a good idea (or at least they're not what you're used to). My theory about that is that CF was primarily aimed at people without a lot (or any) prior programming experience. I'm sorry - but I still say the guy who invented arrays was drunk and came up with the its an offset excuse later on to explain the whole 0 based thing. -- === Raymond Camden, ColdFusion Jedi Master Email: r...@camdenfamily.com Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Google Adwords API Question..
So I ran into another issue with the API once I got it pulling real data in the production environment. I'm trying to pull out Impressions, Cost, CPC, CPM, etc... When I get the data back it shows cost as 1691 instead of 16.91. How am I supposed to know that it's not 169.10 and not 16.91? I must have missed something pretty simple here? It does the same thing with CPC; shows 187 instead of 1.88, how am I supposed to know it's not 18.88 Matt ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335184 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
I'm sorry - but I still say the guy who invented arrays was drunk and came up with the its an offset excuse later on to explain the whole 0 based thing. I think a simpler explanation is that it's pretty significant in binary. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Google Adwords API Question..
http://groups.google.com/group/adwords-api/browse_thread/thread/f673f0a25bfa6885 On Thu, Jul 8, 2010 at 6:15 PM, Matt Blatchley m...@bridgeleaf.com wrote: So I ran into another issue with the API once I got it pulling real data in the production environment. I'm trying to pull out Impressions, Cost, CPC, CPM, etc... When I get the data back it shows cost as 1691 instead of 16.91. How am I supposed to know that it's not 169.10 and not 16.91? I must have missed something pretty simple here? It does the same thing with CPC; shows 187 instead of 1.88, how am I supposed to know it's not 18.88 Matt ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335186 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Google Adwords API Question..
This just keeps getting better. Thanks of the point in the right direction John. Again :) Matt On Thu, Jul 8, 2010 at 5:20 PM, John M Bliss bliss.j...@gmail.com wrote: http://groups.google.com/group/adwords-api/browse_thread/thread/f673f0a25bfa6885 On Thu, Jul 8, 2010 at 6:15 PM, Matt Blatchley m...@bridgeleaf.com wrote: So I ran into another issue with the API once I got it pulling real data in the production environment. I'm trying to pull out Impressions, Cost, CPC, CPM, etc... When I get the data back it shows cost as 1691 instead of 16.91. How am I supposed to know that it's not 169.10 and not 16.91? I must have missed something pretty simple here? It does the same thing with CPC; shows 187 instead of 1.88, how am I supposed to know it's not 18.88 Matt ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
Yeah, that may be the explanation, but IMO it's still dumb to do arrays that way. Nobody calls their thumb their zeroth finger. A whole other discussion is whether it was smart for CFML to correct this issue. -- Josh -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, July 08, 2010 3:20 PM To: cf-talk Subject: Re: Looking for a CF Recipe script! I'm sorry - but I still say the guy who invented arrays was drunk and came up with the its an offset excuse later on to explain the whole 0 based thing. I think a simpler explanation is that it's pretty significant in binary. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335188 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Google Adwords API Question..
Anytime. On Thu, Jul 8, 2010 at 6:29 PM, Matt Blatchley m...@bridgeleaf.com wrote: This just keeps getting better. Thanks of the point in the right direction John. Again :) Matt On Thu, Jul 8, 2010 at 5:20 PM, John M Bliss bliss.j...@gmail.com wrote: http://groups.google.com/group/adwords-api/browse_thread/thread/f673f0a25bfa6885 On Thu, Jul 8, 2010 at 6:15 PM, Matt Blatchley m...@bridgeleaf.com wrote: So I ran into another issue with the API once I got it pulling real data in the production environment. I'm trying to pull out Impressions, Cost, CPC, CPM, etc... When I get the data back it shows cost as 1691 instead of 16.91. How am I supposed to know that it's not 169.10 and not 16.91? I must have missed something pretty simple here? It does the same thing with CPC; shows 187 instead of 1.88, how am I supposed to know it's not 18.88 Matt ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335189 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
Yeah, that may be the explanation, but IMO it's still dumb to do arrays that way. Nobody calls their thumb their zeroth finger. Computers are different from hands, programming languages are different from natural languages, computers don't understand base-10 math. http://en.wikipedia.org/wiki/Computer_numbering_formats http://en.wikipedia.org/wiki/Binary_numeral_system http://en.wikipedia.org/wiki/Octal http://en.wikipedia.org/wiki/Hexadecimal 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 5:00 PM, Dave Watts wrote: Yeah, that may be the explanation, but IMO it's still dumb to do arrays that way. Nobody calls their thumb their zeroth finger. Computers are different from hands, programming languages are different from natural languages, computers don't understand base-10 math. It's all just been in preparation for the day when computers program computers. We're almost there, too. Scary awesome. :Denny -- The same is the case with those opinions of man to which he has been accustomed from his youth; he likes them, defends them, and shuns the opposite views. Maimonide ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
Obviously, Dave. I was referring to higher level languages, where a decision can be made (and has been in the case of CFML) to use a more humanist approach to array indexing. -- Josh -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, July 08, 2010 4:01 PM To: cf-talk Subject: Re: Looking for a CF Recipe script! Yeah, that may be the explanation, but IMO it's still dumb to do arrays that way. Nobody calls their thumb their zeroth finger. Computers are different from hands, programming languages are different from natural languages, computers don't understand base-10 math. http://en.wikipedia.org/wiki/Computer_numbering_formats http://en.wikipedia.org/wiki/Binary_numeral_system http://en.wikipedia.org/wiki/Octal http://en.wikipedia.org/wiki/Hexadecimal 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335192 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
Obviously, Dave. I was referring to higher level languages, where a decision can be made (and has been in the case of CFML) to use a more humanist approach to array indexing. I'm confused. Aren't you the same guy who a few minutes ago wrote A whole other discussion is whether it was smart for CFML to 'correct' this issue. So, you don't clearly appear to be in favor of CF behaving differently from lower-level languages. But most other programming languages are essentially based on C/C++ in syntax, and those are lower-level languages. So are you saying that C-style languages should behave differently? Or that some C-style languages - arguably higher-level languages like Java and C#? - should behave differently from others? Don't take this as a personal attack or anything - it's not - I just don't really understand your point. This is basically the argument for COBOL, and look how that turned out. If you want to be a competent programmer, right now, you need to understand pretty well how computers work. That may not be the case in the future, but it is right now. CF hides a lot of the complexity of computers, but it can't hide all of the complexity. This is why, in my opinion, many CF programmers who don't have this deeper understanding write programs that fail as their scope, complexity or usage grow significantly. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335193 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
So, you don't clearly appear to be in favor of CF behaving differently from lower-level languages. Sorry I was not clear. Yes, I am in favor of CFML behaving differently, and I think from a human perspective, 1-based indices make sense. When I said A whole other discussion is whether it was smart for CFML to 'correct' this issue I was not taking a stand either way on the smartness of CFML doing that -- merely opening up a possible discussion point for others, since there are positives and negatives. One obvious negative is that it can be used by CF detractors as an argument for CFML not being a serious language. Hopefully the OP has used all the great info in this awesome thread to develop a kick-ass recipe script! -- Josh -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, July 08, 2010 4:43 PM To: cf-talk Subject: Re: Looking for a CF Recipe script! Obviously, Dave. I was referring to higher level languages, where a decision can be made (and has been in the case of CFML) to use a more humanist approach to array indexing. I'm confused. Aren't you the same guy who a few minutes ago wrote A whole other discussion is whether it was smart for CFML to 'correct' this issue. So, you don't clearly appear to be in favor of CF behaving differently from lower-level languages. But most other programming languages are essentially based on C/C++ in syntax, and those are lower-level languages. So are you saying that C-style languages should behave differently? Or that some C-style languages - arguably higher-level languages like Java and C#? - should behave differently from others? Don't take this as a personal attack or anything - it's not - I just don't really understand your point. This is basically the argument for COBOL, and look how that turned out. If you want to be a competent programmer, right now, you need to understand pretty well how computers work. That may not be the case in the future, but it is right now. CF hides a lot of the complexity of computers, but it can't hide all of the complexity. This is why, in my opinion, many CF programmers who don't have this deeper understanding write programs that fail as their scope, complexity or usage grow significantly. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335194 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 5:42 PM, Dave Watts wrote: ... This is basically the argument for COBOL, and look how that turned out. If you want to be a competent programmer, right now, you need to understand pretty well how computers work. That may not be the case in the future, but it is right now. CF hides a lot of the complexity of computers, but it can't hide all of the complexity. This is why, in my opinion, many CF programmers who don't have this deeper understanding write programs that fail as their scope, complexity or usage grow significantly. How did it turn out? It's not clear, but are you dissing COBOL? More of a FORTRAN guy, eh? ;-) :Den -- The whole object of the Prophets and the Sages was to declare that a limit is set to human reason where it must halt. Maimonides ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335195 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
I for one think CF should have stuck to zero based indices. I've thought for close to 10 years that it would be AWESOME if this could be a CFAdmin setting. On Thu, Jul 8, 2010 at 8:36 PM, Josh Nathanson p...@oakcitygraphics.comwrote: So, you don't clearly appear to be in favor of CF behaving differently from lower-level languages. Sorry I was not clear. Yes, I am in favor of CFML behaving differently, and I think from a human perspective, 1-based indices make sense. When I said A whole other discussion is whether it was smart for CFML to 'correct' this issue I was not taking a stand either way on the smartness of CFML doing that -- merely opening up a possible discussion point for others, since there are positives and negatives. One obvious negative is that it can be used by CF detractors as an argument for CFML not being a serious language. Hopefully the OP has used all the great info in this awesome thread to develop a kick-ass recipe script! -- Josh -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, July 08, 2010 4:43 PM To: cf-talk Subject: Re: Looking for a CF Recipe script! Obviously, Dave. I was referring to higher level languages, where a decision can be made (and has been in the case of CFML) to use a more humanist approach to array indexing. I'm confused. Aren't you the same guy who a few minutes ago wrote A whole other discussion is whether it was smart for CFML to 'correct' this issue. So, you don't clearly appear to be in favor of CF behaving differently from lower-level languages. But most other programming languages are essentially based on C/C++ in syntax, and those are lower-level languages. So are you saying that C-style languages should behave differently? Or that some C-style languages - arguably higher-level languages like Java and C#? - should behave differently from others? Don't take this as a personal attack or anything - it's not - I just don't really understand your point. This is basically the argument for COBOL, and look how that turned out. If you want to be a competent programmer, right now, you need to understand pretty well how computers work. That may not be the case in the future, but it is right now. CF hides a lot of the complexity of computers, but it can't hide all of the complexity. This is why, in my opinion, many CF programmers who don't have this deeper understanding write programs that fail as their scope, complexity or usage grow significantly. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335196 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 7:27 PM, Michael Grant wrote: I for one think CF should have stuck to zero based indices. I've thought for close to 10 years that it would be AWESOME if this could be a CFAdmin setting. It's never really bothered me much, and I do a lot a java/cfml stuphs. What's really crazy is people doing if(len(string)) vs if(string != ). Or something like that, IIRC. =)p :Den -- To the totality of purposes of the perfect Law there belong the abandonment, depreciation, and restraint of desires in so far as possible. Maimonides ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
I would want to do len(trim(string)) gt 0 or trim(string) != since technically fulfills your if condition though remains undesirable. On Thu, Jul 8, 2010 at 9:41 PM, denstar valliants...@gmail.com wrote: On Thu, Jul 8, 2010 at 7:27 PM, Michael Grant wrote: I for one think CF should have stuck to zero based indices. I've thought for close to 10 years that it would be AWESOME if this could be a CFAdmin setting. It's never really bothered me much, and I do a lot a java/cfml stuphs. What's really crazy is people doing if(len(string)) vs if(string != ). Or something like that, IIRC. =)p :Den -- To the totality of purposes of the perfect Law there belong the abandonment, depreciation, and restraint of desires in so far as possible. Maimonides ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335198 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
So /that's/ why my ascii art is all mangled! ;] , - \O , .-.___ - /\ O/ /xx\XXX\ - __/\ ` /\ |xx|XXX| `\, () ` |xx|XXX| jgs`^^^ On Thu, Jul 8, 2010 at 7:47 PM, Michael Grant wrote: I would want to do len(trim(string)) gt 0 or trim(string) != since technically fulfills your if condition though remains undesirable. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335199 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
I would want to do len(trim(string)) gt 0 or trim(string) != since technically fulfills your if condition though remains undesirable. I think his point is that CF, unlike some other languages, supports implicit Boolean evaluation. Some people really don't like it. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335200 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
I see. My bad. To be fair I find Denny hard to follow at the best of times. :D On Thu, Jul 8, 2010 at 10:03 PM, Dave Watts dwa...@figleaf.com wrote: I would want to do len(trim(string)) gt 0 or trim(string) != since technically fulfills your if condition though remains undesirable. I think his point is that CF, unlike some other languages, supports implicit Boolean evaluation. Some people really don't like it. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335201 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 8:03 PM, Dave Watts wrote: I would want to do len(trim(string)) gt 0 or trim(string) != since technically fulfills your if condition though remains undesirable. I think his point is that CF, unlike some other languages, supports implicit Boolean evaluation. Some people really don't like it. Oh, you know I'm too well rounded to have a point. =) Really I was reminiscing about a conversation we had long ago, more than contributing anything real to the conversation. Programming is teh awesome. :Den -- While one man can discover a certain thing by himself, another is never able to understand it, even if taught by means of all possible expressions and metaphors, and during a long period; his mind can in no way grasp it, his capacity is insufficient for it. Maimonides ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 8:10 PM, Michael Grant wrote: I see. My bad. To be fair I find Denny hard to follow at the best of times. :D A snippet from a favorite song: If my words did glow with the gold of sunshine And my tunes were played on the harp unstrung Would you hear my voice come through the music Would you hold it near as it were your own? It's a hand-me-down, the thoughts are broken Perhaps they're better left unsung I don't know, don't really care Let there be songs to fill the air Not that it really helps you, but it all makes sense from in here. :-) :DeN -- You must accept the truth from whatever source it comes. Maimonides ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Extract an URL Variable name?
If I'm passing an URL Variable - with the variable name itself being dynamic, what's the best was to extract the variable name (not the value) on the receiving page? As in: for: index.cfm?somevar=somevalue I need to return somevar on the receiving page as a value. or for: index.cfm?bigdog=bruto I need to return bigdog on the receiving page as a value. The receiving page won't know what the variable is in advance... Did that make any sense at all? __ Information from ESET NOD32 Antivirus, version of virus signature database 5263 (20100708) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335204 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Extract an URL Variable name?
If I'm passing an URL Variable - with the variable name itself being dynamic, what's the best was to extract the variable name (not the value) on the receiving page? As in: for: index.cfm?somevar=somevalue I need to return somevar on the receiving page as a value. or for: index.cfm?bigdog=bruto I need to return bigdog on the receiving page as a value. The receiving page won't know what the variable is in advance... You can examine all the members of the URL scope, which can be treated like any other structure. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335205 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
sorry, OT. Ripple in still water-- when there is no pebble tossed, or wind to blow-- I heard an interview with Garcia about this song once-- Jerry said something like-- To me Ripple is a reflection of all the things that just are-- and how when we observe things in particular states of mind-- the cosmos can just make really strange things happen for no reason or cause whatsoever. Cool stuff, right on par with modern physics-- and quantum mechanics. Everything always exists in all possible states-- time is an persistent illusion-- we, the observer effect the outcome just by observing the event. Is the cat alive or dead? WE are all connected. On Thu, Jul 8, 2010 at 10:30 PM, denstar valliants...@gmail.com wrote: On Thu, Jul 8, 2010 at 8:10 PM, Michael Grant wrote: I see. My bad. To be fair I find Denny hard to follow at the best of times. :D A snippet from a favorite song: If my words did glow with the gold of sunshine And my tunes were played on the harp unstrung Would you hear my voice come through the music Would you hold it near as it were your own? It's a hand-me-down, the thoughts are broken Perhaps they're better left unsung I don't know, don't really care Let there be songs to fill the air Not that it really helps you, but it all makes sense from in here. :-) :DeN -- You must accept the truth from whatever source it comes. Maimonides ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335206 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ISAPI filters
I'm trying to set up ColdFusion 9 in distributed mode (again, on some other servers). As soon as I add the jrun_iis6_wildcard.dll ISAPI filter, a call to an HTML file will fail. As soon as I remove the filter, it succeeds. I thought that .html and .htm files were not served by a filter but directly by IIS. Is this indicative of a misconfiguration within IIS, or what's going on here? Thanks, - Andrew. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335207 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm