-
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.
-
For a good book you can go to http://www.wrox.com/
-
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.
-
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.
-
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.