SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Member
    Join Date
    Sep 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Need An Expert Advice - Which AJAX Lib Should Be I Consider For Learning

    Hi,


    I need an Advise from those who are an expert in AJAX/Javascript I'm a PHP Developer and so far I was using ready to use AJAX codes/scripts but I realized I should be master in at least 1 AJAX Library or Toolkit. Please tell me what should I do, though I can't spare a lot of time but even then whenever I have time I wish to continue learning something which you guys will advice me :-


    1. jquery
    2. dojo
    3. Prototype
    4. script.aculo.us


    I need to learn that one which is powerful and solve most of the problems and easy to use.

  2. #2
    SitePoint Member
    Join Date
    Sep 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is no expert here who has mastered AJAX/ Javascript and give me an advice!

  3. #3
    SitePoint Member
    Join Date
    Sep 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For sitepoint "Great boast little roast"

    I had better move to some good and responsive discussion forum where moderators are responsive to their responsibilities

  4. #4
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Personally I would go with jQuery as it is pretty robust and easy very to learn.

    Just out of interest could you explain what you mean by
    where moderators are responsive to their responsibilities
    How are we shirking our responsibilities? I cant exactly go bull whipping members into answering your question can I?
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  5. #5
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,862
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    I suggest that you learn JavaScript to an intermediate level before you look at any libraries. That way you will be able to use the library properly instead of using a half a dozen library calls to do what two ordinary JavaScript commands can do as many people who learn a library without first learning the language often end up with.
    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="^$">

  6. #6
    SitePoint Member
    Join Date
    Sep 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks spikeZ and felgall (Stephen) for answering.


    Thanks again, felgall(Stephen) for looking into my problem, your answer shows your experince and I completely agree with you so I'd love to act upon your advice

    I visited to your site's Javascript section :- http://www.felgall.com/

    I already know almost everything which was listed there (I know there are so many thing which I don't know about Javascript) and as far as http://javascript.about.com/ is concerned everthing is splitted in bits which is hard for a newbie to arrange all the peice of information.

    If I do google then 1 peice of information is on 1 site and 1 is on other so I'd like to request as you've a lot of experience, kindly tell me a place where I can go through Javascript tutorial step by step in an easy manner so that latter on I can learn jquery.




    Quote Originally Posted by spikeZ View Post
    Just out of interest could you explain what you mean by
    I heard a lot about sitepoint so I was very exicited and eager about my first visit, I signed up for site and forum as well and I started getting a lot of mails :-

    containing messages for signup this, signup that...there were a lot of things which you can explore and in a nutshell there was a lot of propeganda and I was impressed whatever was wrrtiten in all those emails.


    I started a topic on Sep 30 then till next day there was no reply, I requested to reply to my thread but again there was no reply then at last I wrote my final message and I quit.

    If noone is replying to any topic then it's moderator duty to reply to that topic whereas even after requesting there was no reply.

    So you shouldn't have asked me for the explanation.

  7. #7
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    You cannot demand such answers from a forum, especially so broad. A similar question could be is PHP or ASP better. Well if you are a PHP guy, you'll say PHP... if you are an ASP guy, you'd say ASP.

    If noone is replying to any topic then it's moderator duty to reply to that topic whereas even after requesting there was no reply.
    What would be an appropriate reply? To say that they are sorry you didn't get a reply?
    Ryan B | My Blog | Twitter

  8. #8
    John 8:24 JREAM's Avatar
    Join Date
    Sep 2007
    Location
    Florida
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found JQuery very appealing and I have been using it for some time now without any regrets.

    I had looked at the Prototype API, but since I was used to JQuery I had a biased opinion and I did some of the commands in prototype. I have never looked at Dojo or scriptaculus.

    Good luck.

  9. #9
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2006
    Location
    Augusta, Georgia, United States
    Posts
    4,182
    Mentioned
    16 Post(s)
    Tagged
    4 Thread(s)
    I absolutely hate DOJO. I wouldn't recommend using that library at all. The number one reason why I hate it is that it supports invalid mark-up. I've never used prototype or script script.aculo.us. However, I have used JQuery and it is a relatively nice light weight collection of utility functions that you can decide to use when you want. That is one of the nice things about JQuery. If you know JavaScript well you can be selective in its use. The other library that is worth mentioning is YUI. YUI is much more than just a collection of library functions but a component library built on an object oriented paradigm. YUI vs. JQuery I prefer YUI as its more robust and object-oriented. Though JQuery is all the rage these days. YUI is targeted more towards programmers in its design than designers, like JQuery. If you desire a normalized function library for common tasks use JQuery, otherwise you want something more robust and object oriented use YUI. One point worth mentioning is the animation component for YUI is much more powerful/flexible and even fluent than JQuery.

  10. #10
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,053
    Mentioned
    66 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by felgall View Post
    I suggest that you learn JavaScript to an intermediate level before you look at any libraries. That way you will be able to use the library properly instead of using a half a dozen library calls to do what two ordinary JavaScript commands can do as many people who learn a library without first learning the language often end up with.
    The point of a library is the reverse but I've seen what you've alluded to occur before.

    OP> I got serious about learning javascript alongside prototype. I didn't realize until much later that prototype takes advantage of the javascripts prototypical inheritance to work it's magic, and many of it's functions aren't part of pure js. It took me a while to get used to what was pure js and what was prototype.

    jQuery makes what belongs to itself more obvious because it doesn't modify the object prototypes. Lack of that confusion phase may be beneficial, but it may not.

    The main split between these two frameworks lies at this key disagreement. jQuery is self contained, doesn't pollute the global namespace, and so "plays well with others" as far as running your script alongside other scripts you find online. Prototype definitely does NOT play well with other scripts unless they also require prototype.

    On the other hand prototype possesses a library to emulate classical inheritance. jQuery does not and will likely never have one since it's creator, John Resiq, is on record calling everyone who likes classical inheritance an idiot.

    In my professional opinion jQuery is best suited for small tasks that can be plugged into pages quickly. Large enterprise level javascript applications are better served by prototype since it has a better mechanisms for code reuse through its classical inheritance emulation.


Tags for this Thread

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
  •