DerickBailey.com

Trade Secrets Of A Developer / Entrepreneur

  •  
  •  
  •  
  •  
  • Blog
  • Courses
  • Products
  • Newsletter
  • Publications
  • Podcasts

Managing JavaScript’s this With ES6 Arrow Functions

September 10, 2015 By derickbailey Leave a Comment

Managing JavaScript’s this With ES6 Arrow Functions

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!

Filed Under: Arrow Functions, Books, Context, Email Course, ES6, JavaScript

Check For Date Range Overlap With JavaScript Arrays, Sorting And Reducing

September 7, 2015 By derickbailey 3 Comments

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 […]

Filed Under: Arrays, Dates, JavaScript, Reduce

RabbitMQ – Best Practices For Designing Exchanges, Queues And Bindings?

September 2, 2015 By derickbailey Leave a Comment

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 […]

Filed Under: Bindings, Design, Exchanges, Messaging, Queues, RabbitMQ

Building ES6 Browser Apps w/ Babel and Grunt

August 31, 2015 By derickbailey Leave a Comment

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 […]

Filed Under: ES6, JavaScript, Screencasts, WatchMeCode

Building A Component-Based Web UI With Modern JavaScript Frameworks

August 26, 2015 By derickbailey 22 Comments

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.

Filed Under: AngularJS, Architecture, Backbone, Design, EmberJS, JavaScript, MarionetteJS, React, Web Components

Message Brokers, Channels And JavaScript Zombies

August 24, 2015 By derickbailey 7 Comments

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 […]

Filed Under: Backbone, JavaScript, Memory Leaks, Messaging, Postal.js, Zombies

Promises, Modal Dialogs and Resolve vs Reject

August 20, 2015 By derickbailey Leave a Comment

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.

Filed Under: Backbone, Design, JavaScript, Patterns, Promises, Workflow

Your Application Architecture Is Not A Single, Distinct Thing

August 17, 2015 By derickbailey 2 Comments

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, […]

Filed Under: Architecture, Improving

Recent Podcast Episodes (August 2015)

August 12, 2015 By derickbailey Leave a Comment

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 […]

Filed Under: Podcasting

Managing Workflow In Long Running JavaScript Processes

August 10, 2015 By derickbailey 3 Comments

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.

Filed Under: Architecture, Design, JavaScript, Messaging, NodeJS, Patterns, RabbitMQ, Workflow

  • 1
  • 2
  • 3
  • …
  • 14
  • Next Page »

RabbitMQ For Developers

Learn RabbitMQ in minutes, not months!

Recent Posts

  • Managing JavaScript’s this With ES6 Arrow Functions
  • Check For Date Range Overlap With JavaScript Arrays, Sorting And Reducing
  • RabbitMQ – Best Practices For Designing Exchanges, Queues And Bindings?
  • Building ES6 Browser Apps w/ Babel and Grunt
  • Building A Component-Based Web UI With Modern JavaScript Frameworks

Categories

Archives

  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014

Derick Bailey Around The Web

  • Twitter: @derickbailey
  • Google+: DerickBailey
  • Screencasts: WatchMeCode.net
  • eBook: Building Backbone Plugins

Copyright © 2014 Muted Solutions, LLC. All Rights Reserved · Log in