|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
#1
|
|||
|
|||
|
Hi all,
I am new to Web programming, most of the time have done GUI development in C++/MFC and played a bit with Java/Swing. I have read about DHTML and its ability to enable interactive Web applications. Before delving into DHTML programming I would like to know what are the surprises; people in my group ask the following questions: 1. Why do we need this DHTML stuff? (after all, we already have Java) 2. Does it work across browsers? 3. Are there any development tools that support DHTML programming? 4. Can we use DHTML to develop GUI applications like we do with Java? Thanks for your time, Sergiu. |
|
#2
|
|||
|
|||
|
... DHTML it's an acronym for Dynamic Hyper Text Markup Language. It's really an extension of html I don't know what you mean by GUI I know what it stands for Graphical User Interface but you do that a lot with java? Or do you mean javascript. Javascript is a scripting language with many pusposes you could make games,apps, w/e. It is slow but DHTML does not have this capability I'm pretty sure. I'm not exactly sure what it is :P haha I do use parts of it though haha.
edit: and if you meant Java then wtf are you talking about java is slow as hell for loading why would you make a GUI for a site in it when it could be done in HTML and javascript. |
|
#3
|
||||
|
||||
|
1. Why do we need this DHTML stuff? (after all, we already have Java)
You don't need it unless you want faster loading effects than you can get with Java (especially on non IE browsers). 2. Does it work across browsers? Yes. It can be tricky at times though, owing to browser peculiarities. 3. Are there any development tools that support DHTML programming? A good text editor. And many of these WYSIWYG HTML editors support it in a limited fashion.4. Can we use DHTML to develop GUI applications like we do with Java? Yes but, the operative word is 'like'. They will not, in most cases, be the same. DHTML is more suited to simpler applications than what Java is capable of. If all you are going for is a slideshow or document effect, DHTML is far superior owing to load time. DHTML is really not any one thing, rather the body of devised schemes (for lack of a better word) employing javascript, html and, often css style. Also used, at times, are PHP, xml and whatever else is handy or suited to one's particular purpose(s).
__________________
WWWWWWWWWWWW - John________________________ Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate |
|
#4
|
||||
|
||||
|
Quote:
__________________
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP! Last edited by Twey; 07-29-2005 at 11:29 AM. |
|
#5
|
|||
|
|||
|
Hi jscheuer1 and Twey,
Your replies are very helpfull! Quote:
Quote:
1. Cannot open sockets -- but, can load data from Web servers (e.g. through HTTP, FTP, SOAP). In other words: no access to low-level communication protocols -- I presume that most of us can live without that. 2. Advanced graphics -- what exactly do you mean by this? An application like MS Outlook requires "advanced graphics"? An application like the editor I am using right now to post this message requires "advanced graphics"? 3. 3D -- OK, I can live without 3D for a while ;-) Thanks for your patience, Adrian. |
|
#6
|
||||
|
||||
|
1) It can only run within a web browser.
2) It has NO socket capabilities at all. 3) By "advanced graphics" I mean... well... basically any graphics. There is the HTML <img> element, and it can be moved around with Javascript. That's about all. HTML is not a real language - any more than PDF is. It's a format to present documents, that's all. Its elements were never originally designed for interaction, and while they now do have such support, it's not as powerful as a real programming language's. Javascript is a language, but it was only designed to manipulate HTML. Javascript basically edits HTML on the fly.
__________________
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP! |
|
#7
|
|||
|
|||
|
it cannot open sockets but you can with XML. If you're thinking of making something multiplayer or a chat room. dhtml/javascript can do it but you wouldn't get any speed.
|
|
#8
|
||||
|
||||
|
Quote:
__________________
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP! Last edited by Twey; 07-29-2005 at 08:06 PM. |
|
#9
|
|||
|
|||
|
Quote:
In other words, why someone would work with a low-level API (sockets) when he can work with a high-level API (WebServices)? Quote:
Please provide few examples for what would you do with "adavanced graphics". |
|
#10
|
||||
|
||||
|
Quote:
Quote:
__________________
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|