Re: CF Coding Standards

2007-10-07 Thread Adrian Moreno
I recall a benchmark results from along time ago indicating that if your doing more than 3 CFIF/CFELSEIF statements it was better for performance to use CFSWITCH. That was discussed here on the mailing list of HoF.

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread Jochem van Dieten
J W wrote: 1. Local Development with local code to those machines. How do you keep those machines current? Many of the coldfusion programs we code and make improvements to are part of a huge enterprise system that would only test locally correctly with the other parts of the system present.

RE: CF Coding Standards

2007-10-07 Thread ColdFusion
Thanks, I will make note of that. -Original Message- From: Adrian Moreno [mailto:[EMAIL PROTECTED] Sent: Sunday, October 07, 2007 2:28 AM To: CF-Talk Subject: Re: CF Coding Standards I recall a benchmark results from along time ago indicating that if your doing more than 3

Re: Complex Verity collection...

2007-10-07 Thread Pete Ruckelshaus
Since I seem to be on a string of questions that don't seem to have any answers from the list, I have found a solution for this problem. Hopefully, it will be useful to someone else, as it took me the better part of a day of brainstorming to come up with this solution. To recap, the problem is

Re: Creating XML from RecordSet

2007-10-07 Thread Josen Ruiseco
Hatton, Would you be willing to share your final template? Email to webmaster gomotorbids com Thanks, Josen ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex

Re: Eclipse to DW WAS: RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Casey Dougall
On 10/6/07, Dawson, Michael [EMAIL PROTECTED] wrote: It does take some discipline to develop this way, but it is the best an easiest way. get rid of dreamweaver and move to CFEclipse as I said you will not look back. Not to get too off-topic, but I did look back. In fact, I went back to DW

Re: Eclipse to DW WAS: RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Ingo Muschenetz
Hi Mike, I'm the project lead on Aptana, and I noticed you had mentioned our atribute support was horrible in HTML. If you have time, it'd be very helpful for us to hear specifics. We already show you which browsers support which attributes and I thought we had pretty good HTML editing support

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Eric Roberts
Summing it up... You have a repository that contains your current code. Both the development and live environments are checked out from the repository. When you complete changes to a page, you commit the page. You then update the live environment with the new code. Everyone who has checked

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Eric Roberts
You would need liscenses for any of the os' you put on your system that require them. Now correct me if I am wrong, but when you are rtunnign vmware, your are creating multiple concurrently running virtual machines... The way they would be interfaced would be via their respective ip addresses

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread Zaphod Beeblebrox
I've used the Dreamweaver add in and don't really think it adds that much to the experience. If I'm on my machine that has DW, I'll do all my coding in DW, when I done and ready to commit back to the repository, I'll drop out to TortoiseSVN and do all my interactions with Subversion that way.

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Rick Faircloth
Now, I can see how the versioning would be helpful, but other than that, how would this extensive management system be beneficial to a solo developer? Or is it overkill? Rick -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Sunday, October 07, 2007 11:53 AM To:

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread Aaron Rouse
This is what I do as well, never tried the DW plugin though and actually can not see a reason as to why I would need it. It just is not that hard to alt-tab over to something. On 10/7/07, Zaphod Beeblebrox [EMAIL PROTECTED] wrote: I've used the Dreamweaver add in and don't really think it adds

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Rick Faircloth
Thanks for the feedback, Eric. :o) Rick -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Sunday, October 07, 2007 12:12 PM To: CF-Talk Subject: RE: SOT: How do you version control with your CF code? You would need liscenses for any of the os' you put on your

Re: CF Coding Standards

2007-10-07 Thread Daniel Kim
I recently started a position as a technical lead at a new company. Most of the development is done on a few intranet/extranet sites, so the code (much of it spaghetti) is touched by a lot of different developers. I've recently set up a wiki that contains coding standards, and used a lot of the

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Eric Roberts
The only benefit of having that, or any other plugin is to have it in a single interface. It's not a real big deal. I have never used the plug in myself...I do the same...just flip over to explorer and use tortoise ;-) Eric -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED]

