Blog: Squirrel's

Rapid Development with Hibernate in CQRS Read Models

In this post I’m going to share a few tricks for using Hibernate tooling in CQRS read models for rapid development. Why Hibernate? Hibernate is extremely popular. It’s also deceptively eas...

Wyświetlenia 528

OK 0

NOK 0

Persistence in CQRS Read Models

One of the biggest benefits of CQRS is the ability to implement multiple read models. Business rules and the domain model are safe, clean and isolated over in the write model. They are not getting in ...

Wyświetlenia 280

OK 0

NOK 0

Writing an Event-Sourced CQRS Read Model

Discussions about event sourcing and CQRS seem to usually focus on the overall system architecture or various flavors of domain-driven design in CQRS context. However, the read models are often neglec...

Wyświetlenia 246

OK 0

NOK 0

Achieving Consistency in CQRS with Linear Event Store

In a recent project involving an event-sourced CQRS system, we decided to do some things that seem somewhat unusual compared to solutions mostly talked about. However, they let us achieve some nice pr...

Wyświetlenia 433

OK 0

NOK 0

Validating Class/Package Dependencies with Classycle

Classycle is a very nice analyzer and dependency checker for class and package dependencies. It lets you define package groups (components, layers) and express unwanted dependencies such as cycles, or...

Wyświetlenia 455

OK 0

NOK 0

Walking Recursive Data Structures Using Java 8 Streams

The Streams API is a real gem in Java 8, and I keep finding more or less unexpected uses for them. I recently wrote about using them as ForkJoinPool facade. Here’s another interesting example: W...

Wyświetlenia 314

OK 0

NOK 0

Java 8 Streams API as Friendly ForkJoinPool Facade

One of features I love the most about Java 8 is the streams API. It finally eliminates pretty much all loops from the code and lets you write code that is so much more expressive and focused. Today I ...

Wyświetlenia 294

OK 0

NOK 0

Human Error?

I’ve just watched Sidney Decker’s “System Failure, Human Error: Who’s to Blame” talk from DevOpsDays Brisbane 2014. It’s a very nice and worthwhile talk, though the...

Wyświetlenia 459

OK 0

NOK 0

“Mastering AngularJS Directives” (Book Review)

Unlike many general introduction books, “Mastering AngularJS Directives” by Josh Kurz takes a much more specialized approach. It assumes you know AngularJS fairly well and explores just on...

Wyświetlenia 332

OK 0

NOK 0

Navigation and Routing with Om and Secretary

After some quick experiments with Secretary and Enfocus, I decided to dive headfirst to Om. Since I’m kind of restarting my pet project all the time, the first thing I lay down is routing and na...

Wyświetlenia 441

OK 0

NOK 0

“Clojure Cookbook” by Luke VanderHart, Ryan Neufeld; O’Reilly Media

O’Reilly has just published a new book on Clojure, this time from the “cookbook” series. The book includes over 150 practical recipes on doing some common things in Clojure. Each rec...

Wyświetlenia 409

OK 0

NOK 0

Careful With Native SQL in Hibernate

I really like Hibernate, but I also don’t know a tool that would be nearly as powerful and deceptive at the same time. I could write a book on surprises in production and cargo cult programming ...

Wyświetlenia 321

OK 0

NOK 0

ClojureScript Routing and Templating with Secretary and Enfocus

A good while ago I was looking for good ways to do client-side routing and templating in ClojureScript. I investigated using a bunch of JavaScript frameworks from ClojureScript, of which Angular proba...

Wyświetlenia 399

OK 0

NOK 0

“Version Control with Git, 2nd Edition” by Jon Loeliger, Matthew McCullough; O’Reilly Media

There are reasons why Git has become so popular, but the first encounter with it can a bit overwhelming. Even if you kind of learn how to do basic things, it’s not uncommon to feel like we’...

Wyświetlenia 363

OK 0

NOK 0

Direct Server HTTP Calls in Protractor

When you’re running end-to-end tests, chances are that sometimes you need to set up the system before running the actual test code. It can involve cleaning up after previous executions, going th...

Wyświetlenia 455

OK 0

NOK 0

“RESTful Java with JAX-RS 2.0, 2nd Edition” by Bill Burke; O’Reilly Media

REST is all the rage now (not without a reason), and in the Java world the standard API for that is JAX-RS (under the JEE umbrella). “RESTful Java with JAX-RS 2.0″ is the second edition of...

Wyświetlenia 343

OK 0

NOK 0

“Mastering Web Application Development with AngularJS” (Book Review)

While the first demos and tutorials of AngularJS make very good impression, using it on your own in real life applications quickly leads to confusion and frustration. You soon discover that the docume...

Wyświetlenia 324

OK 0

NOK 0

The future may just as well be RESTful

Chris Zheng has just published an article on “Why the future is NOT RESTful”. It made a bit of a splash, but I think it’s based on false assumptions and quite wrong. Here’s why...

Wyświetlenia 393

OK 0

NOK 0

“Beautiful REST + JSON APIs” by Les Hazlewood (notes from the talk)

Here’s a summary of a few interesting technical details from a very good presentation on designing REST APIs by Les Hazlewood. Many interesting, elegant and not so obvious solutions here. Keep r...

Wyświetlenia 351

OK 0

NOK 0

Clojure on Pedestal

Yesterday I gave a two-hour talk at Lambda Lounge Kraków on Pedestal (and some ClojureScript). I talked only about the client side, and in that mostly about the dataflow engine and how it connects to ...

Wyświetlenia 386

OK 0

NOK 0

Polskie blogi o JAVIE

                                                                                                                                       

dailylog

Wpisów: 34

Ostatni (2014-10-06):
PageLogic

    

jdn.pl

Wpisów: 163

Ostatni (2015-01-09):
Chamberconf