[cfaussie] Re: CF Cluster
I believe so, only if you dont have any sites running under it. We do cfusion (default instance) - staging - testing cluster contains - instance1 and instance2 for production so we cant stop the default cfusion service. On 6/5/07, Taco Fleur [EMAIL PROTECTED] wrote: I'm guessing the cf instance can tehn be disabled - untill I need to manage the cluster again? On 6/5/07, Duncan [EMAIL PROTECTED] wrote: Yep, you will end up with 4 services, a jrun manager, a cf manager, and 2 instances that you can cluster. the jrun manager service hosts Jrun (duh) and then that runs the default cf instance. this is the only cf instance that gives you the cluster manager in administrator. Once you create another instance you will notice that it doesnt have the cluster manager options. On 6/4/07, Peter Tilbrook [EMAIL PROTECTED] wrote: I think you are correct on this also. I also remember the samples instance not being active by default. So yes create a new Instance - and the beauty of that is it could be a CF6.x, 7.x and now 8.x if required. Of course the resources consumed can be extreme. On 04/06/07, Haikal Saadh [EMAIL PROTECTED] wrote: This is digging into memory so deep that I might as well be pulling it out of my bum, but I think it might have something to do with the fact that when running multi instance, you're not supposed to use the 'default' instance? That's meant to be there for just the jRun Management Console and such stuff to run. In our setup, we have (had?) left the default instances alone, and made new ones for actual use. 30 second google didn't turn up any evidence to confirm this, so take it with a bag of salt, but I vaguely remember this as being the case. Taco Fleur wrote: Just wondering when setting up a cluster in CF Ent. why can't one add the default instance to the cluster? It looks to me like I would need to have 3 instances, and only two can be added to a cluster. I've created an instance of CF, created a cluster and was expecting to be able to add the default instance plus the one I created. Thanks in advance. -- http://www.clickfind.com.au The new Australian search engine for businesses, products and services -- Peter Tilbrook ColdGen Internet Solutions President, ACT and Region ColdFusion Users Group PO Box 2247 Queanbeyan, NSW, 2620 AUSTRALIA http://www.coldgen.com/ http://www.actcfug.com/ Tel: +61-2-6284-2727 Mob: +61-0432-897-437 Email: [EMAIL PROTECTED] MSN Messenger Live: Desktop General -- Duncan I Loxton [EMAIL PROTECTED] http://www.clickfind.com.au The new Australian search engine for businesses, products and services -- Duncan I Loxton [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: isDefined() bad?
I agree. I am currently the lead developer and architect for a rather large project with structures as complex as you have, Grant. I have been very strict with ensuring that the structures are initialised properly with sane default values as it saves a lot of heartache in the long run. I understand where you are comming from but all I can say is don't be lazy cause it will bite you on the arse later I do have some exceptions when a CFC is being loaded into the session scope to persist it along with the session data it relates to (I said that bit so Peter doesn't ask me why I don't just shove it in the application scope) then I do use isDefined and isSimpleValue to see if the CFC needs to be created and initialised. For anyone that is interested, we have a 30 Gig database and 70 Gigs of files to process in our application. Performance is a huge issue. Having said that we have been able to tune the database (Postgresql) so we can sub second response from tables with 150 million rows in them. Cheers, Simon On 05/06/07, Haikal Saadh [EMAIL PROTECTED] wrote: Seems to be 6 of one and 1/2 dozen of another... but if you initialise it properly in one place, and it saves you from doing the check in 2 or more places, you've come out ahead. grant wrote: @Dale: It throws. @Haikal: Good Point. It's that laziness again - setting up and maintaining defaults can be rather tiresome. On 05/06/07, *Haikal Saadh * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Personally, I favour sane defaults rather than having to check for presence of variables all the time. And the bigger and more complicated your data structs get, I think having to check to see if a variable exists is a quick path to insanity. Side effect of eating too much spaghetti... grant wrote: Wow thanks for the response people. My question is really out of pure laziness - I have a huge struct that i need to check a key for - the actual key path is session.currentuser.currentreport.filters.currentfilter.filterset, where filters, currentfilter and filterset may not be present. so it's heaps easier to do a isDefined( session.currentuser.currentreport.filters.currentfilter.filterset) than structKeyExists(session.currentuser.currentreport , filters) and structKeyExists(session.currentuser.currentreport.filters , currentfilter) and so on. or am i missing something? On 05/06/07, * Haikal Saadh* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Having seen more than my fair share of request scope abuse, I can see why he would. I think easy access to request in CF can cause poor code. But then again, guns don't kill people, people kill people, right? Peter Tilbrook wrote: I agree (disciplined) but he then bagged the request scope so now I am not so sure. -- Cheers Simon Haddon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: isDefined() bad?
One place to NOT use isDefined is on the CGI scope... try this: cfoutput p isDefined(cgi.bob) = #isDefined(cgi.bob)# /p p structKeyExists(cgi, bob) = #structKeyExists(cgi,bob)# /p /cfoutput From what I remeber, the CGI is a magic scope... quote from docs Because some browsers do not support some CGI variables, ColdFusion always returns True when it tests for the existence of a CGI variable, regardless of whether the browser supports the variable. /quote from docs --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: isDefined() bad?
and if you get a bit carried away with struct key names, you can break it too... EG: cfset myStruct = structNew() cfset myStruct[some value here] = bob cfdump var=#myStruct# cfoutput#isDefined(myStruct.some value here)#/cfoutput !--- this line breaks --- cfoutput#structKeyExists(myStruct, some value here)#/cfoutput !--- this line works --- On Jun 5, 9:46 pm, David Harris [EMAIL PROTECTED] wrote: One place to NOT use isDefined is on the CGI scope... try this: cfoutput p isDefined(cgi.bob) = #isDefined(cgi.bob)# /p p structKeyExists(cgi, bob) = #structKeyExists(cgi,bob)# /p /cfoutput From what I remeber, the CGI is a magic scope... quote from docs Because some browsers do not support some CGI variables, ColdFusion always returns True when it tests for the existence of a CGI variable, regardless of whether the browser supports the variable. /quote from docs --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF Cluster on one machine!?
If you are running multiple instances on one machine, the JVM memory is shared over those instances (at least they are in JRUN) So this means if you are on a Windows Machine, and you give the max memory to the JVM (about 1GB I think) it is used by every instance in the cluster so this could mean that if you have one instance go nuts, and eat up lots of memory, less memory is avalible to the other instacnes on the machine. The way round this would be to assign a JRun instance it's own JVM (tech note here: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18206) I can't say I've actually done this, as I use JRun on my laptop for developement so Clustering isn't such a bit deal! HTH On Jun 5, 12:12 pm, Taco Fleur [EMAIL PROTECTED] wrote: I like this. Just the excuse I was looking for, let's wait and see if there are any major negatives ;-) On 6/5/07, Duncan [EMAIL PROTECTED] wrote: We run 2 machines via a load balancer with sticky sessions, then have 3 instances on each machine. the default instance runs testing and staging sites, and then we have a cluster that runs 2 instances for the production application. It runs great. The best advantage is that if one instance gets stuck with some long running thread the other instance can start taking more load and that happens alot faster than a load balancer can recognise a problem, this means users get a better experience. My view on this is that its worth doing, you are effectively adding more servers with out the cost of more rackspace. Its cheap to add some more RAM to hold it all together. On 6/5/07, Haikal Saadh [EMAIL PROTECTED] wrote: Remember that as you add instances, resources available to each individual cluster drops. Now, rather than having stage and live on one machine, wouldn't it make more sense to have two machines? * One for the live. * Second one for stage, with maybe an additional instance clustered with live for failover? Then you get all the _real_ benefits of having a cluster. Although, I still cringe at the thought of stage and live code running on the same box. Taco Fleur wrote: I am hoping to get some input on the following. I have one instance of CF running and one is dormant (STAGING) to upload new code to and test it out before moving to LIVE. We are starting out with one machine for CF and will tag on more as the need arises, my question is, would there be any benefit of putting a cluster on one machine? The only benefit I could see if the fact that if one crashes the other one on the same machine takes over. But its highly likely that the problem on the first instance will replicate to the second instance in the cluster.. So I'm not sure anymore... I'm hoping someone can give me a reason to do it, so I can finally setup my first cluster (yeah)... -- http://www.clickfind.com.au The new Australian search engine for businesses, products and services -- Duncan I Loxton [EMAIL PROTECTED] -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CFAussie Community Head Count
George, Chris, You should probabyl ping the original email 'CFAussie Community Head Count' too, if possible. Cheers On 6/5/07, Chris Dawes [EMAIL PROTECTED] wrote: +1 Chris Dawes - Croydon Vic for last few months - ex Sydney On 05/06/07, Barry Beattie [EMAIL PROTECTED] wrote: Mark, yours is the 100th post on this thread but not the 100th person to ping car-mawwnnn! we can d it!!! The CFAUSSIE-a-thon is hoping to raise 100 members from the dead. The total so far at the tally room comes in at 83 members (someone check this?) Email now, our inboxes are ready to accept your ping All for a noble cause Ahem, Matt... tell us again why did you wanted this in the first place? On 6/5/07, Mark Mandel [EMAIL PROTECTED] wrote: wow.. is this thing still going? Mark On 6/5/07, dfwise [EMAIL PROTECTED] wrote: FAB, Long time veiwer, first time caller. On Jun 1, 12:02 pm, Matt Voerman [EMAIL PROTECTED] wrote: Hi Guys, Just a quick note to let you guys know that we at the Adobe Australia office haven't forgotten about you, and do monitor this (and several other) lists on a regular basis. We have a couple of Community related irons in the fire and will communicate more on them as they solidify. What would be of great help to us in the meantime would be a hands up (head count) on how many Aussie CF'ers are reading this list on a regular basis. If you could just ping a response to to this thread that would be grouse. Thanks in advance Matt Voerman Senior Consultant Adobe Systems Pacific -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CFAussie Community Head Count
ping ping ping ping --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CFAussie Community Head Count
Yeah but Buzzy is on drugs and in Europe so does not count! On 05/06/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ping ping ping ping -- Peter Tilbrook ColdGen Internet Solutions President, ACT and Region ColdFusion Users Group PO Box 2247 Queanbeyan, NSW, 2620 AUSTRALIA http://www.coldgen.com/ http://www.actcfug.com/ Tel: +61-2-6284-2727 Mob: +61-0432-897-437 Email: [EMAIL PROTECTED] MSN Messenger Live: Desktop General --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CFAussie Community Head Count
ping pingpawww cfdenied/ cfglasses person=moi/ On 5 Jun, 13:57, Peter Tilbrook [EMAIL PROTECTED] wrote: Yeah but Buzzy is on drugs and in Europe so does not count! On 05/06/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ping ping ping ping -- Peter Tilbrook ColdGen Internet Solutions President, ACT and Region ColdFusion Users Group PO Box 2247 Queanbeyan, NSW, 2620 AUSTRALIA http://www.coldgen.com/http://www.actcfug.com/ Tel: +61-2-6284-2727 Mob: +61-0432-897-437 Email: [EMAIL PROTECTED] MSN Messenger Live: Desktop General --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: isDefined() bad?
cfset mystruct[some value here] = nonono :) On 6/5/07, MrBuzzy [EMAIL PROTECTED] wrote: Um where the code 'breaks' in your example. This isn't valid struct usage. Just the same as you can't do this... cfset myStruct.some value here = nonono Or did I miss something? Ie; this would 'break' it too... IsDefined( ! ) Cheers. On 6/5/07, David Harris [EMAIL PROTECTED] wrote: and if you get a bit carried away with struct key names, you can break it too... EG: cfset myStruct = structNew() cfset myStruct[some value here] = bob cfdump var=#myStruct# cfoutput#isDefined( myStruct.some value here)#/cfoutput !--- this line breaks --- cfoutput#structKeyExists(myStruct, some value here)#/cfoutput !--- this line works --- On Jun 5, 9:46 pm, David Harris [EMAIL PROTECTED] wrote: One place to NOT use isDefined is on the CGI scope... try this: cfoutput p isDefined(cgi.bob) = #isDefined(cgi.bob)# /p p structKeyExists(cgi, bob) = #structKeyExists(cgi,bob)# /p /cfoutput From what I remeber, the CGI is a magic scope... quote from docs Because some browsers do not support some CGI variables, ColdFusion always returns True when it tests for the existence of a CGI variable, regardless of whether the browser supports the variable. /quote from docs -- === Raymond Camden, Camden Media Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com AOL IM : cfjedimaster --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: isDefined() bad?
you can do this (as per my example code): cfset myStruct[some value here] = bob try this one: cfset myStruct = structNew() cfset myStruct[some.value.here and a space too, and an [EMAIL PROTECTED]] = fred cfdump var=#myStruct# it's one of those things that *can* be done, but (as rule of thumb) isn't... but if you do, It'll break isDefined() MrBuzzy wrote: Um where the code 'breaks' in your example. This isn't valid struct usage. Just the same as you can't do this... cfset myStruct.some value here = nonono Or did I miss something? Ie; this would 'break' it too... IsDefined( ! ) Cheers. On 6/5/07, David Harris [EMAIL PROTECTED] wrote: and if you get a bit carried away with struct key names, you can break it too... EG: cfset myStruct = structNew() cfset myStruct[some value here] = bob cfdump var=#myStruct# cfoutput#isDefined( myStruct.some value here)#/cfoutput !--- this line breaks --- cfoutput#structKeyExists(myStruct, some value here)#/cfoutput !--- this line works --- On Jun 5, 9:46 pm, David Harris [EMAIL PROTECTED] wrote: One place to NOT use isDefined is on the CGI scope... try this: cfoutput p isDefined(cgi.bob) = #isDefined(cgi.bob)# /p p structKeyExists(cgi, bob) = #structKeyExists(cgi,bob)# /p /cfoutput From what I remeber, the CGI is a magic scope... quote from docs Because some browsers do not support some CGI variables, ColdFusion always returns True when it tests for the existence of a CGI variable, regardless of whether the browser supports the variable. /quote from docs --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: isDefined() bad?
It is the sort of thing you don't want to teach your developers as I can imagine the heartache that would cause. On 06/06/07, David Harris [EMAIL PROTECTED] wrote: you can do this (as per my example code): cfset myStruct[some value here] = bob try this one: cfset myStruct = structNew() cfset myStruct[some.value.here and a space too, and an [EMAIL PROTECTED]] = fred cfdump var=#myStruct# it's one of those things that *can* be done, but (as rule of thumb) isn't... but if you do, It'll break isDefined() MrBuzzy wrote: Um where the code 'breaks' in your example. This isn't valid struct usage. Just the same as you can't do this... cfset myStruct.some value here = nonono Or did I miss something? Ie; this would 'break' it too... IsDefined( ! ) Cheers. On 6/5/07, David Harris [EMAIL PROTECTED] wrote: and if you get a bit carried away with struct key names, you can break it too... EG: cfset myStruct = structNew() cfset myStruct[some value here] = bob cfdump var=#myStruct# cfoutput#isDefined( myStruct.some value here)#/cfoutput !--- this line breaks --- cfoutput#structKeyExists(myStruct, some value here)#/cfoutput !--- this line works --- On Jun 5, 9:46 pm, David Harris [EMAIL PROTECTED] wrote: One place to NOT use isDefined is on the CGI scope... try this: cfoutput p isDefined(cgi.bob) = #isDefined(cgi.bob)# /p p structKeyExists(cgi, bob) = #structKeyExists(cgi,bob)# /p /cfoutput From what I remeber, the CGI is a magic scope... quote from docs Because some browsers do not support some CGI variables, ColdFusion always returns True when it tests for the existence of a CGI variable, regardless of whether the browser supports the variable. /quote from docs -- Cheers Simon Haddon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] JDBC Data Direct driver 3.4 Isolation Level
Hi, We are currently undergoing a Microsoft review of our database, particularly looking at our deadlock issue and a question that came up from our consultant is: As per our recent conversation I would like you to find out the following about the JDBC Data Direct driver 3.4 you are currently utilising: * Does it set a specific transaction isolation level when connecting to SQL Server 2000? If so what is the default it uses? And how can we configure this setting? I found the following which seems interesting: http://knowledgebase.datadirect.com/kbase.nsf/ce24d9443437511f85256e57006bfe2a/9a81ecba03d1528a85256c2100557987?OpenDocumentHighlight=0,jdbc,sql,server,transaction,isolation,level can anyone provide any insight to the above? Also, does any one use the Microsoft JDBC drivers? Any problems? Cheers, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CFAussie Community Head Count
I did that but it just automatically added to this thread as well?! On 05/06/07, MrBuzzy [EMAIL PROTECTED] wrote: George, Chris, You should probabyl ping the original email 'CFAussie Community Head Count' too, if possible. Cheers On 6/5/07, Chris Dawes [EMAIL PROTECTED] wrote: +1 Chris Dawes - Croydon Vic for last few months - ex Sydney On 05/06/07, Barry Beattie [EMAIL PROTECTED] wrote: Mark, yours is the 100th post on this thread but not the 100th person to ping car-mawwnnn! we can d it!!! The CFAUSSIE-a-thon is hoping to raise 100 members from the dead. The total so far at the tally room comes in at 83 members (someone check this?) Email now, our inboxes are ready to accept your ping All for a noble cause Ahem, Matt... tell us again why did you wanted this in the first place? On 6/5/07, Mark Mandel [EMAIL PROTECTED] wrote: wow.. is this thing still going? Mark On 6/5/07, dfwise [EMAIL PROTECTED] wrote: FAB, Long time veiwer, first time caller. On Jun 1, 12:02 pm, Matt Voerman [EMAIL PROTECTED] wrote: Hi Guys, Just a quick note to let you guys know that we at the Adobe Australia office haven't forgotten about you, and do monitor this (and several other) lists on a regular basis. We have a couple of Community related irons in the fire and will communicate more on them as they solidify. What would be of great help to us in the meantime would be a hands up (head count) on how many Aussie CF'ers are reading this list on a regular basis. If you could just ping a response to to this thread that would be grouse. Thanks in advance Matt Voerman Senior Consultant Adobe Systems Pacific -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] List of Aussie Coldfusion sites hosted in the US.
Hi All, A client of mine is nervous about moving their hosting to the US. If you could please just ping back with a list of Aussie Coldfusion sites that are hosted in the US it will be greatly appreciated. Thanking in advance. Pragnesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: List of Aussie Coldfusion sites hosted in the US.
You should make them aware that the site will be slower for AU people but quicker for most others in the world. So if your users are in AU, then you should host in AU. We hosted in AU US and there is a noticeable difference from both sides of the world. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pragnesh Vaghela Sent: Wednesday, 6 June 2007 9:45 AM To: cfaussie Subject: [cfaussie] List of Aussie Coldfusion sites hosted in the US. Hi All, A client of mine is nervous about moving their hosting to the US. If you could please just ping back with a list of Aussie Coldfusion sites that are hosted in the US it will be greatly appreciated. Thanking in advance. Pragnesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: isDefined() bad?
You wouldn't name your own keys this way - on the other hand it's good to know CF can cope with these types of keys if you're writing caching code or something else where you want to associate arbitrary string keys with a value (although I'd probably hash() the string first for good luck). People who've done a CF course with me know that I always try to use structKeyExists() over isDefined() - I use the latter when I need to check that some deeply nested key exists without having to check all the intermediate keys along the way. Robin Robin Hilliard CEO - RocketBoots Pty Limited Consulting . Recruitment . Software Licensing . Training http://www.rocketboots.com.au m+61 418 414 341 e[EMAIL PROTECTED] On 06/06/2007, at 7:14 AM, Simon Haddon wrote: It is the sort of thing you don't want to teach your developers as I can imagine the heartache that would cause. On 06/06/07, David Harris [EMAIL PROTECTED] wrote: you can do this (as per my example code): cfset myStruct[some value here] = bob try this one: cfset myStruct = structNew() cfset myStruct[some.value.here and a space too, and an [EMAIL PROTECTED]] = fred cfdump var=#myStruct# it's one of those things that *can* be done, but (as rule of thumb) isn't... but if you do, It'll break isDefined() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: List of Aussie Coldfusion sites hosted in the US.
On 06/06/2007, at 9:44 AM, Pragnesh Vaghela wrote: Hi All, A client of mine is nervous about moving their hosting to the US. If you could please just ping back with a list of Aussie Coldfusion sites that are hosted in the US it will be greatly appreciated. Thanking in advance. Pragnesh Here you are - publicly visible .au domains hosted from IP address ranges located in the continental US. That said, the majority are hosted here, and can I point out that the more CF sites are hosted in the US, the less CF gets hosted and sold in Australia - just keep this in mind the next time the list starts hitting up Adobe Australia for more CF marketing budget... www.disneyvideos.com.au www.studyabroad.unsw.edu.au www.studyabroad.edu.au olympics.com.au www.campbellsci.com.au www.soundhouse.com.au www.insul-8.com.au www.packeteer.com.au www.tulloch.com.au www.jaguar.com.au www.vegemite.com.au www.behringer.com.au www.kraft.com.au shakespeare.com.au www.sparkleroad.com.au www.petrescue.com.au www.surveycraft.com.au www.rs-components.com.au www.nata.asn.au www.hourofpower.org.au enterprisesecurity.symantec.com.au www.peoplemanager.com.au antiques.classifiedspot.com.au www.malco.com.au www.century21.com.au www.hprresources.com.au www.bluegrass.org.au www.andyscott.id.au securestore.paystream.com.au www.movieworld.com.au www.pauls.com.au www.lpgaustralia.com.au www.markireland.com.au www.canteen.org.au lan.spectrewars.com.au snap.photography.com.au www.grasp.org.au www.brownmarketing.com.au edu.itwarehouse.com.au www.fullnoise.com.au www.daywork.com.au www.gasgasaustralia.com.au www.stadia.com.au www.lean.org.au www.absacos.com.au www.aegroup.com.au www.ctn.org.au www.red5.com.au www.acc.net.au gocamping.shop.camping.com.au www.astore.com.au www.dwyer-inst.com.au www.acpa.net.au www.promoteproperty.com.au www.sonyatv.com.au www.iwin.com.au www.alfab.com.au www.labtec.com.au www.marketaustralia.com.au www.hyperion.com.au www.liquidforce.com.au clearlycontacts.com.au www.a-f-s.com.au www.ezybeds.com.au bookings.ineedaholiday.com.au www.virtuoffice.com.au www.balconyliving.com.au www.flowersxpress.com.au store.macquarie.vic.edu.au www.thegoodguys.com.au www.narreit.com.au www.lanternpaper.com.au www.mccormick.com.au netballq.org.au www.nikkenwellness.com.au www.immigration.sa.gov.au www.dtour.com.au www.childrensworkshops.com.au www.sbrcorporate.com.au sitbackandrelax.com.au www.timberrifictoys.com.au topcomonline.com.au www.scotto.com.au www.alpineangler.com.au www.buywacom.com.au biggoldenguitar.com.au www.thomsoneducationdirect.com.au www.c-m-a.com.au www.ferno.com.au www.primeindustrial.com.au proedaust.com.au www.softbrands.com.au www.n2h2.com.au www.beachcomber.com.au www.lifestage.com.au www.mailmanager.com.au www.broderickmotors.com.au caretaker.com.au www.bifrost.com.au www.winetrip.com.au www.accelerationaustralia.com.au www.dog-breeders.com.au housecarers.com.au www.petsitters.com.au www.ihaveasecret.com.au www.mycocktail.com.au www.thetallpoppies.com.au www.globalstar.com.au www.lawtech.com.au www.auroragroup.net.au www.wa.conferenceonline.com.au www.newwaves.com.au magicpixel.com.au www.rally.com.au investmentmentor.com.au www.thelounge.com.au www.lifeinfocus.com.au nmd.com.au www.amonline.net.au www.ambs.com.au www.dreamtime.net.au tgacc.com.au www.telsyte.com.au www.travelauctions.com.au redhen.com.au mhrs.org.au www.castlechem.com.au www.arc.org.au www.cleaa.asn.au www.wantseebuy.com.au www.stageandbackstage.com.au www.endota.com.au www.agrimedia.com.au www.openquarter.com.au www.remo.com.au www.kandarealestate.com.au www.stannard.net.au www.ballantyne.com.au www.jhelicopters.com.au rockdaleautotraders.com.au www.aada.org.au grooveon.com.au www.mcgoos.com.au dsav.asn.au www.griffintheatre.com.au www.yachtingunlimited.com.au www.ssafeschools.org.au www.beachproperties.com.au sturtsabres.com.au www.mdtc.asn.au www.opal.org.au www.swanstreetauctions.com.au www.australianyouthhotel.com.au www.sunmarineservices.com.au www.opinion.com.au www.wharfedale.com.au www.goodreadingmagazine.com.au www.japingka.com.au www.mariposa.com.au www.thetelerangroup.com.au www.actmotorclubs.org.au www.planetark.com.au www.usability.com.au www.ais.wa.edu.au www2.ststephens.wa.edu.au www.yoganic.com.au artlink.com.au www.dancestudio.com.au www.frogsaustralia.net.au www.sandridge.org.au www.iopal.com.au www.lutheran.org.au www.andrewisles.com.au carnageonline.com.au antique-art.com.au www.interactivetheatre.com.au www.frontierwines.com.au www.justphocus.com.au www.tamborinemtncc.org.au www.napoleoncosmetics.com.au www.greenhouse.crc.org.au www.aasd.com.au www.acsi.org.au www.autoeurope.com.au www.austarab.com.au www.shimadzu.com.au www.imagesofcanberra.com.au www.it3.com.au www.adps.com.au www.ayo.com.au adobe.com.au cgi.ebay.com.au www.arkadin.com.au www.rarerecords.com.au www.caterqip.com.au www.offroadaustralia.com.au www.aoc.com.au support.myob.com.au www.norfolkisland.com.au www.infonumbers.com.au
[cfaussie] Re: List of Aussie Coldfusion sites hosted in the US.
Robin, This is to give them a better price range for their hosting needs. Have to show advantages against their PHP quote :-). Pragnesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: List of Aussie Coldfusion sites hosted in the US.
Robin, A couple more for you Robin. www.eianz.org www.aegeon.com.au Not only are they both Coldfusion but they are both also Farcry websites. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robin Hilliard Sent: Wednesday, 6 June 2007 10:18 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: List of Aussie Coldfusion sites hosted in the US. On 06/06/2007, at 9:44 AM, Pragnesh Vaghela wrote: Hi All, A client of mine is nervous about moving their hosting to the US. If you could please just ping back with a list of Aussie Coldfusion sites that are hosted in the US it will be greatly appreciated. Thanking in advance. Pragnesh Here you are - publicly visible .au domains hosted from IP address ranges located in the continental US. That said, the majority are hosted here, and can I point out that the more CF sites are hosted in the US, the less CF gets hosted and sold in Australia - just keep this in mind the next time the list starts hitting up Adobe Australia for more CF marketing budget... www.disneyvideos.com.au www.studyabroad.unsw.edu.au www.studyabroad.edu.au olympics.com.au www.campbellsci.com.au www.soundhouse.com.au www.insul-8.com.au www.packeteer.com.au www.tulloch.com.au www.jaguar.com.au www.vegemite.com.au www.behringer.com.au www.kraft.com.au shakespeare.com.au www.sparkleroad.com.au www.petrescue.com.au www.surveycraft.com.au www.rs-components.com.au www.nata.asn.au www.hourofpower.org.au enterprisesecurity.symantec.com.au www.peoplemanager.com.au antiques.classifiedspot.com.au www.malco.com.au www.century21.com.au www.hprresources.com.au www.bluegrass.org.au www.andyscott.id.au securestore.paystream.com.au www.movieworld.com.au www.pauls.com.au www.lpgaustralia.com.au www.markireland.com.au www.canteen.org.au lan.spectrewars.com.au snap.photography.com.au www.grasp.org.au www.brownmarketing.com.au edu.itwarehouse.com.au www.fullnoise.com.au www.daywork.com.au www.gasgasaustralia.com.au www.stadia.com.au www.lean.org.au www.absacos.com.au www.aegroup.com.au www.ctn.org.au www.red5.com.au www.acc.net.au gocamping.shop.camping.com.au www.astore.com.au www.dwyer-inst.com.au www.acpa.net.au www.promoteproperty.com.au www.sonyatv.com.au www.iwin.com.au www.alfab.com.au www.labtec.com.au www.marketaustralia.com.au www.hyperion.com.au www.liquidforce.com.au clearlycontacts.com.au www.a-f-s.com.au www.ezybeds.com.au bookings.ineedaholiday.com.au www.virtuoffice.com.au www.balconyliving.com.au www.flowersxpress.com.au store.macquarie.vic.edu.au www.thegoodguys.com.au www.narreit.com.au www.lanternpaper.com.au www.mccormick.com.au netballq.org.au www.nikkenwellness.com.au www.immigration.sa.gov.au www.dtour.com.au www.childrensworkshops.com.au www.sbrcorporate.com.au sitbackandrelax.com.au www.timberrifictoys.com.au topcomonline.com.au www.scotto.com.au www.alpineangler.com.au www.buywacom.com.au biggoldenguitar.com.au www.thomsoneducationdirect.com.au www.c-m-a.com.au www.ferno.com.au www.primeindustrial.com.au proedaust.com.au www.softbrands.com.au www.n2h2.com.au www.beachcomber.com.au www.lifestage.com.au www.mailmanager.com.au www.broderickmotors.com.au caretaker.com.au www.bifrost.com.au www.winetrip.com.au www.accelerationaustralia.com.au www.dog-breeders.com.au housecarers.com.au www.petsitters.com.au www.ihaveasecret.com.au www.mycocktail.com.au www.thetallpoppies.com.au www.globalstar.com.au www.lawtech.com.au www.auroragroup.net.au www.wa.conferenceonline.com.au www.newwaves.com.au magicpixel.com.au www.rally.com.au investmentmentor.com.au www.thelounge.com.au www.lifeinfocus.com.au nmd.com.au www.amonline.net.au www.ambs.com.au www.dreamtime.net.au tgacc.com.au www.telsyte.com.au www.travelauctions.com.au redhen.com.au mhrs.org.au www.castlechem.com.au www.arc.org.au www.cleaa.asn.au www.wantseebuy.com.au www.stageandbackstage.com.au www.endota.com.au www.agrimedia.com.au www.openquarter.com.au www.remo.com.au www.kandarealestate.com.au www.stannard.net.au www.ballantyne.com.au www.jhelicopters.com.au rockdaleautotraders.com.au www.aada.org.au grooveon.com.au www.mcgoos.com.au dsav.asn.au www.griffintheatre.com.au www.yachtingunlimited.com.au www.ssafeschools.org.au www.beachproperties.com.au sturtsabres.com.au www.mdtc.asn.au www.opal.org.au www.swanstreetauctions.com.au www.australianyouthhotel.com.au www.sunmarineservices.com.au www.opinion.com.au www.wharfedale.com.au www.goodreadingmagazine.com.au www.japingka.com.au www.mariposa.com.au www.thetelerangroup.com.au www.actmotorclubs.org.au www.planetark.com.au www.usability.com.au www.ais.wa.edu.au www2.ststephens.wa.edu.au www.yoganic.com.au artlink.com.au www.dancestudio.com.au www.frogsaustralia.net.au www.sandridge.org.au www.iopal.com.au www.lutheran.org.au www.andrewisles.com.au carnageonline.com.au antique-art.com.au
[cfaussie] Re: List of Aussie Coldfusion sites hosted in the US.
You should also bear in mind that the speed of the site is not only related to their geographic location. Some of the other factors that come to mind include: - The bandwidth available to the site (i.e. the pipe it's attached to) - The other activity on the server it's hosted on (how many other active sites are there) - The standard of the code the site's built with - How much attention the developer has paid to issues like caching and page site etc None of these factors are related to server location. Some of my sites for example are hosted in Texas, and even though they're on the same box some run faster than others. That's to do with (amongst other things) how much I knew about caching and performance issues at the time i wrote them. For example, bluegrass.org.au, which was in Robin's list runs pretty slow and when i have a minute or two to spare here and there, I'm rebuilding it paying more attention to performance issues. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Anyone interested in a bit of work in Canberra
Simon. I have some free time at the moment if you are in a bind. On 06/06/07, Simon Haddon [EMAIL PROTECTED] wrote: Hi, My main developer for a client has become rather sick and could be out for a month or 2. If anyone interested in picking up some extra work. The start date being ASAP as I am in a bit of a pickle The job is related to an SMS system for travellers and is quiet interested to work on. It is still running on CFMX6 but this will be upgraded later this year when a server migration is done. The system uses alot of pushes and pulls from/to different sites and agencies and is quiet a neat idea. If you are interested than can you contact me directly at [EMAIL PROTECTED] or [EMAIL PROTECTED] along with a resume and any questions, phone number, etc. I am quiet happy with the work being done remotely within Australia somewhere. Cheers Simon Haddon -- Peter Tilbrook ColdGen Internet Solutions President, ACT and Region ColdFusion Users Group PO Box 2247 Queanbeyan, NSW, 2620 AUSTRALIA http://www.coldgen.com/ http://www.actcfug.com/ Tel: +61-2-6284-2727 Mob: +61-0432-897-437 Email: [EMAIL PROTECTED] MSN Messenger Live: Desktop General --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Anyone interested in a bit of work in Canberra
Simon Unfortunately I'm UK based rather than Australia but I do put in some very odd hours. If you'd like some more info about me please get in touch. Regards Michael Wright On 06/06/07, Peter Tilbrook [EMAIL PROTECTED] wrote: Simon. I have some free time at the moment if you are in a bind. On 06/06/07, Simon Haddon [EMAIL PROTECTED] wrote: Hi, My main developer for a client has become rather sick and could be out for a month or 2. If anyone interested in picking up some extra work. The start date being ASAP as I am in a bit of a pickle The job is related to an SMS system for travellers and is quiet interested to work on. It is still running on CFMX6 but this will be upgraded later this year when a server migration is done. The system uses alot of pushes and pulls from/to different sites and agencies and is quiet a neat idea. If you are interested than can you contact me directly at [EMAIL PROTECTED] or [EMAIL PROTECTED] along with a resume and any questions, phone number, etc. I am quiet happy with the work being done remotely within Australia somewhere. Cheers Simon Haddon -- Peter Tilbrook ColdGen Internet Solutions President, ACT and Region ColdFusion Users Group PO Box 2247 Queanbeyan, NSW, 2620 AUSTRALIA http://www.coldgen.com/ http://www.actcfug.com/ Tel: +61-2-6284-2727 Mob: +61-0432-897-437 Email: [EMAIL PROTECTED] MSN Messenger Live: Desktop General --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CFAussie Community Head Count
Belated ping ... 43Ms --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: JDBC Data Direct driver 3.4 Isolation Level
I think this may be the answer actually: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=5444c687 Scott Thornton [EMAIL PROTECTED] 06/06/2007 8:34 am Hi, We are currently undergoing a Microsoft review of our database, particularly looking at our deadlock issue and a question that came up from our consultant is: As per our recent conversation I would like you to find out the following about the JDBC Data Direct driver 3.4 you are currently utilising: * Does it set a specific transaction isolation level when connecting to SQL Server 2000? If so what is the default it uses? And how can we configure this setting? I found the following which seems interesting: http://knowledgebase.datadirect.com/kbase.nsf/ce24d9443437511f85256e57006bfe2a/9a81ecba03d1528a85256c2100557987?OpenDocumentHighlight=0,jdbc,sql,server,transaction,isolation,level can anyone provide any insight to the above? Also, does any one use the Microsoft JDBC drivers? Any problems? Cheers, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Object Locking
This might be a dumb question. But if I create an instance of an Object at Application level, such as a logging Object. Then I want to invoke the log method on every action of every page, do I need to lock the object before invoking the log method. Ie cfset application.Logger = createObject('component', 'com.company.data.Logger.init()' / Then from other pages cfset result = applicationer.Logger.log(username, datetime, event) / Or would the cfset need to have a lock around it. Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Get root of the application
Hi all, I used be able to get the root of an application by putting something like getCurrentTemplate() in the root application.cfm, even if I included the root application.cfm in sub application.cfm files it would record the right path, i.e. that of the root. Now with the application.cfc I cannot get the right path anymore, because if the application is initialised through an application.cfc in a sub directory, it reports the path of that sub directory. I've also tried all other functions like getBaseTemplate etc. nothing gives me the right output, the path of the root application.cfc is what I am after. Only thing I can think of is putting a cfm file in the root that outputs the path I am after. I don't like hard coding it. Thanks. -- http://www.clickfind.com.au The new Australian search engine for businesses, products and services --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Object Locking
Dale, Assuming the object is thread safe, no. Mark On 6/6/07, Dale Fraser [EMAIL PROTECTED] wrote: This might be a dumb question. But if I create an instance of an Object at Application level, such as a logging Object. Then I want to invoke the log method on every action of every page, do I need to lock the object before invoking the log method. Ie cfset application.Logger = createObject('component', 'com.company.data.Logger.init()' / Then from other pages cfset result = applicationer.Logger.log(username, datetime, event) / Or would the cfset need to have a lock around it. Regards Dale Fraser http://dalefraser.blogspot.com -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Object Locking
Dale, This has been discussed many times, and the debate still rages about race conditions. The answer to your question will depend on whether a race condition will occur. What I have done in the past is done a cflock around global variables within the cfc when being set. This will do two things, one the request is halted until it is finished by a predecessor and secondly you do not need to worry about locking outside your package. Think thread safe. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 12:28 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Object Locking This might be a dumb question. But if I create an instance of an Object at Application level, such as a logging Object. Then I want to invoke the log method on every action of every page, do I need to lock the object before invoking the log method. Ie cfset application.Logger = createObject('component', 'com.company.data.Logger.init()' / Then from other pages cfset result = applicationer.Logger.log(username, datetime, event) / Or would the cfset need to have a lock around it. Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Get root of the application
This not work for you, sure works for me? getDirectoryFromPath(getCurrentTemplatePath()) Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur Sent: Wednesday, 6 June 2007 12:31 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Get root of the application Hi all, I used be able to get the root of an application by putting something like getCurrentTemplate() in the root application.cfm, even if I included the root application.cfm in sub application.cfm files it would record the right path, i.e. that of the root. Now with the application.cfc I cannot get the right path anymore, because if the application is initialised through an application.cfc in a sub directory, it reports the path of that sub directory. I've also tried all other functions like getBaseTemplate etc. nothing gives me the right output, the path of the root application.cfc is what I am after. Only thing I can think of is putting a cfm file in the root that outputs the path I am after. I don't like hard coding it. Thanks. -- http://www.clickfind.com.au The new Australian search engine for businesses, products and services --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Get root of the application
Does that work for you if you put it in an application.cfc that extends the root application.cfc, and access a page in that sub directory first, also make sure the app is not initialised yet. Let me know.. On 6/6/07, Andrew Scott [EMAIL PROTECTED] wrote: This not work for you, sure works for me? getDirectoryFromPath(getCurrentTemplatePath()) Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent:* Wednesday, 6 June 2007 12:31 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Get root of the application Hi all, I used be able to get the root of an application by putting something like getCurrentTemplate() in the root application.cfm, even if I included the root application.cfm in sub application.cfm files it would record the right path, i.e. that of the root. Now with the application.cfc I cannot get the right path anymore, because if the application is initialised through an application.cfc in a sub directory, it reports the path of that sub directory. I've also tried all other functions like getBaseTemplate etc. nothing gives me the right output, the path of the root application.cfc is what I am after. Only thing I can think of is putting a cfm file in the root that outputs the path I am after. I don't like hard coding it. Thanks. -- http://www.clickfind.com.au The new Australian search engine for businesses, products and services -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Object Locking
Ok, So thread safe, I'm not really sure what this means. Well I know what it means, but what would be an example of something that's not thread safe so that I can think if my example would be safe. My thinking is that if the call to the object doesn't modify the object it's self then it's safe, is that right. Regards Dale Fraser http://dalefraser.blogspot.com http://dalefraser.blogspot.com From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 6 June 2007 12:33 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Object Locking Dale, This has been discussed many times, and the debate still rages about race conditions. The answer to your question will depend on whether a race condition will occur. What I have done in the past is done a cflock around global variables within the cfc when being set. This will do two things, one the request is halted until it is finished by a predecessor and secondly you do not need to worry about locking outside your package. Think thread safe. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 12:28 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Object Locking This might be a dumb question. But if I create an instance of an Object at Application level, such as a logging Object. Then I want to invoke the log method on every action of every page, do I need to lock the object before invoking the log method. Ie cfset application.Logger = createObject('component', 'com.company.data.Logger.init()' / Then from other pages cfset result = applicationer.Logger.log(username, datetime, event) / Or would the cfset need to have a lock around it. Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Object Locking
http://www.google.com.au/search?source=ighl=enq=CFC+thread+safebtnG=Google+Searchmeta= Mark On 6/6/07, Dale Fraser [EMAIL PROTECTED] wrote: Ok, So thread safe, I'm not really sure what this means. Well I know what it means, but what would be an example of something that's not thread safe so that I can think if my example would be safe. My thinking is that if the call to the object doesn't modify the object it's self then it's safe, is that right. Regards Dale Fraser http://dalefraser.blogspot.com From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 6 June 2007 12:33 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Object Locking Dale, This has been discussed many times, and the debate still rages about race conditions. The answer to your question will depend on whether a race condition will occur. What I have done in the past is done a cflock around global variables within the cfc when being set. This will do two things, one the request is halted until it is finished by a predecessor and secondly you do not need to worry about locking outside your package. Think thread safe. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 12:28 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Object Locking This might be a dumb question. But if I create an instance of an Object at Application level, such as a logging Object. Then I want to invoke the log method on every action of every page, do I need to lock the object before invoking the log method. Ie cfset application.Logger = createObject('component', 'com.company.data.Logger.init()' / Then from other pages cfset result = applicationer.Logger.log(username, datetime, event) / Or would the cfset need to have a lock around it. Regards Dale Fraser http://dalefraser.blogspot.com -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Object Locking
Ahh, Thats funny, would have just been easier to give me your page ;) So we do all that local var stuff, thus should be good. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Mandel Sent: Wednesday, 6 June 2007 12:52 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Object Locking http://www.google.com.au/search?source=ighl=enq=CFC+thread+safebtnG=Googl e+Searchmeta= Mark On 6/6/07, Dale Fraser [EMAIL PROTECTED] wrote: Ok, So thread safe, I'm not really sure what this means. Well I know what it means, but what would be an example of something that's not thread safe so that I can think if my example would be safe. My thinking is that if the call to the object doesn't modify the object it's self then it's safe, is that right. Regards Dale Fraser http://dalefraser.blogspot.com From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 6 June 2007 12:33 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Object Locking Dale, This has been discussed many times, and the debate still rages about race conditions. The answer to your question will depend on whether a race condition will occur. What I have done in the past is done a cflock around global variables within the cfc when being set. This will do two things, one the request is halted until it is finished by a predecessor and secondly you do not need to worry about locking outside your package. Think thread safe. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 12:28 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Object Locking This might be a dumb question. But if I create an instance of an Object at Application level, such as a logging Object. Then I want to invoke the log method on every action of every page, do I need to lock the object before invoking the log method. Ie cfset application.Logger = createObject('component', 'com.company.data.Logger.init()' / Then from other pages cfset result = applicationer.Logger.log(username, datetime, event) / Or would the cfset need to have a lock around it. Regards Dale Fraser http://dalefraser.blogspot.com -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Object Locking
And Race Conditions as well Dale... That is also a must when changing any variable that can be changed within a thread and is global to that thread, while that thread is running. For example you may have a global variable, that is changed and dependant on the thread running at the time and another thread comes along and changes that variable while your thread is still running. This can cause undesired results. Example: cfcomponent cfset variables.IsOpen = true / cffunction name=testThread cfif variables.IsOpen . if one thread is reliant on this variable condition, and it is changed by another thread then the results can be very unexpected. /cfif /cffunction /cfcomponent Race conditions are almost non existant, but the above scenario can happen. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 1:03 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Object Locking Ahh, Thats funny, would have just been easier to give me your page ;) So we do all that local var stuff, thus should be good. Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Get root of the application
Taco, If you know how those 2 functions work, then you would not have asked the question you just did. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur Sent: Wednesday, 6 June 2007 12:45 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Get root of the application Does that work for you if you put it in an application.cfc that extends the root application.cfc, and access a page in that sub directory first, also make sure the app is not initialised yet. Let me know.. On 6/6/07, Andrew Scott [EMAIL PROTECTED] wrote: This not work for you, sure works for me? getDirectoryFromPath(getCurrentTemplatePath()) Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au http://www.aegeon.com.au/ Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur Sent: Wednesday, 6 June 2007 12:31 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Get root of the application Hi all, I used be able to get the root of an application by putting something like getCurrentTemplate() in the root application.cfm, even if I included the root application.cfm in sub application.cfm files it would record the right path, i.e. that of the root. Now with the application.cfc I cannot get the right path anymore, because if the application is initialised through an application.cfc in a sub directory, it reports the path of that sub directory. I've also tried all other functions like getBaseTemplate etc. nothing gives me the right output, the path of the root application.cfc is what I am after. Only thing I can think of is putting a cfm file in the root that outputs the path I am after. I don't like hard coding it. Thanks. -- http://www.clickfind.com.au http://www.clickfind.com.au/ The new Australian search engine for businesses, products and services http://www.clickfind.com.au The new Australian search engine for businesses, products and services --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: asReports V0.2 alpha released
Andrew, You think anyone would be interested in the whole nuFramework thingy? I am prepared to make it Open Source, I still use it for making easy maintenance programs and data management, just not sure if it's worthwhile or not. Also, the code was written like 6 years ago, seriously needs work, but I guess if it were open source people could contribute. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Thornton Sent: Tuesday, 5 June 2007 9:31 AM To: cfaussie@googlegroups.com Subject: [cfaussie] asReports V0.2 alpha released We have loads of problems with the ActiveX viewer most staff are not local admins and cannot install the viewer when it runs for the first time. I just prefer it as I can navigate through the groups on the report much easier as compared to when displayed in .pdf Andrew Scott [EMAIL PROTECTED] 05/06/2007 9:22 am Scott, Yes it handles sub reports, and no it doesn't use ActiveX viewer. I found that cumbersum, and my boss at the time (Hi Dale) had designed a more elligant approach. The main idea is that you can use cfcontent to deliver the report to the browser one it is created. However I might look into adding the ActiveX viewer down the track. The paramters are just a list, and they need to be the same number that is required. Which means if one needs to be null you need to do a ListtFix (UDF on cflib.org). On 6/5/07, Scott Thornton [EMAIL PROTECTED] wrote: Can it also open the report in the Crystal ActiveX viewer? Does it handle reports with multiple subreports? I had a (brief) look at it late last night. I will need to check how to pass the report parameters (for stored procedures) and pass it selection criteria. We are a huge Crystal 9 site, and I can see the benefit in this Andrew Scott [EMAIL PROTECTED] 04/06/2007 5:55 pm For those of you who do not know, I have re designed some code I wrote a few years ago. This application is asReports, which allows you to run a Crystal Report from within Coldfusion. This has been tested on CFMX 7.02 Coldfusion 8, but as now been released to the general public as V0.2 alpha. The wiki on http://asReports.riaforge.org is work in progress, but have placed an example on how to use it. Some of the features, server side printing, the ability to change the Datasource, Database and username on the fly, without having to open the report and reconnect to another database. Save the report as PDF, Xcel or even as a Word document. The major update to this version is that I have added a Factory so that it can be used against many different versions, which as time goes on will be included for out of the box support. This has been tested on Crsytal Reports V10. -- Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -- Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: asReports V0.2 alpha released
Dale, I would probably say yes, the reason being as you well know to get a very quick and easy Master / Detail database application up and running is as easy as 123 done. Much faster than Ruby on Rails, or any scaffolding can. Or is that me being biased :-) It won't suit everyone's needs, but it will suit enough people's needs. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 2:28 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Andrew, You think anyone would be interested in the whole nuFramework thingy? I am prepared to make it Open Source, I still use it for making easy maintenance programs and data management, just not sure if it's worthwhile or not. Also, the code was written like 6 years ago, seriously needs work, but I guess if it were open source people could contribute. Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: asReports V0.2 alpha released
Ok, I might do it then, I actually have it now as a raw format working with a clean database and no crap. It does include some asReports code as well obviously, but I think over time the nuReport stuff would more easily talk to CF Report Builder. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 6 June 2007 2:32 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Dale, I would probably say yes, the reason being as you well know to get a very quick and easy Master / Detail database application up and running is as easy as 123 done. Much faster than Ruby on Rails, or any scaffolding can. Or is that me being biased :-) It won't suit everyone's needs, but it will suit enough people's needs. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 2:28 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Andrew, You think anyone would be interested in the whole nuFramework thingy? I am prepared to make it Open Source, I still use it for making easy maintenance programs and data management, just not sure if it's worthwhile or not. Also, the code was written like 6 years ago, seriously needs work, but I guess if it were open source people could contribute. Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: asReports V0.2 alpha released
CF Report Builder... Yuck... Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 3:12 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Ok, I might do it then, I actually have it now as a raw format working with a clean database and no crap. It does include some asReports code as well obviously, but I think over time the nuReport stuff would more easily talk to CF Report Builder. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 6 June 2007 2:32 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Dale, I would probably say yes, the reason being as you well know to get a very quick and easy Master / Detail database application up and running is as easy as 123 done. Much faster than Ruby on Rails, or any scaffolding can. Or is that me being biased :-) It won't suit everyone's needs, but it will suit enough people's needs. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 2:28 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Andrew, You think anyone would be interested in the whole nuFramework thingy? I am prepared to make it Open Source, I still use it for making easy maintenance programs and data management, just not sure if it's worthwhile or not. Also, the code was written like 6 years ago, seriously needs work, but I guess if it were open source people could contribute. Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: asReports V0.2 alpha released
Haha, I know what you mean, compared to Crystal it's behind, but it's getting better and is free. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 6 June 2007 3:16 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released CF Report Builder... Yuck... Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 3:12 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Ok, I might do it then, I actually have it now as a raw format working with a clean database and no crap. It does include some asReports code as well obviously, but I think over time the nuReport stuff would more easily talk to CF Report Builder. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 6 June 2007 2:32 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Dale, I would probably say yes, the reason being as you well know to get a very quick and easy Master / Detail database application up and running is as easy as 123 done. Much faster than Ruby on Rails, or any scaffolding can. Or is that me being biased :-) It won't suit everyone's needs, but it will suit enough people's needs. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 2:28 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Andrew, You think anyone would be interested in the whole nuFramework thingy? I am prepared to make it Open Source, I still use it for making easy maintenance programs and data management, just not sure if it's worthwhile or not. Also, the code was written like 6 years ago, seriously needs work, but I guess if it were open source people could contribute. Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Get root of the application
how bout this?: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput On Jun 6, 2:45 pm, Taco Fleur [EMAIL PROTECTED] wrote: Does that work for you if you put it in an application.cfc that extends the root application.cfc, and access a page in that sub directory first, also make sure the app is not initialised yet. Let me know.. On 6/6/07, Andrew Scott [EMAIL PROTECTED] wrote: This not work for you, sure works for me? getDirectoryFromPath(getCurrentTemplatePath()) Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent:* Wednesday, 6 June 2007 12:31 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Get root of the application Hi all, I used be able to get the root of an application by putting something like getCurrentTemplate() in the root application.cfm, even if I included the root application.cfm in sub application.cfm files it would record the right path, i.e. that of the root. Now with the application.cfc I cannot get the right path anymore, because if the application is initialised through an application.cfc in a sub directory, it reports the path of that sub directory. I've also tried all other functions like getBaseTemplate etc. nothing gives me the right output, the path of the root application.cfc is what I am after. Only thing I can think of is putting a cfm file in the root that outputs the path I am after. I don't like hard coding it. Thanks. -- http://www.clickfind.com.au The new Australian search engine for businesses, products and services -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: asReports V0.2 alpha released
Agreed.. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 3:25 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Haha, I know what you mean, compared to Crystal it's behind, but it's getting better and is free. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 6 June 2007 3:16 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released CF Report Builder... Yuck... Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 3:12 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Ok, I might do it then, I actually have it now as a raw format working with a clean database and no crap. It does include some asReports code as well obviously, but I think over time the nuReport stuff would more easily talk to CF Report Builder. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 6 June 2007 2:32 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Dale, I would probably say yes, the reason being as you well know to get a very quick and easy Master / Detail database application up and running is as easy as 123 done. Much faster than Ruby on Rails, or any scaffolding can. Or is that me being biased :-) It won't suit everyone's needs, but it will suit enough people's needs. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 2:28 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: asReports V0.2 alpha released Andrew, You think anyone would be interested in the whole nuFramework thingy? I am prepared to make it Open Source, I still use it for making easy maintenance programs and data management, just not sure if it's worthwhile or not. Also, the code was written like 6 years ago, seriously needs work, but I guess if it were open source people could contribute. Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Get root of the application
If you put this in the main application.cfc file and then make sure the app is not initialized, call a page within the sub directory (i.e. the one where the application.cfc is that extends the main one) then you will get the path of the sub directory and not the main root. I've now created a .cfm file that is included onApplicationStart and sets the appropiate variable. On 6/6/07, David Harris [EMAIL PROTECTED] wrote: how bout this?: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput On Jun 6, 2:45 pm, Taco Fleur [EMAIL PROTECTED] wrote: Does that work for you if you put it in an application.cfc that extends the root application.cfc, and access a page in that sub directory first, also make sure the app is not initialised yet. Let me know.. On 6/6/07, Andrew Scott [EMAIL PROTECTED] wrote: This not work for you, sure works for me? getDirectoryFromPath(getCurrentTemplatePath()) Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent:* Wednesday, 6 June 2007 12:31 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Get root of the application Hi all, I used be able to get the root of an application by putting something like getCurrentTemplate() in the root application.cfm, even if I included the root application.cfm in sub application.cfm files it would record the right path, i.e. that of the root. Now with the application.cfc I cannot get the right path anymore, because if the application is initialised through an application.cfc in a sub directory, it reports the path of that sub directory. I've also tried all other functions like getBaseTemplate etc. nothing gives me the right output, the path of the root application.cfc is what I am after. Only thing I can think of is putting a cfm file in the root that outputs the path I am after. I don't like hard coding it. Thanks. -- http://www.clickfind.com.au The new Australian search engine for businesses, products and services -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services- Hide quoted text - - Show quoted text - -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Get root of the application
I just created a folder struct of [root]/one/two/bob.cfm and put the code: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput in bob.cfm, and it gave me the correct web root... I also put a onRequestStart function in my Application.cfc: cffunction name=onRequestStart output=true p here: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput /p /cffunction ran /one/two/bob.cfm...and the correct web root was output so from my testing cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput works every time... On Jun 6, 5:30 pm, Taco Fleur [EMAIL PROTECTED] wrote: If you put this in the main application.cfc file and then make sure the app is not initialized, call a page within the sub directory (i.e. the one where the application.cfc is that extends the main one) then you will get the path of the sub directory and not the main root. I've now created a .cfm file that is included onApplicationStart and sets the appropiate variable. On 6/6/07, David Harris [EMAIL PROTECTED] wrote: how bout this?: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput On Jun 6, 2:45 pm, Taco Fleur [EMAIL PROTECTED] wrote: Does that work for you if you put it in an application.cfc that extends the root application.cfc, and access a page in that sub directory first, also make sure the app is not initialised yet. Let me know.. On 6/6/07, Andrew Scott [EMAIL PROTECTED] wrote: This not work for you, sure works for me? getDirectoryFromPath(getCurrentTemplatePath()) Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent:* Wednesday, 6 June 2007 12:31 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Get root of the application Hi all, I used be able to get the root of an application by putting something like getCurrentTemplate() in the root application.cfm, even if I included the root application.cfm in sub application.cfm files it would record the right path, i.e. that of the root. Now with the application.cfc I cannot get the right path anymore, because if the application is initialised through an application.cfc in a sub directory, it reports the path of that sub directory. I've also tried all other functions like getBaseTemplate etc. nothing gives me the right output, the path of the root application.cfc is what I am after. Only thing I can think of is putting a cfm file in the root that outputs the path I am after. I don't like hard coding it. Thanks. -- http://www.clickfind.com.au The new Australian search engine for businesses, products and services -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services- Hide quoted text - - Show quoted text - -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Get root of the application
I give up On 6/6/07, David Harris [EMAIL PROTECTED] wrote: I just created a folder struct of [root]/one/two/bob.cfm and put the code: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput in bob.cfm, and it gave me the correct web root... I also put a onRequestStart function in my Application.cfc: cffunction name=onRequestStart output=true p here: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput /p /cffunction ran /one/two/bob.cfm...and the correct web root was output so from my testing cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput works every time... On Jun 6, 5:30 pm, Taco Fleur [EMAIL PROTECTED] wrote: If you put this in the main application.cfc file and then make sure the app is not initialized, call a page within the sub directory (i.e. the one where the application.cfc is that extends the main one) then you will get the path of the sub directory and not the main root. I've now created a .cfm file that is included onApplicationStart and sets the appropiate variable. On 6/6/07, David Harris [EMAIL PROTECTED] wrote: how bout this?: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput On Jun 6, 2:45 pm, Taco Fleur [EMAIL PROTECTED] wrote: Does that work for you if you put it in an application.cfc that extends the root application.cfc, and access a page in that sub directory first, also make sure the app is not initialised yet. Let me know.. On 6/6/07, Andrew Scott [EMAIL PROTECTED] wrote: This not work for you, sure works for me? getDirectoryFromPath(getCurrentTemplatePath()) Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 *From:* cfaussie@googlegroups.com [mailto: [EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent:* Wednesday, 6 June 2007 12:31 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Get root of the application Hi all, I used be able to get the root of an application by putting something like getCurrentTemplate() in the root application.cfm, even if I included the root application.cfm in sub application.cfm files it would record the right path, i.e. that of the root. Now with the application.cfc I cannot get the right path anymore, because if the application is initialised through an application.cfc in a sub directory, it reports the path of that sub directory. I've also tried all other functions like getBaseTemplate etc. nothing gives me the right output, the path of the root application.cfc is what I am after. Only thing I can think of is putting a cfm file in the root that outputs the path I am after. I don't like hard coding it. Thanks. -- http://www.clickfind.com.au The new Australian search engine for businesses, products and services -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services- Hide quoted text - - Show quoted text - -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services- Hide quoted text - - Show quoted text - -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Get root of the application
in fact, this is the quickest: cfoutput#expandPath(/)#/cfoutput as it only returns the dir anyway... On Jun 6, 5:46 pm, David Harris [EMAIL PROTECTED] wrote: I just created a folder struct of [root]/one/two/bob.cfm and put the code: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput in bob.cfm, and it gave me the correct web root... I also put a onRequestStart function in my Application.cfc: cffunction name=onRequestStart output=true p here: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput /p /cffunction ran /one/two/bob.cfm...and the correct web root was output so from my testing cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput works every time... On Jun 6, 5:30 pm, Taco Fleur [EMAIL PROTECTED] wrote: If you put this in the main application.cfc file and then make sure the app is not initialized, call a page within the sub directory (i.e. the one where the application.cfc is that extends the main one) then you will get the path of the sub directory and not the main root. I've now created a .cfm file that is included onApplicationStart and sets the appropiate variable. On 6/6/07, David Harris [EMAIL PROTECTED] wrote: how bout this?: cfoutput#getDirectoryFromPath(expandPath(/))#/cfoutput On Jun 6, 2:45 pm, Taco Fleur [EMAIL PROTECTED] wrote: Does that work for you if you put it in an application.cfc that extends the root application.cfc, and access a page in that sub directory first, also make sure the app is not initialised yet. Let me know.. On 6/6/07, Andrew Scott [EMAIL PROTECTED] wrote: This not work for you, sure works for me? getDirectoryFromPath(getCurrentTemplatePath()) Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent:* Wednesday, 6 June 2007 12:31 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Get root of the application Hi all, I used be able to get the root of an application by putting something like getCurrentTemplate() in the root application.cfm, even if I included the root application.cfm in sub application.cfm files it would record the right path, i.e. that of the root. Now with the application.cfc I cannot get the right path anymore, because if the application is initialised through an application.cfc in a sub directory, it reports the path of that sub directory. I've also tried all other functions like getBaseTemplate etc. nothing gives me the right output, the path of the root application.cfc is what I am after. Only thing I can think of is putting a cfm file in the root that outputs the path I am after. I don't like hard coding it. Thanks. -- http://www.clickfind.com.au The new Australian search engine for businesses, products and services -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services- Hide quoted text - - Show quoted text - -- *** { . } { . } http://www.clickfind.com.au The new Australian search engine for businesses, products and services- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---