• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

Javascript-Java-DHTML

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I know it is very simple question. But then also I have some confusion.
What is difference between Javascript-DHTML-Java applets or Application in term of design aspects? Can I get the same GUI design of Java applet or application like Menus,Tabs,Pull down or drop down in Javascript or DHTML without use of Applet or application? If yes, then why developers not using Javascript or DHTML for design part in websites and applet for SNMP or Sockets?
Please let me know
Angela
 
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Javascript is a scripting language primarily used for client side scripting, meaning scripting that is sent to the user and done through thier browser. This is mainly used for form validation, rollovers, opening new and sized windows, alert boxes, stuff like that. Until DHTML, these were some of the main uses.
DHTML or Dynamic HTML is taking javascript a bit further and having js access every part of the page. Through the combination of layers or cascading style sheets, you can access every part of a page so you can hide elements, make them draggable, fade them in and out, and create menus that overlay on top of other elements.
Java applets were used a good bit before DHTML was around because you couldn't do the stuff above in HTML so you used Java to create dynamic pages, and interactive forms and stuff like that. Applets has gone down some because of DHTML, but they are still very useful especially where you need sockets to relay information back and forth.
Java applications are stand alone java programs that don't run in your browser. This can be just about anything you want because you are not restricted by the browser any more.
Bill
 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks bill,
angela

 
reply
    Bookmark Topic Watch Topic
  • New Topic