Confused between Jquery, AJAX and Javascript!!!

Discussion in 'Programming' started by pratik, Sep 19, 2010.

  1. #1
    Hi there,

    I am a designer... not much into coding... just with basic HTML and CSS.
    I am working on a web site project... the site has some parts which are made in flash...

    But now a days we see a lot of sites which uses effects, but are not made in flash.. effects like fade, flip etc.. Majorly image effects...

    So i was thinking i will have flash, but if the browser does not detect flash a static page / section will be displayed... being a designer i can manage all the design part and a bit of logic as well... but i am confused as to which language is used for such non flash effects.. is it AJAX, JQuery or Javascript.. all seems to be confusing :confused:

    Ca someone help me here as to what should i consider using apart from flash...!
     
    pratik, Sep 19, 2010 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    All three are javascript and nothing else. Ajax is just javascript that communicates with the server. jQuery is a javascript library of routines.

    CSS3 now offers a collection of animated effects used in Flash that you might consider but they only work in modern browsers and not IE.
     
    drhowarddrfine, Sep 19, 2010 IP
  3. dreamconception

    dreamconception Peon

    Messages:
    55
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    drhowarddrfine is correct. I suggest you begin look at JQuery as it is library with AJAX included as well. It has most animations and effects out of the box, and is easy to use. However you do need basic knowledge of programming.
     
    dreamconception, Sep 19, 2010 IP
  4. qualitypoint

    qualitypoint Peon

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Learning jQuery will be easy if you first learn about DOM and javascript basics.
     
    qualitypoint, Sep 19, 2010 IP
  5. pratik

    pratik Notable Member

    Messages:
    2,307
    Likes Received:
    114
    Best Answers:
    0
    Trophy Points:
    200
    #5
    Hey guys thanks for your inputs..
    So i recon JQuery is the way to go...

    Now i just need to learn / find how to make simple image effects like image rollovers and image sliders... so that i can show them in absence of flash...;)
     
    pratik, Sep 19, 2010 IP
  6. dreamconception

    dreamconception Peon

    Messages:
    55
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Actually that can be done with basic javascript, and as qualitypoint says, it is better if you have a basic understanding of javascript before using libraries. However is your call, just trial by error :)
     
    dreamconception, Sep 19, 2010 IP
  7. Mike224

    Mike224 Well-Known Member

    Messages:
    80
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    100
    #7
    JQuery = A framework(library) that uses AJAX (using javascript). Other frameworks also exist: Prototype, MooTools, etc..
    AJAX = a theory / practice (that has actually been around longer than the name AJAX has).. "Asynchronous JavaScript and XML" to update your page dynamically
    Javascript = a client side language (not to be confused with Java)


    ... you can also find lots of pre-existing frameworks that already do many Ajax fancy affects... try Ajax Daddy, or just google Ajax examples / Ajax frameworks
     
    Last edited: Sep 19, 2010
    Mike224, Sep 19, 2010 IP
  8. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #8
    a framework is not the same thing as a library. Nor is Ajax only used to update web pages. And JavaScript is not client side only.
     
    drhowarddrfine, Sep 19, 2010 IP
  9. Mike224

    Mike224 Well-Known Member

    Messages:
    80
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    100
    #9
    Cool, that's what I love about forums... There's always someone helpful to expand on others help (or correct incorrect statements)

    Can you expand on that drhoward

    Is there a relationship between frameworks and libraries? (possibly a little picky for the answer to this thread, but it would be good to answer)
    What else does Ajax do other than help update web pages? (for the users example, I think we were just talking about updating images, but it would be good to expand on this too)
    And when is JavaScript used as a non-client side language, and is this a common scenario? (I'm just interested)


    .. I'm here to learn (not to fight, so forgive me if I at all sounded rude, it's not intentional and also very late here)

    <in non techy terms, otherwise you'll probably loose me>
     
    Last edited: Sep 19, 2010
    Mike224, Sep 19, 2010 IP
  10. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #10
    A framework is just like it sounds, an outline or frame to use to construct a project; like a template. A library is a collection of commonly used routines.

    Ajax can be used to send or receive data from client to server in the background but it may have nothing to display on the page. An online editor can do spellcheck or input verification for example.

    JavaScript is a general purpose language that's integrated into most browsers but that doesn't make it client side only. I do not know how well it's integrated into servers but have read discussions of non-browser JavaScript usage in the past. Google for some of those.
     
    drhowarddrfine, Sep 19, 2010 IP
  11. Senoritajonsan

    Senoritajonsan Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    As every one told you that the JavaScript library is known as jQuery. It is the client side scripting of HTML is simplified by designing a JavaScript library which is also compatible with all the browsers available for use.jQuery can be used very easily with Struts 2 Framework. It has support for all types of browsers and is very popular JavaScript library in use these days. Use of jQuery with Struts2 framework includes navigating a document, selection of DOM elements, creation of animations, handling of events and last but not the least is development of AJAX applications. You can use jQuery with Struts 2 Framework very easily.
     
    Senoritajonsan, Sep 22, 2010 IP
  12. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Before learning JQuery, see if there are any plugins that will do the job.
    If you are after a simple slider or gallery, there are heaps of those available.
    Do a google search too because many good plugins are not in the repository.
     
    Cash Nebula, Sep 22, 2010 IP
  13. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #13
    jQuery is one of many such libraries, not THE library.
    Now you're complicating things. He'd have to learn Java to use Struts.
     
    drhowarddrfine, Sep 22, 2010 IP