Javascript Monthly Digest – 05/2011

by Oren Farhi on June 1, 2011

In this month’s issue i’m focusing on articles, frameworks & libraries.
Various javascript frameworks are starting to arise in order to give a solution to a certain development need. I’m focusing on frameworks which may ease development for a certain needed functionality such as: event management, templating, general mobile support and others.
Read the rest of this entry »

OOP Javascript, Jquery, Binding events and keep the context

by Oren Farhi on January 13, 2011

When developing in oop javascript style, I usually create classes which handle certain data, page behaviors and interaction. To achieve some of that, adding events to a class such as: click, keyup etc, is quite common.
There was one issue I struggled with while developing in oop javascript – keeping the context of the class when binding events to it.
Read the rest of this entry »

10 good reasons for using jquery as your javascript framework

by Oren Farhi on December 20, 2010

I’m a jquery lover – I admit. ever since I started using this excellent framework – I got hooked.

Since I’m consider myself a core javascript developer, I tend to test and research before I choose to use others work. Well – Jquery has passed the test!

Nowadays, when developing in javascript, a developer has to be able to code for all browsers at least (in my opinion and as a proof of concept from our reality). It’s one of the most common requirements a javascript project must take into an account when developing any project. The browsers market is changing and people are getting to know few browsers and tend to prefer one over the other.

There are many good reasons for why using jquery as your javascript framework. After working for quite some time with jquery in big and small projects, these are my top reasons:

Read the rest of this entry »

Notepad++ and Microsoft Team Foundation

by Oren Farhi on December 2, 2010

The client i’m working with today, uses microsoft team system for source control. This means that Visual Studio is their primary IDE. As a notepad++ user, I find Visual Studio lacking in many features I can find in notepad++. However, it’s a bit tedious switching between Visual Studio and notepad in order to “check out” a file. I found a nice way to bridge this gap.

Read the rest of this entry »

Javascript Arrays – passing by reference or by value?

by Oren Farhi on October 12, 2010

I stumbled across a great article about javascript arrays - Mastering Javascript Arrays.

One fact that i didn’t realize until reading this article is that if you pass an array to a function – it is passed by reference by default.

Read the rest of this entry »