[cfaussie] Re: Application.cfc and application.cfm
No I do not think so. You either use one or the other. Of course you could use Application.cfm in subfolders of your site but I wouldn't recommend it. On 04/06/07, Andrew Scott [EMAIL PROTECTED] wrote: why would you want too? On 6/4/07, Rony [EMAIL PROTECTED] wrote: Is there a way to include an application.cfc into an application.cfm? www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -- 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: Application.cfc and application.cfm
I have been using application.cfc for our new site, but the problem is, trying to merge old code into the new one is proving somewhat difficult to to the extensive use of application.cfm in certain folders. Now these sub folder previously including the application.cfm ( the main one ) and had a application.cfm under its root. However, I am converting merging this code into the new site which uses application.cfc On Jun 4, 4:00 pm, Peter Tilbrook [EMAIL PROTECTED] wrote: No I do not think so. You either use one or the other. Of course you could use Application.cfm in subfolders of your site but I wouldn't recommend it. On 04/06/07, Andrew Scott [EMAIL PROTECTED] wrote: why would you want too? On 6/4/07, Rony [EMAIL PROTECTED] wrote: Is there a way to include an application.cfc into an application.cfm? www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -- 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
Matt is well known in CF circles - though I too only recently discovered he now works for Adobe (lucky bugger). He is a reputable lad however. And as for the email address - maybe he is not keen on being spammed on his work account. -- 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 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 --~--~-~--~~~---~--~~ 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] isDefined() bad?
Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant --~--~-~--~~~---~--~~ 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
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 --~--~-~--~~~---~--~~ 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?
structkeyexist is generally regarded as best practice --~--~-~--~~~---~--~~ 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
Ok this is the most annoying thread. How about we put a poll or something up somewhere instead. I don't mind doing it. -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of AndyRazz Sent: Monday, 4 June 2007 4:38 PM To: cfaussie Subject: [cfaussie] Re: CFAussie Community Head Count ping 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 --~--~-~--~~~---~--~~ 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?
cfif not isdefined(var.foo) ? I use cfif myquery.recordcount Returned at least one record cfelse Naddah! /cfif It is a elegant way to test for the existance of something. User with CFPARAM if you at least require a default of some sort. On 04/06/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- 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?
Grant, It is going to depend on what best suits you, most people for some reason will frown at its use. But there is nothing wrong in using it. On 6/4/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- 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: isDefined() bad?
Use it all the time, See no reason not to other than where cfparam is more logical. Ie cfparam name=form.checkBoxName default=false / Instead of cfif NOT isDefined(form.checkBoxName) cfset form.checkBoxName = false / /cfif Regards Dale Fraser http://dalefraser.blogspot.com From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grant Sent: Monday, 4 June 2007 4:42 PM To: cfaussie@googlegroups.com Subject: [cfaussie] isDefined() bad? Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant --~--~-~--~~~---~--~~ 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
there are approx 310 sign-ups that haven't pinged yet. Considering the slow rate at the moment, is there a chance that unpinged number will improve with the poll? I can see a funny side to it, though. Perhaps I'm easily amused On 6/4/07, Steve Onnis [EMAIL PROTECTED] wrote: Ok this is the most annoying thread. How about we put a poll or something up somewhere instead. I don't mind doing it. -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of AndyRazz Sent: Monday, 4 June 2007 4:38 PM To: cfaussie Subject: [cfaussie] Re: CFAussie Community Head Count ping 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 --~--~-~--~~~---~--~~ 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] asReports V0.2 alpha released
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 --~--~-~--~~~---~--~~ 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?
ParameterExists() is bad. In fact forget I even mentioned it :) --~--~-~--~~~---~--~~ 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?
structKeyExists runs quicker - but I hesitate to say isDefined is bad. Personally I'd use what feels best to you. It's not like one will take 0.002 ms and the other will take 2 hours. On 6/4/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- === 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: CFAussie Community Head Count
plang from melboune On 6/4/07, Barry Beattie [EMAIL PROTECTED] wrote: there are approx 310 sign-ups that haven't pinged yet. Considering the slow rate at the moment, is there a chance that unpinged number will improve with the poll? I can see a funny side to it, though. Perhaps I'm easily amused On 6/4/07, Steve Onnis [EMAIL PROTECTED] wrote: Ok this is the most annoying thread. How about we put a poll or something up somewhere instead. I don't mind doing it. -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of AndyRazz Sent: Monday, 4 June 2007 4:38 PM To: cfaussie Subject: [cfaussie] Re: CFAussie Community Head Count ping 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 -- Zac Spitzer http://zacster.blogspot.com/ +61 405 847 168 --~--~-~--~~~---~--~~ 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?
Ray is right. And the fact you are bothering to check at all is good coding practice. Never assume. On 04/06/07, Raymond Camden [EMAIL PROTECTED] wrote: structKeyExists runs quicker - but I hesitate to say isDefined is bad. Personally I'd use what feels best to you. It's not like one will take 0.002 ms and the other will take 2 hours. On 6/4/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- === Raymond Camden, Camden Media Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com AOL IM : cfjedimaster -- 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?
Hi Grant, The choice is really down to your programming style. I have come from a C / Pascal / PLSQL / Java background and have learned to be very dogmatic and methodical with my programming style. As a team leader I insist that all variables are either declared at the start of a template or to use cfparam if expected and that logical default are set. I find the best part of this approach is that all variables are defined in 1 place and it helps with referencing which variables should exist and what their default values should be. I also find that it reduces the number of variables being used as you have a reference point at the top of the template to check for what is available an why it exists. I am the same in CFCs where I expect that all arguments are defined and either set to required or defaulted with a logical default value. I also expect that all local variables are defined (which is even more important in methods as local variables. Still, having said that. Each to their own Cheers, Simon On 04/06/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- 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?
Actually Ray is wrong so to speak... It is a known fact and even though in some cases it makes no difference as the speed differences are very slight, but it is personal preference and nothing more. As far as best practice goes, I would be more concerned on how to optimise the server processing if it is needed. Another thread / post on CF-Talk with some tests, actually shows that depending on the OS one can run slower than the other and vice versa. So if speed an execution is a concern when it matters, use whichever is needed to get that speed increase for your intended platform. Otherwise I would use what is best for your situation. On 6/4/07, Peter Tilbrook [EMAIL PROTECTED] wrote: Ray is right. And the fact you are bothering to check at all is good coding practice. Never assume. On 04/06/07, Raymond Camden [EMAIL PROTECTED] wrote: structKeyExists runs quicker - but I hesitate to say isDefined is bad. Personally I'd use what feels best to you. It's not like one will take 0.002 ms and the other will take 2 hours. On 6/4/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- === Raymond Camden, Camden Media Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com AOL IM : cfjedimaster -- 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 -- 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: isDefined() bad?
Simon CFC's go without saying, as there will be problems if you do not scope variables with the var scope anyway. just an FYI to any new developers. On 6/4/07, Simon Haddon [EMAIL PROTECTED] wrote: Hi Grant, The choice is really down to your programming style. I have come from a C / Pascal / PLSQL / Java background and have learned to be very dogmatic and methodical with my programming style. As a team leader I insist that all variables are either declared at the start of a template or to use cfparam if expected and that logical default are set. I find the best part of this approach is that all variables are defined in 1 place and it helps with referencing which variables should exist and what their default values should be. I also find that it reduces the number of variables being used as you have a reference point at the top of the template to check for what is available an why it exists. I am the same in CFCs where I expect that all arguments are defined and either set to required or defaulted with a logical default value. I also expect that all local variables are defined (which is even more important in methods as local variables. Still, having said that. Each to their own Cheers, Simon On 04/06/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- Cheers Simon Haddon -- 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: isDefined() bad?
I am glad I don't work on one of Andrew Scotts projects. On 04/06/07, Andrew Scott [EMAIL PROTECTED] wrote: Simon CFC's go without saying, as there will be problems if you do not scope variables with the var scope anyway. just an FYI to any new developers. On 6/4/07, Simon Haddon [EMAIL PROTECTED] wrote: Hi Grant, The choice is really down to your programming style. I have come from a C / Pascal / PLSQL / Java background and have learned to be very dogmatic and methodical with my programming style. As a team leader I insist that all variables are either declared at the start of a template or to use cfparam if expected and that logical default are set. I find the best part of this approach is that all variables are defined in 1 place and it helps with referencing which variables should exist and what their default values should be. I also find that it reduces the number of variables being used as you have a reference point at the top of the template to check for what is available an why it exists. I am the same in CFCs where I expect that all arguments are defined and either set to required or defaulted with a logical default value. I also expect that all local variables are defined (which is even more important in methods as local variables. Still, having said that. Each to their own Cheers, Simon On 04/06/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- Cheers Simon Haddon www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -- 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?
Yeah, well you wouldn't I hate the request scope it is evil. On 6/4/07, Peter Tilbrook [EMAIL PROTECTED] wrote: I am glad I don't work on one of Andrew Scotts projects. On 04/06/07, Andrew Scott [EMAIL PROTECTED] wrote: Simon CFC's go without saying, as there will be problems if you do not scope variables with the var scope anyway. just an FYI to any new developers. On 6/4/07, Simon Haddon [EMAIL PROTECTED] wrote: Hi Grant, The choice is really down to your programming style. I have come from a C / Pascal / PLSQL / Java background and have learned to be very dogmatic and methodical with my programming style. As a team leader I insist that all variables are either declared at the start of a template or to use cfparam if expected and that logical default are set. I find the best part of this approach is that all variables are defined in 1 place and it helps with referencing which variables should exist and what their default values should be. I also find that it reduces the number of variables being used as you have a reference point at the top of the template to check for what is available an why it exists. I am the same in CFCs where I expect that all arguments are defined and either set to required or defaulted with a logical default value. I also expect that all local variables are defined (which is even more important in methods as local variables. Still, having said that. Each to their own Cheers, Simon On 04/06/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- Cheers Simon Haddon www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -- 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 -- 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: isDefined() bad?
isDefined() will sometimes return false positives when dealing with SESSION-scoped variables. I do not recall which version of CF this was on, but would have been no earlier than 6.1. Ihave not re- verified this on subsequent versions. At that point in time I switched to using structKeyExists(): I simply don't trust isDefined(). The situation was unpredictable, but replicable (if one was patient during re-testing). It seemed fine with all variable scopes other than session. isDefined() is also limited to using variables using CF's simple variable name format, whereas structKeyExists() is not. -- Adam --~--~-~--~~~---~--~~ 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?
http://corfield.org/blog/index.cfm/do/blog.entry/entry/isDefined_vs_structKeyExists --~--~-~--~~~---~--~~ 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 can't agree with the statement goes without saying as too often I have to say it. I have seen so many bad implementations of CFC that clobber variables left right and centre that it really annoys me and , disappointingly it is allowed in the language. I have taken over projects that I have cringed a the code because of really bad practises and some really dumb thing being done in CFCs so I tend to be of the opinion that it is always better to repeat it . But yes, more so for new programmers so that they get into good habits Cheers, Simon On 04/06/07, Andrew Scott [EMAIL PROTECTED] wrote: Simon CFC's go without saying, as there will be problems if you do not scope variables with the var scope anyway. just an FYI to any new developers. On 6/4/07, Simon Haddon [EMAIL PROTECTED] wrote: Hi Grant, The choice is really down to your programming style. I have come from a C / Pascal / PLSQL / Java background and have learned to be very dogmatic and methodical with my programming style. As a team leader I insist that all variables are either declared at the start of a template or to use cfparam if expected and that logical default are set. I find the best part of this approach is that all variables are defined in 1 place and it helps with referencing which variables should exist and what their default values should be. I also find that it reduces the number of variables being used as you have a reference point at the top of the template to check for what is available an why it exists. I am the same in CFCs where I expect that all arguments are defined and either set to required or defaulted with a logical default value. I also expect that all local variables are defined (which is even more important in methods as local variables. Still, having said that. Each to their own Cheers, Simon On 04/06/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- Cheers Simon Haddon www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -- 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?
Why do you say that Peter? From emails that I have read I think that Andrew is quiet a disciplined programmer? What is the problem? Cheers, Simon On 04/06/07, Peter Tilbrook [EMAIL PROTECTED] wrote: I am glad I don't work on one of Andrew Scotts projects. On 04/06/07, Andrew Scott [EMAIL PROTECTED] wrote: Simon CFC's go without saying, as there will be problems if you do not scope variables with the var scope anyway. just an FYI to any new developers. On 6/4/07, Simon Haddon [EMAIL PROTECTED] wrote: Hi Grant, The choice is really down to your programming style. I have come from a C / Pascal / PLSQL / Java background and have learned to be very dogmatic and methodical with my programming style. As a team leader I insist that all variables are either declared at the start of a template or to use cfparam if expected and that logical default are set. I find the best part of this approach is that all variables are defined in 1 place and it helps with referencing which variables should exist and what their default values should be. I also find that it reduces the number of variables being used as you have a reference point at the top of the template to check for what is available an why it exists. I am the same in CFCs where I expect that all arguments are defined and either set to required or defaulted with a logical default value. I also expect that all local variables are defined (which is even more important in methods as local variables. Still, having said that. Each to their own Cheers, Simon On 04/06/07, grant [EMAIL PROTECTED] wrote: Hi All My patchy memory keeps nagging at me not to use isDefined(). Am I off-base or do I remember something about it being best-practice to avoid isDefined()? Who's got the low-down? Grant -- Cheers Simon Haddon www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -- 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 -- 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?
I agree (disciplined) but he then bagged the request scope so now I am not so sure. -- 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?
Err, how am I wrong? I said there was a speed difference, and you agreed? Or did you think I meant it was ALWAYS faster? If so - I misspoke and you are right to correct me. On 6/4/07, Andrew Scott [EMAIL PROTECTED] wrote: Actually Ray is wrong so to speak... It is a known fact and even though in some cases it makes no difference as the speed differences are very slight, but it is personal preference and nothing more. As far as best practice goes, I would be more concerned on how to optimise the server processing if it is needed. --~--~-~--~~~---~--~~ 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
It brings a tear to my eye to see all these numbers - Solidarity Brothers! sol·i·dar·i·ty 1. union or fellowship arising from common responsibilities and interests, as between members of a group or between classes, peoples, etc.: to promote solidarity among union members. 2. community of feelings, purposes, etc. 3. community of responsibilities and interests. --~--~-~--~~~---~--~~ 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] CF Cluster on one machine!?
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 --~--~-~--~~~---~--~~ 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!?
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 --~--~-~--~~~---~--~~ 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?
Ray, I said so to speak, I think the discussion on cftalk about how one is faster on one platform than the other is interesting. On 6/5/07, Raymond Camden [EMAIL PROTECTED] wrote: Err, how am I wrong? I said there was a speed difference, and you agreed? Or did you think I meant it was ALWAYS faster? If so - I misspoke and you are right to correct me. On 6/4/07, Andrew Scott [EMAIL PROTECTED] wrote: Actually Ray is wrong so to speak... It is a known fact and even though in some cases it makes no difference as the speed differences are very slight, but it is personal preference and nothing more. As far as best practice goes, I would be more concerned on how to optimise the server processing if it is needed. -- 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: isDefined() bad?
And Peter you need to know when the micky is being taken out of you. Sorry it was just that 2 fridays in a row, the request scope had nothing to do with the problem yet you provided it as an answer:-) On 6/5/07, Peter Tilbrook [EMAIL PROTECTED] wrote: I agree (disciplined) but he then bagged the request scope so now I am not so sure. -- 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 -- 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: isDefined() bad?
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. --~--~-~--~~~---~--~~ 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
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 --~--~-~--~~~---~--~~ 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
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] --~--~-~--~~~---~--~~ 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
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: CF Cluster on one machine!?
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] --~--~-~--~~~---~--~~ 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: Virtual Server Hosting
Dale, We use rackspace.com and they are fantastic. not cheap so that would affect your decision, but they are great. HTH Duncan On 5/31/07, Dale Fraser [EMAIL PROTECTED] wrote: Hello, We currently run our own servers in a data centre and we are due this year to upgrade a lot of things, such as the servers and ColdFusion 8. So I want to evaluate hosting this else where to weigh up the cost pro's cons. It would need to be 1. In the US or AU 2. Have good uptime and SLA 3. Have good bandwidth 4. Have well speced machines. 5. Have no restrictions on installing / rebooting server 6. Have multiple days worth of backups, ie 7+ day backups 7. Run Coldfusion Enterprise (Version 8 when released) 8. Run SQL Server 2005 I've found some and looking more, but figure people here would have experience. Regards Dale Fraser http://dalefraser.blogspot.com -- 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] 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: CF Cluster
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 --~--~-~--~~~---~--~~ 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!?
Yup, it would make more sense to have another machine for the cluster, but as specified, we don't have that luxury at the moment. And I'm basically looking for an excuse (where there isn't one yet) to install a cluster on one machine (I'm like a boy with a new toy). I prefer my staging on the exact same machine as LIVE so it mimics the * exact* live environment. Since its running on a different instance it should not affect the live instance if it crashes. 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 -- *** { . } { . } 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: CF Cluster on one machine!?
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 --~--~-~--~~~---~--~~ 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
It brings a tear to my eye to see all these numbers - Solidarity Brothers! Soli-darity For-ever Buntel dressed up in tight leather Ben Forta left standing in the weather For Cold-Fusion makes us strong --~--~-~--~~~---~--~~ 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?
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] 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. --~--~-~--~~~---~--~~ 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?
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] 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. --~--~-~--~~~---~--~~ 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?
Then I'll stick to my original statement that there is nothing wrong with isDefined it's better than embedded structKeyExists. Regards Dale Fraser http://dalefraser.blogspot.com http://dalefraser.blogspot.com From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grant Sent: Tuesday, 5 June 2007 11:02 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: isDefined() bad? @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] 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] 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. --~--~-~--~~~---~--~~ 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?
@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] 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] 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. --~--~-~--~~~---~--~~ 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
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 --~--~-~--~~~---~--~~ 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
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
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 -~--~~~~--~~--~--~---