Author |
Topic |
e3stone
Average Member
USA
885 Posts |
Posted - 30 July 2002 : 14:07:54
|
Does anyone have a current forum without all the response.writes? I'm going through and changing all back to html because I can't stand looking at all that stuff in the same color (Visual Studio color-codes html, etc)
Just curious
<-- Eric --> |
|
Aaron S.
Average Member
USA
985 Posts |
|
Fury
New Member
USA
62 Posts |
Posted - 11 August 2002 : 21:00:05
|
I did a search of the forums and didn't find an answer to this and this seems to be an appropriate place to ask this question ...
Why is 3.4 done entirely in response.write's? It seems to be a lot of extra coding and it is harder to read when developing. Wouldn't the server respond faster if it doesn't have to iterpret the response.write command instead of just feeding straight HTML back to the browser?
I'm sure there is a really good reason for it. My assumptions are probably all backwards. Can we get more detail as to the reason behind it? I'd hate to go through and change all the code only to find that it was more effecient as it was.
Thanks |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 11 August 2002 : 22:54:42
|
<readers digest version> 1) It's faster on some versions of ASP, the same on others 2) It's easier to read, well, for some of us </readers digest version> |
Nathan Bales CoreBoard | Active Users Download |
|
|
Aaron S.
Average Member
USA
985 Posts |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Fury
New Member
USA
62 Posts |
Posted - 12 August 2002 : 06:49:53
|
Just to be clear, I did do a search on response.write 3.4 and did not get either of those links.
But the links were exactly what I was looking for. I can understand Richards point about people complaining and since Nathan indicates that ASP.NET does not support switching I suppose I'll just have to get use to it.
Thanks everyone. |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 12 August 2002 : 09:53:28
|
Unless I'm mistaken ASP.NET does indeed support switching. The following is perfectly valid in .NET
<table> <tr> <td><% = Variable %></td> </tr> </table>
quote: 1) It's faster on some versions of ASP, the same on others
General consensus is actually that its slower under later ASP versions. |
Kiwihosting.Net - The Forum Hosting Specialists
|
Edited by - Gremlin on 12 August 2002 09:56:35 |
|
|
crash
Advanced Member
Netherlands
2064 Posts |
Posted - 12 August 2002 : 10:03:13
|
slower, faster, that actually leaves us hanging in the middle, now doesn't it? |
cHosting.nl |
|
|
bjlt
Senior Member
1144 Posts |
Posted - 12 August 2002 : 10:58:01
|
snitz was and still is based on asp 2.0, I think v3.4 and v4 should be stable and safe enough for people with NT, a later version shall migrate to asp 3.0 some time. after that or in the mean while a new version for asp.net should take place. |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 12 August 2002 : 13:00:48
|
quote: Originally posted by crash
slower, faster, that actually leaves us hanging in the middle, now doesn't it?
Even if slower for IIS 5.x and 6.x users, it's still a whole lot faster than Snitz 3.3.x. Personally I think that should be addressed in the future, but that's just MVHO. I also don't think readability is enhanced, but you'll find many people who think otherwise. You just can't win them all ... |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
snaayk
Senior Member
USA
1061 Posts |
Posted - 12 August 2002 : 14:10:49
|
quote: Originally posted by ruirib
I also don't think readability is enhanced, but you'll find many people who think otherwise. You just can't win them all ...
I know that those who use WYSIWYG editors will HATE response.writes, nothing will show up the editors, lol. That sucks, if thats the way you have been designing sites. Thanks to Snitz I am no longer bound to the rigors of WYSIWYG Thank You Snitz!! |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 12 August 2002 : 14:15:37
|
quote: Originally posted by snaayk
I know that those who use WYSIWYG editors will HATE response.writes, nothing will show up the editors, lol. That sucks, if thats the way you have been designing sites. Thanks to Snitz I am no longer bound to the rigors of WYSIWYG Thank You Snitz!!
Lately I've only used Dreamweaver MX to get a first draft of a site (or quickly checking HTML tags that I don't use very often), and then I clean the codes and do the "real work" in Homesite+. I'd hate to be dependant of WYSIWYG editors again. But I'm glad we won't leave those who are, out in the cold. They'll get all the help we can give them! |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 12 August 2002 : 14:21:20
|
quote: Originally posted by snaayk
I know that those who use WYSIWYG editors will HATE response.writes, nothing will show up the editors, lol. That sucks, if thats the way you have been designing sites. Thanks to Snitz I am no longer bound to the rigors of WYSIWYG Thank You Snitz!!
I don't use WYSIWYG editors. I code everything by hand, but I do enjoy color coding. It eases the burden on my poor brain and God knows how that is needed... |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
Fury
New Member
USA
62 Posts |
Posted - 13 August 2002 : 23:37:03
|
I agree ruirib that the new version is so much improved that it makes little difference now.
Howerver, I am heavily modifying the my site anyway to allow for CSS and if I can switch to a mixed mode and eliminate most of the response.writes along the way and get even greater performance I'll do it. I realize there are browser issues with CSS and I'm being as careful as I can to allow for some minimal older version compatability (Bradsoft TopStyle Lite that ships with HomeSite does a nice job of this). But the amount of code that I can eliminate because of using CSS is reducing the amount of code being sent back to the user, further speeding up the delivery of pages. Especially for dialup users.
So what I am still wondering is if using a W2K Advanced server (is that asp 3?) will I see improved performance if I change Snitz 3.4 to a mixed mode (primarily straight HTML). And the second question is, will that code still work in .net or will it be slower/faster/won't work at that time?
Thanks |
|
|
Topic |
|