Advanced Debugging Techniques in JavaScript – Part 3

Zach Gardner HTML5, JavaScript, Tutorial 3 Comments

Overview This is the third part in my series on Advanced Debugging Techniques in JavaScript. Part 1 introduced Validate Your Assumptions, Binary Search, and the debugger statement. Part 2 covered Bottom-Up debugging, Top-Down debugging, and Break on DOM changes. This blog goes into more of the Chrome-specific debugging techniques that I use on a regular basis. The last part of …

Advanced Debugging Techniques in JavaScript – Part 2

Zach Gardner Dev Methodologies, HTML5, JavaScript, Programming, Tutorial 5 Comments

Introduction Writing Part 2 of this series has been really exciting. I’ve gotten a lot of positive feedback from people who’ve read Part 1. This post will be more hands-on than the previous, so be ready for screenshots and real case scenarios I’ve come across while working with JavaScript. I’m also excited to announce that I’ll be presenting at KCDC this …

Partitioning SPA Resources and API Implementations in Separate WAR Components

David Pitt HTML5, Java, JavaScript, Opinion Leave a Comment

Single Page Applications are quickly gaining traction as a way to implement rich, robust, and mobile friendly web-based applications. Essentially, this requires a shift in application architecture where the entire application user interface is implemented using JavaScript and the server side code supplies a RESTful, JSON-based API for  server side application logic and data access. This model is shown below: …

Advanced Debugging Techniques in JavaScript – Part 1

Zach Gardner Dev Methodologies, HTML5, JavaScript, Problem Solving, Programming 9 Comments

Introduction I was a terrible debugger when I first started programming. I could tell an issue was happening, but it always took me a long time to track down where and why it was happening. Even in a strongly-typed language like C++, it took me hours to find simple bugs in my code. Debugging is one of the hardest parts …

Unit Testing in JavaScript

Mark Adelsberger HTML5, JavaScript, Testing 2 Comments

JavaScript has come a long way. There was a time it was easily dismissed – maybe suitable for noncritical validations, but not much else. Over the years, the worst of the obstacles to writing large-scale JavaScript programs have fallen away, or at least been mitigated. JavaScript dialects are more consistent among browsers than they once were, and tools like jQuery can …