[cfaussie] Re: CFBuilder
Thanks to all who replied to my initial query. I've set it up as an Eclipse plugin, and also got subclipse installed. The eclipse version I used was Eclipse SDK Version: 3.5.1 Build id: M20090917-0800 I'm still finding my way with it and noticing a few issues (eg. the Help -> ColdFusion Builder Help menu link does nothing). Finally it seems like you have to have all your code in the server's web root to make this thing useful. Is that correct? Personally I prefer to edit in the local directory (eg. c:\myproject) and then export it to the server's web root (eg. c:\wwwroot) when I want to run it. The "link folders" thing *kind of* tries to address this - http://blogs.adobe.com/cfbuilder/2009/08/link_folders.html, but the end result is that you are still working on files in the web root, but you just have a "symbolic link" kind of thing from your project folder to the web root, yeah? I don't know why I don't like this arrangement - I think it's because stuff like your .svn dirs is under the web root. I guess it doesn't hurt, but it just seems wrong to me for some reason :-) Andrew. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Re: CFBuilder
Andrew, If you are in a development server, then the .svn shouldn't matter. If it is on production then you should worry. Yes, the project is usually setup in a way that you can just browse to the url and run the site. This is the best way to do it, however there is other ways to go about it too. Ant can be used to deploy, compile and a range of other stuff as well to do what you need. For example I have a project like this Project Root -wwwroot -src I have other directories but this will give you a clue, as to what I refer too. The src directory is my src files, and anything relted to my project. I then have an ant script that runs when I save a file, that then builds the application and compiles it and then moves it to the wwwroot directory. I can then just point my browser to the url, and it will run this version. In my case, I have set it up to compile and copy because I run this website on a shared hosting provider. You can make any combination that suits you, so if you want to contact me offlist or on here is even just as fine for others. I would be happy to help you further with your queries. The help files will be eventually put back into CFB on final release, I am not sure why Adobe chose to move them away. But I ended up raising a ticket to have them back into the IDE, and it appears that this will be the case on final release of the product. I personally like the help in the ide, if you saw how I have my setup, Adobe would never have made such a stupid move in the first place. But I think it is because they wish to show case Air more, and that doesn't give them the right to ignore use case scenarios. Given half the chance you will find that having eclipse as the technology under the hood will give you more opportunities than you might care to think about. I am in the process of finalizing how I use ColdFusion builder as a plugin, with mylyn, and subversive and some other plugins to get my work done. But if you have any questions do shoot an email and/or post in here and I and others will be more than glad to help you out. -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Andrew Sent: Monday, 22 February 2010 10:24 PM To: cfaussie Subject: [cfaussie] Re: CFBuilder Thanks to all who replied to my initial query. I've set it up as an Eclipse plugin, and also got subclipse installed. The eclipse version I used was Eclipse SDK Version: 3.5.1 Build id: M20090917-0800 I'm still finding my way with it and noticing a few issues (eg. the Help -> ColdFusion Builder Help menu link does nothing). Finally it seems like you have to have all your code in the server's web root to make this thing useful. Is that correct? Personally I prefer to edit in the local directory (eg. c:\myproject) and then export it to the server's web root (eg. c:\wwwroot) when I want to run it. The "link folders" thing *kind of* tries to address this - http://blogs.adobe.com/cfbuilder/2009/08/link_folders.html, but the end result is that you are still working on files in the web root, but you just have a "symbolic link" kind of thing from your project folder to the web root, yeah? I don't know why I don't like this arrangement - I think it's because stuff like your .svn dirs is under the web root. I guess it doesn't hurt, but it just seems wrong to me for some reason :-) Andrew. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Question about a method call in a cfoutput query="{method call here}"
Hi All, This is more of an observation rather than a call for help. Does anyone know why, if I attempt to call a method in the 'query' parameter of it errors? It also errors when using e.g. #id# - #month# I assume it has something to do with the way (sequence?) CF implements cfoutput and method calls. This assumption is based on the fact that I can successfully call the method in a e.g. More than 1. My test.cfc looks a little something like this ... BTW - I have only tested this on a CF8 developer instance. Cheers Glen -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Question about a method call in a cfoutput query="{method call here}"
I'm pretty sure cfoutput only accepts variables. Blair On Tue, Feb 23, 2010 at 11:08 AM, nkosi wrote: > Hi All, > > This is more of an observation rather than a call for help. > > Does anyone know why, if I attempt to call a method in the 'query' > parameter of it errors? It also errors when using query="{method call here}"> > > e.g. > > > >#id# - #month# > > > I assume it has something to do with the way (sequence?) CF implements > cfoutput and method calls. This assumption is based on the fact that I > can successfully call the method in a > > e.g. > >More than 1. > > > My test.cfc looks a little something like this ... > > > QueryNew("id,month","integer,varchar")> > > > > > > > currentrow)> > MonthAsString(currentrow), > currentrow)> > > > > > > > BTW - I have only tested this on a CF8 developer instance. > > Cheers > Glen > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to cfaus...@googlegroups.com. > To unsubscribe from this group, send email to > cfaussie+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. > > -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Question about a method call in a cfoutput query="{method call here}"
This is where cf can get a little quirky. You will notice is not: That is because the 'query' attribute only takes the NAME of the variable containing the query. Not the query itself. (Don't ask me why, blame engineers back in CF4) So when you do: It goes looking for a variable named 'obj.getStuff()', which for obvious reasons doesn't exist. Mark On Tue, Feb 23, 2010 at 11:08 AM, nkosi wrote: > Hi All, > > This is more of an observation rather than a call for help. > > Does anyone know why, if I attempt to call a method in the 'query' > parameter of it errors? It also errors when using query="{method call here}"> > > e.g. > > > >#id# - #month# > > > I assume it has something to do with the way (sequence?) CF implements > cfoutput and method calls. This assumption is based on the fact that I > can successfully call the method in a > > e.g. > >More than 1. > > > My test.cfc looks a little something like this ... > > > QueryNew("id,month","integer,varchar")> > > > > > > > currentrow)> > MonthAsString(currentrow), > currentrow)> > > > > > > > BTW - I have only tested this on a CF8 developer instance. > > Cheers > Glen > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to cfaus...@googlegroups.com. > To unsubscribe from this group, send email to > cfaussie+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. > > -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com Hands-on ColdFusion ORM Training @ cf.Objective() 2010 www.ColdFusionOrmTraining.com/ -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Question about a method call in a cfoutput query="{method call here}"
Ah, I see. Thanks. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.