SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Addict buildakicker's Avatar
    Join Date
    Jun 2005
    Location
    NorCal
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can I start with Ajax vrs JavaScript?

    Hi all,

    I am just getting into programming here. I have css and html down, but don't know much about anything else. I have started with the Ajax book from sitepoint, but am wondering if I should learn JavaScript first? Any thoughts on where to start? Thanks!

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,598
    Mentioned
    24 Post(s)
    Tagged
    1 Thread(s)
    To be able to use Ajax you need both Javascript and a server side language. It doesn't matter whether you learn Javascript or the server side language first but as Ajax is just a way of getting the two to communicate you can't do anything with Ajax unless you know both Javascript and the server side language that you want to use to respond to the requests.
    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="^$">

  3. #3
    SitePoint Addict buildakicker's Avatar
    Join Date
    Jun 2005
    Location
    NorCal
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So I should sharpen my php and learn javascript really, before I start with Ajax?

  4. #4
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Basicly AJAX is Javascript so either way you have to know Javascript to use it. But i recommend moving slowly when it comes to AJAX because it can become very complex the faster you move the more mistakes you will make (and some mistakes you would rather not make).
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  5. #5
    SitePoint Enthusiast Net-Margin's Avatar
    Join Date
    May 2006
    Location
    Manchester, UK
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you are basing AJAX as a language when it is a technology.

    http://en.wikipedia.org/wiki/AJAX

    That explains quite a bit, basically I would learn Javascript, XML and PHP and then you can learn how to efficiently intergrate AJAX technology into your code or website.

  6. #6
    &#083;itePoint Aficionado JVLB's Avatar
    Join Date
    Jan 2002
    Location
    N 44 56.537' W 123 3.683'
    Posts
    1,127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Asynchronous JavaScript and XML = AJAX. It is actually possible to write AJAX with static pages at the server (not that you'd really want to, though, on occasion, it can be useful for testing); AJAX itself is all JavaScript/DHTML with the simple addition of XMLHttpRequest providing background communication with the server.

    Trying to do AJAX without knowing JavaScript would be like trying to drive without knowing how the steering wheel works - you might get somewhere, but the result wouldn't likely be pretty.


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
  •