Prototype, JQuery or JSON

Discussion in 'jQuery' started by cancer10, Jun 16, 2008.

  1. #1
    Hi,

    I now want to move to any one of them but not sure which one to choose. Could you plz tell me which one of them is better and why?

    Also,which of them is the most easiest to learn?


    Thanx
     
    cancer10, Jun 16, 2008 IP
  2. koolman

    koolman Peon

    Messages:
    76
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Those 3 things are separated things, can not compare.
    Prototype is a javascript framework.
    jquery is built upon prototype ( mean jQuery is sth like extension of prototype) -> no need to choose.
    While JSON is java notation to facilitate data exchange ( totally different category)
     
    koolman, Jun 18, 2008 IP
  3. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    WTF?!

    jQuery is built on Prototype?!

    JSON is a JAVA notation?!

    Please tell me where you are getting your facts from.
     
    MMJ, Jun 19, 2008 IP
  4. koolman

    koolman Peon

    Messages:
    76
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    God, I post wrong information. Sorry.
    I am thinking of Script.aculo.us while writing about jQuery. Script.aculo.us is the one which built over Prototype.
    Both jquery and prototype make life easier to write js but I would choose jQuery, much smaller file size, doing almost the same, seems shorter code when you write js. And if you need to write client-side effect, jQuery has jQuery UI to compete with Script.aculo.us.
    About the JSON: is not java (typo)... we are talking about javascript ... it is Javascript object notation. It is in another category with jQuery and Prototype (js framework).
     
    koolman, Jun 19, 2008 IP
  5. InFloW

    InFloW Peon

    Messages:
    1,488
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Your choices are either prototype or JQuery and I'd recommend JQuery.

    JSON is just a way to send data back and forth between the user system and the server. You can do it via XML, text and JSON. JSON is the preferred way since it'll be actual java script objects once evaluated opposed to XML which you would then need to parse. You'll find both frameworks have an option of doing JSON when doing AJAX requests.
     
    InFloW, Jun 19, 2008 IP
  6. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    lol, you got it right this time. :)

    yeah, jQuery - imo - is designed/programmed in a much smarter way than Prototype or YUI.
     
    MMJ, Jun 19, 2008 IP
  7. cancer10

    cancer10 Guest

    Messages:
    364
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Can anyone please answer me what is the is actual use of XML?

    I mean why use an XML file instead of a DBMS/RDBMS?
     
    cancer10, Jun 19, 2008 IP
  8. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0