Hello everybody,
today I want to share with the world code, which generates typescript from enum declaration. I suppose everything should be understandable from code itself:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;...
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...
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...
Hello everybody,
today I want to write few words about AngularJS and js integration.
Recently I had opportunity to cowork with one guy, which is great in knowing javascript, but absolutely hates to learn and apply AngularJS. So, I had task in front of me, to give him sone kind of JS object, which...
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...
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...
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...
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...
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...
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...