Reactive word is not new nowadays. If you want your library to get limelight, use reactive word in the name any way possible and it will definitely get initial attention. Reactive word is appropriate for things that follows reactive manifesto. That is true for now. And there are many variant of libraries on server and client to fulfil this. Let’s start from the start of web. We were having old web were we used to do post event of page.
Continue reading

Whoever worked with Microsoft Shop knows about nuget. It is package manager for anything and everything related to .Net. And it is getting better and better with versions coming in. But again it is nowhere near maturity needed to work with projects having many small projects. Things get cranky soon. Now, there is better option as per my opinion called Paket. Very easy to get started. And so damn reliable. Couple of more command to learn but I guess it is ok.
Continue reading

Command pattern is a pattern which allows executor of the pattern to execute or playback the commands. In most of the application wherever Undo/Redo is implemented this pattern is used. Here is C# code. Now, in this code Command Pattern is not in its purest form. As, normally in command pattern we are saving state of outside object. Instead I just returned the result to mock out side object.
Continue reading

Another pattern that is widely used in Object Oriented world. And as far as .Net world is concern it is may be most used pattern in wide range of .Net API. And it heavily used in heavily used LINQ API. So, I guess giving a understanding of that is kinda waste of space. Have a look at C# code. People familiar with LINQ and lovers of Lambda will definitely argue that this is can be replaced by delegates.
Continue reading

This is my favorite pattern. First pattern I learn. And till date I don’t know where to use it. So, I use everywhere. :P I have mainly used for database connection object and then all JavaScript frameworks are exposing Singleton object only. I can say it is quite useful in case of web. Fun part about this pattern is that most of the people including me always use this pattern to show off that we know patterns and we follow it in practice but in most cases that practice starts and stops with Singleton Pattern.
Continue reading

The fun part working or explaining functional pattern is word functional can be used in very fun way. Just like it is used in title here. Now, factory pattern may be the most used pattern in Object Oriented world. Here is code in C#. Factory method is basically used to abstract away the object creation. I am not worried how object is created but I am worried about the behavior of the objects that are created.
Continue reading

There is a continues war between typed and untyped data. But then there is need of finding a middle ground for ever growing application. There is place, a requirement when I feel application should be typed and data store should be untyped. So, I created this little code snippet to access cloudant (a couchbase fork) NOSQL database. I was knowing about Cloudant from long back. Even before IBM bought it. It is indeed a wonderful service and also kinda free for small stuff.
Continue reading

Author's picture

Kunjan Dalal

All idea, opinion are my own and don’t reflect opinion of my current or any former employer.

Functional Developer… Literally!

India