'Blog' Category

  • BabaJS – Javascript Template Engine

    April 26, 2011

    What is BabaJS BabaJS is an open source Javascript template engine/manager. The basic concept is: Template + Data = HTML Here is a simple example: <!– user template –> <div class="user"> <span>< %=data.userName%></span> < %IF data.hasPic %> <img src="<% return 'http://imgs.mydomain.com/'+ data.userPic; %/>" /> < %ELSE%> <span>Add User Pic</span> < %ENDIF%> <span>User Friends:</span> < % [...]

  • Implementing Autocomplete jQuery Plugin for Textarea

    March 7, 2011

    We all know the auto-complete feature. We use it in google search, when google tries to suggest our search term, and you probably saw it in many other sites which implemented the auto-complete for their own use. Most of the auto-complete out there are implemented in a text field, where the user has one line [...]

  • Create your own AjaxStore with XMLHttpRequest Level 2

    January 23, 2011

    One of the most interesting things to me that HTML5 has introduced is the XMLHttpRequest Level 2, and more specific the cross-origin requests. Up until now the browser vendors enforced cross-origin requests due to security reasons. The only way for a web page to talk to another web page outside of its domain was either [...]

  • Beware of the prototype properties

    December 14, 2010

    First of all I’m sorry that I haven’t wrote for a long time, I’ve been busy, but since I realized that is never going to change (at least not before the kids will move out of the house) I better continue write post even when I don’t have time. So I guess the post will [...]

  • Implementing Multiple Inheritance in Javascript

    June 11, 2010

    Update First of all I have a new logo and favicon – it’s that funky Ninja icon on the top left. It was designed by the gifted designer Liora Darom. I’ll be happy to provide her contact if someone is interested. It’s been a while since my last post, usually I try to write more [...]

 
Powered by Wordpress and MySQL. Theme by openark.org