jQuery performance – part 1 [Selectors]

Selecting element by id & class attribute

Use id attribute as much as possible in your project!

If you are writing a jQuery plugin or you want better performance of your code you will find the post as interesting.

The best way to select an element from the DOM is using Continue reading


How to represent 2D array into 1D array ?!?

2D array

2D array

This is very interesting question “How to represents 2D array into 1D array?”. In this post I’ll show you two ways to do it:

  1. Row-Major order
  2. Column-Major order (vectorization)

Continue reading

Single-Page Application with Kendo UI

Recently single page applications popularity are growing and this is the reason that i wrote this post. Kendo released new version before week ago and there are some new features like ColorPicker, Tooltip, Multiselect and possibility to make Single-Page Application with their framework. In this post I will show you the pros and cons of SPA(Single-page application) and a simple demo using Kendo UI framework.

SPA architecture

SPA architecture

What is SPA?

Shortly SPA is combinations of HTML, JavaScript and CSS that retrieves code once. Applications has only one page that’s separated in different parts. When user interacts the script will load different parts to the screen without making requests to the server (in some cases it’s possible to have AJAX requests). This makes SPA Continue reading