PC Review


Reply
Thread Tools Rate Thread

ASP code re-write

 
 
=?Utf-8?B?TWVs?=
Guest
Posts: n/a
 
      1st Oct 2004
My company's webpages are written in ASP. When ever I go in and "simple" edit
a page's text and save the changes using Front Page 2003, the company
programmer goes ballistic as it re-writes the code on the page and can cause
problems.

Are there any settings in FP 2003 that will not re-write an ASP page after
editing?

Thanks

 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      1st Oct 2004
This often happens with poorly-separated code and presentation HTML. With
ASP, you can easily mix and match HTML and server-side scripting, and there
is a lot of spaghetti code out there to prove it. However, I doubt that you
will get your ASP developer to change, just because some MVP said that his
style needs work. I did write a "Best Practices for ASP Development" article
on the MSDN web site that goes into detail about how to do this using
FrontPage, but will he read it?

About your only alternative in this case, is to do the HTML separately from
the ASP page that your developer is working on, and give it to the developer
to add to the page. Only he will know how to do so safely.

Thankfully, ASP.Net makes this sort of mish-mash of code and presentation
logic much more difficult. Maybe you could convince him to start using
ASP.Net? ;-)

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Mel" <(E-Mail Removed)> wrote in message
news:1A1D9AAB-0AD0-47C2-96EB-(E-Mail Removed)...
> My company's webpages are written in ASP. When ever I go in and "simple"

edit
> a page's text and save the changes using Front Page 2003, the company
> programmer goes ballistic as it re-writes the code on the page and can

cause
> problems.
>
> Are there any settings in FP 2003 that will not re-write an ASP page after
> editing?
>
> Thanks
>



 
Reply With Quote
 
clintonG
Guest
Posts: n/a
 
      2nd Oct 2004
If all you are doing is simple editing of text, edit the source with Notepad
or an HTML editor such as the well-known and highly respected
HomeSite (now owned by Macromedia. I don't recall if they
sell it separately but HomeSite).

Use an outstanding application like WS_FTP Pro to get the source
and put it back on the server. Your company's developer will luv you
and will probably agree with my comments.

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (E-Mail Removed)
URL http://www.metromilwaukee.com/clintongallagher/


"Mel" <(E-Mail Removed)> wrote in message
news:1A1D9AAB-0AD0-47C2-96EB-(E-Mail Removed)...
> My company's webpages are written in ASP. When ever I go in and "simple"

edit
> a page's text and save the changes using Front Page 2003, the company
> programmer goes ballistic as it re-writes the code on the page and can

cause
> problems.
>
> Are there any settings in FP 2003 that will not re-write an ASP page after
> editing?
>
> Thanks
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will the code be compiled while I write the code Tony Johansson Microsoft C# .NET 2 28th Mar 2009 06:28 PM
Re: Should you simplify this code? Write only code raylopez99 Microsoft C# .NET 0 9th Sep 2008 10:57 PM
Should you simplify this code? Write only code raylopez99 Microsoft C# .NET 1 9th Sep 2008 03:57 PM
write a C# code inside a javascript code, before body tag Daniel Andrade Microsoft C# .NET 1 19th Oct 2006 07:44 PM
Code to write out all lines of code davidm Microsoft Excel Programming 3 5th Aug 2005 04:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:16 AM.