|
-
Mar 7th, 2001, 03:12 PM
#1
Thread Starter
Hyperactive Member
I have been self-taught to build ASP pages and I'm not 100% sure my coding format is proper. The functionality is there which is why I'm not too worried about it, but I would like to learn the right way before I get too many bad habits. Does anyone know of any tutorials to show the correct formats ASP code should be written in? I would view source code downloaded from other sites but how do I know if that person is coding properly?
Thanks for any help.
If you think education is expensive, try ignorance.
-
Mar 8th, 2001, 06:01 AM
#2
For a good book you can go to http://www.wrox.com/
-
Mar 8th, 2001, 10:05 AM
#3
Thread Starter
Hyperactive Member
I have 3 over their books. Thanks. Most of my code has been learned from there, so I guess it's correct.
My code looks different because I find it easier to read if I close ASP (%>) to create a table or something like that instead of writing Response.Write which is what the books use. What is the cleanest way to write code? It's a lot harder to find the tables and straight HTML if you use all ASP.
If you think education is expensive, try ignorance.
-
Mar 8th, 2001, 10:19 AM
#4
The best way is using Response.Write. Thats what Microsoft are saying. But if i am using alot of
HTML code i will stick to <% %> tags.
-
Mar 8th, 2001, 10:26 AM
#5
Thread Starter
Hyperactive Member
That's kind of what I thought. That is one rule I don't always follow and I'm not sure if / when I will start doing it on a regular basis.
If you think education is expensive, try ignorance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|