SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
-
Sep 21, 2006, 12:33 #1
- Join Date
- Aug 2006
- Location
- Tucked away in the mountains...
- Posts
- 228
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ASP or PHP which produces the most xhtml valid code?
I'm undecided as to focus my energy on learning ASP or PHP which I will want to start doing sometime soon hopefully.
I need to choose, so I'm curious as to whether or not one or the other is more likely to produce XHTML valid code than the other. e.g. a page that will make it through the validator. http://validator.w3.org/
Or, will they both preform the same.
Does anyone know?"Three components make an entrepreneur:
the person, the idea, and the resources to make it happen."
Anita Roddick ~British entrepreneur
dbr founder of: ProximityCast.com
-
Sep 21, 2006, 12:40 #2
- Join Date
- Feb 2003
- Location
- Slave I
- Posts
- 23,424
- Mentioned
- 2 Post(s)
- Tagged
- 1 Thread(s)
In PHP you produce all of the HTML. IN ASP I don't think you do. And since MS has an awful reputation for producing compliant code I'll have to give PHP the edge since it at least leaves it up to the author instead of just spitting out garbage on its own.
-
Sep 21, 2006, 12:42 #3
- Join Date
- Aug 2005
- Posts
- 986
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ASP <=> ASP.net
-
Sep 21, 2006, 14:55 #4
- Join Date
- Dec 2003
- Location
- Cheltenham, United Kingdom
- Posts
- 692
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
PHP and ASP are both perfectly capable of producing valid HTML code. It's entirely down to you
I'd go down the PHP route myself. ASP isn't really worth chasing any longer though, it's been superceded by ASP.net and C#.
It's a bit harder to produce completely valid code using ASP.net and C# but still perfectly possible.Olly Hodgson
thinkdrastic.net
-
Sep 21, 2006, 15:16 #5
- Join Date
- Aug 2004
- Location
- Manchester UK
- Posts
- 13,807
- Mentioned
- 158 Post(s)
- Tagged
- 3 Thread(s)
I agree with gnarly, it entirely depends on how YOU write it. PHP doesn't generate XHTML really unless you are using specific classes to write the outputed code.
Personal choice - PHP but it seems that in todays modern marketplace people are looking more and more to developers who can code in PHP, ASP .NET so depending on your final goal - you chooseMike Swiffin - Community Team Advisor
Only a woman can read between the lines of a one word answer.....
Bookmarks