FAQ Log in
Search Profile
Memberlist Usergroups
Log in to check your private messages
Register
Everyone is dead!
Goto page Previous  1, 2
Post new topic   Reply to topic
Event Horizon Forum Index » Other » Everyone is dead!
View previous topic :: View next topic  
Author Message
Game Mogul



Joined: 30 Jan 2005
Posts: 241
Location: Neenerneener Land

 Post Posted: Sun Oct 30, 2005 12:12 am    Post subject:
Reply with quote

Well, messing with DOM does suck, but if you can stick with W3C standard DOM, then you'll have no browser sniffing to do. Generally, everything works with every browser but IE (go figure Razz), Microsoft always tries to make a different, non-conforming standard when any standard comes out. Their idealogy reaches so far in their followers that A programmer freind of mine thought that C++ was on its way out and C# was replacing it Laughing.

But, getting back the Javascript (it's so easy to poke at Megahard Razz), the problem is that all the fun DOM stuff is non-standard an varies, that's where DOM gets tricky. I try as hard as I can to stick to W3C to save heart burn. However, I wanna get away from the varying support of (X)HTML and Javascript and get into the complete support of XML with PHP parsing (w00t!). Since PHP is server side, you don't have to worry if the user's browser is up-to-date, and it applies iniversally since XML is completely defined by what you do in PHP.

The only problem is if the browser is sooooo old that XML is not recocnized, but even then, all you have to do is use PHP to write out at HTML instead of XML. It's so universal. One could use browser sniffing just to figure out if it supports XML, then send it one of two ways. (1) XML with PHP parsing, or (2) XML with PHP parsing and then writing HTML files to the browser.

-Mogul
_________________
"Never sneak up on a turtle while he's welding"
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Event Horizon Forum Index » Other » Everyone is dead!
Post new topic   Reply to topic All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Solaris phpBB theme/template by Jakob Persson
Copyright © Jakob Persson 2003



Powered by phpBB © 2001, 2002 phpBB Group