A reader of my RabbitMQ Patterns email course recently asked a question about using messaging systems within an web application. Specifically, they wanted to know why you would use a request/reply pattern over a messaging server, instead of just handling the request within the HTTP call and the web server, itself. The short answer is, […]
Last night, I spent 2 hours working on a new technique for crocheting a hat. The technique creates a stitch that looks like it was knitted. I had only practiced this technique once, but I set out to create a hat anyways. It was going to be a fun project! A new stitch technique, with […]
Express is one of the most flexible web hosting libraries I have used in my career. I love how simple it can be, and how it allows you to grow your system as needed. One of the areas that has continued to bother me in my own code, though, is my lack of ability to […]
It started as a question about what editor to use, and a desire to find a modern editor with code folding. But since then, the conversation has turned into a discussion on the realization that the “old” way we built large-scale software in .NET, Java and other “enterprise” languages, may not be so “old” after all.
Call it “code collapse”, “code folding”, “regions” or whatever your editor says it is called… just don’t call it a feature when it does little more than hide the monsters lurking in your code base.
At the Nodevember 2015 conference, I gave a talk titled “A Telegraph To The Future Of Web Apps”. This talk is very much the “why to” of human communication, messaging in software, and how software reflects the way we work together. The Nodevember conference had all of the talks recorded and there are a log of […]
It’s a common question with a dozen variations… “How do I store messages for my users that aren’t connected, with my message queue / broker?” There will be some subtle differences in how it’s asked, but the question often includes details such as a web server, a RabbitMQ instance, and clients connected via websockets. Updating […]
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 […]
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.