For a long time now, there have been 5 basic rules for managing JavaScript’s “this”. I’ve previously compiled these rules in to an email course and ebook that outlines how effectively work with them. ES6 (officially known as ES2015) is now the latest and greatest standard of the JavaScript language. With that, I’ve updated both the ebook and email course to include the new rule that helps you manage “this”: arrow functions – and I want to share the new chapter with you!
Check For Date Range Overlap With JavaScript Arrays, Sorting And Reducing
In my current client project, there is a screen where the user must enter a series of date ranges. None of these date ranges can overlap at all. If one does, an error message must be shown on the screen and the selections have to be changed before they can be saved. [image] I looked […]
RabbitMQ – Best Practices For Designing Exchanges, Queues And Bindings?
A question was asked on StackOverflow about best practices for RabbitMQ exchanges, queues and bindings. While this question was technically “off topic” for StackOverflow, I answered it anyways because it’s a common set of questions and offers insight in to a few points of confusion when starting out with RabbitMQ. One Exchange, Or Many? The […]
Building ES6 Browser Apps w/ Babel and Grunt
Over the last few months, I’ve spent a lot of time learning some of the new features in JavaScript ES6 (ES2015). I’ve recorded most of this as a live series of screencasts on WatchMeCode, and have made these episodes available already. Along the way, I also started using ES6 features in my day-to-day JavaScript development […]
Building A Component-Based Web UI With Modern JavaScript Frameworks
Most modern front-end JavaScript frameworks provide some sort of support for component based development. This is an incredibly important step in the direction of development for the web. Components provide a way to write small parts with a consistent API that can easily be orchestrated as part of a larger screen, application or system. Component based development isn’t just the future of the web, though. It’s what you should be doing now, in any modern UI / application framework on the web.
Message Brokers, Channels And JavaScript Zombies
Be careful when using a channel-based message broker for browser-based JavaScript applications. It’s easy to get a channel from the broker, but it’s also easy to create memory leaks and JavaScript zombies – object that should have been dead and cleaned up, but come back to bite you later. Global Channels I recently wrote some […]
Promises, Modal Dialogs and Resolve vs Reject
Someone on twitter asked me a question about promises a while back. It was a good question about the general use of reject and resolve to manage a yes/no dialog box. The short answer is always resolve with a status indicator – but I think they wanted more of the “why” than just this one specific answer. To understand why, there is some background to dig in to, first: modal dialog results and reject vs resolve.
Your Application Architecture Is Not A Single, Distinct Thing
It’s easy to think of an application as having “an architecture.” We talk this way a lot, in software development. But the more I build similarly-architected systems and new systems with different architectures, the more I realize that architecture is not a single thing. Rather, architecture is a fluid and living thing – it grows, […]
Recent Podcast Episodes (August 2015)
If you haven’t heard, I’ve been making the rounds of podcasts lately. It’s been fun to talk with people about everything from parenting and work-life balance, to JavaScript and messaging patterns, to RabbitMQ and beyond. Check out these recent episodes of podcasts on which I’ve made an appearance, and be sure to check out the […]
Managing Workflow In Long Running JavaScript Processes
In my last post, I talked about how we can dramatically improve our application architectures by making workflow explicit. While that post talked about in-memory applications – stateful code like Backbone.js in browser-based JavaScript apps – the same pattern and principle applies to nearly any form of coordinated workflow, including message based systems.
- 1
- 2
- 3
- …
- 14
- Next Page »










