6. JavaScript Frameworks
• Standardized code structure and rules
• HTML, CSS and JS
• Front-end frameworks
– CSS to position elements
– Typography styles
– Browser compatibility
– Standard CSS classes
– Set of tools
– Imposes no structure
7. jQuery
• JavaScript library
• Most popular
• Open-source
• Released in 2006
• Easy to select DOM elements
• Used in Bootstrap and other libraries
8. jQuery
• Start with $(document).ready(function(){
• AJAX calls $.ajax({
• Element selector $(".item")
• Chaining
$(".item").addClass("blue").slideDown("slow");
• Jquery.ui, jquery.validation
9. Bootstrap
• The most popular HTML, CSS, and JS framework
for developing responsive, mobile first projects
on the web
• Open-source
• Twitter Bootstrap in 2011
• Bootstrap 3.0 - mobile first
• Bootstrap 4 alpha
27. Modernizr
• Detects HTML5 and CSS3 features that your
browser supports on page load
• Result of “feature detection” is “yes” or “no”
• Adds classes to HTML
• https://github.com/Modernizr/Modernizr/wiki/H
TML5-Cross-browser-Polyfills
• Support IE6+, Firefox 3.5+, Opera 9.6+, Safari 2+,
Chrome
30. Respondjs
• It loops through the CSS referenced on the
page
• IE8: re-requests the CSS files using Ajax
• Polyfill for CSS min-width and max-width in
browsers that don't support CSS3 Media
Queries
31. Polyfills, shims
• Shim: a generic code, a library that brings a new
API to an older environment
• Polyfill: downloadable code with fallback for
functionality that is not available in your browser
• Also with newer browsers
32. SharePoint Saturday
Oslo 2015
• jQuery http://api.jquery.com/
• Bootstrap tutorial
http://www.tutorialspoint.com/bootstrap/bootstrap_tutorial.pdf
• Modernizr http://modernizr.com/docs/
• Respond https://github.com/scottjehl/Respond
• Building Responsive UI with Bootstrap on MVA
• http://www.microsoftvirtualacademy.com/training-courses/building-
responsive-ui-with-bootstrap
• LESS http://lesscss.org/
• Polyfills https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-
browser-Polyfills
Links
35. Get stamps from all the sponsors,
so make sure to visit them
Deposit the passport to enter the
prize raffle
Good luck!
The SPSOslo Passport
36. FREE BEER!
Make sure to get your voucher
Network and have fun with your
colleagues and mingle with our
great speaker lineup.
SharePint sponsored by
37. They help us improve for SharePoint Saturday 2016!
Remember to evaluate our sessions