Skip to content

Instantly share code, notes, and snippets.

@jaredfaris
Created August 26, 2013 20:17
Show Gist options
  • Select an option

  • Save jaredfaris/6346147 to your computer and use it in GitHub Desktop.

Select an option

Save jaredfaris/6346147 to your computer and use it in GitHub Desktop.
Workshop: Fixing the JavaScript Mess - Using Patterns and Frameworks to Clean Your Client-side

Fixing the JavaScript Mess - Using Patterns and Frameworks to Clean Your Client-side

JavaScript has started to get some real respect over the last few years. Developers are treating it like a real language and modern frameworks (like Knockout, Backbone, Angular, etc) are making it easier to write good code. However, many of us are working on legacy applications with lots of nasty JavaScript bits: server generated JS controls connected to downloaded plugins with a bit of jQuery glue.

In this workshop, we'll analyze an example application that uses a lot of these anti-patterns. We'll pick apart the pieces and rebuild the application using JavaScript best practices, modern frameworks, and other useful libraries. We'll talk about how to decide on what tools to use for new projects as well as legacy revamps. We'll also look into how you can improve parts of your application without having to rewrite other ones that are working just fine.

You'll leave this workshop with a better appreciation of good JavaScript patterns, and the tools necessary to write cleaner client-side code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment