Build your Own JavaScript Library - Part 1

Over the course of the past few years, the JavaScript community has exploded exponentially. It it’s safe to assume that libraries are the primary reason we’ve seen such astonishing growth. Thanks to these libraries, the differences between the popular browsers are minimized, making cross-browser development much easier than it used to be.

This tutorial includes a screencast available to Tuts+ Premium members.

Also available in this series:

  1. Build your Own JavaScript Library - Part 1
  2. Build your Own JavaScript Library - Part 2

But even so, there comes a point in many JavaScript developers' lives when the need for an all-encompassing library isn't needed, and a simpler, and more refined library to iron out the cross-browser wrinkles is desired. There are many libraries to choose from, but why not write your own? After all, you are the best person to determine your needs and provide a solution that fits you. But how do you do that? How do you start? How do you handle cross-browser issues? We’ll build our own in this series!

That is what I hope to answer in this series, but bear in mind the solution presented here are just a drop in the bucket of possibilities. It is not a one-size-fits-all solution, but I hope it gives you insight of how you can approach the creation of your own library.


Full Screencast


Tags:

Comments

Related Articles