HELLO.How’s it going?
I’m Antonio Esquer and I’m a
freelance Interactive Developer.
This Blog is focus on Mobile , Web and Creative Technologist.
I like Animation,ActionScript,Art with code,Design,Flash,Fractals,Generative Art,Illustration,Interaction,Interface Design,JavaScript,Open Frameworks,Maths,Mobile Development,Motion Detection,Physics,Programming,Processing,Typography.

Blog / Archive by category: Code

Javascript Event Delegation1 comment

Code : Manage all your page with only one event

March 5th, 2014

From the dawn of history browsers have supported event delegation.
We will use event delegation to run all our web application just with one event !

Javascript Event Delegation

If you click on an element, the event will bubble all the way up to the document in search of event handlers to execute.

Event delegation allows you to avoid adding event listeners to specific nodes, instead, the event listener is added to one parent.

That event listener analyzes bubbled events to find a match on child elements.

» Keep Reading : Javascript Event Delegation

Minimal JavaScript Template Enginespeak

Code : Neat, Small and Nice templates with plain javascript

February 28th, 2014

"Char95 Template" is a minimal template engine for JavaScript. It maps JSON objects to DOM elements with zero configuration. Just call render().

After years of working with diferent template and parser technologies, finally I opted for a minimal and extremely fast javascript template system.

Though there's plenty of Javascript based template solutions out there (pure, EJS, jQSmarty) I wanted something that were:

  • Powerful and extremly simple to use.
  • Compact (1 KB!)
  • Free of external libraries, plain JavaScript, no Jquery, Zepto or any other script library required.

» Keep Reading : Minimal JavaScript Template Engine

JavaScript XML to Array Parserspeak

Code : XML made easy for JavaScript.

April 3rd, 2012

A clean, simple and effective way to access your XML data with JavaScript.

If you're building an Ajax app in which you actually process raw XML data in your JavaScript code, then you'd probably agree that working with XML in JavaScript is not the most clean or efficient thing to do.

» Keep Reading : JavaScript XML to Array Parser

MultiTouch with ActionScript 3.0speak

Code : The MultiTouch interface with ActionScript 3.0.

February 17th, 2011

After getting some multitouch dispositives, iphone, ipad, ipod, htc desire HD and multitouch screen computers like viliv s10, it is about time to programming for Touch Screen devices.

Thats why i got started with ActionScript 3.0 , c# and java.

In this post I will be writing about the ActionScript 3.0 programming.
This will allow you to test the code online if you have a "non-apple" touch screen device.

Click here to run the demo ( requires a touch screen device with flash )

If you have an android device, you can follow this tutorial: 'Getting started with Adobe AIR for Android'. and create an android application using actionscript for AIR.

You can also download this test application for android,
click on this link,
or scan the QR code with your phone.

» Keep Reading : MultiTouch with ActionScript 3.0