Re: Junk Code was Re: ASP or Coldfusion - There is no Question
A few suggestions: 1) If your code cannot be followed by a third party without completely dissecting it, it is junk code - (COMMENT!) 2) Go back a few steps and think about what you are writing. Good algorithms lead to good code. Poorly planned algorithms, schemas, and database design will lead to 'junk code'. 3) Watch the debug timings of your pages, if there are templates that are taking a couple hundred milliseconds, yet not accomplishing much, then start to investigate this. 4) Not locking shared access variables can lead to jc (getting tired of typing it out) 5) Lack of error handling can lead to jc 6) Over selective SQL can lead to jc (try to limit what you are SELECTing) 7) Doing the same thing over and over. Try to pick a coding methodology, or at least coding conventions and stick to them, they'll make your stuff infinitely better. You might want to read through some data structure and algorithm books. I had a decent one in school, and even though I HATED the class, it really did pay off. Makes you evaluate how you handle things. Good luck. -Bill /intraget - Original Message - From: sebastian palmigiani <[EMAIL PROTECTED]> To: CF-Talk <[EMAIL PROTECTED]> Sent: Saturday, September 23, 2000 7:24 AM Subject: Re: ASP or Coldfusion - There is no Question > on 9/22/00 11:08 AM, Steve Pierce at [EMAIL PROTECTED] wrote: > > > You can write junk code in ASP just as well as you can in CF. The programmer > > is the number one factor in the success and performance of the site. Not the > > tools. > > I am a new programmer with ColdFusion. What is junk code? Can you give an > example? I want to see if I am writing junk. Want to nip bad habits in the > bud. > > Sebastian > > -- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: ASP or Coldfusion - There is no Question
I hope tongue was firmly in cheek when you wrote this, as there are some cases when you have to SELECT *, or at least it makes the most sense to. If not, elaborate, I'd love to hear this one -Bill /intraget - Original Message - From: Steve Pierce <[EMAIL PROTECTED]> To: CF-Talk <[EMAIL PROTECTED]> Sent: Sunday, September 24, 2000 2:33 PM Subject: RE: ASP or Coldfusion - There is no Question > SELECT * > > - Steve > > > > -Original Message- > From: sebastian palmigiani [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 23, 2000 7:25 AM > To: CF-Talk > Subject: Re: ASP or Coldfusion - There is no Question > > > on 9/22/00 11:08 AM, Steve Pierce at [EMAIL PROTECTED] wrote: > > > You can write junk code in ASP just as well as you can in CF. The > programmer > > is the number one factor in the success and performance of the site. Not > the > > tools. > > I am a new programmer with ColdFusion. What is junk code? Can you give an > example? I want to see if I am writing junk. Want to nip bad habits in the > bud. > > Sebastian > > -- -- > -- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or > send a message to [EMAIL PROTECTED] with 'unsubscribe' in > the body. > > -- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: ASP or Coldfusion - There is no Question
SELECT * - Steve -Original Message- From: sebastian palmigiani [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 23, 2000 7:25 AM To: CF-Talk Subject: Re: ASP or Coldfusion - There is no Question on 9/22/00 11:08 AM, Steve Pierce at [EMAIL PROTECTED] wrote: > You can write junk code in ASP just as well as you can in CF. The programmer > is the number one factor in the success and performance of the site. Not the > tools. I am a new programmer with ColdFusion. What is junk code? Can you give an example? I want to see if I am writing junk. Want to nip bad habits in the bud. Sebastian -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: ASP or Coldfusion - There is no Question
on 9/22/00 11:08 AM, Steve Pierce at [EMAIL PROTECTED] wrote: > You can write junk code in ASP just as well as you can in CF. The programmer > is the number one factor in the success and performance of the site. Not the > tools. I am a new programmer with ColdFusion. What is junk code? Can you give an example? I want to see if I am writing junk. Want to nip bad habits in the bud. Sebastian -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: ASP or Coldfusion - There is no Question
There is no question, both ASP and CF will scale well. What you have to ask yourself. What if you want to move beyond an NT platform. Will ASP move with you? There are CF sites that are doing a million hits per day. We are hosting almost 500,000 CF hits a day right here. By you estimate your site will do 100,000 hits per week. That is less than 15,000 hits per day. We are handling 33 times that load and it is no sweat for CF, if you program it right. You can write junk code in ASP just as well as you can in CF. The programmer is the number one factor in the success and performance of the site. Not the tools. ASP and CF will both scale well if done correctly. - Steve Steve Pierce, HDL "Co-Location starting $99 per month, no setup fee" (734) 482-9682 | mailto:[EMAIL PROTECTED] | http://HDL.com -Original Message- From: Kevin Schmidt [mailto:[EMAIL PROTECTED]] Sent: Friday, September 22, 2000 12:03 PM To: CF-Talk Subject: Re: ASP or Coldfusion? I have to disagree there are alot of sites that are very large and handle more than 100K plus hits a week running Cold Fusion. I think, as stated in another reply earlier, it depends on who the developer is. Junk code won't scale while good code will. Take that however you want. - Original Message - From: "Geoffrey V. Brown" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, September 22, 2000 9:45 AM Subject: RE: ASP or Coldfusion? > > Hi, > I'll offer my opinion, as I'm facing the same thing. I have a site that is > going to be massive. Cold Fusion simply could not hold up to the load, and > crashed repeatedly. The site is about 99% data driven, so there is a lot of > data access going on. I am now developing this site in ASP, and it seems > far more stable. We are generally getting 100k+ hits a week on this site. > > After seeing many large projects fail with cold fusion, I'd recommend trying > other options before going the CF route on a large project. Note, I am a > die hard CF developer, I feel that CF is good for smaller sites, less hits, > and allows for a faster development time than ASP... but it just doesn't > hold up on larger projects. > > > > -Original Message- > > From: Dean Alexandrou [mailto:[EMAIL PROTECTED]] > > Sent: Friday, September 22, 2000 10:01 AM > > To: CF-Talk > > Subject: ASP or Coldfusion? > > > > > > I am not sure what tool to use to develop quite a major site. I have heard > > that while coldfusion is good for small sites, ASP is more > > robust, and would > > cope better with a large site that has to deal with a few thousand hits a > > week. > > > > > > -- > > > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > To Unsubscribe visit > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf > _talk or send a message to [EMAIL PROTECTED] with > 'unsubscribe' in the body. > > > -- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.