Re: TDD for ColdFusion
Jeff, If you want to see more examples of how you might write unit tests for CF, you should take a look at the tests that accompany a few of the frameworks. You can find a battery of unit tests in the cfcUnit, ColdSpring, Transfer, and Tartan frameworks. I know that these aren't tutorials, but *real* tests have a lot to offer if you take the time. Paul On 12/21/06, Jeff Chastain [EMAIL PROTECTED] wrote: That is the feeling I am getting. I have seen quite a few presentations and blog postings about this, but short of the work that Rob Blackburn has done recently, it does not seem like anybody is really putting this into practice. None of the examples I have seen are anything more complicated than a single simple calculator type object. This is one thing for an example, but it does not show anything really practical. Thanks. -Original Message- From: Patrick McElhaney [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 9:07 PM To: CF-Talk Subject: Re: TDD for ColdFusion On 12/21/06, Jeff Chastain [EMAIL PROTECTED] wrote: However, the mock object frameworks for Java and other languages simply don't port to ColdFusion because of language construct differences. Without a mock object framework, the only other option I see is to hand create and maintain stub or mock objects, and this just does not seem like a feasible practice in an application of any size. That's exactly the same conclusion I reached after trying to to do TDD in CF a couple years ago. Remember, TDD is about development, not about testing. It's supposed to make developing code easier. If instead it makes development much harder there's no sense using it. However, I do think it's worthwhile to practice TDD in another language and learn the test-first mindset. As I'm modeling CFCs, to ask, How would I test this? has become second-nature. The ability to think test-first, even if I can't do it all the time, has been a tremendous help in writing cohesive, loosely coupled code. Patrick -- Patrick McElhaney 704.560.9117 ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264874 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfcUnit
Change setup to setUp On 12/12/06, Dan Vega [EMAIL PROTECTED] wrote: I am running some test cases using cfcUnit, My question is when i ran this test the first time i forgot to pass the datasource to my init method. I have since added it but it still does not see it in the setup? Is this cached, am i missing something? cfcomponent namespace=StudentInterviewTest extends= org.cfcunit.framework.TestCase cfset variables.studentInterview = cffunction name=setup access=private returntype=void cfset variables.studentInterview = createObject(component, StudentInterview).init(mydsn) /cffunction cffunction name=testSendInterviewEmail access=public returntype=void cfset studentInterview.sendInterviewEmail(arg1,arg2) /cffunction /cfcomponent -- Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263849 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Mock Objects for ColdFusion
Jeff, At this point there really isn't a *mock object* solution, per se for CF developers in the form of any particular framework developed to create Mocks. Really, the simplest way at this point is to create them by hand. Also, are you sure you want mock objects that will fully behave like Reactor or do you just want to stub out that layer to satisfy the Reactor dependencies? I just ask this because mocks are a perhaps the most difficult, tedious and brittle form of stubbing out a component or set of components. If you have already considered a simpler approach and decided you need mock objects, then nevermind. Otherwise, I recommend you do. Paul On 12/4/06, Jeff Chastain [EMAIL PROTECTED] wrote: If you want to test the generated files that Reactor produces with different changes, your test cases would be multiple declaractions of the Reactory factory with different project names and DSN pointers. The project files are stored by the name of project your initialize in the factory. No, what I am attempting to test is the layer above Reactor ... the objects that call and utilize the reactor generated objects. This is just one example. I have other business objects that utilize dynamically generated web services ... they take in several arguments, process the data, send it to the web service, then return the result from the web service. I don't want to test the web service, that is for another test - I want to test the object that is calling the web service or in the case of Reactor, calling the Reactor framework. Hopefully this is a bit more clear. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262778 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Sean Corfield, it's time to approve my post
You might not be aware of this, but Sean has been out of the country and away from computers since Nov 17, and just got back to work yesterday. He has a bit of catching up to do, so chill out. On 11/30/06, Teddy Payne [EMAIL PROTECTED] wrote: Adam, I appreciate your desire to be audible and contrarian in public to assist people to think of a different perspective, but what someone does on their personal blog seems to be at their disgression. Mandating someone to create a post or response seems a bit presumtious. In the land of free speech, there is the freedom to not respond. Teddy On 11/30/06, Adam Churvis [EMAIL PROTECTED] wrote: I saw that, but I thought it would have been more appropriate to have the post displayed in full along with my own comment. It isn't obvious that it's a link to the original post, and many wouldn't take the extra step to read it that way. Best to put it right in front of readers, I thought. Respectfully, Adam Phillip Churvis Certified Advanced ColdFusion MX 7 Developer BlueDragon Alliance Founding Committee Get advanced intensive Master-level training in C# ASP.NET 2.0 for ColdFusion Developers at ProductivityEnhancement.com - Original Message - From: Richard Kroll To: CF-Talk Sent: Thursday, November 30, 2006 3:16 PM Subject: RE: Sean Corfield, it's time to approve my post So here's my original post in its entirety... I'm not sure if you noticed or not, but Sean linked directly back to the thread of conversation which he was quoting so a reader could have access to the full conversation upon which he drew. Rich Kroll ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262292 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: tartan website
The site works now. Don't know why it was causing errors earlier. On 10/19/06, Dan O'Keefe [EMAIL PROTECTED] wrote: Just so happens I was doing some searching on CFOOP today and I can get to the site with this URL http://www.tartanframework.org/tartan/? Dan On 10/19/06, Nick Tong - TalkWebSolutions.co.uk [EMAIL PROTECTED] wrote: okay - thanks On 19/10/06, Steve LaBadie [EMAIL PROTECTED] wrote: I get a cfdump Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] http://www.esu.edu -Original Message- From: Nick Tong - TalkWebSolutions.co.uk [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 8:45 AM To: CF-Talk Subject: tartan website Can anyone get on the tartan framework website? http://www.tartanframework.org/tartan/ -- Nick Tong web: http://talkwebsolutions.co.uk blog: http://succor.co.uk short urls: http://wapurl.co.uk green link: http://wapurl.co.uk/?4Z2YDLX ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257550 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: An issue with CFC output
If you do not specify the output attribute, it will behave like a normal block of cf code that is not between cfoutput tags and generate all sorts of white space. If you specify output=true, the cffunction tags will act just like cfoutput tags and evaluate any text that is between #s. If you specify output=false, the cffunction tags behave like cfsilent tags. Not entirely obvious, I know. On 5/11/06, Bruce, Rodney S C-E LCMC HQISEC/Signal Solutions [EMAIL PROTECTED] wrote: Thanks I thought that the default was false. if output=false is not in the function tag the extra charaters show up. I just had: cffunction access=public name=myfunction returntype=string -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 12:52 PM To: CF-Talk Subject: RE: An issue with CFC output Without seeing more of your CFC code, I would hazard a guess that you need to add output=false to your function declarations. Otherwise white space generated in the function can be passed onto the calling page. HTH If not, give us a better example of your CFC and relevant function. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240274 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFUnit Help ... assertEqualsBoolean?
Jeff, cfcUnit and CFUnit are a bit different in how assertions are made. In CFUnit (like JUnit) there is a single function name asserEquals. JUnit can take advantage of method overloading, so a single method name with different argument types will work. CFUnit takes the same approach and only has one assertEquals method that can accept any type for its expected and actual arguments, and it determines the type of assertion/comparison that needs to be done based on the determined type of the expected argument. cfcUnit is done differently. I have found that implying the type of test that needs to be done based on the types of the arguments gives up too much control and is harder to understand down the road. Instead, each type of assertion has its own method that is called explicitly by the test case methods. This is the default behavior for cfcUnit and does not require the use of any special base class. As far as testing for the presense of application variables within your test cases or making your objects under test aware of them, it is a bad practice (except in certain cases) and leads to untestable code. If you need these values to be available to your objects, it is best to pass them in explicitly via the constuctor or other method arguments. I hope this helps. Paul On 11/25/05, Jeff Chastain [EMAIL PROTECTED] wrote: Well, the reason I was going with the assertEqualsBoolean() was, how can an equality test tell if a given string is a string or a boolean type? I am getting the following failure ... testIsNullID(crTracker2._com.test.propertyTest): : expected:... but was:... which I assumed had to do with the fact it was trying to compare the string 'YES' with the boolean value 'true' and coming up short. Now that I change the extends to grab the extra functions though, I am still getting the error above. It is not the most descriptive as to where the problem is . As a brief aside, I went and checked out CFCUnit to see if it was any better documented. However, when setting up a test case there, it does not appear that the execution of the test case includes the Application.cfc file for the project. Am I missing something here or am I doing something wrong by utilizing application level variables (dsn, cfc mapping, etc.) in my test cases to pass to the object? Thanks -- Jeff ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225303 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: developer edition gateway limitations?
My experience is that the number of queued events allowed at a time is limited. I don't know what the limit is, but I do know that when the directory watcher created several hundred events, it stopped queueing them after a certain threshold was met. I never figured it out since all I had to do was run the code with a non-developer license and everything worked. On 10/23/05, Paul Hastings [EMAIL PROTECTED] wrote: Sean Corfield wrote: It's limited to a single thread, as far as I know. I don't know if that's explicitly spelled out in the documentation. thanks. no i can't find anything exact in the docs, live or otherwise. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222003 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: Unit testing sucks?
Sean, I certainly hope you include the testing tools in coldfusion as well when you say they are hard to use. I agree that there is a lot of code that is written to put together automated tests, but the long-term benefit tends to be worth it if the tests are maintained along with the code they verify. Yes, it should be easier, but how? On 10/19/05, Munson, Jacob [EMAIL PROTECTED] wrote: So I'm pretty new to the concept of 'unit testing', but I ALWAYS do extensive testing of my apps. I was under the impression that unit testing was always done with a product or tool, and that is what the author is saying stinks. Am I way off base? Say for example that I write a spider that crawls my site and nails every user input point with specific and/or random data. I can either look at the database/logs, or write an error handler in my tester to tell me when it finds problems. Is this unit testing? -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 1:19 PM To: CF-Talk Subject: Re: OT: Unit testing sucks? On 10/19/05, Munson, Jacob [EMAIL PROTECTED] wrote: This guy thinks unit testing is way overrated and a waste of time: Well, that's not really what he's saying... his real objection is that unit testing *tools* suck and that developers just don't know how to write automated tests. And I agree with him. He says (repeatedly) testing is very important and you must test, test, test. Unit tests are very valuable *if* they are set up correctly but most test harnesses are a pain in the @$$ to use and in order to write test cases you often end up writing even more code than your original code base which, of course, does seem pretty dumb... -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221542 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFC's - Most efficient scope?
This is not always the case. Sometimes CFCs are placed in the application scope with state that changes all the time. The CFC could be a very busy manager, and not just a stateless utility or something. It might be in the application scope because you only want one, and no more. On 9/2/05, Brian Kotek [EMAIL PROTECTED] wrote: You only need to lock to prevent race conditions. Since application-scoped CFCs should nearly always be stateless (they have no instance data, or the instance data does not change once the component is initialized), locking isn't an issue. On 9/2/05, Snake [EMAIL PROTECTED] wrote: What about locking ? - snake -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: 02 September 2005 14:59 To: CF-Talk Subject: RE: CFC's - Most efficient scope? Well we usually use cfinvoke object=application.myCFC method=myMethod returnVariable=variables.myvar argument1=value argument2=some other value / Or the proper way to do it cfinvoke object=application.myCFC method=myMethod returnvariable=variables.myvar cfinvokeparam name=argument1 value=myvalue cfinvokeparam name=argument2 value=some other value /cfinvoke I think storing it in the application scope is the best place, since then you can share it throughout your application. We do the same thing... we have all our db calls in different cfc's, and we keep them in application scope. Since they're cached until the application is reset, they're very efficient. Russ -Original Message- From: Andy Mcshane [mailto:[EMAIL PROTECTED] Sent: Friday, September 02, 2005 5:16 AM To: CF-Talk Subject: CFC's - Most efficient scope? Hi, been playing around with CFC's and fusebox4.1 for a bit, nothing too advanced. In the main part I use CFC's to do all of my database work, they contain all of my calls to the database using stored procedures. My question is what is the best amd most efficient way to execute them? At the moment I initialize all of my CFC's into the application scope and then in my fusebox model xml file use the following syntax; invoke object=application.MyObject methodcall=MyMethod( Arg1, Arg2, etc) returnvariable=MyReturnVar OR invoke object=application.MyObject methodcall=MyMethod( argumentcollection=MyArgs ) returnvariable=MyReturnVar Is this an efficient way of doing this? Is there a better way to do it? Have I completely misunderstood the use of CFC's? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217259 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFC's - Most efficient scope?
Sorry. You did say that, and I missed it. You are right. On 9/2/05, Brian Kotek [EMAIL PROTECTED] wrote: That's why I said nearly always. If you do end up needing an application-scoped CFC that changes state, and if race conditions are a concern, then you need to lock the writes to the instance data of the CFC. On 9/2/05, Paul Kenney [EMAIL PROTECTED] wrote: This is not always the case. Sometimes CFCs are placed in the application scope with state that changes all the time. The CFC could be a very busy manager, and not just a stateless utility or something. It might be in the application scope because you only want one, and no more. On 9/2/05, Brian Kotek [EMAIL PROTECTED] wrote: You only need to lock to prevent race conditions. Since application-scoped CFCs should nearly always be stateless (they have no instance data, or the instance data does not change once the component is initialized), locking isn't an issue. On 9/2/05, Snake [EMAIL PROTECTED] wrote: What about locking ? - snake -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: 02 September 2005 14:59 To: CF-Talk Subject: RE: CFC's - Most efficient scope? Well we usually use cfinvoke object=application.myCFC method=myMethod returnVariable=variables.myvar argument1=value argument2=some other value / Or the proper way to do it cfinvoke object=application.myCFC method=myMethod returnvariable=variables.myvar cfinvokeparam name=argument1 value=myvalue cfinvokeparam name=argument2 value=some other value /cfinvoke I think storing it in the application scope is the best place, since then you can share it throughout your application. We do the same thing... we have all our db calls in different cfc's, and we keep them in application scope. Since they're cached until the application is reset, they're very efficient. Russ -Original Message- From: Andy Mcshane [mailto:[EMAIL PROTECTED] Sent: Friday, September 02, 2005 5:16 AM To: CF-Talk Subject: CFC's - Most efficient scope? Hi, been playing around with CFC's and fusebox4.1 for a bit, nothing too advanced. In the main part I use CFC's to do all of my database work, they contain all of my calls to the database using stored procedures. My question is what is the best amd most efficient way to execute them? At the moment I initialize all of my CFC's into the application scope and then in my fusebox model xml file use the following syntax; invoke object=application.MyObject methodcall=MyMethod( Arg1, Arg2, etc) returnvariable=MyReturnVar OR invoke object=application.MyObject methodcall=MyMethod( argumentcollection=MyArgs ) returnvariable=MyReturnVar Is this an efficient way of doing this? Is there a better way to do it? Have I completely misunderstood the use of CFC's? ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217266 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: how much cfc overhead?
All instances of a particular CFCs share a single object for each of their methods. So, a CFC is essintially an object with references to *singleton* method objects. Very efficient use of memory. On 7/24/05, Barney Boisvert [EMAIL PROTECTED] wrote: CFCs are definitely heavier than POJOs, however, much of that's at the class level, not the instance level. If you go look at the generated ..class files, you'll see that a CFC generates a class for the CFC itself, and then another class for each function. So if a given CFC will always require N+1 Java classes, where N is the number of methods on the CFC. I'm not sure if CFCs share method instances or not. If they do, then there should be little per-instance overhead, as a CFC instance is little more than a couple nested structures. If not, then you're going to be lugging around not only the nested structures, but also instances of each function per CFC instance, which could lead to significant memory usage. However, all that being said, it's an implementation detail that shouldn't really be of concern to developers for two main reasons. First, RAM is so damn cheap, and second, if you really care that much, you should be using POJOs. Java is SO simple to integrate into CF, there's really no excuse to not use it when you have a situation that warrants it. If you find your CFC implementation to be to much of a resource hog, add more memory to alleviate the problem (and keep the CF's hallmark ease-of-use), or switch the objects to POJOs (to get the tighter Java environment), but leave the business logic in CFCs. If you wanted to go for broke testing, it should be relatively straightforward to create a test environment for checking the size of a CFC instance. You just need a really good memory utilization checker for your system (not measured in percent, or MB, but bytes). Initialize all your code, make sure everything's been instantiated and executed. Check memory, create exactly one persistant instance, and check memory again. If you've done a proper job making sure nothing but that instance was created (or have ensured everything else was garbage collected), you'll know how big it is. cheers, barneyb On 7/24/05, Dov Katz [EMAIL PROTECTED] wrote: I have a cache similar to the cf_scopecache, though my objects can be stored to file, memory as text, memory as a query, or memory as a cfc. I have a gallery cfc which holds an array of photo cfc instances. Real simple, an id, file path, folder path, and friendly names for both object types. They really helped performance but they seem to hog memory. How much atypical (not your avg java object) overhead do cfc's add to traditional java objects, if any? Just trying to make sure I am making the correct assumptions about CFC's Thanks -Dov -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212703 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Web service caling local CFC
Yeah, you have to add a virtual directory in the jrun-web.xml file under {webroot}/WEB-INF On 7/12/05, Bryan Stevenson [EMAIL PROTECTED] wrote: Hey Brian, Maybe try adding a ColdFusion mapping called appCFCs to wherever the appCFCs directory is - I've had issues with CFC resolution in containers other than CFM where I've needed explicit mappings, namely remote gateways. -Joe There is a mapping already called appCFCs to the CFCs directoryused to call the local/internal CFC. The problem is that the mapping doesn't seem to work when the container web service (on the same server) uses that mapping to call the local/internal CFC. Am I not gettin you Joe? ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com http://www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211674 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Web service caling local CFC
To be honest, the first time I saw this someone else dealt with it and that was what he did to fix it. I don't know why it doesn't work with mappings. I don't even know if this is consistent behavior or a case-by-case thing. Why? is a very good question indeed. On 7/12/05, Bryan Stevenson [EMAIL PROTECTED] wrote: From: Paul Kenney [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, July 12, 2005 1:10 PM Subject: Re: Web service caling local CFC Yeah, you have to add a virtual directory in the jrun-web.xml file under {webroot}/WEB-INF Thanks Paulbut care to elaborate...virtual directory for what purpose??? to use to reference the local CFC from within the web service CFC? why can't the web service use the CF Admin mapping appCFCs like CFM template can? TIA Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com http://www.electricedgesystems.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211683 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Event Gateway's and runaway threads...
This global setting is something you could also override for all gateway CFCs in a directory using the cfsetting tag in an Application.cfc or Application.cfm file. On 4/13/05, Sean Corfield [EMAIL PROTECTED] wrote: On 4/12/05, dcooper @ macromedia. com dcooper @ macromedia. com [EMAIL PROTECTED] wrote: The Async CFML Gateway looks for optional CFEvent structure field timeout, and if it exists, sets the time-out, in seconds, during which the listener CFC must process the event request and return before ColdFusion gateway services terminates the request. The default value is the Timeout Request value set on the Server Settings page in the ColdFusion MX Administrator. Set this value if a request might validly take longer to process than the default timeout; for example, if the request involves a very long processing time. Learn something new (and useful) every day - thanx Damon! So by default, there's no timeout (so event gateway processes could run forever). If you check the setting in CF Admin (because you want to timeout HTTP requests) then it also affects event gateway requests, unless you can override it in a specific event gateway? (for the asynchronous gateway, you can obviously pass a much higher timeout value in the event struct but what about the other gateways, like the Directory Watcher?) -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202710 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Can we pitch in to send one of the goodguys to CFUNITED?
I would like to meet Jared myself, so its in my best interests to help him out. Can't think of a better way. On Apr 4, 2005 1:51 PM, Will The Game [EMAIL PROTECTED] wrote: Hey all, As you know, Jared R-H posts quite a bit here. He's helped me out a ton, and probably has helped many of you as well. He's an exceptional CF'er, JS'er, blogger and provides plenty of great code for us to use. As of right now Jared will not be able to attend CFUNITED do to some unfortunate personal events, so I'd like to ask everyone on the list if they could chip in to help him make it to CFU. I'm not going to be able to make it myself, but if I can chip in to help someone else go I will. And I can't think of anyone better than him for the trip! If you feel the urge to help another CF'er get to CFU, maybe you can think about visiting his blog and making a small donation. http://www.web-relevant.com/blogs/cfobjective/ I'll be donating $25 myself. If only 30 of us were to donate that amount, it'd go a long way to get him there. Thanks much, Will ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201458 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Re[2]: CrystalTech does not like negative comments!
No, you can't do that at CrystalTech... they make heavy use of security sandboxing. On Fri, 1 Apr 2005 12:18:31 +1000, Ryan Sabir [EMAIL PROTECTED] wrote: Not sure about CrystalTech's security on shared servers.. but last time I was on a shared server, using CFDIRECTORY I able to merrily traverse everyone elses sites on the same server as me.. I think if security is even a small concern you should not be looking at a shared service... ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201120 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFUnited - Where's Macromedia?
Microsoft's taking over Macromedai!? Oh no, not again! I don't how many times I can take it! In all seriousness, I think this discussion should either end or go over to cf-community. -- Paul Kenney [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pjk.us ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200244 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFEclipse VSS
But when will it come out? On Thu, 17 Mar 2005 19:36:06 -, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Shadowing is your friend. Also the next version of VSS will be far improved with regards to Web Development. -Original Message- From: jonese To: CF-Talk Sent: 17/03/2005 16:21 Subject: SOT: CFEclipse VSS Just a quick question and if possible a point to tell how to do this. I have Eclipse installed, i have CFEclipse Installed (latest nightly build), i have the VSS Plugin Installed. What I want to do is develop locally and then deploy to a development testing server. I have my VSS to use my local computer as the place to pull the files down to, and it will check-in and checkout AOK but i can't figure out how to get the files form my local machine up to our development server. I know this is a REALLY basic question but i'm VERY new to Eclipse / CFEclipse. any help is appreciated! jonese ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199199 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Object composition and calling objects
Out of curiosity, what is the objective your code aims for? On Wed, 16 Mar 2005 09:48:12 -0800, Barney Boisvert [EMAIL PROTECTED] wrote: Take a look at the Tartan framework. It looks really confusing initially, but it takes care of inter-object relationship problems with a remarkable degree of simplicity once you get your head around it. I've also had great success with taking the configuration management objects (AppLoader, AppManager, ListenerManager, PropertyManager, etc.) from Mach-II, tweaking them to handle different object types (services, daos, etc. rather than listeners, filters, events, etc.). It's simpler than Tartan, and targetting a different objective, but its quite effective if you already have a functioning object model and just need an abstract way to wire it together. Tartan, just for comparison, is a framework for implementing the business logic as well as managing the various objects. cheers, barneyb On Wed, 16 Mar 2005 19:54:02 +0800, James Holmes [EMAIL PROTECTED] wrote: I'd like to check on some of the reading I've been doing. I am starting to use composition in my CFCs (because I only use inheritance for an is-a relationship). I want to reuse the objects I've instantiated in the central object from the outside; the reading I've done suggests the best way to do this is to use a getter method that returns the instantiated object. E.g. I have some sort of central component cfcomponent output=no hint=The central component cffunction name=init output=false returntype=void access=public hint=The method to instantiate a new object cfset oObject1 = CreateObject(component,Component1) cfset oObject2 = CreateObject(component,Component2) /cffunction cffunction name=getObject1 cfreturn _oObject1 /cffunction cffunction name=getObject2 cfreturn _oObject2 /cffunction ...etc etc /cfcomponent I could then, in the CF page that uses the central component, do this: cfset oMyCentralObject = CreateObject(component,CentralComponent).init() !--- now call a method1 in object1--- cfset MyMethodReturn = oMyCentralObject.getObject1().Method1() This is how some articles say it should be done - any feedback? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198998 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFCs and paths...I'm having a couple of problems...
Just create the mapping on both your local and live sites. Use hardcoded fully qualified paths if you can... try to avoid dynamic path names when refering to the names of CFCs. It makes things easier to understand when you look at it later, and if you have to change the names at some point the search and replace should be pretty simple. On Mon, 14 Mar 2005 16:00:44 -0500, Jeff Small [EMAIL PROTECTED] wrote: paths to cfcs have to be absolute wite createObject() A pita for site portability, eh? There are ways around this. You could create a CF mapping called com to C:\Inetpub\wwwroot\com\. Then place your CFCs in there in teh 'Java way' C:\Inetpub\wwwroot\com\domainname\app1\mycfc.cfc Then all your CFC calls would be the same anywhere as com.domainname.app1.mycfc I sometimes set an application scoped var application.rootdir and use something like cfset toolsobj = CreateObject(Component,#Replace(application.config.getAppRoot(),/,.)#.pathtocfcs.inmy.app) / Doug Okay...well...that kinda reeks. I'm still a little confused, but I obviously have more to read, so rather than complain here, I'll quietly go read what I need to get it to work. Jeff, confused ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198703 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFCs and paths...I'm having a couple of problems...
A single mapping should be a one time thing, so it *shouldn't* be a big deal for them. On Mon, 14 Mar 2005 16:19:28 -0500, Jeff Small [EMAIL PROTECTED] wrote: Just create the mapping on both your local and live sites. Use hardcoded fully qualified paths if you can... try to avoid dynamic path names when refering to the names of CFCs. It makes things easier to understand when you look at it later, and if you have to change the names at some point the search and replace should be pretty simple. Yeah, I've got nothing dynamic. So you're saying I should ask my ISP for a mapping? Think they'll do that? Is that a normal thing for ISPs to offer? This is just a little local telco, and it's a little pro bono site, so I'm wondering if asking for a mapping on their end would be a pain, because honestly, at this point, I don't care if it's a pain, I just want it to work. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198708 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFCs and paths...I'm having a couple of problems...
The issue with dynamic paths is that you can't do any type-checking at all in the cffunction, cfargument, and cfproperty tags. For me, this is too important since it saves a lot of time debugging. It also makes the structure of component files clearer since I am always having to use it. It may seem like more work, but it pays you back later. On Mon, 14 Mar 2005 16:24:54 -0500, Bosky, Dave [EMAIL PROTECTED] wrote: Define in application.cfm file. You only have to look and change in a single location. If at some point the location changes you don't need to search and replace you know exactly where to look. Also what's up with little local telco's? I think they rule! -Original Message- From: Jeff Small [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 2005 4:19 PM To: CF-Talk Subject: Re: CFCs and paths...I'm having a couple of problems... Just create the mapping on both your local and live sites. Use hardcoded fully qualified paths if you can... try to avoid dynamic path names when refering to the names of CFCs. It makes things easier to understand when you look at it later, and if you have to change the names at some point the search and replace should be pretty simple. Yeah, I've got nothing dynamic. So you're saying I should ask my ISP for a mapping? Think they'll do that? Is that a normal thing for ISPs to offer? This is just a little local telco, and it's a little pro bono site, so I'm wondering if asking for a mapping on their end would be a pain, because honestly, at this point, I don't care if it's a pain, I just want it to work. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198712 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: So does CF 7 Suck, Or Crystaltech?
Or no other hosting company has enough customer that make it so public... even Macromedia has run into this problem on their site. You have to assume that they will get it worked out. Maybe most other companies don't enable J2EE sessions (among other things)... something to consider. On Mon, 14 Mar 2005 18:00:07 -0400, Irvin Gomez [EMAIL PROTECTED] wrote: It must be a problem with Crystaltech. No other hosting company has suffered the same problem. You do the math... I've been following the Crystaltech session issue with moderate interest. I say moderate because its not really my problem yet, as I and my clients are running either CF 6.1 or CF 5. But talking to another client today, looks like I'll be setting up a server for him sooner rather than later, so the issue is coming into sharper focus for me. Especially since his dedicated servers are housed by the above-mentioned host. Crystaltech says the problem -- a disastrous one from the sound of it -- is all about Macromedia screwing up CF 7 somehow. Others are saying its not MM, or more accurately others are saying that CF 7 has been working for them just dandy for ages. As far as I can tell MM has kept a fairly low profile on this. Possibly to avoid giving a partner a black eye if it speaks up? I've never seen the problem but if something new has been injected into CF, what is the solution to keeping it stable? As in don't ever do X. Or has the bugfinding and fixing not gotten far enough yet to know? -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198739 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: So does CF 7 Suck, Or Crystaltech?
I don't know if this is simply a case of failure under load, but a combination of issues. Besides Michael, how many sites do you have running on the House of Fusion server? I'm guessing that it isn't anything like the number of sites a shared hosting environment has... like somewhere between 60 and 100. A server used for shared hosting isn't (and shouldn't be) set up the same as a dedicated server. There are many more issues that have to be considered and--I'm sure--lots of custom configurations. Basically, the issues going on at CrystalTech are probably not going to be as big a deal if you operate your own machines... there is always a trade-off. On Mon, 14 Mar 2005 19:48:29 -0500, Michael Dinowitz [EMAIL PROTECTED] wrote: There were specific cases (such as House of Fusion) where Macromedia allowed production servers to use the beta. I'd say that there was some heavy load testing. Macromedia strongly discouraged beta testers installing CFMX7 on production servers. So many of the things we are seeing could not have been tested if we played by the rules. Most testing was probably done under very light loads. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198760 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: URL masking and application.cfc
Just like Application.cfm On Mon, 14 Mar 2005 22:44:17 -0800, Sean Corfield [EMAIL PROTECTED] wrote: On Mon, 14 Mar 2005 23:42:38 -0500, Michael Dinowitz [EMAIL PROTECTED] wrote: Will application.cfc be executed whenever CF fails to find the messages_4_38946.cfm page? Theoretically it should. I think you'll find it is not. Application.cfc gets instantiated and executed at the beginning of processing a file _once_ the file is _found_. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198774 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problems at CrystalTech have gotten ugly!
Well, for Application.cfc, here is my solution: cffunction name=onError returntype=void access=public hint= cfargument name=exception type=any required=true hint=/ cfargument name=eventName type=string required=true hint=/ !--- --- cfset var redirectUrl = cgi.scriptName cfset var expirationDateTime = NULL cfif arguments.exception.message IS Session is invalid AND IsDefined(cookie.jsessionid) cfset expirationDateTime = GetHttpTimeString(DateAdd(d, -1, Now())) cfheader statuscode=302 statustext=Moved Temporarily/ cfheader name=location value=#redirectUrl#/ cfheader name=Set-Cookie value=JSESSIONID=;expires=#expirationDateTime#;path=// cfelse cfoutput h3Sorry, but there seems to have been an error:/h3 p#arguments.exception.message#/p /cfoutput /cfif /cffunction I'm using for my own sites at CrystalTech... let me know if this works for you On Sat, 12 Mar 2005 14:04:18 -0600, James Edmunds [EMAIL PROTECTED] wrote: Update. No, this isn't good, because once you get past the Session is invalid period (60 minutes), you get sessions that change with each page load, and are therefore useless as they do not persist from page to page. All the workarounds I have seen for this problem either (1) have you rename the applicaton, on failure, therefore restarting the entire application (!!!), or (2) don't let sessions work properly once you get into the time when J2EE throws the invalid session error. Oh, well. For now I am letting site visitors see the nice narrative error message served up from my CFACTCH, and hoping for the best with CT and MM somehow getting the issue resolved. FWIW, here is the text of my error message, whose tone and purpose I hope are self-explanatory: NEW SOFTWARE UNDER TESTING Currently, we are testing the new Version 7 of ColdFusion MX on the site jamesedmunds.com, prior to deploying it on any of our client sites. This also affects the weblog Poor Clio. One issue we have encountered is an Session is invalid error when a page is reloaded on a web browser after a length of idle time, or even in browsing away from this site and returning to it. If you are reading this message, it is likely because of that condition. A solution that sometimes works during this test period is to completely exit your browser program, then re-open it and browse to this site again, at which point it should load normally. We are in touch with our CFMX host's support team to attempt to resolve this issue. Though there are many attractive new features in this version of ColdFusion, we quite naturally will not move any client sites into this version of CFMX until all such issues are resolved. Meanwhile, thank you for your patience with the fact that we are testing the new software on this site, which will ultimately bring us the benefit of resolving problem issues so that the attractive features of the new software are available to our clients. Cheers to all, James Edmunds On Fri, 11 Mar 2005 21:58:33 -0600, James Edmunds [EMAIL PROTECTED] wrote: Yes, I seem to be having good luck with this fix,also. -JE On Fri, 11 Mar 2005 11:20:06 -0700, Connie DeCinko [EMAIL PROTECTED] wrote: So far, this seems to be working for me. Have not seen an error... Yet. cftry cfapplication name=theName applicationtimeout=#createtimespan(1,0,0,0)# clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#createtimespan(0,0,20,0)# setclientcookies=Yes cfcatch type=Any cfapplication name=theName applicationtimeout=#createtimespan(1,0,0,0)# clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#createtimespan(0,0,0,0)# setclientcookies=Yes /cfcatch /cftry -Original Message- From: Nando [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 11:10 AM To: CF-Talk Subject: Re: Problems at CrystalTech have gotten ugly! I have the Session is Invalid error happen on my development machine from time to time, and i've seen it on 6.1, so it seems this has nothing to do with the webhost, or with mx 7.0 in particular. I've made a few stabs at fixing it, but since it occurs kinda out of the blue, it's been a little hard for me to figure out what's been going on. Bud, thanks for nailing this issue, at least to the extent that i can deal with it gracefully. :-) Nando ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours
Re: Problems at CrystalTech have gotten ugly!
Good points. onSessionEnd() would be a good place to do this, except that it does not run in the context of a HTTP request. In other words, you can't remove the cookie from the browser. The reason I didn't really go for this when using cfapplication in Application.cfm, was that simply catching the exception and using another cfapplication tag with a session timeout of 0 seconds seems good enough. Maybe not... I really don't know :) -- Paul Kenney [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pjk.us ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198568 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problems at CrystalTech have gotten ugly!
Anyone have any idea how this same fix can be modified for use in Application.cfc? On Fri, 11 Mar 2005 11:20:06 -0700, Connie DeCinko [EMAIL PROTECTED] wrote: So far, this seems to be working for me. Have not seen an error... Yet. cftry cfapplication name=theName applicationtimeout=#createtimespan(1,0,0,0)# clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#createtimespan(0,0,20,0)# setclientcookies=Yes cfcatch type=Any cfapplication name=theName applicationtimeout=#createtimespan(1,0,0,0)# clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#createtimespan(0,0,0,0)# setclientcookies=Yes /cfcatch /cftry -Original Message- From: Nando [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 11:10 AM To: CF-Talk Subject: Re: Problems at CrystalTech have gotten ugly! I have the Session is Invalid error happen on my development machine from time to time, and i've seen it on 6.1, so it seems this has nothing to do with the webhost, or with mx 7.0 in particular. I've made a few stabs at fixing it, but since it occurs kinda out of the blue, it's been a little hard for me to figure out what's been going on. Bud, thanks for nailing this issue, at least to the extent that i can deal with it gracefully. :-) Nando ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198454 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Automated testing? Is it possible for web development.
Heard of cfcUnit? Check it out: http://www.cfcunit.org On Wed, 9 Mar 2005 18:37:13 -0500, DURETTE, STEVEN J (AIT) [EMAIL PROTECTED] wrote: Hi all, I've been reading a lot of articles lately about automated testing and I'm hoping a few of you can answer some questions. Are there any automated testing systems for developing web projects? (Even better CF Specifically) We have problems all the time of short due dates, we do our minimal testing because of the due dates and then the client (generally not the end user, but the claim they are) is supposed to do in-depth testing. Generally they don't, then a few hours after roll out (we do internal web development only) the errors start coming in from things we didn't expect. Some of it is due to sloppy coding (a couple of our programmers just do the bare minimum to get something into a semblance of working)! I would like to be able to implement some sort of automated testing to make this big pain a little smaller. Having to learn an entire framework (and trying to get some of these programmers [if you can call them that]) most likely won't happen. And before it comes up we do have a tool that checks code for coding/improper use errors, but it doesn't do any actual testing. Maybe I'm just dreaming of nirvana, but I thought I'd give it a try. Steve ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198100 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfset or cfparam in cfc?
Really, I don't think that cfparam is as useful inside CFC methods as it is inside CFM files.I have mostly used cfparam to declare attributes to a custom tag or input values to an included file. It makes sure that required variables exist, and for those that aren't required it can set default values. It also makes sure that the values for those variables are of the right type. The cfargument tag serves this purpose for parameters to function calls, removing the need to use cfparam. On Tue, 8 Mar 2005 15:22:34 -0500, Michael Dinowitz [EMAIL PROTECTED] wrote: Yes. Any time a variable is set inside a CFC method, it should have the var keyword unless you WANT it to be available to other methods in the CFC (i.e. you want it to be in the CFC wide variables scope). This goes for CFPARAM, CFQUERY, and every (every) other location where a variable is set. My practice is to do: CFSET var qProducts= CFQUERY name=qProducts. The question you have to ask yourself is how and why you're using the CFPARAM tag. Hi, I know that when you declare a variable inside a method of cfc, you should use the var keyword in front of it to prevent any conflict with variables outside of it. That is the case with cfset. What about cfparam? When you declare a variable with cfparam, do you have to worry about that? Johnny ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197893 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Retrieving Hint from components
This one is really easy... cfset component = CreateObject(component, {component.name}) cfset hint = getMetadata(component).hint On Fri, 26 Nov 2004 15:01:56 -0600, Andy Ousterhout [EMAIL PROTECTED] wrote: How would I retrieve the hint from a CFC: CFCOMPONENT displayname=Actor hint=An actor is someone who interacts with the system either directly with it or indirectly through an other Actor or output from the system like a fax or letter Andy ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185469 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Retrieving Hint from components
This one is really easy... cfset component = CreateObject(component, {component.name}) cfset hint = getMetadata(component).hint On Fri, 26 Nov 2004 15:01:56 -0600, Andy Ousterhout [EMAIL PROTECTED] wrote: How would I retrieve the hint from a CFC: CFCOMPONENT displayname=Actor hint=An actor is someone who interacts with the system either directly with it or indirectly through an other Actor or output from the system like a fax or letter Andy ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185491 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: DRK 3
That is correct.CFUnit was written by Christian Cantrell and I wrote cfcUnit. Qasim Rasheed wrote: CFCUnit.org and CFUnit in DRK are essentially two different products. AFAIK On Tue, 12 Oct 2004 10:48:38 -0400, Joe Rinehart [EMAIL PROTECTED] wrote: Not sure, but you can get CFCUnit from http://www.cfcunit.org/:) -joe On Tue, 12 Oct 2004 10:42:07 -0400, Dan O'Keefe [EMAIL PROTECTED] wrote: Is it just me, or is the DRK 3 not available for download when you are logeed into the devnet subscription site? I am looking for the CFUnit tool in that version. I know there is a CFCUnit in the openXCF framework. Dan O'Keefe [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Prepared Statements in CFMX
Well, it does do the same thing. The only difference is that you use cfquery instead of using the JDBC API directly.In fact, if you use cfqueryparam, the database turns your query is turned into a prepared statement the first time it is called and sends back a handle to the JDBC driver.For all subsequent calls to that query, only the handle and the bound parameters are sent to the database--not the entire query. On Tue, 21 Sep 2004 22:59:41 -0400, Joe Eugene [EMAIL PROTECTED] wrote: Yes, i have looked at cfQueryParam. I dont think it works the same as below. http://java.sun.com/j2se/1.4.2/docs/api/java/sql/PreparedStatement.html Joe Eugene -Original Message- From: Matthew Fusfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 9:28 PM To: CF-Talk Subject: Re: Prepared Statements in CFMX Have you looked into CFQUERYPARAM ? It allows you to do parameterized queries and does type checking. Matt On Tue, 21 Sep 2004 21:03:42 -0400, Joe Eugene [EMAIL PROTECTED] wrote: Is there an easy way to execute a Prepared Statements directly in CFMX? i.e Using the API via cfscript, just like java prepared statements? Thanks, Joe Eugene [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: UML Modeling
Michael, I second Matt's suggestion that you consider hosting your code on SourceForge under the OpenXCF project.I added the cfcUnit Testing Framework recently, and I am pretty happy with how the code is managed and made available through CVS and their software release system. You can find OpenXCF at http://openxcf.sourceforge.net http://openxcf.sourceforge.net/ I also have done a little work on parsing XMI documents, and would be interested in contributing to your XML to CFC converter.Placing it under CVS at SF would be a great way to enable this.I would be happy to discuss this with you further if you wish.. -Paul Kenney Matt Liotta wrote: I suggest hosting the code at OpenXCF (sf.net/projects/openxcf), which already has all the infrastructure and several contributors. -Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Wolfe Sent: Saturday, August 28, 2004 3:18 AM To: CF-Talk Subject: RE: UML Modeling I have been working on an XMI to CFC converter... It's still unfinished, but I've got it to the point where it will generate a structure that contains the definitions for the package, classes, attributes, functions, etc. It's a short step from there to generating CFC's. If anyone is interested in working on it, I have posted the code at http://www.mikeycentral.com/cfcxmi/xmi.zip Michael Wolfe _ From: Ian Sheridan [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 7:45 AM To: CF-Talk Subject: Re: UML Modeling wow thanks for pointing out ArgoUML. works great. Now somebody has to create the XMI translation CFCs. I would try but I just don't have the time at the moment. Ian [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: BLACKSTONE: Software Development Times Article
Matt, what exactly is your point... besides that the Event Gateway isn't that great of an idea?Are you just trying to be contrary? On Tue, 17 Aug 2004 10:58:42 -0400, Samuel R. Neff [EMAIL PROTECTED] wrote: If what you need to do is integrate with SMS, IM, Sockets, or any of the built-in gateways, then the chances it does what you need are really good. Sam -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 10:08 AM To: CF-Talk Subject: RE: BLACKSTONE: Software Development Times Article Of course, the architecture is extensible, so if you need a Gateway to something and we don't include it, if you have Java skills, you can build your own for CFML developers to use. That is the key point, it requires Java skills if one of the built-in gateways doesn't do what you need. What is the likelihood of the built-in gateways doing everything you need? -Matt [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: BLACKSTONE: Software Development Times Article
Fair enough. On Tue, 17 Aug 2004 13:04:44 -0400, Matt Liotta [EMAIL PROTECTED] wrote: Matt, I might be wrong here, but I don't think it's Macromedia's intention to make it COMPULSORY for you to use the new feature. I don't think anyone even implied that. I think you could take almost any aspect of ColdFusion and there would be people who would say I have no idea why they bothered to put that in the product - we never use it. What a waste of time THAT was! Sure, but the question is always how many. If most people feel that way then it was a waste of time. If most people don't feel that way then it likely wasn't a waste of time. My assertion is that features like Flash-based forms have much wider appeal. So you wont use this feature.Ok .. Don't.But I'll bet you'll find plenty that will make your life better/simpler/more efficient.Every version of CF so far as done that for us, and I reckon most of the others on this list too. I didn't state I wouldn't use this feature. I simply responded to the notion that is an important feature. I don't think it is. -Matt [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: BLACKSTONE: Software Development Times Article
Matt, don't you realize that the event gateway IS external Java invocation of CFCs?I remember you complaining about not being able to to this without really digging really deep and that it really wasn't recommened due to its fragile and tricky nature. Isn't nice that MM has provided a public, documented and fully supported API for interacting with CFMX via extenal Java code? Sure, the event gateway is not the most wiz-bang feature in store, but decoupling CFMX from the HTTP protocol (not the browser) and making that lower level interaction simple and accessible is a very important change. Think about this... don't like the way CFMX handles webservices? Thinks its buggy and a pain to use?Just don't want to use Axis because you have a better idea? Write your own event gateway for webservices and that utilizes some other SOAP engine.Want to implement SOAP via SMTP which CF doesn't really do?Write your own gateway. Come on Matt.Java's great, but why bother with it if you don't have to... especially if you can do it easier in CF? On Tue, 17 Aug 2004 22:37:45 -0400, dave [EMAIL PROTECTED] wrote: matt, does anything make u happy? my god man what can we do 2 put some sunshine up yer bum? -- Original Message -- From: Matt Liotta [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date:Tue, 17 Aug 2004 22:03:56 -0400 I'd already built a standard CF app that took XML files and imported them into Oracle Applications via the database. The event gateway has allowed me to receive XML messages asynchronously and use the same code to process them as I was already using for the XML files. JMS is much more reliable than shuffling files around and lets me process data in real time instead of using a scheduled task to poll the FTP server for new data files... What about the event gateway allowed you to do this exactly? I can receive XML message asynchronously now. I can imagine that the event gateway allows you to do this more elegantly than current solutions. However, the only missing piece currently is Java invocation of CFCs. It almost seems like Macromedia went to far since the event gateway likely constrains people where as Java invocation of CFCs does not. -Matt [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: advice on structure and cfcs (petmarket related)
I would suggest that you look at the code that drives the MachII framework.It might give you some ideas on how CFCs can be used and what they are capable of doing.On that note (beware: shameless plug), you could also check out cfcUnit at SourceForge (http://sourceforge.com/projects/openxcf).It is another framework that is driven 100% with CFCs. stylo stylo wrote: I'm not interested in Fusebox, and MachII is a bit much to begin with, maybe later. I am worried, however, about the speed of MachII. I thought FB3 apps ran slowly, and MachII is apparently slower, no? I do have Ray's BlogCFC and need to look at it more, but, to be honest, at first glance I find the structure of it a bit confusing, what with all the folders and ini file, though I will certainly study it, especially the cfcs and flow of it. Thanks, Ray! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: ListGetAt vs. ListToArray
The first thing I ask when someone poses a question like this is, How often does this run?If it is a batch process that runs once a day during non-peak times, it does not matter how efficient it is.It just has to get done in a timely manner.Too many people will toil over finding the most elegant solution, wasting hours of time researching obscure uses of SQL and interesting algorithms.This very simple question brings you back to the reality of the problem at hand and not the imagined scenario where thousands of people are pounding away at your batch process and brings your server to its knees all because you stored something in an array of structs instead of a recordset, a list instead of an array, or you make a lot of calls the database.Worry about performance where it really counts--the interactive part of the site. On Tue, 3 Aug 2004 14:52:50 -0700, Matt Robertson [EMAIL PROTECTED] wrote: from http://livedocs.macromedia.com/wtg/public/coding_standards/performance.html quote Don't slavishly convert lists to arrays Even though manipulating an array is generally faster than manipulating a list in CFMX, if you simply need to iterate over a list of items and process each one in turn the faster construct is cfloop list=#itemList# index=x ... /cfloop. Don't convert itemList to an array and then loop over that - it's not worth it because it probably won't be faster. /quote I'd say If you are building something from scratch and have to choose from making it a list or an array, do the array if you can, but otherwise just work the list and don't sweat it unless you are really in a resource bind and you can demonstrate a meaningful performance gain. -- --Matt Robertson-- MSB Designs, Inc. mysecretbase.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: How to make CF session variables available to PHP
You could always transfer the data between the two systems via wddx. When PHP wants the session data, it could make an HTTP request to a .cfm server for a serialized version of the session.If CF wants to see the session data used by PHP, it could also make an HTTP request to a .php file for a serialized version of the session. On Tue, 27 Jul 2004 11:41:44 +0100, Greg Stewart [EMAIL PROTECTED] wrote: Don't believe this is directly possible. You might be able to do something using cookies and/or client vars though. Cheers G On Mon, 26 Jul 2004 16:42:41 +0100, Dave Wilson [EMAIL PROTECTED] wrote: Hi all, I've a section of development ongoing with PHP developers and it has come to the stage where we'd like to share session variables between php and cfml code in order to fully integrate our applications. Has anyone had much luck in accessing CF's session scope directly from php? We're running CFMX 6 Pro on Debian Linux with Apache 2.0.49 __ Dave Wilson, CTO Integrated Autos Solutions Ltd. (Karsystems) 155 Northumberland Street, Belfast, BT13 2JF t: +44 (0) 28 9024 3123 f: +44 (0) 28 9024 3124 e: [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: MAX 2004 (MVC's Session)
Joe, First, you aren't going to find anything that shows you how to do any of these things using MVC.The reason for this is that these types of solutions general are the realm of the model.It seems that you are incorrectly using the term MVC and I would recommend that you go and brush up on the types of problems this particular pattern tries to solve. It is true that you will not find much domain specific guides on the architecture of different types of applications.There is a lot of general and more useful information about how to design and build large-scale applications.Many of these books are hiding under the categories of Patterns or Software Engineering.If you want a list of books, I and others would be glad to help you out. On Mon, 19 Jul 2004 11:45:27 -0400, Joe Eugene [EMAIL PROTECTED] wrote: or online? There's plenty of material out there covering large scale applications (just none for ColdFusion, of course - that's why you need to read a broad spectrum of stuff and then apply it to your own work). Most of the material you find online/books targets towards A SMALL Module. e.g. Security, Shopping, Order Tracking etc. The above does NOT necessarily help you build large modules that tightly intergrate with one another. e.g. How can you apply an MVC to build modules like the below?. - Finance - Sales and Distribution - Order Managment - Sales Commissions - Inventory Control - Logistics Large Corporations normally buy ERP Packages to fulfill alot of above but still have Web Application Extensions. If you ignore the Basic Framework and build independent applications around the ERP, you end up with Disparate Systems. So does it make sense to extend the modules of the ERP System? If so how can you relate the modules to reusable components? What can you categorize as Service VS Product? Where do adminstrative functions fit in the picture? How does Reporting fit in these modules? (Independent Reporting?) How can you tie all this up into MVC's? The has been alot of discussions on MVC's and Programming related topics to specific problems but i havent seen any discussions on the Big Picture of solving Enterprise Problems. I think a session on the above topics and problems developers have faced in these areas and any possible solutions might go a long way in helping alot of us Design Applications. Thanks, Joe Eugene - Original Message - From: Sean Corfield [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, July 19, 2004 10:47 AM Subject: Re: MAX 2004 (MVC's Session) Yes, there is are a TON of other research papers out there but nothing really that you could use to model Large Applications. Sure there is - where are you really looking? You're local book store or online? There's plenty of material out there covering large scale applications (just none for ColdFusion, of course - that's why you need to read a broad spectrum of stuff and then apply it to your own work). [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: MAX 2004 (MVC's Session)
I'm glad to hear that, Simon.I'm looking forward to hearing more about this. On Mon, 19 Jul 2004 18:01:02 +0100, Simon Horwith [EMAIL PROTECTED] wrote: FYI - I will soon be releasing a book that tackles a lot of these queries.Can't say anything more at the moment... stay tuned! ~Simon Simon Horwith CTO, eTRILOGY ltd. Member of Team Macromedia Macromedia Certified Master Instructor http://www.cfstandards.org Joe Eugene wrote: sessions.If you really want to know about these things, first do your homework and read a few books. I could probably tell you names of all the architecture books Borders/Barnes Nobles carries. Perhaps if you try to do some reasearch yourself into these topics, you will find a few conflicting development design patterns. Yes, there is are a TON of other research papers out there but nothing really that you could use to model Large Applications. Joe - Original Message - From: Paul Kenney [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, July 19, 2004 1:31 AM Subject: Re: MAX 2004 (MVC's Session) In general, I don't know if conferences are really where you will find in-depth information on these topic.This is mainly because they are not simple and do not fit within the short format of individual sessions.If you really want to know about these things, first do your homework and read a few books.Then when you get to the conference, find your peers and discuss it in more detail with them. See what others are doing and what they think about these topics. Sometimes you learn more between sessions than you do in all of them combined. On Sun, 18 Jul 2004 22:19:27 -0700, Sean Corfield [EMAIL PROTECTED] wrote: I believe what we are looking for is a session on Enterprise Development that includes MVC's, Sevice Oriented Architecture, Integrating legacy systems etc Basically routes to Architect Extensible Enterprise (ERP Like) Systems? I think you're more likely to find that sort of stuff at CFUN than MAX. The audience for MAX is very broad and MAX has to cater for a very large community that extends far beyond ColdFusion. Even CFUN caters for a very broad (ColdFusion) community. Things like SOA are not on most CFers' radars at the moment (and probably never will be). I accept their is a need for such topics somewhere but even from where I sit - as an enterprise architect - I would say that the audience for such topics is relatively small. Having said that, I'm very pleased to see interest in these topics here. It speaks volumes for the maturity of the CF community that such things are even being discussed. I'd love to see some sessions of this nature at CFUN-05... [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: MAX 2004 (MVC's Session)
Yes, they are. Thanks for tip, i was looking under Jokes ;) There ya go!Glad to be of service. :) -- Paul Kenney [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: MAX 2004 (MVC's Session)
By MVC do you mean Model View Controller? On Mon, 19 Jul 2004 11:22:54 -0700, Paul Kenney [EMAIL PROTECTED] wrote: Yes, they are. Thanks for tip, i was looking under Jokes ;) There ya go!Glad to be of service. :) -- Paul Kenney [EMAIL PROTECTED] -- Paul Kenney [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: calling CFC in with dynamic variable - what am I missing here?
Ok, so what other methods does Display_Tables() call? On Sun, 18 Jul 2004 12:00:54 -0400, Peter Farrell [EMAIL PROTECTED] wrote: No, Get_Phone_Messages() does not call any other method/functions. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: MAX 2004 (MVC's Session)
You are the first person to disagree with me about it being a commercial.I just know that I came away from it last year with mixed feelings.I'm not saying that I didn't enjoy it.Its just that I guess I expected something more.By the way, it was my first conference... so who knows what I expected--Disneyland perhaps? Having been to MAX last year and CFUN04, I must say that I felt a whole lot better about my decision to go to CFUN. The good thing about MAX, though, is that I was able to get an idea of what was going on in other areas of development such as Flex and Flash.It is partly because of this that I will be going again this year.Its also nice to get away from work for a week! On Sun, 18 Jul 2004 20:13:26 +0100, Simon Horwith [EMAIL PROTECTED] wrote: I didn't think it was a 3-day commercial.quite honestly I thought the quality of speakers was better than ever as were the topics, although there weren't as many CF topics as I'd have liked.This year definitely looks to be the same so far, though the location is obviously much better. ~Simon Simon Horwith CTO, eTRILOGY ltd. Member of Team Macromedia Macromedia Certified Master Instructor http://www.cfstandards.org Paul Kenney wrote: It was mostly a 3-day commercial last year.However, I've heard that MM got so much flack for last year's MAX, that this year they will not do that again.That means that this year MAX should be focused on what the community(read attendees) want to see and hear, and less on what marketing wants its captive audience to experience for three days. On Fri, 16 Jul 2004 14:14:36 -0400, Joe Eugene [EMAIL PROTECTED] wrote: I am thinking MAX 2004 might just be more of Trade show for Macromedia Products. -- Paul Kenney [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: calling CFC in with dynamic variable - what am I missing here?
So, the only method that Display_Tables() calls is Get_Phone_Messages.What methods do you have then that are dynamically called with positional arguments? On Sun, 18 Jul 2004 18:32:15 -0400, Peter Farrell [EMAIL PROTECTED] wrote: well, no other methods [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: calling CFC in with dynamic variable - what am I missing here?
Oh, and who calls them? On Sun, 18 Jul 2004 18:32:15 -0400, Peter Farrell [EMAIL PROTECTED] wrote: well, no other methods [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Init() method
First, set output to false on your init() function.Next, add the required attribute to the argument in your init() function and set it to true. On Sun, 18 Jul 2004 18:02:06 -0400, Cutter (CF-Talk) [EMAIL PROTECTED] wrote: So, I have the CFC of which I am trying to start on some webservices stuff. Here is a basic object CFC with it's init function (and nothing else.) Following the code is a copy of wsdl I'm getting back. cfcomponent displayname=Category cfproperty name=ID type=numeric default=0 cfproperty name=category type=string cfproperty name=status type=boolean cffunction name=init access=remote output=true returntype=struct cfargument name=ID type=numeric default=0 cfoutput script alert('we are here'); /script /cfoutput cfscript instance = structNew(); instance.ID = 0; instance.category = ; instance.status = 1; /cfscript cfif arguments.ID neq 0 cfquery name=cat datasource=#application.config.DSN# selecttxtBoutCat as category, blActive as status from tblboutcat2 whereintBoutCatID = cfqueryparam cfsqltype=cf_sql_integer value=#arguments.ID# /cfquery cfif cat.recordcount eq 1 cfscript instance.ID = arguments.ID; instance.category = cat.category; instance.status = cat.status; /cfscript /cfif /cfif cfreturn this /cffunction /cfcomponent ***Error Msg In WSDL*** ?xml version=1.0 encoding=UTF-8? wsdl:definitions targetNamespace=http://test.seacrets.com.cfcomponents.system.seacrets xmlns:impl=http://test.seacrets.com.cfcomponents.system.seacrets xmlns:intf=http://test.seacrets.com.cfcomponents.system.seacrets xmlns:apachesoap=http://xml.apache.org/xml-soap xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/ xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/ xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:tns1=http://rpc.xml.coldfusion xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/ xmlns=http://schemas.xmlsoap.org/wsdl/wsdl:typesschema xmlns=http://www.w3.org/2001/XMLSchema targetNamespace=http://xml.apache.org/xml-soapimport namespace=http://schemas.xmlsoap.org/soap/encoding//complexType name=mapItemsequenceelement name=key nillable=true type=xsd:string/element name=value nillable=true type=xsd:string//sequence/complexTypecomplexType name=Mapsequenceelement name=item minOccurs=0 maxOccurs=unbounded type=apachesoap:mapItem//sequence/complexType/schemaschema xmlns=http://www.w3.org/2001/XMLSchema targetNamespace=http://rpc.xml.coldfusionimport namespace=http://schemas.xmlsoap.org/soap/encoding//complexType name=CFCInvocationExceptionsequence//complexType/schema/wsdl:types wsdl:message name=CFCInvocationException wsdl:part name=fault type=tns1:CFCInvocationException/ /wsdl:message wsdl:message name=initRequest wsdl:part name=ID type=xsd:double/ /wsdl:message wsdl:message name=initResponse wsdl:part name=initReturn type=apachesoap:Map/ /wsdl:message wsdl:portType name=testthis wsdl:operation name=init parameterOrder=ID wsdl:input name=initRequest message=impl:initRequest/ wsdl:output name=initResponse message=impl:initResponse/ wsdl:fault name=CFCInvocationException message=impl:CFCInvocationException/ /wsdl:operation /wsdl:portType wsdl:binding name=testthis.cfcSoapBinding type=impl:testthis wsdlsoap:binding style=rpc transport=http://schemas.xmlsoap.org/soap/http/ wsdl:operation name=init wsdlsoap:operation soapAction=/ wsdl:input name=initRequest wsdlsoap:body use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ namespace=http://test.seacrets.com.cfcomponents.system.seacrets/ /wsdl:input wsdl:output name=initResponse wsdlsoap:body use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ namespace=http://test.seacrets.com.cfcomponents.system.seacrets/ /wsdl:output wsdl:fault name=CFCInvocationException wsdlsoap:fault use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ namespace=http://test.seacrets.com.cfcomponents.system.seacrets/ /wsdl:fault /wsdl:operation /wsdl:binding wsdl:service name=testthisService wsdl:port name=testthis.cfc binding=impl:testthis.cfcSoapBinding wsdlsoap:address location=http://192.168.44.45/seacrets/system/cfcomponents/com/seacrets/test/testthis.cfc/ /wsdl:port /wsdl:service /wsdl:definitions Why can't I get this to work? Cutter [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Init() method
Also, you might want to change your returntype to the name of this component since that's what its returning and not a struct. On Sun, 18 Jul 2004 18:02:06 -0400, Cutter (CF-Talk) [EMAIL PROTECTED] wrote: So, I have the CFC of which I am trying to start on some webservices stuff. Here is a basic object CFC with it's init function (and nothing else.) Following the code is a copy of wsdl I'm getting back. cfcomponent displayname=Category cfproperty name=ID type=numeric default=0 cfproperty name=category type=string cfproperty name=status type=boolean cffunction name=init access=remote output=true returntype=struct cfargument name=ID type=numeric default=0 cfoutput script alert('we are here'); /script /cfoutput cfscript instance = structNew(); instance.ID = 0; instance.category = ; instance.status = 1; /cfscript cfif arguments.ID neq 0 cfquery name=cat datasource=#application.config.DSN# selecttxtBoutCat as category, blActive as status from tblboutcat2 whereintBoutCatID = cfqueryparam cfsqltype=cf_sql_integer value=#arguments.ID# /cfquery cfif cat.recordcount eq 1 cfscript instance.ID = arguments.ID; instance.category = cat.category; instance.status = cat.status; /cfscript /cfif /cfif cfreturn this /cffunction /cfcomponent ***Error Msg In WSDL*** ?xml version=1.0 encoding=UTF-8? wsdl:definitions targetNamespace=http://test.seacrets.com.cfcomponents.system.seacrets xmlns:impl=http://test.seacrets.com.cfcomponents.system.seacrets xmlns:intf=http://test.seacrets.com.cfcomponents.system.seacrets xmlns:apachesoap=http://xml.apache.org/xml-soap xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/ xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/ xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:tns1=http://rpc.xml.coldfusion xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/ xmlns=http://schemas.xmlsoap.org/wsdl/wsdl:typesschema xmlns=http://www.w3.org/2001/XMLSchema targetNamespace=http://xml.apache.org/xml-soapimport namespace=http://schemas.xmlsoap.org/soap/encoding//complexType name=mapItemsequenceelement name=key nillable=true type=xsd:string/element name=value nillable=true type=xsd:string//sequence/complexTypecomplexType name=Mapsequenceelement name=item minOccurs=0 maxOccurs=unbounded type=apachesoap:mapItem//sequence/complexType/schemaschema xmlns=http://www.w3.org/2001/XMLSchema targetNamespace=http://rpc.xml.coldfusionimport namespace=http://schemas.xmlsoap.org/soap/encoding//complexType name=CFCInvocationExceptionsequence//complexType/schema/wsdl:types wsdl:message name=CFCInvocationException wsdl:part name=fault type=tns1:CFCInvocationException/ /wsdl:message wsdl:message name=initRequest wsdl:part name=ID type=xsd:double/ /wsdl:message wsdl:message name=initResponse wsdl:part name=initReturn type=apachesoap:Map/ /wsdl:message wsdl:portType name=testthis wsdl:operation name=init parameterOrder=ID wsdl:input name=initRequest message=impl:initRequest/ wsdl:output name=initResponse message=impl:initResponse/ wsdl:fault name=CFCInvocationException message=impl:CFCInvocationException/ /wsdl:operation /wsdl:portType wsdl:binding name=testthis.cfcSoapBinding type=impl:testthis wsdlsoap:binding style=rpc transport=http://schemas.xmlsoap.org/soap/http/ wsdl:operation name=init wsdlsoap:operation soapAction=/ wsdl:input name=initRequest wsdlsoap:body use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ namespace=http://test.seacrets.com.cfcomponents.system.seacrets/ /wsdl:input wsdl:output name=initResponse wsdlsoap:body use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ namespace=http://test.seacrets.com.cfcomponents.system.seacrets/ /wsdl:output wsdl:fault name=CFCInvocationException wsdlsoap:fault use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ namespace=http://test.seacrets.com.cfcomponents.system.seacrets/ /wsdl:fault /wsdl:operation /wsdl:binding wsdl:service name=testthisService wsdl:port name=testthis.cfc binding=impl:testthis.cfcSoapBinding wsdlsoap:address location=http://192.168.44.45/seacrets/system/cfcomponents/com/seacrets/test/testthis.cfc/ /wsdl:port /wsdl:service /wsdl:definitions Why can't I get this to work? Cutter [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: MAX 2004 (MVC's Session)
In general, I don't know if conferences are really where you will find in-depth information on these topic.This is mainly because they are not simple and do not fit within the short format of individual sessions.If you really want to know about these things, first do your homework and read a few books.Then when you get to the conference, find your peers and discuss it in more detail with them. See what others are doing and what they think about these topics. Sometimes you learn more between sessions than you do in all of them combined. On Sun, 18 Jul 2004 22:19:27 -0700, Sean Corfield [EMAIL PROTECTED] wrote: I believe what we are looking for is a session on Enterprise Development that includes MVC's, Sevice Oriented Architecture, Integrating legacy systems etc Basically routes to Architect Extensible Enterprise (ERP Like) Systems? I think you're more likely to find that sort of stuff at CFUN than MAX. The audience for MAX is very broad and MAX has to cater for a very large community that extends far beyond ColdFusion. Even CFUN caters for a very broad (ColdFusion) community. Things like SOA are not on most CFers' radars at the moment (and probably never will be). I accept their is a need for such topics somewhere but even from where I sit - as an enterprise architect - I would say that the audience for such topics is relatively small. Having said that, I'm very pleased to see interest in these topics here. It speaks volumes for the maturity of the CF community that such things are even being discussed. I'd love to see some sessions of this nature at CFUN-05... [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: calling CFC in with dynamic variable - what am I missing here?
This will do the trick: cfinvoke method=#arguments.function# errorList=#arguments.Error_List#/ On Sat, 17 Jul 2004 17:56:01 -0400, Peter Farrell [EMAIL PROTECTED] wrote: Hi All, Despite all my attempts, I cannot for the life of me figure this one out. I have a CFC method (Display_Table in the application.MessagesCFC) that displays a table of error message (don't ask - employer!).Display_Tables takes two arguments - Function and Error_List.Function is a name of another method in MessagesCFC that Display_Table will call. cfscript application.MessageCFC.Display_Tables(Get_Phone_Messages, 1,2,3); /cfscript I want Display_Table to call whatever function I pass to it in arguments and I also want to pass the list of errors. I.e. Get_Phone_Messages(1,2,3) I want the function I pass to be dynamic - what I am I missing? arguments.Function(arguments.Error_List); Help...? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: calling CFC in with dynamic variable - what am I missing here?
Why?You need to explain a little more then. On Sat, 17 Jul 2004 18:50:17 -0400, Peter Farrell [EMAIL PROTECTED] wrote: Thanks Paul - I thought of that - should of mentioned that. Anyway of passing in the variables by position? cfscript callmefunction(1, 3, 4) /cfscript [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: calling CFC in with dynamic variable - what am I missing here?
Can you show an example of this?I don't think I'm following. On Sat, 17 Jul 2004 19:24:48 -0400, Peter Farrell [EMAIL PROTECTED] wrote: I was wanting to do it in cfscript as well - however I cannot figure that one out. The reason why I wanted to do it by position, is that the methods I'm passing to all of one cfargument but each argument name is different. I guess I could go back and ask for them to be changed. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: calling CFC in with dynamic variable - what am I missing here?
Ok, Get_Phone_Messages() takes a single argument.Are there other dynamically called methods that take multiple arguments? On Sat, 17 Jul 2004 17:56:01 -0400, Peter Farrell [EMAIL PROTECTED] wrote: Hi All, Despite all my attempts, I cannot for the life of me figure this one out. I have a CFC method (Display_Table in the application.MessagesCFC) that displays a table of error message (don't ask - employer!).Display_Tables takes two arguments - Function and Error_List.Function is a name of another method in MessagesCFC that Display_Table will call. cfscript application.MessageCFC.Display_Tables(Get_Phone_Messages, 1,2,3); /cfscript I want Display_Table to call whatever function I pass to it in arguments and I also want to pass the list of errors. I.e. Get_Phone_Messages(1,2,3) I want the function I pass to be dynamic - what I am I missing? arguments.Function(arguments.Error_List); Help...? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: calling CFC in with dynamic variable - what am I missing here?
Ok, I'm taking this step by step,So bear with me... Display_Tables() is a public method that has two arguments: method and values. method is a string, values is a string. Display_Tables() then calls the method specified by the method argument and passes thestring specified in values as its only argument, In this case, the method called is Get_Phone_Messages().It has one argument, which I will call messageIDs.It is a string. Does Get_Phone_Messages() call any other methods? On Sun, 18 Jul 2004 00:06:50 -0400, Peter Farrell [EMAIL PROTECTED] wrote: No, not from the Display_table method. -pjf [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: MAX 2004 (MVC's Session)
It was mostly a 3-day commercial last year.However, I've heard that MM got so much flack for last year's MAX, that this year they will not do that again.That means that this year MAX should be focused on what the community(read attendees) want to see and hear, and less on what marketing wants its captive audience to experience for three days. On Fri, 16 Jul 2004 14:14:36 -0400, Joe Eugene [EMAIL PROTECTED] wrote: I am thinking MAX 2004 might just be more of Trade show for Macromedia Products. -- Paul Kenney [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Testing for file existence across domains
Does the remote server have any scripting/CGI abilites or is it running something like PERL, ASP, JSP, CF?If so, you could simply have the remote server check for you.All you would have to do is tell it which files to check in a list.Does the remote server have FTP access?If so, you could use that to check for file existence as well without having to initiate separate connections for each file. On Fri, 16 Jul 2004 20:31:32 -0500, Rick Dawson [EMAIL PROTECTED] wrote: Why not just use CFHTTP to get the specific file?There's nothing saying that CFHTTP HAS to call an HTML page. Jim Davis Hi Jim, I need to test for the existence some properties will have more than 8 images (those I can get all eight just fine), and some will have anywheres from none through 8. I only want to display images if they are present, and not resort to using a 1-pixel gif as a substitute if there is no image. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Security with CFCs [LONG]
Is this perhaps something that could be generalized for public consumption? On Fri, 16 Jul 2004 20:55:39 -0700, Dick Applebaum [EMAIL PROTECTED] wrote: Jim How did you do that? You got 233 lines pastMichael's 100-line filter. Now as to the content. I read through it and you present a very good case (but that's what you do). I feel like here is a bit too much abstraction -- tho, I can't specifically point to where I also feel (and I hardly ever use the word feel) that this has been done before (many times, many ways). You may, in fact have a breakthrough way of doing authorization, but I got lost in the details of implementation. Tell me what it does why I need it! Respectfully Dick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: RAD (was RE: Best choice for ColdFusion Studio IDE...)
Something else to consider is the idea of the code/language itself as a tool--not to write code, but to get the job done.If you look at it this way, using CFML and a simple (non-integrated) editor could be seen as comprable to using ASP.NET and VS.NET. On Thu, 15 Jul 2004 14:56:37 -0500, G [EMAIL PROTECTED] wrote: I think you're both right in that you are correctly making separate points. I think it is correct to say that stripped of VS.NET and other fancy IDE's, a CF application of moderate difficulty could be constructed and deployed more rapidly than an ASP.NET application of the same ilk. However, you really can't strip the IDE from the Development part of RAD. So when you correctly include the nifty set of tools involved in the entire development arena of .NET, it may be just as 'RAD'ical as CF. (yeah, i'm a child of the 80s) Brian - Original Message - From: Dave Watts To: CF-Talk Sent: Thursday, July 15, 2004 1:53 PM Subject: RE: RAD (was RE: Best choice for ColdFusion Studio IDE...) My point is that CF without any tools provides RAD capabilities, while Java and .NET do not. My counterpoint is that I think you're exaggerating the difficulty of writing ASP.NET code in any generic text editor. It's simply not that difficult. I pointed out some tools other than Visual Studio, but I also pointed out that the code itself isn't that complex in most cases. I also think it's a mistake to base your comparison on how easy it is to develop without tools. Who cares, really? That's what tools are for! Even if ASP.NET were as difficult to read as obfuscated Perl, who cares if you can generate the code without knowing how it works by just clicking your mouse? Sure, it might be more difficult to maintain that code, but we're talking about Rapid Application Development, not Rapid Application Maintenance. And there's no reason why that code can't be maintained through the same tool, either. Thus, I am making the assertion that if CF had the same kind of tooling as Java and .NET then its RAD capabilities would be greater increased. Do you disagree with this assertion? Well, actually, yes, I do. The feature that makes Visual Studio stand out as an ASP.NET IDE is its success at abstracting how web applications work - at a very basic level - away from the programmer. That is, you can take someone who's been building desktop forms-based applications, who has no experience with web applications, and put that person in front of Visual Studio and say, build me a web app. Visual Studio makes the most out of the (largely illusory) event-driven model that ASP.NET allows. The feature that makes CF RAD is the simplicity of the code itself. On the other hand, you have to have more basic knowledge about how web applications work to even get started with CF. CF doesn't abstract the HTTP request-response process away from the developer. Fortunately for all of us, this basic knowledge is easily acquired, and the guy in the previous paragraph would quickly run into limits in the places where the event-driven model breaks down. So, I'm not sure whether a Visual Studio-workalike for CF would make CF developers any more efficent than they already are. In addition, I don't think it would make them more efficient than ASP.NET developers using the same development model, since ASP.NET supports this model while CF doesn't. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hot Button - English pedantry (was: cfmail suddenly not working...very wierd
But Sean, we're not computer people... we're CFers! On Mon, 12 Jul 2004 21:59:25 -0700, Sean Corfield [EMAIL PROTECTED] wrote: But the error message infers that the login is not being accepted. hot button *implies* You might *infer* from the error message that the login is not being accepted. The error message might well *imply* that the login is not being accepted. Sorry, but my wife I were just bemoaning the fact that many people out there don't know the difference between affect / effect, mute / moot, and infer / imply and I swore to her that computer people get infer / imply right most of the time... /hot button [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Finding a local CFUG
Go to http://www.macromedia.com/go/usergroups On Wed, 7 Jul 2004 13:52:26 -0400, Adrocknaphobia [EMAIL PROTECTED] wrote: I'm sure MM has one, but I know every issue of CFDJ has a nice little map with all of them listed. Not sure how up-to-date that is though. -Adam - Original Message - From: Greg Landers [EMAIL PROTECTED] Date: Wed, 07 Jul 2004 12:47:56 -0500 Subject: Finding a local CFUG To: CF-Talk [EMAIL PROTECTED] Hello, Does anyone know if there is an official directory of all Coldfusion User Groups out there somewhere. I want to see if there is one locally available to me. I have googled and googled but have hit a bunch of dead ends. Thanks, - Greg [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
cfcUnit updated
Ok, I've updated the installation... go check it out at http://www.cfcunit.org -- Paul Kenney [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Unit Testing Framework
I am actually making some changes to the distribution and the documentation to make it easier to install.My goal is zero configuration options required inside the files and directory structure.So, don't download it from cfcunit.org until i get it fixed this weekend.I'll let you know when a new version of the zip flle is available. On Thu, 1 Jul 2004 22:25:43 -0700, Paul Kenney [EMAIL PROTECTED] wrote: Yeah, that's me.Go check out www.cfcunit.org.I've got a blog going at www.pjk.us/blog and sean corfield's blog.I'm writing about it and Sean has posted some comments. On Fri, 02 Jul 2004 15:16:00 +1000, Chris Jensen [EMAIL PROTECTED] wrote: Hi, What does everyone here use for their CF unit testing? Someone on this list mentioned they had ported JUnit to Cold Fusion which I was hoping to try out, but I haven't heard back from them for some time. Has anyone had good experiences with any other tools out there? -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Finding good developers
It depends though.If the test is simple enough, it shouldn't be too big a deal. It just makes sure that they understand basic syntax and concepts.I have to agree though, that actual conversation will uncover a lot more about what an interviewee actually knows as long as the interviewer fully understands everything that is said--don't let the candidate get awaywith any BS. On Thu, 1 Jul 2004 08:13:51 -0500, G [EMAIL PROTECTED] wrote: Internet job sites are definitely the way to go, especially when hiring computer programmers. As for the interview, i personally loathe the idea of giving structured tests or projects to job applicants and using the results as a basis for apptitude evaluation.A good interviewer can learn more in a 30 minute informal discussion with someone than from any test. This is especially true with Cold Fusion, who's relative ease-of-use puts a higher premium (in my opinion) on a developer's creativity, ingenuity, and overall personality. Hey, one only need to look at the characters on this list too see what I mean :) Brian - Original Message - From: B G To: CF-Talk Sent: Wednesday, June 30, 2004 4:37 PM Subject: RE: Finding good developers Thanks all for the suggestions.In my experience, my best candidates have been those with whom I've been able to have good discussions with.My interviews are very informal.As one suggestion noted, though someone might not know what MVC stands for, if they can articulate work they've done that results in a certain method, then they probably can produce good code. On sourcing though, other than a site like Craigslist, what have been your best sources for candidates?Newspaper ads?Monster.com?Other job sites? Recruiters? From: Burns, John D [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: RE: Finding good developers Date: Wed, 30 Jun 2004 16:48:41 -0400 One final addition and then I'll shut up... I've been asked by a previous employer what I am most excited about learning or what new CF functionality am I currently playing with/learning/using that excites me.This will let you know if the person is attempting to grow and learn or if they're just someone who has been doing it for years and sometimes if they know it all.I personally value someone who is trying to learn as much as they can (and seems to retain most of it) over someone who is really good at something that is out of touch with new trends and technologies. John Burns -Original Message- From: Whittingham, P [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 4:11 PM To: CF-Talk Subject: RE: Finding good developers If you are looking for example for a Cold Fusion developer, find years of experience in html/css/_javascript_/dhtml and Cold Fusion along with lots of sqlstored procedures. Then ask several questions from easy to hard questions on those areas, givingyour staff to help create the questions. They will at least get an idea of the potential applicate. Also, graphic tools (Photoshop/Fireworks) questions might be good also. Asking for their previous work might be hard for the applicate, since his/her work might be the property of his current employer. I've been involved on both side over the last 25 years and a 'good' developer can sometimes 'sense' a another good one. - Pat From: B G [mailto:[EMAIL PROTECTED] Sent: Wed 6/30/2004 1:24 PM To: CF-Talk Subject: OT: Finding good developers Not to say that this list isn't stocked with good developers! But...As my department is growing my need to find good staff is increasing. I need to find good resources for both full-time positions and temporary contract/project based openings.My experience with headhunters has been very consistent.They're pushy and they don't really care about my staffing needs as long as I place someone.Can anyone offer some advice on companies that offer staffing solutions or other similar resources? Any thoughts on this are greatly appreciated.For local info I am located in Chicago. Thanks! BG [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Unit Testing Framework
Yeah, that's me.Go check out www.cfcunit.org.I've got a blog going at www.pjk.us/blog and sean corfield's blog.I'm writing about it and Sean has posted some comments. On Fri, 02 Jul 2004 15:16:00 +1000, Chris Jensen [EMAIL PROTECTED] wrote: Hi, What does everyone here use for their CF unit testing? Someone on this list mentioned they had ported JUnit to Cold Fusion which I was hoping to try out, but I haven't heard back from them for some time. Has anyone had good experiences with any other tools out there? -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: dynamic path in cfc
Perfectly legal.Go for it. On Tue, 29 Jun 2004 23:19:19 -0400, Ben Densmore [EMAIL PROTECTED] wrote: If I create an instance of a cfc using createObject() can I use an application variable in the path that points to the cfc or does the path have to be hard coded? cfset someObect = createObject(component, #application.cfcPath#.components) / Thanks, Ben [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Blackstone @ CF-FUN '04
New feature: ColdFusion Event Gateway. ColdFusion is no longer tied to the web server.Not exactly sure how to describe it just yet, but basically you can use ColdFusion to do all sort of asynchronous processing of anything you can interact with in Java--JMS, IM, SMS, filesystem change notifications, telnet... You implement a thin gateway interface in Java and it will interact with CFCs that you write to handle certain events.Its kind of like Flash Remoting in that way. It's way cool! Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Alexander Sherwood [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 8:56 AM To: CF-Talk Subject: SOT: Blackstone @ CF-FUN '04 Slight OT here: Anyone catch Ben's Blackstone keynote(s) at CF-FUN? It was rumored that he was going to demo some features not previously shown on the User Group tour this summer. Anyone have the details?!;-) Thanks! -- Alex [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: SOT: Blackstone @ CF-FUN '04
Its not listening on different ports. It is actually listening for event announcements from a custom telnet gateway Java component.The gateway interacts with the OS and calls the appropriate CFC when it needs to.So actually, the gateway listens for telnet connections and passes the requests into CF which then processes them and sends any results(if any) back to the gateway. This is not currently possible with CFMX 6.1.It basically removes the requirement of a web server to use ColdFusion. On Mon, 28 Jun 2004 12:55:14 -0400, Rick Root [EMAIL PROTECTED] wrote: Adrocknaphobia wrote: I'm quite suprised this thread hadnt been started yet. I'm pretty sure we are allowed to talk about it 'in our own words'. Although I dont think I can convey the new gateway functionality nearly as well as Ben. But yeah. excuse the language but there just isnt a better way to put. It's bad ass! The example Ben showed was pretty basic, and functionally possible with current CF technology. He did mention something that would not be possible with current CF technology though - they built a telnet server in entirely CFML. The possibilities available of having CFML listen to a port are pretty immense. - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: SOT: Blackstone @ CF-FUN '04
Agreed. On Mon, 28 Jun 2004 13:16:18 -0400, Rick Root [EMAIL PROTECTED] wrote: Paul Kenney wrote: This is not currently possible with CFMX 6.1.It basically removes the requirement of a web server to use ColdFusion. I didn't say that it was possible to do exactly what Ben showed in the way that he did it.What I said is that you can achieve the same goal of his example using current technology. Ie, a scheduled task that kicks off every 15 seconds and checks the directory for new files, etc... And he said that you can program CFML to listen to sockets... so you CAN write a CFML application that listens to a port for incoming connections.. at least, that was *my* interpretation.He did say the wrote a telnet server written entirely in CFML.Not a custom java component acting as a telnet gateway, but a telnet server written in CFML. I'm sure we'll learn more in the next 9 months or thereabouts. - Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Blackstone @ CF-FUN '04
You won't need a browser, except to manage the CF server--but you might still want to keep writing web apps in CF as well.So don't count the browser out yet! On Mon, 28 Jun 2004 16:43:34 -0700, Dick Applebaum [EMAIL PROTECTED] wrote: On Jun 28, 2004, at 9:14 AM, Samuel R. Neff wrote: What he demoed was the ability to call CFC methods in response to non-HTTP events, such as socket connections, database changes, file changes, etc. So, CF programs can be run without a browser. Now, if you don't need a browser, why do you need a web server? Dick Frisbeetarianism is the belief that when you die, your soul goes up on the roof and gets stuck. - George Carlin - [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Blackstone @ CF-FUN '04
Why not? On Mon, 28 Jun 2004 18:24:30 -0700, Dick Applebaum [EMAIL PROTECTED] wrote: On Jun 28, 2004, at 5:16 PM, Matt Woodward wrote: So, CF programs can be run without a browser. Now, if you don't need a browser, why do you need a web server? Dick The point I got from this (and as Ben Forta said, this is one of those things that two weeks from now I'll think HOLY COW! and have a perfect example of how cool this is going to be) was not that the goal was to eliminate the browser, but rather to open up all the other possibilities that are either difficult or impossible to do in CF today.I'm sure we'll be writing web applications that run in a browser or Flash or whatever new technology comes out next for a long time to come, but these gateways will allow us to talk to anything any time using any protocol, without kludging things together or always being stuck with the http way of doing things. Matt Exactly! I don't want to give up the browser/web server but have them as optional facilities. I have always maintained that CF provides a superior way of implementing some apps -- and the browser interface was just a necessary evil. I have programmed a lot of languages, but for certain things, like ad hoc db reports, CF is unequalled (IMO). So, I guess I could put a Swing front end on a CFMX app and run on the desktop? Dick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFML Visual Studio Plugin
That would be rich! Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 7:56 AM To: CF-Talk Subject: CFML Visual Studio Plugin Anyone know of a plugin to give CFML support in Visual Studio .NET? This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540.It contains information which is confidential and may also be privileged.It is for the exclusive use of the intended recipient(s).If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910.The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: list problem
OK, and...? Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Seamus Campbell [mailto:[EMAIL PROTECTED] Sent: Saturday, June 19, 2004 10:55 PM To: CF-Talk Subject: list problem Hi I have a list I'm trying to read with cffile The list items sometimes have a binding code in the last field and sometimes nothing. So its read as having either 7 or 8 fields. So I'm trying to insert N/A in the last field when nothing is there === AN^Apr04-^1^Bonyhady, Tim and Griffiths, Tom (eds.).^ Prehistory to Politics: John Mulvaney, the Humanities and the Public Intellectual. ^Mulvaney, one of Australia's best known prehistorians, has been an influential figure in public debate and public policy about world heritage, archaeological and conservation practice, the function and operation of museums, and the relevance of the humanities. * R.P. $32.95 now B$/B^7.95^ paper AN^Apr04-^2^De Waal, Frans.^ The Ape and the Sushi Master: Cultural Reflections by a Primatologist. ^The author examines the influence of European ethology and Japanese primatology on the way in which we regard other animals, the possibility of non-human culture within the animal world, and our perceptions of the human race. * R.P. $49.95 now B$/B^19.95^ AN^Apr04-^3^Elliott, Anthony.^ The Mourning of John Lennon. ^Examines the life, works, death and iconic status of this most iconoclastic former Beatle, and discusses the psychology of celebrity. * R.P. $27.95 now B$/B^7.95^ paper AN^Apr04-^4^Frost, Ginger S.^ Promises Broken: Courtship, Class, and Gender in Victorian England. ^The first part concentrates on legal issues. The second part delves into the social issues of the action - e.g. detailing the gender expectations that strongly influenced the verdicts and reasons for broken engagements. The third part explores various cultural ramifications for the action among the elite. Reveals the nuances of courtship, marriage and common law in Victorian England.R.P. $70.00 now B$/B^14.95^ === Records 1 and 3 have paper as the last field but 2 and 4 have nothing . Any ideas on how I can do this Many thanks Seamus Seamus CampbellBoldacious WebDesign http://www.boldacious.com[EMAIL PROTECTED] ph 02 6297 4883mob 0410 609 267 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: ColdFusion Blogging Tool
A very compelling demo! On Sun, 20 Jun 2004 18:47:40 -0400, Michael T. Tangorre [EMAIL PROTECTED] wrote: Sometimes, the paid versions aren't worth the money http://www.countersinkdg.com/demo/admin/login.cfm?url=""> dg.com/demo/admin/index.cfm? Nothing at all against Ray's blog, it does a fine job. I'd like to think, and so far I've not been proven wrong, that BlogFusion has the largest amount of features of any of the CF blogs. Granted it's not free, but free isn't always a benefit either. Sometimes open source software is better than anything on the commercial market, sometimes it's not. Again, nothing against any of the other blogs. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Webhosting and DNS connections to external databases?
Reed, Yeah, actually that sounds like a valid reason.You will also find that it is part of their sandboxed security model.You can only connect to your own database that is associated with your own account. The flip side to that is that other sites hosted by CT cannot access your database.I think this is the more relevant reason, and you will find that most competent hosting companies have this same policy for shared CFMX hosting. If you need to access external databases, then I suggest that you consider other options such as a co-location plan with a dedicated server.If, however, your website could be made to work with the database that CrystalTech provides, then I'd go with that option first.You'll save yourself a bunch of headaches in not having to maintain the DB server yourself.Perhaps you could replicate data from your database to CrystalTech's database via DTS import routines. Hope this helps. On Sun, 20 Jun 2004 21:06:24 -0400, Reed Powell [EMAIL PROTECTED] wrote: HI everyone - I recently signed up with CrystalTech, based to a large extent on the good things I've heard about them here and in the CFDJ survey. However, there is a quirk that took me by surprise... With other hosting outfits that I've used, I had the ability to setup DSNs that pointed to external databases (MS SQL for instance) that were located on a server not at the hosting company (such as in my office).When I asked CrystalTech about this, I got the following reply: In a shared environment, there are only so many connections that a web server can make to a database (asp 1000, CF 50 concurrent).If we allowed all web sites to make connections outside of the network, this would slow the release of the connections and make it impossible to connect to any database eventually.You will need to have a database located at Crystaltech to use the shared hosting. Does this sound right? Also, SOT, anyone have any comments/experiences with IXWEBHOSTING?I'd been using them and they seemed OK, good price/functionality, but lately they've been flakey - loosing my website files and such - anyone else running into this situation? Thanks for the help, -reed [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: RDS support (was Re: CFEclipse release - beta
How about these things: 1. User-level authentication/authorization 2. Database info 3. Component info Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 9:45 AM To: CF-Talk Subject: Re: RDS support (was Re: CFEclipse release - beta We should consider defining what it is we are looking for from RDS and then go forth to create that functionality independently... -Original Message- From:Thomas Chiverton Date:6/15/04 12:24 pm To:CF-Talk Subj:Re: RDS support (was Re: CFEclipse release - beta On Tuesday 15 Jun 2004 17:17 pm, Cary Gordon wrote: Wouldn't it be possible to use openSSH as a base to build an improved RDS type functionality? If you are on Linux, you can already mount a remote machines filesystem using ssh, using User Land Filesystem: http://sourceforge.net/projects/lufs/ -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: RDS support (was Re: CFEclipse release - beta
OK, but consolidated into one single service available on the server. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 6:22 AM To: CF-Talk Subject: Re: RDS support (was Re: CFEclipse release - beta 1. User-level authentication/authorization WebDav 2. Database info JDBC 3. Component info Your IDE. -Matt [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: RDS support (was Re: CFEclipse release - beta
Matt, I know that there are other ways of getting to all this information, but not everyone works (or would like to work) in the same manner.Not everyone has WebDav and CVS installed.Not everyone the flexibility to have the DB installed on their own machine for development.Not everyone has access to the CFC browser--since it uses the much protected RDS password.Wouldn't it just be helpful if the IDE took care of all this for you, and did it well? Come on Matt, wouldn't it? Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 8:04 AM To: CF-Talk Subject: Re: RDS support (was Re: CFEclipse release - beta I guess I don't understand. Why would you have a service that wraps access to your database on your web server when you can just go directly to the database? Again, we aren't talking production, so the database might even be on the same machine as the web server. Personally, the way I have things setup is as follows. I do all my development on my laptop, which has CF and a DB on it. I interact with CF through the file system and with the database through JDBC. Source code is managed with CVS and deployed into production from CVS directly based on tags. With that setup, RDS provides no benefits for me. Now I know that some people use hosting accounts where they can't use CVS for deployments. In that regard, it seems WebDav and FTP work just fine. -Matt On Jun 16, 2004, at 10:48 AM, Paul Kenney wrote: OK, but consolidated into one single service available on the server. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 6:22 AM To: CF-Talk Subject: Re: RDS support (was Re: CFEclipse release - beta 1. User-level authentication/authorization WebDav 2. Database info JDBC 3. Component info Your IDE. -Matt [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: RDS support (was Re: CFEclipse release - beta
Just think of those poor developers that are forced to work off of shared hosting accounts with no WebDav, a single FTP account, an Access database and no RDS access.Oh, the humanity!They could all be saved! Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Paul Kenney [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 8:17 AM To: CF-Talk Subject: RE: RDS support (was Re: CFEclipse release - beta Matt, I know that there are other ways of getting to all this information, but not everyone works (or would like to work) in the same manner. Not everyone has WebDav and CVS installed.Not everyone the flexibility to have the DB installed on their own machine for development.Not everyone has access to the CFC browser--since it uses the much protected RDS password.Wouldn't it just be helpful if the IDE took care of all this for you, and did it well? Come on Matt, wouldn't it? Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 8:04 AM To: CF-Talk Subject: Re: RDS support (was Re: CFEclipse release - beta I guess I don't understand. Why would you have a service that wraps access to your database on your web server when you can just go directly to the database? Again, we aren't talking production, so the database might even be on the same machine as the web server. Personally, the way I have things setup is as follows. I do all my development on my laptop, which has CF and a DB on it. I interact with CF through the file system and with the database through JDBC. Source code is managed with CVS and deployed into production from CVS directly based on tags. With that setup, RDS provides no benefits for me. Now I know that some people use hosting accounts where they can't use CVS for deployments. In that regard, it seems WebDav and FTP work just fine. -Matt On Jun 16, 2004, at 10:48 AM, Paul Kenney wrote: OK, but consolidated into one single service available on the server. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 6:22 AM To: CF-Talk Subject: Re: RDS support (was Re: CFEclipse release - beta 1. User-level authentication/authorization WebDav 2. Database info JDBC 3. Component info Your IDE. -Matt [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: RDS support (was Re: CFEclipse release - beta
Exactly! Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 8:24 AM To: CF-Talk Subject: RE: RDS support (was Re: CFEclipse release - beta Integrated with a single ide! -Original Message- From:Paul Kenney Date:6/16/04 10:48 am To:CF-Talk Subj:RE: RDS support (was Re: CFEclipse release - beta OK, but consolidated into one single service available on the server. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 6:22 AM To: CF-Talk Subject: Re: RDS support (was Re: CFEclipse release - beta 1. User-level authentication/authorization WebDav 2. Database info JDBC 3. Component info Your IDE. -Matt [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: RDS support (was Re: CFEclipse release - beta
Archive: http://www.houseoffusion.com/lists.cfm/link=i:4:166687---Not that I think you should implement RDS, but there is an open source implementation of Flash Remoting for PHP out there.Did MM give its blessing on that one?Just curious.I'd say skip RDS mainly because of its shortcomings.How about a web-service interface using CFCs instead? Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 5:53 AM To: CF-Talk Subject: Re: RDS support (was Re: CFEclipse release - beta Archive: http://www.houseoffusion.com/lists.cfm/link=i:4:166641 --- Take a look at the DCMA and see what it has to say about encryption devices. One could argue RDS is an encrypted protocol, which opens up a whole can of worms thanks to the DCMA. Clearly the correct course of action was to contact Macromedia in regard to RDS and they have spoken. -Matt On Jun 15, 2004, at 12:02 AM, Paul Kenney wrote: Matt, Reverse engineering is not a copyright violation if you simply duplicate the observed behavior of the protocol using something akin to a packet sniffer--don't look at the Java code. As for future enhancements to RDS? Well, they actually crippled it for CFMX by removing timestamps for individual files so that you can't use DWMX site synchronization with it. Remember, they have to support the applications that exist that use it (Homesite+, DWMX, CF Studio) so I doubt too much that any third-party implementation would have too worry about it. It might not be a public protocol, but it is a published one--albiet internally. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 2:38 PM To: CF-Talk Subject: RDS support (was Re: CFEclipse release - beta We have been talking about reverse engineering RDS (unless macromedia wants to give us the specs :-D), but we are not to sure how great of an idea that is. It is on the list though. Since support for RDS has been request for He3, I thought I would share the official response from Macromedia, which is quoted below. The RDS API is used as a mechanism for different Macromedia products to communicate and, as an internal tool, is subject to change from time to time as is needed to best serve our customers. Reverse engineering it would not only be a violation of copyright, but would not necessarily even work as the protocol continues to evolve with our ongoing efforts at improving our product features for customers. -Matt [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: RDS support (was Re: CFEclipse release - beta
Matt, Reverse engineering is not a copyright violation if you simply duplicate the observed behavior of the protocol using something akin to a packet sniffer--don't look at the Java code.As for future enhancements to RDS? Well, they actually crippled it for CFMX by removing timestamps for individual files so that you can't use DWMX site synchronization with it. Remember, they have to support the applications that exist that use it (Homesite+, DWMX, CF Studio) so I doubt too much that any third-party implementation would have too worry about it.It might not be a public protocol, but it is a published one--albiet internally. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 2:38 PM To: CF-Talk Subject: RDS support (was Re: CFEclipse release - beta We have been talking about reverse engineering RDS (unless macromedia wants to give us the specs :-D), but we are not to sure how great of an idea that is. It is on the list though. Since support for RDS has been request for He3, I thought I would share the official response from Macromedia, which is quoted below. The RDS API is used as a mechanism for different Macromedia products to communicate and, as an internal tool, is subject to change from time to time as is needed to best serve our customers. Reverse engineering it would not only be a violation of copyright, but would not necessarily even work as the protocol continues to evolve with our ongoing efforts at improving our product features for customers. -Matt [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFCs and mappings
CF's been able to do this at least since CF4.5, since Allaire did this very thing for Spectra. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 2:58 PM To: CF-Talk Subject: CFCs and mappings This might be widely known, but I just discovered it and I think it's really cool. You can set up CF mappings in the admin that have multiple parts in the mapping.For example rather than mapping /com to some directory which forces all your CFCs to be within that one directory, you can map /com/barneyb/appname to a directory, and then map /com/barneyb/app2name to a totally different directory.CF seems to use the most specific mapping (like with servlet mappings), so it'll pick the com.barneyb.appname.myObject cfc from with the /com/barneyb/appname mapping first, NOT the /com mapping. It seems to me that doing that kind of thing would solve a lot of the issues with CFCs on shared hosts, because the shared host could create a mapping for each domain that maps to a directory within that domain's filesystem, and then everyone could happily use absolute paths for CFCS. Someone feel free to slap me, if warranted, but this seems like a useful ability. Cheers, barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral [EMAIL PROTECTED] voice : 360.756.8080 x32 fax: 360.647.5351 cell: 360.319.6145 www.audiencecentral.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: UDF in Component?
You can, however, cfinclude the isEmail udf within the component method and it is only visible within that method. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Burns, John D [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 7:32 AM To: CF-Talk Subject: RE: UDF in Component? Ray, Thanks for the info.That fixed it. :-) John -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 9:50 AM To: CF-Talk Subject: RE: UDF in Component? Oh - no - that's wrong. :) You can't define a UDF in a UDF, or method in a method, or etc. Simply move the cfscript block outside the cffunction declaration. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: UDF in Component?
Oh yeah, I glanced at that thread quickly but didn't really read it... I guess I'll do that now.Nevermind my recommendation.Just do what they said ;) Thanks. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 2:37 PM To: CF-Talk Subject: RE: UDF in Component? Can I strongly recommend against that?Using CFINCLUDE inside a CFC method copies all local variables from that method to the VARIABLES scope (the instanace scope) of the CFC, thoroughly thrashing any encapsulation you had. Cheers, barneyb -Original Message- From: Paul Kenney [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 2:28 PM To: CF-Talk Subject: RE: UDF in Component? You can, however, cfinclude the isEmail udf within the component method and it is only visible within that method. Paul Kenney [EMAIL PROTECTED] 916-212-4359 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfdump [unknown type]
Tony, I have a custom tag that I wrote to display exception information and it catches some of the random error that happen when just cfdumping a cfcatch variable.Call it like: cf_showexception exception=#cfcatch#/ I put it below. Paul Kenney [EMAIL PROTECTED] 916-212-4359 ---START CODE--- cffunction name=parseStackTrace returntype=array output=false cfargument name=StackTrace type=array required=true/ cfargument name=Mask type=string required=false/ !-- cfset var aGroup = ArrayNew(1) cfset var LineNumMask = L RepeatString(0, Len(toString(ArrayLen(Arguments.StackTrace cfset var ElemMask = [i] -- c.m( ) -- f:l cfset var i = 0 cfset var j = 0 cfset var maskChar = cfset var Elem = StructNew() cfset var ret = ArrayNew(1) cfset Elem[Val] = cfset Elem[Str] = cfset Elem[Pos] = cfset Elem[Class] = cfset Elem[File] = cfif StructKeyExists(Arguments, Mask) cfset ElemMask = Arguments.Mask /cfif cfif NOT Len(ElemMask) cfset ElemMask = * /cfif !--- Loop over the indexes of the Arguments.StackTrace array in reverse order. --- cfloop index=j from=#ArrayLen(Arguments.StackTrace)# to=0 step=-1 cfif NOT j OR ListFind(runFunction,runPage,service, Arguments.StackTrace[j].getMethodName(), ,) cfset ArrayPrepend(ret, aGroup) cfif NOT j cfbreak/ /cfif cfset aGroup = ArrayNew(1) /cfif cfset Elem.Val = Arguments.StackTrace[j] cfset Elem.Str = !--- Loop over the characters in the ElemMask. --- cfloop index=i from=1 to=#Len(ElemMask)# cfscript maskChar = Mid(ElemMask, i, 1); switch(maskChar) { case c: // Class name Elem.Str = Elem.Str Elem.Val.getClassName(); break; case f: // Filename Elem.Str = Elem.Str Elem.Val.getFileName(); break; case i: // Current Index into the StackTrace array. Elem.Str = Elem.Str NumberFormat(j, LineNumMask); break; case l: // Line number in file. Elem.Str = Elem.Str Elem.Val.getLineNumber(); break; case m: // Method name Elem.Str = Elem.Str Elem.Val.getMethodName(); break; case *: Elem.Str = Elem.Str Elem.Val.toString(); break; default: Elem.Str = Elem.Str maskChar; } /cfscript /cfloop cfset ArrayPrepend(aGroup, Elem.Str) /cfloop cfreturn ret/ /cffunction cfparam name=Attributes.Exception type=any default=/ cfif IsDebugMode() cfif NOT IsSimpleValue(Attributes.Exception) cfset catch = Attributes.Exception cfelseif StructKeyExists(Caller, cfcatch) cfset catch = Caller.cfcatch cfelse cfexit method=exittag/ /cfif cfelse cfexit method=exittag/ /cfif cfset ThisTag.Info = StructNew() cfset ThisTag.Stacks = StructNew() cfloop collection=#catch# item=key cfset Dest = Info cfset Value = cftry cfswitch _expression_=#key# cfcase value=StackTrace cfinclude template=#Request.UDF#/us/pjk/debug/parseStackTrace.cfm/ cfset Value = parseStackTrace(catch.StackTrace) cfset Dest = Stacks /cfcase cfcase value=TagContext cfset Value = catch[key] cfset Dest = Stacks /cfcase cfcase value=objectType cfif IsObject(catch[key]) cfset Value = catch.objectType.getName() cfelse cfset Value = catch.objectType /cfif cfset Dest = Info /cfcase cfdefaultcase cfset Value = catch[key] cfset Dest = Info cfif IsObject(Value) cfset Value = Value.toString() /cfif cfif IsSimpleValue(Value) cfset Value = ReplaceList(Value, gt;,lt;,quot;, ,,) /cfif /cfdefaultcase /cfswitch cfset ThisTag[Dest][key] = Value cfcatch type=any !--- Do nothing here. --- /cfcatch /cftry /cfloop cfif StructKeyExists(ThisTag.Stacks, TagContext) AND NOT StructKeyExists(ThisTag.Info, Template) cfif IsArray(ThisTag.Stacks.TagContext) AND ArrayLen(ThisTag.Stacks.TagContext) cfset ThisTag.Info[Template] = ThisTag.Stacks.TagContext[1].Template /cfif /cfif cfif StructCount(ThisTag.Stacks) cfset LeftWidth = 75% cfset HeaderColSpan = 3 cfset ShowRight = TRUE cfelse cfset LeftWidth = 100% cfset HeaderColSpan = 1 cfset ShowRight = TRUE /cfif cfoutput brbr table border=1 cellpadding=5 cellspacing=0 width=100%trtd table width=100% border=0 cellspacing=0 cellpadding=2 style=background:cc;color:ff; trtd align=centerspan style=font: bold 14pt Arial, Helvetica, sans-serif;- EXCEPTION -/span/td/tr /table br table border=1 cellpadding=2 cellspacing=0 width=100% trtd table tr valign=top td width=#LeftWidth# cfdump var=#ThisTag.Info# label=Exception Information expand=true/ /td cfif ShowRight tdnbsp;/td tdcfdump var=#ThisTag.Stacks# label=Trace Information expand=false//td /cfif /tr /table /td/tr /table /td/tr/table /cfoutput cfexit method=exittag/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: World Wide Web Publishing Service
What sometimes happens is that CF restarts (crashes?) and IIS is still running but cannot connect to the newly restared CF server.This might be a problem with the ISAPI filter, but you have to restart IIS to re-establish the connection to the CF server. It happens on my computer all the time and I just restart IIS. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Casey C Cook [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 1:51 PM To: CF-Talk Subject: World Wide Web Publishing Service I installed my Macromedia Coldfusion MX on my local machine yesterday after IIS. (Windows 2000 professional)The coldfusion administrator worked fine yesterday and when I logged in today the administrator quit working.A co-worker of mine suggested I make the service World Wide Web Publishing Service manual and to reboot then go into services and start it up. Well, it worked, the administrator is back, so my question is why cant the World Wide Web Publishing Service not be left on automatic ? Has anyone else seen this type of behavior ? Macromedia Coldfusion MX Thanks, Casey Cook [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Serialize a series of tag calls?
Matt, The code is run sequencially from top to bottom anyways.Your locking really does nothing for you except disallow concurrent access by multiple requests. This does the same thing: cf_foo run=1ST cf_foo run=2ND cf_foo run=3RD cf_foo run=4TH Now, is this just one template that is called as a scheduled task?What is the interval of the task?Are you concerned that there will be overlap among instances of the task?If this is the case, then using CFLOCK might make sense. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 4:07 PM To: CF-Talk Subject: Serialize a series of tag calls? I have four calls to a particular tag.Call it cf_foo.I want to run it like so from a calling template: cf_foo run=1st cf_foo run=2nd cf_foo run=3rd cf_foo run=4th Each instance of the tag makes a db entry as to its time of completion.I want thes entries to always be in the same sequence; one that matches the order in which they were called. So I got the bright idea of setting cfset variables.tempLockName=CreateUUID(); and then calling each tag like this: cflock name=#variables.tempLockName# type=EXCLUSIVE timeout=10 cf_foo run=1ST /cflock cflock name=#variables.tempLockName# type=EXCLUSIVE timeout=10 cf_foo run=2ND /cflock and so on until I'm done.The idea was the common lock name would force serial execution (This is a scheduled task so no concurrent user access issues). Given the above limiting circumstances, is this a sound method of forcing stuff to be run in top-down order, or is there a better way? -- --- Matt Robertson,[EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dumping Local Vars Scope
And don't use variables as the name of your top level struct variable. Use a name that isn't already used by CF, like local or something similar. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Semrau Steven Ctr SAF/IE [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:45 AM To: CF-Talk Subject: RE: Dumping Local Vars Scope An error occurred while evaluating the _expression_: variables = structNew() Error near line 32, column 7. _ Cannot assign result to symbol variables :( -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 2:39 PM To: CF-Talk Subject: Re: Dumping Local Vars Scope Heald, Tim wrote: Thought they were in 5 but hadn't been in 4.5 and previous.My bad.Hmm how would you do it then? cfif listFirst(server.productVersion) LT 6 cfset variables = structNew() /cfif then scope all your variables. -nathan strutz _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: OT-Webex
Microsoft also has their product, Live Meeting.Please don't hurt me! Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 1:31 PM To: CF-Talk Subject: RE: OT-Webex Hello All, I know this is OT but I am sure that someone on this list has an answer to this.Does anyone know of a anther company that provides the same services or similar to webex, the idea here is cheaper then webex. PlaceWare and Macromedia Breeze are 2 other products that come to mind, but I have no idea as to the pricing. Sorry. Regards, Dave. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: FREE BD vs. $$$$ CF
And how much did that assessment cost?I'm sure they blew right past that $600 by just showing up.I'll also bet that their prognosis was pretty much accepted as the truth without much contest (at least from the ones writing the checks). I guess that's why they get paid the big bucks.You pay them money so that you can pay them more money. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 5:48 PM To: CF-Talk Subject: RE: FREE BD vs. CF Actually we use CICS on our mainframe. I've just started a project where I need to deal with it for the first time. Also, just to round this out, it was IBM Consulting Services that recommended WebSphere as the obvious solution for the enterprise.The management hired them to examine our then-current applications (written for our part in CF) and determine our future course of action. How surprised were we when they settled on WebSphere on AIX? Not very.;^) Jim Davis _ From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:20 AM To: CF-Talk Subject: Re: FREE BD vs. CF On Apr 21, 2004, at 7:48 AM, Jim Davis wrote: This isn't all that odd. in my case the problem is similar, but comes from another end.My (very large) company won't consider either product because their both too cheap - and so (goes the management opinion) are not fit for enterprise use. I used to work for IBM Data Processing Division and many IBM products were (rumored to be) priced this way (high) because they had a perceived greater worth. One specific product comes to mind, CICS. This was a back-end terminal to MaimFrame CPU (no network) information system. It was a good system, but nowhere near the capability, power, ease-of-use, etc. of CFMX. Work was essentially completed on the product in the 1980's and it went into maintenance mode (no new development) The last I heard the number of users of the CICS (MaimFrame DOS) version was over 30,000 users. The average cost to IBM customers was $3,000 per month You do the math! Dick _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: FREE BD vs. $$$$ CF
Expecially if that's a $100 hammer. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Nathan C. Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 7:24 PM To: CF-Talk Subject: RE: FREE BD vs. CF When the only tool you have is a hammer you tend to see the problem as a nail. -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 7:48 PM To: CF-Talk Subject: RE: FREE BD vs. CF Actually we use CICS on our mainframe. I've just started a project where I need to deal with it for the first time. Also, just to round this out, it was IBM Consulting Services that recommended WebSphere as the obvious solution for the enterprise.The management hired them to examine our then-current applications (written for our part in CF) and determine our future course of action. How surprised were we when they settled on WebSphere on AIX? Not very.;^) Jim Davis _ From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:20 AM To: CF-Talk Subject: Re: FREE BD vs. CF On Apr 21, 2004, at 7:48 AM, Jim Davis wrote: This isn't all that odd. in my case the problem is similar, but comes from another end.My (very large) company won't consider either product because their both too cheap - and so (goes the management opinion) are not fit for enterprise use. I used to work for IBM Data Processing Division and many IBM products were (rumored to be) priced this way (high) because they had a perceived greater worth. One specific product comes to mind, CICS. This was a back-end terminal to MaimFrame CPU (no network) information system. It was a good system, but nowhere near the capability, power, ease-of-use, etc. of CFMX. Work was essentially completed on the product in the 1980's and it went into maintenance mode (no new development) The last I heard the number of users of the CICS (MaimFrame DOS) version was over 30,000 users. The average cost to IBM customers was $3,000 per month You do the math! Dick _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Is it a bug or not a bug?
In general, boolean expressions should return boolean values (yes,no,true,false).This is a bug. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Samuel R. Neff [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 1:20 PM To: CF-Talk Subject: RE: Is it a bug or not a bug? and is a boolean operator.I would expect the result to always be a boolean. In my opinion, it's a bug. Sam Blog http://www.rewindlife.com TeamMM http://www.macromedia.com/go/team -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 4:15 PM To: CF-Talk Subject: Re: Is it a bug or not a bug? [EMAIL PROTECTED] 04/20/04 03:55PM snip Interesting. I would have guessed that both sets would have returned the same exact results. That, to me, is indeed a bug. Dave, Could you explain why you are sure this is a bug, and not just an unexpected casting issue? Why should #1 and 20# automatically output 1? You are anding a boolean and an integer, and getting an integer out. I think it would be a bug if it produced different results each time it was called. But it seems to be behaving predictably. Which to me means it is not a bug. Curious, Jerry Johnson [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMX for sale
What if the money went back to the User Group for fun events or paid speakers? Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 11:24 AM To: CF-Talk Subject: Re: CFMX for sale I second Ryan's comments (being a CFUG manager myself).I also beleive that licencing of the raffled products prohibits their use for a commercial site/application (but allowed for commercial development). Of course you may ahve won it somewhere else...if so...go for it ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Ryan Hartwich To: CF-Talk Sent: Tuesday, April 20, 2004 11:18 AM Subject: Re: CFMX for sale Susan, If you won the raffle via a CF or Macromedia user group, I urge you to please reconsider your sale.Sure, getting some $ for it is nice, but I'm pretty sure that MM did NOT intend for the winners to be reselling the software on the open market. If users start selling the software that MM gives us to promote the groups, we seriously run the risk of being cut off.They (our sponsors at MM) have to fight to get us the software as it is. If you are unable to use the CF software and it came from a user group, please contact your user group manager and maybe we can work out a way to swap the software for something that will be of use to you. Ryan, Kansas City CFUG Manager [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMX for sale
Not only does it have a lot of money, but it doesn't have as many nuns as it would like.Can we say Supply and Demand? Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 2:11 PM To: CF-Talk Subject: RE: CFMX for sale If its OK to violate the license agreement and sell a NFR copy, while we're at it lets hijack that busload of nuns and ransom them off.The church has plenty of money, right? Nobody gets hurt; well, really. I mean, if you can rationalize away a little illegality, why not rationalize away something bigger?Illegal is illegal, right?So why stop at the small stuff? -- --- Matt Robertson,[EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFHTTP returns 404 statuscode for valid URL
If www.bart.gov is redirecting you, do you have the redirect attribute for cfhttp set to true? Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 11:39 AM To: CF-Talk Subject: RE: CFHTTP returns 404 statuscode for valid URL A shot in the dark, but maybe the target site is using some kind of browser agent detect, and is not understanding the agent provided by your cold fusion server, but has no problem when you browse to it with your normal browser and it's common user agent? Maybe / Maybe not -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dreamweaver sites deleting themselves
It happened to me a couple of weeks ago.Fortunately, I only had a hand full of sites, so I could easily recreate them... I didn't bother trying to recover them.One thing you might do is right after you create a site, use the export site functionality and make a backup of all your site settings. When they disappear, you can simply import the sites.Thats all I can think of now. Paul Kenney [EMAIL PROTECTED] 916-212-4359 -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 1:09 PM To: CF-Talk Subject: SOT: Dreamweaver sites deleting themselves I know that that this is not a DreamWeaver forum, but I am guessing a lot of you use it. SOmetimes when my computer crashes (such as when I tried that silly 10 million loop this morning) I lose all my sites in Dreamweaver.Anybody else ever have that problem or heard about how I can avoid it? TIA Ray = Ray Champagne - Senior Application Developer CrystalVision Web Site Design and Internet Services 603.433.9559 www.crystalvision.org = The information contained in this transmission (including any attached files) is CONFIDENTIAL and is intended only for the person(s) named above. If you received this transmission in error, please delete it from your system and notify us immediately. If you are not an intended recipient, please note that any use or dissemination of the information contained in this transmission (including any attached files) and the copying, printing, or retransmission of that information is strictly prohibited. You can notify us by return email or by phone at 603.433.9559. Thank you. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]