Aug 26 2009

Speaking at The Ajax Experience

I’m going to be speaking at The ajax experience conference in Boston on sept 14-16th. The topic, Object Oriented CSS: for Scalable, Fast, and Beautiful Web Application.


Aug 6 2009

YUI 2.8.0 RoadMap

YUI RoadMap


Jul 21 2009

New Yahoo! home page

I’ve been working in the past 9 months on the new Yahoo home page. Now the beta version is finally out!:

Yahoo!

Ps: I hope you like the first Wizard pop up you see and the flickr application!


Jul 11 2009

Bay area JavaScript Meeting @Yahoo! July 27th

I’m happy to announce that the next Bayjax meeting is going to be hosted over at Yahoo on July 27th! We’re gonna have an stelar line up of speakers, including: Douglas Crockford, Nicole Sullivan, Satyen Desai and Jon Leblanc.

Check out the details here:

YUI Blog


Jun 21 2009

Velocity Conference 2009

I’ll be collaborating with Nicole Sullivan as part of her talk on June 22nd at the velocity conference. The topic: building fast and reliable web sites techniques.


May 19 2009

My Drag&Drop example published on YUIBlog

Here!


Mar 14 2009

YUI Datatable with Drag and Drop support

I ran into a case where I needed to have a datatable with drag and drop support. After looking through some examples I decided to try and put something together. Here’s the result. Thanks Jenny for your help!

You can see the example on a separate window here


Nov 7 2008

My First YUI contribution…

I just realized that one of the exercises we did on Juku has been posted on the YUI example library. Juku pride!


Oct 13 2008

Namespacing in JavaScript

My friend Matthew asked me the other day for an example on how to create a namespace in javascript and why is it a good idea to always wrap your code inside a global namespace. There is numerous advantages of having all your properties, methods and classes wrapped in a namespace but the most obvious one is encapsulation and how you can control what to make public and what to make private and have privilege methods to access private properties through closures. Also it avoids confusion in case your code has to co-exist with other pieces of code you don’t have control over. Here is a short example on how to make namespaces in javascript(Ross, thanks for the tip on the factory pattern!):

   <script>

    var MYCOMPANY = {};
    MYCOMPANY.MyProduct = (function (){
        // Private members.
        function MyClass(){
            this.id = "MyClass";
        }
        MyClass.prototype.getId = function(){
            return this.id;
        }
       var createClass = function (){
            var newClass = new MyClass();
            return newClass;
        }
        return { // Public members.
            createClass: createClass
        };
     })();
     var myObject = MYCOMPANY.MyProduct.createClass();
   </script>


Oct 12 2008

Fox

I met a fox the other day.
Well I asked how much she cost, I had to pay.
All of a sudden I’d brought her home.
She’s one hundred kilos dressed in silverchrome.

We’re gonna rock the San Francisco Hills…

DSC00528
DSC00526

DSC00525