November 4, 2014
Last week I had the pleasure of presenting a TypeScript session in TechEd Europe 2014. The session recording is online in Channel 9 and you can find it in this link.Enjoy watching!
October 30, 2014
I had the pleasure of delivering a TypeScript session today in TechEd Europe.In the session, I introduced the TypeScript language and talked about language features and how to use them.Later on, I wrote a simple end-to-end web application using TypeScript in the server (with Node.js and Express) and in the front-end (mainly with jQuery).I want to thank all the session attendees! You can find the demos online.
October 17, 2014
September 19, 2014
You can look at the session slide deck and download the demos.
I want to thank all the attendees who came to hear me!
September 4, 2014
Lately, I was asked a couple of times what I’m doing today since I left SELA Group.If you are following my Blog, you probably know that I founded my own consulting/training company – sparXys.In sparXys, we are providing the following services: Software and technology consultancy Training and mentoring services Software development methodologies consulting If you are looking for those services, feel free to contact me.
September 2, 2014
Yesterday, DotNetCurry magazine published an article that I wrote. The article introduces Backbone.js, a front-end MVC library, that I used in various of successful projects. While I’m using other MVW libraries/frameworks as well (AngularJS and Knockout.js for example), I’m always happy to return to Backbone.js and use it in projects. Here is were you can find the article. Enjoy! and let me know what do you think about it.
August 20, 2014
August 13, 2014
One of the needs in an application I’m building is to save the user columns interaction state in a ng-grid. In order to do that you will have to use a storage such as localStorage and to understand ng-grid column events. In this post I’ll show you a suggested solution for this requirement. Saving Columns State Once you want to save ng-grid columns state, you need to understand the grid’s columns event. ng-grid exposes the ngGridEventColumns event. The ngGridEventColumns event is triggered every time a column is being changed for example when calling functions like pin, reorder columns...
August 9, 2014
Last week I wrote a simple print button directive for an application that uses AngularJS as its client-side framework. The requirement of the button was to enable the printing of a DOM element that included some content. In this post I’m going to describe how I build this directive but I won’t cover what are AngularJS directives. There are many good online resources about AngularJS directives, so please read one of them before reading this post. The solution I use for the directive is based on this jsFiddle: http://jsfiddle.net/95ezN/121/.
The Directive Code
We will first start with the directive itself:
July 17, 2014
One of the things you might need to do is to clean up resources when a controller in AngularJS is being deactivated. The way to clean used resources is by listening to the $scope’s $destroy event and when it is triggered to do your clean. In the AngularJS controller lifecycle, a $destroy function is called in order to remove the current scope with all its children from a parent scope. The $destory function is called by AngularJS and once it occurs a $destory event is triggered on the scope. You can use that knowledge and clean resources once the...