TypeScript Demos from My TechEd Europe Session

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.

Slide Deck and Demos – Quick Tour to Front-End Unit Testing Using Jasmine – Software Architect 2014 Conference

October 17, 2014

I had the pleasure to deliver a session about unit testing in JavaScript using Jasmine framework. In the session I explained why you need to do unit testing in general and what is behavior driven development (BDD).Later on, we delved into Jasmine and the features it includes and in the end of the session we explored the Karma JavaScript test runner.I want to thank all the session attendees. It was a pleasure to meet you all.You can find the slide deck and demos online.

DevConnections 2014 – Quick Tour to Front-End Unit Testing Using Jasmine Slide Deck and Demos

September 19, 2014

A few hours ago, I had the pleasure of delivering a session about JavaScript unit testing using the Jasmine framework in DevConnections 2014 conference. You can look at the session slide deck and download the demos. I want to thank all the attendees who came to hear me!

sparXys Services

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.

New Article – Backbone.js at a Glance

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.
no comments

New Speaking Engagement – TechEd Europe 2014

August 20, 2014

Yesterday I was notified that one of my suggested sessions to TechEd Europe 2014 was accepted. First of all, it is a honor to be accepted as a speaker to a huge conference such as TechEd Europe.  Also, it is going to be my first time in Barcelona so I’m very excited. In the conference I’m going to speak about the TypeScript language and how to use it to build an end-to-end web applications. The session details: Building End-to-End Web Apps Using TypeScript Creating cross-platform, application-scale JavaScript code that runs in any browser or in any host is...
no comments

Saving and Loading ng-grid Columns State

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...
2 comments

Building a Simple AngularJS Print Directive

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: (function (angular)...
one comment

Quick Tip – AngularJS Controller Destructor

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...
no comments