Posts tagged ‘Javascript’

October 22nd, 2009

jQuery Session that needs to be shared – from Devdays Seattle

Yesterday I attended the Stack Overflow Dev Days Seattle conference. First of all, a $99 conference locally that had this amazing collection of topics made this a must attend. Honestly, though, this jQuery presentation was worth the $99 by itself.

Cody Lindley [@codylindley] gave a great intro and exploration of what jQuery is all about!

Sure there was lots of great ideas for how to use this technology bubbling in my head after Cody introduced feature after feature of jQuery. The best part was his ‘How to build your own jQuery plug-in in 6 Steps’ starting on slide 82. I can’t tell you how many times I’ve wanted to extend a library but the documentation doesn’t clearly outline best practices for building new classes or plug-ins. It’s a lot of trial and error, not to mention headaches. This presentation was so valuable I just have to share it!

You can also check out Cody’s PDF book jQuery Enlightenment for just $15. It is a collection of useful code and samples which can rapidly get you up and running with all the power of jQuery.

jQuery: The Write Less, Do More JavaScript Libary!

P.S. Microsoft was at Dev Days Seattle giving FREE RAM upgrades to every computer that wasn’t already maxed out. Unfortunately, my laptop was maxed so I couldn’t take advantage, but what a cool way to engage this audience.

P.P.S. You have to check out this video of the guys who brought you Photosynth. Steve Seitz talked about how their team has taken the ideas behind Photosynth further and this technology is seriously impressive. Their goal: Re-Build Rome in a day! http://grail.cs.washington.edu/rome/

February 25th, 2008

Silverlight 1.0 – Beyond Rich Media Playback

I’ve been working hard the past few weeks on a Silverlight Rich Media Expandable Ad project at PBJS. The task at hand was to really push the Silverlight 1.0 plug-in to do things it wasn’t really designed to do. The project was generally a success. What I’m planning on doing is putting up some code snippets that I used to create this project to hopefully shed some light on Silverlight 1.0 for anyone that is interested in learning it.

The project pays homage to the Justice D.A.N.C.E. Video but adds an interactive element where you can influence the animations on the shirts.

For now, please check out the project.Please leave comments about any questions you might have.

I’m also going to try to see if I can get everything working live on this page, just curious at how well the Silverlight 1.0 plug-in will work inside blogger.

update: didn’t work so well. so please view the project here.

With Silverlight 2.0 coming out soon, I’m very interested in making use of some of the features that were lacking in the 1.0 release, namely Rich UI Controls, Alpha Channel support in video, and a more robust graphical rendering engine. This project did push me into learning more about XAML and how to manipulate it using JavaScript.

XAML is pretty slick. The biggest drawback that I’ve seen so far is it’s a little verbose for markup. In many cases, characters could be left out and it would cut down significatly on the file size of the XAML. It also requires all data to be a string, which isn’t very efficient in my option. In many cases, I had to convert values to and from integers and strings because I couldn’t use integers as values for attributes like Canvas.Left and Opacity. That struck me as a little odd, but I digress.

The other thing is every time you enter a value for a color, XAML adds the Alpha value as well. In my opinion, the default should be full Opacity every time unless otherwise stated. So #ff0000 for Red rather than #ffff0000, which is two extra characters for every color. There is probably a good reason for this, but I don’t know why.

The Code Trip is kicking off after Mix08. I’m really anxious to see what kind of apps the guys come up with. I think Silverlight does have a valuable place on the web, and I hope to see more cool implementations in the near future using the new 2.0 features. For now I’ve been reading Scott Guthrie’s blog which has a preview of Silverlight 2.0. There will be a lot of Silverlight hype in the coming months, I’m looking forward to the dust settling and taking a calm look at the aftermath and enjoying some full featured Silverlight Apps.