Author |
Topic  |
|
Roger Fredriksson
Average Member
  
Sweden
556 Posts |
Posted - 28 January 2006 : 09:33:32
|
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
|
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 |
 |
|
Roger Fredriksson
Average Member
  
Sweden
556 Posts |
Posted - 28 January 2006 : 11:06:01
|
ruirib, Thank you! |
rf/www.avgifter.com |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 28 January 2006 : 11:23:21
|
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. |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 28 January 2006 : 11:36:19
|
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 |
 |
|
|
Topic  |
|