Survey: Essential JavaScript for New Projects

Advertisement

Like many developers I have a standard set of files that I simply copy into every new project I start. These include base HTML templates, useful PHP functions, Sass mixins and a number of JavaScript files that I can’t live without. With the advent of great libraries like Modernizr and polyfills such as the indepensable html5shim we are becoming more reliant on these resources to help us create great web sites and applications.

I thought it would be interesting to learn more about the libraries and scripts our readers on Smashing Coding use on a daily basis.

Here’s a list of my standard JavaScript files that I have in my “js” directory. Not all of them get used on each project and a tidy up is undertaken before the final production deploy but most of them tend to feature in most of my sites.

What am I missing from my toolbox? I would love to hear more about what you use and why? Please do let us know in the comments.

Keir has is a web developer based in Bath, UK. He's the editor of Smashing Coding and co-founder of Viewport Industries, home to Insites: The Tour, Insites: The Book and upcoming products for web people.

  1. 1

    Johan van Tongeren

    October 27th, 2011 3:43 am

    Cufon is something I use a lot in projects.

    +1
  2. 2

    I often use Highslide for custom alert box. And of course jQuery UI plugin.

    +1
  3. 3

    I made the jay library (http://github.com/ngspinners/jay) to help smooth the edges of the javascript language.

    0
  4. 4

    What about css3pie?

    +2
  5. 6

    jQuery.validate gets my vote, super simple, super effective

    +3
    • 7

      I agree, it’s a great plugin and one I have used many times. I should probably grab a fresh copy and install it into my boilerplate files.

      0
  6. 8

    jscrollpane is a winner for me. Custom div scrolling. Works on IOS as well.

    +1
  7. 9

    rightjs is my new toy.

    0
  8. 10

    I am using the bootstrap javascript package from twitter a lot now. Lets me add a bunch of basic UI stuff like modal boxes and tabs in a modular fashion, with out having to either mix and match plugins and stylize them or download jquery UI with a bunch of stuff I don’t need.

    0
  9. 11

    Just out of curiosity, what php functions/scripts/library/frameworks do you include?

    0
    • 12

      MODx is my preferred CMF

      +1
    • 13

      Hey Aniel – Nothing too heavy to be honest just a bunch of functions that I tend to use a lot for debugging. I seem to be using WordPress for a lot of projects these days so have lost a little knowledge on the PHP framework scene.

      0
  10. 14

    I prefer mootools to jQuery. Probably just because I know it better and it’s handier for scripting larger chunks of JS not just DOM-Manipulation things.

    0
  11. 15

    Stefano Zoffoli

    October 27th, 2011 11:50 pm

    ie7-js, jquery equalHeights

    0
  12. 16

    I really love http://rafael.adm.br/css_browser_selector/. Never start a new project without it!

    0
  13. 18

    - jQuery
    - Modernizr
    - My own JavaScript Validation library
    - Sometimes also underscore.js

    0
  14. 19

    I always use head.js in my projects

    +1
  1. 1

    jQuery.validate gets my vote, super simple, super effective

    +3
  2. 2

    What about css3pie?

    +2
  3. 3

    jscrollpane is a winner for me. Custom div scrolling. Works on IOS as well.

    +1
  4. 4

    MODx is my preferred CMF

    +1
  5. 5

    Johan van Tongeren

    October 27th, 2011 3:43 am

    Cufon is something I use a lot in projects.

    +1
  6. 6

    I often use Highslide for custom alert box. And of course jQuery UI plugin.

    +1
  7. 7

    I always use head.js in my projects

    +1

Leave a Comment

Yay! You've decided to leave a comment. That's fantastic! Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let's have a personal and meaningful conversation instead. Thanks for dropping by!

↑ Back to top