Putting the V in MVC - Code Camp

1,316 views
1,216 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
1,316
On SlideShare
0
From Embeds
0
Number of Embeds
83
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Putting the V in MVC - Code Camp

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

×