Level: Intermediate to Advanced
Much of the JavaScript sample code you see is written like script. It's not structured or modular or layered. In other words, it doesn't follow the generally accepted best practices used when writing server-side code. In this session, you'll take one of these script-like samples and incrementally improve it. You'll add structure, modularity and layering. In the end, you'll find that while there are differences, client-side coding does not have to feel foreign to server-side developers.
You will learn:
- How to structure JavaScript code
- How to apply practices you already know to JavaScript development
- How to avoid some JavaScript pitfalls