SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2007
    Posts
    130
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript frameworks

    I would like to get opinions on which JS framework is best for a relatively simple website. I've looked at extjs but it seems more focused on complex webapps than a website. Important to me will be styling, autocomplete, ajax support, basic dom manip.

  2. #2
    SitePoint Enthusiast Baylisstic's Avatar
    Join Date
    Jul 2010
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What you use would be dependant on exactly what you are trying to do?

  3. #3
    SitePoint Zealot
    Join Date
    Jul 2007
    Posts
    130
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A lot of what I will want to do is around UI controls - auto complete, combo boxes.

    I will also be doing a lot of dynamic manupilation of DOM objects - getting a list of results displaying them, sorting them, etc.

  4. #4
    om nom nom nom Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,234
    Mentioned
    47 Post(s)
    Tagged
    1 Thread(s)
    You may want to click the little flag under your post to ask a moderator to move this thread over to Javascript... because I would think you'll get answers by those using frameworks. Although I can predict a bunch of people will fly by and say "jQuery for everything bestus evar LOL" etc. Though I'm also thinking, someone surely has made a page somewhere with a breakdown of what each of the popular frameworks concentrate on as being best at... likely found in a google search.

    You DO want a rather popular framework, rather than an obscure one. Popular ones are most likely to be best debugged and regularly updated.

  5. #5
    SitePoint Zealot
    Join Date
    May 2008
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    jQuery for AJAX and the like is top class (in my opinion). You will need jQuery UI / plugins to use more advanced features, although for simple AJAX calls it's really rather good. It is different to other frameworks I tried in the essence it felt more like writing CSS than JavaScript, where as other frameworks (MooTools) felt like I was over my head. I did the stupid thing of picking a framework and not learning JavaScript to begin with - a big mistake. What do you need this to do? It may be simple enough to just write the JS yourself.

  6. #6
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'll find people who love each framework, and people who hate each framework. Really, it all comes down to personal preference -- take a look at the documentation for the ones that interest you, look at the sample code, and see which one fits your style of programming the best. The one that is easiest for you to work in will be the best choice for you.

    (And I must second what Adam said -- knowing the core principles of JavaScript as a language is a must before you start diving into frameworks. It will save you a lot of headaches in the long run)

  7. #7
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,608
    Mentioned
    24 Post(s)
    Tagged
    1 Thread(s)
    To get effective use out of any of the frameworks you need to know a reasonable amount of JavaScript first. Once you know enough JavaScript to be able to use a framework effectively the choice of which framework will best suit you will be fairly obvious.
    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="^$">

  8. #8
    om nom nom nom Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,234
    Mentioned
    47 Post(s)
    Tagged
    1 Thread(s)
    But, for instance, I've heard that MooTools developers consider themselves as actually extending the Javascript language itself, while jQuery is also known for concentrating on smooth animation and scrolling etc. (heard that one from Kevin Yank, don't know it from experience).


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
  •