Quick Tip – Empty a JavaScript Array

September 20, 2013

Quick Tip – Empty a JavaScript Array The question of how to empty an array in JavaScript is being raised from time to time. If you will look at the JavaScript array API you will find that the array objects in JavaScript don’t include an empty/remove function. How to Empty an Array? The Allocation Way The first answer that I occasionally see is to allocate a new array: var a = ;   // later in code ...
no comments

Copying Content in The Name of Naming Recognition

September 17, 2013

Copying Content in The Name of Naming Recognition This post is a little off topic. Yesterday I saw a tweet of some respectful community leader who published a link to some other guy’s article. So I went to read the article and saw the same demo code and a lot of phrases I used in an article I published a year ago in the same subject. It isn’t the first time someone is copying my content. On the other hand, most of the people who copied my content had the dignity to reference my blog/article. This guy didn’t...
no comments

Bootstrapping Your Web App Front-End Code

September 12, 2013

Bootstrapping Your Web App Front-End Code Yesterday while delivering one day workshop about different JavaScript libraries (jQuery, RequireJS, SammyJS and more), I was asked how to start my web app front-end code. This post will explain the question and later on will show you a code template that I sometimes use in projects. Web App Front-End Bootstrapping? When dealing with Single Page Apps (SPAs) or even just webpages with a lot of JavaScript code, you will have to start your code and sometimes do things like initializing components, modules, views and etc. It’s just like running...

Getting Ready to DevConnections 2013

September 9, 2013

Getting Ready to DevConnections 2013 In about three weeks, I’ll pack my suitcase and fly to Las Vegas to attend DevConnections conference. This is going to be my third time in Vegas (the previous visits were in Microsoft MIX conferences) and the first time as a speaker in DevConnections. So here are the sessions I’ll deliver and a little more information about them: jQuery Fundamentals This session is going to introduce jQuery library and its major concepts. It will include the following topics: selectors, DOM traversal and manipulation, AJAX...
no comments

Upcoming Front-End.IL Event – Browser Internals

September 8, 2013

Upcoming Front-End.IL Event – Browser Internals In about a week we are having our third Front-End.IL Meetup. In the upcoming Meetup Lior Bar-On, Senior Development Architect in the Portal Group at SAP AG, is going to talk about browser internals (network & rendering). The session will include information about how to write more efficient web apps by understanding how the browser works. There are still open seats to the event so you can still register. See you there!
no comments