Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 mixing html and asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roger Fredriksson
Average Member

Sweden
556 Posts

Posted - 28 January 2006 :  09:33:32  Show Profile  Visit Roger Fredriksson's Homepage
When I modify files i often ends upp with html and asp code. What are the disadvantages with both languages in one file?

rf/www.avgifter.com

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 28 January 2006 :  09:46:39  Show Profile  Send ruirib a Yahoo! Message
That was a long running discussion some time ago. With ASP 3.0 there is no disadavantage in performance from that, contrary to what happened with ASP 2.0. That performance issue with ASP 2.0 was what it took Snitz to make the move to "full asp code" files. Some people will also think using an "all code" approach will make files more readable, while others will differ.

All things considered, I wouldn't worry about doing that.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Roger Fredriksson
Average Member

Sweden
556 Posts

Posted - 28 January 2006 :  11:06:01  Show Profile  Visit Roger Fredriksson's Homepage
ruirib, Thank you!

rf/www.avgifter.com
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 28 January 2006 :  11:23:21  Show Profile  Visit AnonJr's Homepage
I'd always been told that in ASP - all versions - there was a performance hit associated with switching between HTML and ASP code... as a result of that (and all the concurrent "I agree's") I've been working to keep all of my code as pure ASP. I probably will continue out of habit, but its nice to know that little tidbit.

Thanks rui.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 28 January 2006 :  11:36:19  Show Profile  Send ruirib a Yahoo! Message
There was some extensive testing regarding this issue - and "heated" discussions. As I remember, with ASP 3.0, performance tests, if there was any advantage, it was in favor of switching between HTML and ASP. The difference was not that big, though.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07