• JavaScript deferreds are almost monads

    When I was learning monad concept from functional programming I suddenly realized that deferred objects avaiable in some JavaScript libraries (for example in Dojo - http://livedocs.dojotoolkit.org/dojo/Deferred) are strikingly similar to monads. Haskel has the clearest definition of the monads so let's start from it (don't get scarried, I'll explain essentials later): class Monad m where (>>=) :: m a -> (a -> m b) -> m b (>>) :: m a -> m b -> m b
  • Looking for JavaScript grid/table component

    Recently I was looking for grid/table component in Javascript which is would be open-source, flexible enough and not tied heavily to some large framework. I'd like to share with you some brief notes of that research. I like SlickGrid more so I've explored it more. SlickGridhttps://github.com/mleibman/SlickGrid/wikiLicense: MIT PROs: Supports huge datasets via virtual scrolling. Looks like it's the only grid that supports horizontal virtual scrolling.  Supports trees Data provider API - allows model creation.
  • Dependency management in JavaScript

    Imagine web-application with lots of JavaScript code and CSS files which depend on each other. Each page needs specific JS and CSS files, but it's not always easy to say which exactly - pages are constructed from relatively independent parts. Moreover, some content which needs JS may be loaded asynchronously. So, I'm goin to make some research about flexible ways of dependency management with JavaScript and blog about it. RequireJS