High Performance JavaScript Conference 2010 in San Francisco Bay Area

Table of Contents

1. Summary

http://events.jquery.org/2010/sf-bay-area/ http://speakerrate.com/events/365-jquery-conference-2010-san-francisco-bay-area

The San Francisco Bay Area conference will be held at the Microsoft Silicon Valley Campus Conference Center in Mountain View, California

2. Tasks

2.10. Review labjs

2.12. Set a CDN reviewer

2.12.1. jQuery

2.12.2. jQueryUI

2.12.3. Core DOM

3. Sessions

3.1. Welcome and Introduction Apr. 24 2010, 10:00 AM

Over 500 People; largest JavaScript conference.

People at table from American Apparel; jQuery 1.4.2 with Dynamo.

http://www.americanapparel.net/

3.2. Ads, widgets, and analytics - Oh my! Apr. 24 2010, 11:00 AM

http://speakerrate.com/talks/2962-ads-widgets-and-analytics-oh-my

Site speed in search algorithm.

Do large companies have an easier time to enhance performance.

Regression time, many teams build the components for the page, risk assessment.

Tools recommended are:

3.2.2. YSlow!   tools

Better with sprites.

3.2.3. Page Speed   tools

Better with deprecated styles.

3.2.5. webPagetest   tools

Show a video of the comparison between the load of the systems.

This is similar to

http://code.google.com/speed/page-speed/docs/using.html#activities

3.2.7. appendChild () vs. insertBefore()

For async script loading.

Interesting change in the load behavior for Google Analytics. Also look at YUI loader's implementation for how to add scripts

getHardpoint() is used by ??? (Fabebook)

3.2.8. Forced sequential

document.write to perform the sequential loads and redirectors.

Ad network and inventory.

This won't be solved without involvement from the Ad network. The business requirements would need to be reviewed to determine how those businesses are run.

Facebook has the benefit running internally.

3.2.9. Frag Tag

3.2.11. Lack of progressive rendering

What is the amount of rendring provided during the load of the page.

3.2.12. Be most concerned with JavaScript

It blocks; look at the parallel options.

3.3. High Performance jQuery Apr. 24 2010, 12:00 PM

3.3.3. When does jQuery do more than we need

Cases where binding accumulates on objects.

3.3.4. When are we not cleaning up the work

Example was for DOM elements that are no longer being used.

3.3.5. CSS vs. .show() & hide()   css

Is this always the case that we don't want to use show() and hide().

Why is show and hide so expensive?

3.3.8. Structure

3.3.8.1. Create the module

$(function() {

var

})

3.7. Alternative: Learning From the Best jQuery Plugins

http://speakerrate.com/talks/2968-learning-from-the-best-jquery-plugins http://marcgrabanski.com/

Reviewed over 1000 plugins.

Tried to review items recommended online and Twitter.

3.7.1. Examples

3.7.1.1. BBQ
3.7.1.2. ColorBox

Provides a fair number of poptions.

3.7.1.3. DatePicker
3.7.1.4. Flip!
3.7.1.5. Form

Notes that the key feature is AJAX file upload.

3.7.1.6. Flot
3.7.1.7. jCarousel
3.7.1.8. NoSWFUpload
3.7.1.9. Uploadify
3.7.1.10. Validation
3.7.1.11. Tooltip
3.7.1.12. Accordian
3.7.1.13. SWFObject

3.7.2. Best Practices

3.7.2.1. Make demos available

Make a huge list of demos available to show how all functionality is available .

4. FireQuery

5. FireQuery provides plugin support for jQuery Lint

6. YSlow! shows All JS Beautified

It didn't look like many people in the audience were aware of this new new that should move the manual process of something like

js beautify-cl.js http://s.cmcdn.com/graphics/js/lib/generic.js

Firebug > YSlow > Tools > All JS Beautified Show all JavaScript code in this document in an easy to read format

7. Aggregation of YSlow! and Page Speed reports

http://www.sergeychernyshev.com/blog/automating-page-speed-and-yslow-monitoring/

I'm still working on the implementation of ShowSlow against prototype02 but as a temporary aggregation I'm using the following user set properties in about:config in Firefox:

extensions.PageSpeed.beacon.full_results.url;http://jwalsh.corp.sea1.cmates.com/rx extensions.PageSpeed.beacon.minimal.url;http://jwalsh.corp.sea1.cmates.com/rx extensions.yslow.beaconUrl;http://jwalsh.corp.sea1.cmates.com/rx extensions.yslow.optinBeacon;true

Configuration is noted in

http://developer.yahoo.com/yslow/help/beacons.html

Alternatives:

24mar2009.xls

This mirrors some of the work done for web page http://xfiles/display/area51/PagetestPlugin

8. WebPagetest now shows rendering time video