OT: Programming Font

2007-10-07 Thread Daniel Kim
Just came across this entry in Jeff Atwood's blog: Revisiting Programming Fonts http://www.codinghorror.com/blog/archives/000969.html I've been using Dina, but the Consolas (Windows Clear Type) or the non-denominational Inconsolata fonts he points too may move me to switch (I'm on Windows XP

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread Aaron Rouse
Yeah, guess I am just not all that sold on having everything to do my job all within one single interface. Just seems like there would be some compromises when doing it that way but really that is not the issue for me, I just have no issue with alt-tab'n over to what I need be it SVN, SQL, email,

RE: Programming Font

2007-10-07 Thread Dan G. Switzer, II
I tried Consolas first, but went back to Dina. Dina is very legible at 1024x768 for me at 8pt. I haven't found another font that can run at that point size and still be extremely easy to read. -Dan -Original Message- From: Daniel Kim [mailto:[EMAIL PROTECTED] Sent: Sunday, October 07,

RE: Rollback db changes in CFCUnit/CFUnit tests

2007-10-07 Thread Jaime Metcher
Janet, +1 to dbunit. You also have the option of wrapping each unit test in a transaction and then rolling it back at the end. Jaime Metcher -Original Message- From: Janet MacKay [mailto:[EMAIL PROTECTED] Sent: Friday, 5 October 2007 3:28 AM To: CF-Talk Subject: SOT: Rollback db

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread J.J. Merrick
Rick, I am a single developer and I always use subversion. It provides the following for me: 1. Ease of backup. - I have a dev server here at my house that I use as a repository and i use mozy pro to back that up online. I never have to worry about my dev laptop dying and losing precious code.

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread Zaphod Beeblebrox
yeah, I've really started relying more on the unix model of smaller specialized tools working together to make a whole. Sometimes I think eclipse is starting to get too large once you load cfeclipse, subclipse, and all the other multitude of plugins. On 10/7/07, Aaron Rouse [EMAIL PROTECTED]

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread Aaron Rouse
What do you do when client needs a fix on version 1.5 which has significant database differences when compared to version 2.0 that you are currently working on? We just maintain a separate copy of the DB for the versions for cases like that but just curious on how others do it. On 10/7/07, J.J.

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Dale Fraser
Control the databases through code. Then if you check out your code at 1.3.2 It should be able to create databases of that era. Regards Dale Fraser http://learncf.com -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Monday, 8 October 2007 11:23 AM To: CF-Talk

Re: Alt tag or tooltip on cftreeitem

2007-10-07 Thread Steve Sequenzia
Anyone no if it is possible to do a alt tag or tooltip on a cftreeitem. I just need a little description to pop up when a user rolls over the cftreeitem. Any help on this would be great. Thanks in advance. Anyone??

RE: Alt tag or tooltip on cftreeitem

2007-10-07 Thread Dale Fraser
You should be able to do it with html. Ie: the tree item can be html so put in some html that will include an alt or equilivant. Regards Dale Fraser http://learncf.com -Original Message- From: Steve Sequenzia [mailto:[EMAIL PROTECTED] Sent: Monday, 8 October 2007 12:46 PM To: CF-Talk

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread Aaron Rouse
Could you explain that with a little more detail. What code(language) is going to track all of the table/column changes and track any data manipulation that is needed between versions of the database structure? Also if you are creating a database of that era, say version 1.5, does this mean it is

RE: HELP! RE: error with ColdFusion 8 ODBC Agent

2007-10-07 Thread Mark Leder
This STILL does not work. I put the file on the server in the directory CFIDE/administrator. I use terminal services to get to my server. I log into CF8 admin. Then I replace the URL string with: http://127.0.0.1/cfide/administrator/remove.cfm (remove is what I called the page). Same issue,

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread Aaron Rouse
Cool, unfortunately we could not do that 100% here because some of the PL/SQL scripts we run during creation will not run via a CFQUERY tag. On 10/7/07, Dale Fraser [EMAIL PROTECTED] wrote: We have an upgrader. So there is code that says something like cfif version lte 1.4.1 Create

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Dale Fraser
We have an upgrader. So there is code that says something like cfif version lte 1.4.1 Create table Drop table Alter table Insert some default values for new tables /cfif cfif version lte 1.4.2 Create table Drop table Alter table

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread Zaphod Beeblebrox
This is where something like Rails migrations would be a great thing for a CF framework to copy. All of your database changes are kept in ruby files that describe table creation, column additions, table deletions, and if so needed, raw sql statements to create functions or stored procs. Every

RE: CF Coding Standards

2007-10-07 Thread William Seiter
You are the lead, you see a problem with not only the current code but future code put together. You are introducing standards to the group. This is not at all a bad thing. You will probably be heralded in the future for your attempts now, however despised you might be for it now. I would

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread J.J. Merrick
Yeah we just start a different database if it going to be a huge amount of changes. There are probably many better ways of doing this I just have explored yet. J.J. On 10/7/07, Aaron Rouse [EMAIL PROTECTED] wrote: What do you do when client needs a fix on version 1.5 which has significant

RE: CF Coding Standards

2007-10-07 Thread Dale Fraser
I literally check developers code a lot when they first start. (2-4 weeks worth) Make sure all the standards are being followed, then I let them go, and developers check each others code once they are in the company standards set. I find, that if you are introducing new standards to a company

Re: CF Coding Standards

2007-10-07 Thread Sean Corfield
On 10/7/07, Daniel Kim [EMAIL PROTECTED] wrote: I've recently set up a wiki that contains coding standards, and used a lot of the LiveDocs recommendations Glad you found them useful. The Stylistic category defines things such as capitalization and indentation. It may have been a bad idea,

Re: SOT: How do you version control with your CF code?

2007-10-07 Thread Aaron Rouse
That sounds like it would be a great solution if the need to go back to different points in the database were needed. Our needs have always been just to go back to one certain point and really it has always been to go to that point with the data intact to then diagnose the problem. Typically the

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Rick Faircloth
I think my operation... sites/databases/etc... is a too simple to require the complexity that I see discussed in this thread. My need are simple. And Eclipse, CFEclipse, Subversion, etc., all seems like it would be overkill for me. Rick -Original Message- From: Aaron Rouse

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Rick Faircloth
Thanks for the feedback, J.J. Here's what I currently do... 1. Backup -- I currently have a production server here at my studio in my home, hosting my own sites. I'm in the process of moving things over to a new VPS at AHPHosting with CF 8. For backup, I do two things... one, which is a type

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Rick Faircloth
I have a testing database on my dev box and the production database on the server. If the production data might be part of the issue, I just transfer the data via Navicat (MySQL) from the production db to the testing db and work on it on the dev box. Rick -Original Message- From:

RE: CF Coding Standards

2007-10-07 Thread Dale Fraser
Consistency is important, the minutiae of capitalization and whitespace is not. I don't agree with this, as standards go the whitespace (tab obsession) is very important. Take this example (might not come out right on email. Select * FromTable Where X = 1 And

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Eric Roberts
If you have a cfc that handles the interface between the application and the code, or use something like reactor to hadle it, then it wouldn't matter. The interface could handle the differences. Eric -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Sunday, October

RE: CF Coding Standards

2007-10-07 Thread Dave Watts
Consistency is important, the minutiae of capitalization and whitespace is not. I don't agree with this, as standards go the whitespace (tab obsession) is very important. Take this example (might not come out right on email. Select* From Table Where X = 1

RE: SOT: How do you version control with your CF code?

2007-10-07 Thread Dale Fraser
Of course, the best solution would be to keep everyone on the same version. I have found that this can actually generate work and revenue. Ie Application = $100k + $10k per year. Includes all updates and is NOT optional. Then you get 10 customers you have $100 k recurring revenue, like one new