Wednesday, March 11, 2009

#msdnsrf twitter for GlenGordon:jQuery, BrianHitney:Azure

The Southern Fried Roadshow hits Huntsville! Glen had to start out talking about jQuery 'cause the demo gods snafu'd Brian's laptop.

Glen on ASP.NET + jQuery:
other libs: dojo, scriptactulous, prototype, also AjaxTK & Yahoo! UI Library

AJAH vs AJAX
AJAX stands for Asynchronous JavaScript And XML. So I came up with the term AJAH, which stands for Asynchronous JavaScript And HTML (http://jimmyzimmerman.com/blog/2006/08/ajax-vs-ajah.html)
http://jquery.com/ by John Resig

Selectors:
$("firstName") -> elt w/ID="firstName"
$(":text") -> all textbox elts
$(".required") -> all elts with .required property
more: http://docs.jquery.com/Selectors

Search ScottGu's blog for getting jQuery intellisence working
or get hotfix to do it for you. Here's a good url:
http://west-wind.com/Weblog/posts/536756.aspx

Interesting:
function pageLoad()
{
$(":text") .focus(hilight).blur(lolight);
}
function hilight()
{
$(this).css("background-color","red");
}

function lolight()
{
$(this).css("background-color","");
}

Animation:
.slideDown('slow' or 'normal' or 'fast')

pageLoad
$("#linkage).click(slider)

... Glen is too fast - gotta watch ... talking about sorting using plugin for jQuery.
jLink later on...
You can easily write your own.
....
Nikhil's Web Devepment Helper:
http://projects.nikhilk.net/WebDevHelper/

Use it to see the JSON object graph for Photo object in PhotoService WCF demo.

niiice Lightbox jQuery pluggin:
http://www.huddletogether.com/projects/lightbox/

Brian's turn!
Azure isn't ready for prime time so I'm not gunna say nutn'

Back from lunch, Power Debuggery:
Advance breakpoint-ology 101 is first topic...
+ in stack window can click method-name and hit F9 or right-mouse add breakpoint.
+ add/remove (toggle F9) in three different parts of top of for loop.
+ Ctrl+D+N = new breakpoint, Type in name, and it'll match ALL names that match (no wildcards)
+ Hitcount, and other cases are on right-mouse on click on breakpoint icon or in breakpoint window.
+ likewise, Condition... like in a for look, i==3

[Conditional("DEBUG")] only on void return types, so use
#if DEBUG
public bool CheckEt(string whoDo)
{
if (string.IsNullOrEmpty(whoDo))
{
return false;
}
return true;
}
#endif

Can call CheckEt("me") as a condition as well.

threading/debugging, break-all, open thread window, double-click thread to set context to a specific thread, try "Filter" set break in specific thread.

"When Hit"! Awesome... print trace. this is the last of em' in the right-mouse popup menu
----
"Watch window is even more powerful" said Brain, DE & Rock-n-Rolla debugger!
can call method... but 20 sec timeout, and it doesn't honor breakpoints
but in Immediate Window... yep! And no 20 sec timeout.

Thanks for the presentation #MSDNSFR! Gotta go listen to INETA

No comments:

Post a Comment