Skip to content
Cory House

Cory House

  • Blog
  • Courses
  • Training
  • Presentations
  • Appearances
  • About

Category Archives: JavaScript

Is Separating HTML and JavaScript Harmful?

I’ve spent the last many years religiously honoring the principle of separation of concerns. Separating concerns produces code that’s easier to read, maintain, and test. Right? Well, as I’ve found, virtually every “best practice” has exceptions. We have to … Read on...

Posted byCory HouseMarch 18, 2015Posted inJavaScriptTags: components, React9 Comments on Is Separating HTML and JavaScript Harmful?

7 Ways to Handle Circular Dependencies in RequireJS

When working with RequireJS, you’re likely to run across two modules that need to reference each other. When you create a circular reference using the standard RequireJS define statement on both sides, the module that’s loaded last fails and is … Read on...

Posted byCory HouseFebruary 3, 2015February 3, 2015Posted inArchitecture, JavaScriptTags: JavaScript, requirejs4 Comments on 7 Ways to Handle Circular Dependencies in RequireJS

Cache Busting via Gulp.js

Have you ever thought about how many HTTP requests your app is wasting? Many developers think the native caching mechanisms of browsers are sufficient. However, did you know every time a page is loaded, an HTTP request is still typically … Read on...

Posted byCory HouseJanuary 25, 2015June 4, 2015Posted inAutomated Builds, JavaScriptTags: grunt, gulp, performance9 Comments on Cache Busting via Gulp.js

AngularJS: The De Facto Standard for SPA Development?

One year ago, I started a large Single Page Application (SPA) project. I spent a few weeks Googling and biting my nails, trying to choose between the various options for SPA development. I considered four leading players:

  1. Knockout with Durandal
… Read on...
Posted byCory HouseApril 14, 2014April 14, 2014Posted inJavaScriptTags: Angular, Durandal, JavaScript, Knockout20 Comments on AngularJS: The De Facto Standard for SPA Development?

Writing Code? Know Your Boundaries.

Today’s developers are cursed blessed with a massive list of libraries and technologies for solving problems. And some of the worst sins against code stem from simply selecting the wrong tool for the job. It’s recently become clear to me … Read on...

Posted byCory HouseOctober 7, 2013June 28, 2015Posted inClean Code, JavaScriptTags: C#, CSS, HTML, JavaScript, SQL10 Comments on Writing Code? Know Your Boundaries.

JavaScript Configuration Object Pattern: JSON Saves the Day

So you’re building a modern web app? That means you’re likely running a variety of client-side libraries and custom business logic in JavaScript. And one of the first hurdles you run into is “Hey, I need some data from the … Read on...

Posted byCory HouseOctober 6, 2013October 18, 2013Posted inClean Code, JavaScriptTags: C#, JavaScript, JSON13 Comments on JavaScript Configuration Object Pattern: JSON Saves the Day

KnockoutJS: Maintain Input Focus While Tabbing and Rebinding

Single page applications pose a unique and interesting set of problems. Libraries that offer two-way binding like KnockoutJS and AngularJS make it trivial to completely redraw a screen with new data delivered from the server via AJAX calls. However, what … Read on...

Posted byCory HouseSeptember 27, 2013January 18, 2014Posted inJavaScript, KnockoutTags: CSS, JavaScript, Knockout, SPA

Warn Users of Unsaved Changes with jQuery

In web apps it’s helpful to warn the user if they attempt to navigate away after making changes without hitting save. But the tricky part is, how do you track when they’ve made changes? This is actually pretty trivial to … Read on...

Posted byCory HouseAugust 19, 2013April 28, 2015Posted inJavaScriptTags: JavaScript, jQuery16 Comments on Warn Users of Unsaved Changes with jQuery

Debugging JavaScript in Chrome with frames

When debugging JavaScript on a page with frames, it’s easy to find yourself running commands in the console in the wrong frame. I’ve hit this wall many times and wondered why I can’t see the variables that are clearly defined … Read on...

Posted byCory HouseAugust 5, 2013January 18, 2014Posted inJavaScriptTags: Chrome, JavaScript1 Comment on Debugging JavaScript in Chrome with frames

JavaScript Breakpoints in Chrome

When doing front-end dev, I set breakpoints in Chrome all the time. Here’s the quickest way to set a JavaScript breakpoint in Chrome:

  1. F12 if dev tools aren’t already open.
  2. Ctrl+O and begin to type the name of the desired
… Read on...
Posted byCory HouseJuly 26, 2013January 15, 2014Posted inJavaScript1 Comment on JavaScript Breakpoints in Chrome

Posts navigation

Newer posts 1 2 3

About Cory

Cory HouseCory House is a React and JavaScript specialist. Cory is principal consultant at reactjsconsulting.com. I'm a Pluralsight author, a Microsoft MVP, and an international speaker. I believe in clean code, test-driven development, and responsive web UIs. I'm a retired wedding singer, lousy golfer, and lover of fine automobiles.

Pluralsight Author Page
My Pluralsight Courses

Cory House, © 2010 - 2020 Bitnative LLC