Loading ...

Cqrs In In C Most Trivial Possible Example

Hello everybody, today I want to make compendium of CQRS for very simple case. So, at one of the projects I seen following way of implementing code: public class WriteModel { //common properties public int SomeEntity {get;set; } // ID of some entity } public class ReadModel : Wri...

Crud With Mongodb Version 2

Hello everybody, today I want to describe CRUD options in MongoDB version 2. So, let's start with Reading.  In MongoDB reading can be considered as following options: Finding all documnets Filtering Sorting Definitions and builders. Creating documents in MongoDB is simple. You can do it ju...

Svg Drawings

Hello everybody. Today I want to share with you simple way to draw Mutual Style Fund box with help of javascript and svg in html5 with usage of module pattern of javascript.  Recently I had task to make at web site drawings with javascript. After some research I decided to use javascript and...

Module And Revealing Module Design Patterns In Javascript

Hello everybody, today I want to propose you interesting comparison of two design patterns in javascript.  As you probably know, javascript doesn't have idea of public and private members. So in order to implement them some tricks are used. That is module and "revealing module". Take a look...

Enterprise Service Bus

Hello everybody, I continue to publish damp of my understnading of the Universe. Now it will be about Enterprise Service Bus as part of building distributed systems. ESB can be considered as tool for organizing code.  There are two kinds of ESB: 1. Brokered 2. Decentralized.   Features...

Domain Driven Design In One Schema

Hello everybody, today I want to share with you DDD in one schema.  So, when I first time tried to grasp what is DDD, I heard Bounded context, domain model, Entity objects, Value objects, etc.  Then I started to read "Domain-Driven Design: Tackling Complexity in the Heart of Software" o...

Normalization In Human Brain And Artificial Neural Network

Hello everybody, today I want to write few words about normalization in neural networks and why it is needed or can be needed, but not only from mathematical prospective. Normalization and scaling I mentioned some mathematical reasons why normalization and scaling can be needed. First of all, yo...

Impedance Mismatch

Hello everybody, today I want to boast about one new phrase in my vocabulary:  impedance mismatch. It means the following: difference between what you have in your C# code ( as example ) and have that is persisted in db. For example if you have client, which has orders, and each order thas i...

CAP Theorem

Hello everybody, today I started new course at pluralsight.com, which is entitled "Patterns for Building Distributed Systems for The Enterprise".  Andd I started watching CAP theorem. CAP theorem is actually abbreviation of four words:  Consistensy Availabilty Partition tollerance. I do...