SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot taledo's Avatar
    Join Date
    Feb 2006
    Location
    Sydney
    Posts
    129
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java vs Javascript for AJAX?

    Hi JavaScript Gurus,

    I am a XHTML/CSS developer with an interest in AJAX. I am at the stage were I wish to learn how it's all done.

    So my quesiton is this:

    To develop AJAX applications do I need to learn JAVA or Javascript?

    It may sound like a dumb question considering AJAX is mainly javascript and XML, however will learning JAVA first off be a benefit?

    thanks
    Aha... Victory is mine!!!

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1) javascript

    2) No. However learning a rigorous programming language(C++, C#, Java) will help anyone's programming skills. But learning Java is about 10 times as big an undertaking as learning javascript.

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,810
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    You could use javascript on the client and Java on the server (or any other server side language). No alternative to Javascript though because there aren't any other languages that run in web browsers other than IE.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  4. #4
    SitePoint Guru
    Join Date
    Apr 2006
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It depends on the server programming. If you use Java on the server, by all means learn how to use it.

    If you use Asp or Net or Php, learn that language.

    AJAX is mainly about the communication between a webpage and its server-
    the more you know about both sides of the conversation, the better.

  5. #5
    SitePoint Member
    Join Date
    Jan 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nm


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •