PDA

View Full Version : Xml, Dhtml


MarkTiarra
11-22-2002, 06:03 PM
Just wondering who uses XML or DHTML with any regularity on adult sites? I was thinking of adding to the LUMYR staff a couple guys who know it but I don't know how worth it it is. My only use of DHTML was for the pop up on http://www.flashfactorporn.com because I:

a) wanted a popup that isn't a other annoying browser window and,
B) like the drop shadow effect. =]

So anyway... XML, DHTML... worth it or can it?

Edd
11-22-2002, 06:05 PM
totally worth it Mark - the NEXT standard the w3 will release is XML for all the internet - html is being phased out and getting replaced with XML! So start NOW and be ahead of the game! But if you ALREADY know html then XML isn't that much of a stretch really - some differences, but no major paradigm shifts! :awinky:

EricP
11-22-2002, 06:27 PM
Actually XML will NOT be replacing HTML.

XML was designed to describe data and to focus on what data is.

HTML is about displaying information, XML is about describing information.

HTML was designed to display data and to focus on how data looks.

XML will NOT be replacing HTML. XHTML will though.

XHTML is the next generation of HTML.

XHTML is almost identical to HTML 4.01

XHTML is a stricter and cleaner version of HTML.

Basically XHTML consists of all the elements in HTML 4.01 combined with the syntax of XML. Its MUCH cleaner - less chance of the site looking screwed in some browsers and fine in others.

I will add that I build all my pages in XHTML.
If you want your sites to be cross browser compliant in the future, start learning the XHTML standard now.



As far as DHTML, all it really is is HTML, CSS, and JavaScript.





Last edited by EricP at Nov 22 2002, 07:43 PM

EricP
11-22-2002, 06:57 PM
I thought I would post an example or two...

Here is a page I put up that uses an XML file:

http://www.vbasic.net/xml/ReadMenu.aspx
Here is the XML File: http://www.vbasic.net/xml/Menu.xml


Here is another XML file: http://www.vbasic.net/xml/products.xml


And here is a normal XHTML file:


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>

</body>
</html>



Like for an image, you must close the tag like so:


<img src="media/file.gif" width="100" height="100" />


Not hard eh?

Now whats cool about XML is it will be the way applications communicate with other applications across the internet. By using XML one application can read and understand the data from another application. Its a Standard for serving and reading data across the internet.







Last edited by EricP at Nov 22 2002, 07:34 PM

Dianna Vesta
11-22-2002, 07:02 PM
Originally posted by EricP@Nov 22 2002, 06:35 PM
Actually XML will NOT be replacing HTML.

XML was designed to describe data and to focus on what data is.

HTML is about displaying information, XML is about describing information.

HTML was designed to display data and to focus on how data looks.

XML will NOT be replacing HTML. XHTML will though.

XHTML is the next generation of HTML.

XHTML is almost identical to HTML 4.01

XHTML is a stricter and cleaner version of HTML.

Basically XHTML consists of all the elements in HTML 4.01 combined with the syntax of XML. Its MUCH cleaner - less chance of the site looking screwed in some browsers and fine in others.

I will add that I build all my pages in XHTML.
If you want your sites to be cross browser compliant in the future, start learning the XHTML standard now.



As far as DHTML, all it really is is HTML, CSS, and JavaScript.
Thank fucking God! HTML, PHP, CGI, what the hell???? I can't keep up with this shit anyhow! lol

EricP
11-22-2002, 07:23 PM
Haha!

Edd was just trying to scare you! :D

XHTML is actually very easy.

:D

MarkTiarra
11-22-2002, 07:24 PM
SOmehow I knew I'd get an intelligent response here. Cool! Thanks for the heads up. I'm primarily a graphics guy and I always hand code the HTML pages to make all the cross browser compatibility thing happen.

Now the question is: If I start using XHTML and beyond to some XML, will older browsers not recognize it and things like WebTV as well?

Thanks!

EricP
11-22-2002, 07:30 PM
Hi Mark,

As far as using XML in a webpage that is read by WebTV, it should work fine if the XML is processed server side.

Now as far as XHTML, I do know WebTV HAD some issues with it...don't know if they are fixed or not. Maybe someone who has WebTV can help us test a page or two!

:D


Edit: I think they may have just been slow adapting to the new standard.




Last edited by EricP at Nov 22 2002, 07:50 PM

Cal
11-22-2002, 07:47 PM
You can pick up a webTV developer's kit and get accurate test results on all your pages:

http://developer.msntv.com/Tools/WebTVVwr.asp

It's owned by MSN now, this one should cover both, if you need the old one I have it somewhere on one of my hard drives.

C.

EricP
11-22-2002, 07:47 PM
Sweet!

Thanks for the LinkUp Cal!

:D

Cal
11-22-2002, 08:01 PM
When I first got my hands on the webtv kit I was actually surprised surfing around to see which sites 'worked' with it. Their HTML Error reporting was very verbose, it was a very useful tool for people running basic html business sites. Dunno how the new MSNTV one is, I haven't tested it out yet but will soon for the new program.

I'd place some bets some of the major billing companies and sponsors have sites that aren't webTV friendly.

C.

Edd
11-22-2002, 09:15 PM
No I wasn't trying to scare anyone - we said the same thing - I just meant that html was becoming xml/xhtml - they are virtually the same thing - :awinky: It's going to make the net much cooler as Eric stated: no more crossbrowser problems and better extensibility! And as the examples Eric also posted show its not that tough to grok ! you don't have to be a :ph34r: to use it!

EricP
11-22-2002, 09:30 PM
I was just messing with you Edd....

I just wanted to point out the difference between XML, XHTML and DHTML.