Putting the V in MVC

5,768 views

Published on

MVC gives us total control over markup in ASP.NET. Or in other words, you better learn how to turn HTML into something pretty. Luckily, there is a great framework to help us out: jQuery UI! We will take a look at using jQuery UI to do exactly that. We will start with simple HTML markup and transform it into interactive widgets with very little code. jQuery UI widgets add style and behavior to otherwise drab markup without changing its semantics. We will also look at Wijmo, a new toolkit that extends jQuery UI. Wijmo brings over 30 widgets to jQuery UI from Menus to SVG Charts, 18 of which are Open Source. Both jQuery UI and Wijmo can take your Views from boring to brilliant in ASP.NET MVC. After this session you will be ready to start putting the V in MVC!

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
5,768
On SlideShare
0
From Embeds
0
Number of Embeds
3,621
Actions
Shares
0
Downloads
28
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Putting the V in MVC

  1. 1. Putting the V in MVC<br />Using jQuery UI & Wijmo<br />
  2. 2. about:me<br />Chris Bannon<br />Product Manager<br />@b4nn0n<br />Hello!<br />
  3. 3. The Big V<br />V stands for View<br />It is the “Presentation Layer”<br />Responsible for the UI<br />Consists of HTML<br />HTML rendered via HTML Helpers<br />
  4. 4. HTML Helpers<br />“Help” us create HTML<br />Provide Helpers for simple elements<br />TextBoxes, HyperLinks, etc.<br />In the end, they just return a String<br />Complex HTML Helpers can get messy<br />Menu, Grid, Tree, etc.<br />
  5. 5. “If only there were a way to turn simple HTML into a rich UI…”<br />?<br />
  6. 6. Enter jQuery UI<br />Widget library<br />Turns HTML into interactive UI<br />As easy to use as jQuery<br />Pre-themed with CSS<br />Works in every browser<br />Falls back to semantic HTML markup<br />Easily apply animation effects<br />
  7. 7. “If only there were more of these awesome jQuery UI widgets…”<br />…<br />
  8. 8. Enter Wijmo<br />Extends jQuery UI (not replaces it)<br />Adds features to jQuery UI widgets<br />Slider, Progressbar, etc.<br />Adds new widgets to jQuery UI<br />Grid, Charts, Tree, etc.<br />Works in every browser (even IE6)<br />Themeroller-ready<br />As easy to use as jQuery<br />HTML5, CSS3and SVG<br />
  9. 9. The Ultimate View<br />Widgets<br />HTML<br />jQuery!<br />CSS<br />Java-Script<br />HTML<br />
  10. 10. In Other Words<br />$(“ul”).wijmenu();<br />
  11. 11. $(“code”).show();<br />
  12. 12. Benefits of “The Ultimate View”<br />Take control over your markup<br />Clean & lean HTML<br />Maintainable markup<br />Highly interactive UI<br />Easily integrates jQuery.ajax()<br />Themeroller support<br />
  13. 13. Resources<br />Wijmo: http://wijmo.com<br />jQuery: http://jquery.com<br />jQueryUI: http://jqueryui.com<br />Themeroller: http://jqueryui.com/themeroller/<br />Me: http://twitter.com/b4nn0n<br />Thanks!<br />
  14. 14. $(this).end();<br />l8r!<br />

×