Recent Entries
- MangoBlog/Oracle Int...
- OT - Google Maps: In...
- Email Hijacked?
- CFUnited: Refactorin...
- CFUnited: Continuous...
- CFUnited: Prototypin...
- CFUnited: All about ...
- CFUnited: Event Driv...
- CFUnited: Integrated...
- CFUnited: ColdBox Fr...
Popular Entries
- CFUnited: All about ...
- SAML and ColdFusion ...
- SAML and ColdFusion ...
- SAML and ColdFusion ...
- SAML and ColdFusion ...
- SAML and ColdFusion ...
- CFUnited: Google Web...
- Import/Export in SQL...
- Second Blog CFC Surv...
- Improving Performanc...
Top Commenters
- Nathan Mische (12)
- CFFusionDev (6)
- CFdevfusion (6)
- Peter Bell (4)
- Sean Corfield (3)
- Rey Bango (3)
- Terrence Ryan (3)
- ah7866 (3)
- Scott (2)
- Jim Priest (2)
Slideshows
Dresser/Changing Table...Images related to the lay...
Nursery renovations...
Pool Surprises...
Sponsored Links
Search
Subscribe
Enter your email address to subscribe to this blog.RSS
Tags
cfug cfunited coldfusion flex generalArchives
- Adobe (5) [RSS]
- AIR (6) [RSS]
- ASP.NET (2) [RSS]
- BlazeDS (1) [RSS]
- Books (1) [RSS]
- CFEclipse (5) [RSS]
- CFML (0) [RSS]
- CFUG (26) [RSS]
- CFUnited (23) [RSS]
- ColdFusion (53) [RSS]
- College Football (3) [RSS]
- Conferences (1) [RSS]
- Development Tools (3) [RSS]
- DIY (1) [RSS]
- Eagles (3) [RSS]
- Fireworks (1) [RSS]
- Flash (3) [RSS]
- Flex (10) [RSS]
- Flyers (2) [RSS]
- Frameworks (5) [RSS]
- General (28) [RSS]
- Hockey (2) [RSS]
- Hosting (1) [RSS]
- House (2) [RSS]
- HTML (2) [RSS]
- JavaScript (1) [RSS]
- Jobs (1) [RSS]
- Macromedia (0) [RSS]
- MangoBlog (1) [RSS]
- Misc. (5) [RSS]
- Model-Glue (4) [RSS]
- Navy Football (5) [RSS]
- onair2007Philadelphia (3) [RSS]
- onairbustour (3) [RSS]
- Open Source (0) [RSS]
- Other (2) [RSS]
- Other Sports (4) [RSS]
- Performance (3) [RSS]
- Personal (2) [RSS]
- Phillies (2) [RSS]
- Projects, User Group Manager (1) [RSS]
- Rant (1) [RSS]
- Rants (1) [RSS]
- SAML (6) [RSS]
- Site (1) [RSS]
- Soccer (4) [RSS]
- SQL Server (2) [RSS]
- Transportation (1) [RSS]
- Wedding (2) [RSS]
AGGREGATORS
CFUnited: jQuery/CF Integration
Posted On June 19, 2008 9:19 AM By Phil in CFUnited
This morning I attended John Farrar's jQuery/CF Integration presented by John Farrar. I was a little late, but thank goodness for technical difficulties I didn't miss much. That was a double edge sword also, as John tried to make up time during his presentation. Overall, it was a good introduction and I have realized I really need to get into jQuery to make a little more usable/rich applications. Here are my notes from the presentation:
Reasons to like jQuery
- Less, simpler code to execute functions
- Easy to extend
- Growing libraries
- Established platform
jQuery
- Founder: John Resig
- JavaScript Foundation for Mozilla Foundation (formerly) - this was the reason it was very mature out of the box
jQuery Popularity
- almost quadruple in popularity in Google trends
- Books: Learning jQuery (Packt), UPDATE: jQuery in Action
jQuery Overview/Examples
- Core
- Selectors
- Attributes
- Transversing
- Manipulation
- CSS
- others I didn't catch
CF'afying JavaScript
- CFJS - cfjs.riaforge.org, Chris Jordan
- library of over 60 functions to be like a lot of CF functions
jQuery Examples
- create a proxy for your Custom CFCs with jQuery AJAX functions
- recommends using jQuery.ready() and jQuery.noConflict() and move away from the onload function. Also, doing ready() will help to eliminate the "flicker" of items being displayed then hidden.
- went through selector examples (click(), toggle(), etc.)
- I didn't know about the use of jQuery() instead of $. Note to self: go back and change the one application I did using jQuery and make that change, :)
- Best practice is to use CSS classes as opposed to using .css() - if you have CSS classes
- Using DOM manipulation would allow interactivity with DOM elements that aren't buttons like list items, without putting in an anchor tag, etc.
- Lots of documentation at jQuery site
- Recommends the jQuery UI library for UI elements
Specific to CF Integration
- Use AJAX library functions, can wrap in CF tags
- Always empty areas before reloading


philduba.com




Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
I will be very interested to see his examples of creating the proxy through jquery functionality. is it different than using cfajaxproxy ?
@Phil: Could you also add jQuery In Action to the list of books you mentioned (http://www.manning.com/bibeault/)
What would you like to see in terms of posts?