• Functional Command Pattern posted on 25 Apr 2015

    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.

    Read more...

  • Functional Strategy Pattern posted on 24 Apr 2015

    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.

    Read more...

  • Functional Singleton Pattern posted on 23 Apr 2015

    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.

    Read more...

  • Functional Factory Pattern posted on 22 Apr 2015

    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#.

    Read more...

  • Demystifying Design Pattern in a Functional Way posted on 21 Apr 2015

    As functional programming is taking pace in current software development. There is always a question what is the difference and why on the earth I should bother about it.

    Most of the time reason of the question comes because of human nature of resistance towards learning new things. And then there are people who can easily learn new things but even for them unlearning something and re-learning new things is pretty tough. And this makes a problem every time.

    Read more...

  • Journey in Search of Destination posted on 08 Mar 2015

    I never thought I would make this public. I wrote long back for one of my dear cousin. It was relevant then. But it is more relevant now. One of my best friend, batch mate, college mate, colleague at one point of time, rommie is now moving to another country. With a aim to never looking back for all the good reasons.

    Andrew Vyas this is for you. You are one of the friend I never wanted because I knew one day time flew and you or me will move on and that may be good for future but at point it is utterly painful. Pain that can't be defined by words my friend. But still here are few words

    Read more...

  • Typed Hack of Cloudant using F# posted on 28 Nov 2014

    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.

    Read more...

  • Sails sailing seamlessly on Azure Web Sites posted on 07 Nov 2014

    There are lots of frameworks for web development in Nodejs. Many of them are pretty cool. I pretty much like the SailsJS. And also have worked on that in recent past.

    Now, when it comes to hosting I love the Azure for various reasons. It is specially awesome when it comes to web sites. You do some experiments and throw it towards azure and that is ready for world to check out. My many experiments with F# and Web are already there.

    Read more...

  • To Xamarin with Love posted on 10 Oct 2014

    Xamarin Evolve just concluded. And there no best time to write this post. And for the fact I am not writing anything new or even anything related to announcements that happened there. I am writing this because recently I got chance to work with android using Java. And experience was not at all good. And reason is not so surprisingly Java.

    Read more...

  • Web programming and F# still a Far Cry? posted on 09 Oct 2014

    F# is wonderful language. And luckily or unluckily I do Web Programming (now a days mostly that). So, it is always a preference to use it, wherever possible. But even in 2014 end it is still pain in a**.

    Read more...