Latest news and articles about DDD, CQRS, Event Sourcing and Software Architecture in general, aggregated daily and delivered weekly to your feed (RSS) reader. Subscribe here!

Week 44, year 2012

  • Javascript Dependency Injection with partial functions - My gut reaction when writing Javascript, is to try and mimck patterns and concepts that I’m used to in class-based languages. Turns out Javascript allows you to do a whole bunch of things differently, and, dare I say it, more elegantly. All you have to do is let go of the luggage you bring from languages like Java or PHP. Say we want to handle some commands. In classical OOP, we’d start by making a CommandHandler, and give it one public method called handle(command). Our method is probably going to have some services it depends on, like a Repository. [Mathias Verraes]
Permalink | From 29 October 2012 to 04 November 2012 | Last updated on: Mon, 7 Jun 2021 09:18:52 GMT