jQuery alternative – zepto.js

If for some reason you think that jQuery is ‘too much’ to use in your web app, then here’s an interesting alternative – zepto.js

Taken from their website:

I guess it’s worth giving a shot, especially if you need to create something with a small footprint.


By on (tags: javascript, zepto, categories: tools, web)

Sortable and expandable enums

Have you ever faced the problem that extending enum type by new values may cause unpredicted behavior of the application? I recently have. As the solution for this problem I figure out how to design enum values so they can be easily sortable and easily expandable in future, causing no side effect. We have a simple enum type ConstructionSteps we use   The framework will aut…

By Mirek on (tags: enums, categories: code)

jQuery deferred

The Deferred object has been in jQuery since version 1.5 but I haven’t had the chance to get to know it until recently – turns out that it’s rather handy to have in your toolset. For a brief introduction, take a look at this link. Cheers…

By on (tags: jQuery, categories: web)

Getting MIME type for file

All I can say is THANK YOU. http://blogs.msdn.com/b/webdev/archive/2013/02/14/getting-a-mime-type-from-a-file-extension-in-asp-net-4-5.aspx and the msdn docs: http://msdn.microsoft.com/en-us/library/system.web.mimemapping.getmimemapping%28v=VS.110%29.aspx…

By on (tags: None, categories: web)