SlideShare uma empresa Scribd logo
1 de 27
Baixar para ler offline
Front-End
                  Frameworks:
                a quick overview
Javier Cuevas
@javier_dev
Diacode.com
Front-End Development

HTML     CSS    Javascript
Frameworks
                                  Toolkits
                                  Libraries
              Front-End           Grid systems (CSS)
                                  Boilerplates (HTML)
                                  Syntatic Sugar
                                  ...
                Multiple names and approaches.
Same idea: make front-end development easier, faster, stronger.
Why do we need
 Front-End Superpowers?
• HTML is ugly and old.
• Javascript is ugly and old.
• CSS is not that ugly but is totally Anti-DRY.
• User Interfaces are each day more complex.
• Cross-browser compatibility.
• Device Heterogeneity: tablets, smartphones,
  desktops... A jungle of different screens.
HTML
HAML
        • Syntatic sugar for HTML and ERB (embedded Ruby).
        • HAML is for Ruby, but there are equivalents for other
             languages (SHPAML, GHRML).

        • White space aware syntax.
HAML                                    HTML
#profile                                <div id="profile">
  .left.column                            <div class="left column">
    #date= print_date                       <div id="date"><%= print_date %></div>
    %p.address= current_user.address        <p class="address"><%= current_user.address %></p>
  .right.column                           </div>
    #email= current_user.email            <div class="right column">
    #bio= current_user.bio                  <div id="email"><%= current_user.email %></div>
                                            <div id="bio"><%= current_user.bio %></div>
                                          </div>
                                        </div>

                                                                      http://bit.ly/VzHwc
CSS
SASS
• CSS on steroids: variables, mixins, nested rules and
       math functions.

• Two different syntaxes: .SCSS (new) and .SASS (old)
• SCSS/SASS is compiled to CSS on the server side.
SCSS                            CSS
$blue: #3bbfce;                 .content {
$margin: 16px;                    color: #3bbfce;
                                }
.content{
  color: $blue;                 .content p {
  p {                             padding: 8px;
    padding: $margin / 2;         margin: 8px;
    margin: $margin / 2;          border-color: #3bbfce;
    border-color: $blue;        }
  }
}                                                   http://bit.ly/3wRpzR
LESS
• Very similar to SASS.
• Main difference is that it gives you a “client side”
   version. This means LESS code is transformed to CSS
   into the browser client using Javascript.

• It does have a server side version too.
• Fans of SASS often are haters of LESS and viceversa.
• Some discussion about SASS vs LESS:
   http://wrangl.com/sass-v-less


                                              http://bit.ly/12gGr0
JAVASCRIPT
jQuery
• Do I have to tell you what is jQuery
  about? :)
• Briefly:
  jQuery is a Javascript library to easily
  change and animate the DOM (HTML
  nodes).
• I would say it’s a must in every project.
                                    http://jquery.com/
jQuery Mobile
• Despite of its name, it is more about the
  layout (user interface) and a bit less about
  Javascript superpowers.
• Is a whole framework to develop web
  applications for mobile devices by using
  HTML5 features.
• By using Phonegap you can embed your
  web mobile app into a native mobile app.
                              http://jquerymobile.com/
CoffeeScript
•   Is an alternative syntax for Javascript.

•   Coffeescript files compile into Javascript.

•   Basically offers syntactic sugar for JS.

•   Is white space aware, i.e. indentation instead of curly braces
    everywhere.

    CoffeScript                        Javascript
    $ ->                               $(function() {
      $("body").html "Hello!"             $("body").html("Hello!");
                                       })




                                                    http://coffeescript.org/
Modernizr
• Is a Javascript library allowing you to use CSS3
  & HTML5 while maintaining control over
  unsupported browsers.
• Detects what features are supported by the
  user’s browser.
• If some features are missing you can still use
  them by using “polyfills” (JS scripts that imitate
  HTML5/CSS3 features for older browsers).

                               http://www.modernizr.com/docs/
Handlebars
      • Is a Javascript template system.
      • Lets you populate data from JS (for instance AJAX
           responses) into HTML without having to write the
           chunk of HTML into the JS code.

      • Extends Mustache template system.
TEMPLATE               JAvASCRIPT                          OUTPUT
<div class="entry">    var context = {                     <div class="entry">
  <h1>{{title}}</h1>     title: "My New Post",               <h1>My New Post</h1>
  <div class="body">     body: "This is my first post!"}     <div class="body">
    {{body}}           var html    = template(context);        This is my first post!
  </div>                                                     </div>
</div>                                                     </div>



                                                              http://handlebarsjs.com/
Backbone
• Is a JavaScript framework that allows you to
   structure your Javascript code in an MVC (Model,
   View, Controller) fashion.

• Instead of storing data in HTML data attributes,
   store them into JS Models.

• Views (HTML) change when models change.
• Using it together with Node.js (JS on the server
   side), you can share code between client and server,
   i.e. same models in both sides.


                                           http://bit.ly/dk9Eki
Spine
• Same idea than Backbone: MVC for Javascript
• It’s pretty light weight.
• Has a mobile extension (Spine Mobile), that can be
   combined with Phonegap to build “native” mobile
   apps.

• It’s written in CoffeeScript, so if you don’t know
   CoffeeScript it could be harder to use it.

• There is an O’Reilly book by the author of Spine
   http://oreil.ly/pbxy4I

                                            http://bit.ly/tozpso
HTML + CSS + JS
HTML5 Boilerplate
•   Gives you a starting point for a new web app.
•   Is a package that includes several useful things ready to use:
    •   CSS resets
    •   jQuery
    •   Modernizr
    •   Layout with HTML5 doctype
    •   Cross-browser compatibility (even IE6 with Chrome Frame)
    •   Mobile browser-optimization
    •   Google Analytics snippet
    •   .htaccess optimizations
    •   ....
                                                      http://bit.ly/8Xe4wy
Twitter Bootstrap
• Developed by Twitter’s programmers.
• Includes:
 • Grid system with support for Responsive Design.
 • CSS classes for buttons, forms, tables, icons,
     navigation bars, labels, badges, progress bars, etc.

  • Javascript UI widgets: modals, menu dropdowns,
     images slider, accordions, alerts, notifications, etc.

• Highly customizable using LESS.
                                               http://bit.ly/q2G9Mm
Zurb Foundation
•   Very similar to Twitter Bootstrap. Made by Zurb.

•   Zurb’s developers stand very hard for some relevant ideas:

    •   960 pixels designs are dead.

    •   Develop a specific mobile version of your site is painful,
        so you must go for Responsive Design.

    •   With a tool like Zurb Foundation you can do
        Rapid Prototyping in HTML5 (no more vector
        wireframes).
        http://foundation.zurb.com/prototyping.php
        http://www.youtube.com/watch?v=V2EjipWZ7co

                                                     http://bit.ly/p9rfyt
There are hundred
of tools like these.
Some of them are
even more complex
    and exotic.
Learning all of them
   is impossible.
Don’t be afraid of
trying new things.
Use the ones you feel
will help you out and
 let the hype aside.
Thanks for coming!

Mais conteúdo relacionado

Mais procurados

ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
Clément Wehrung
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
bethanygfair
 
How to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS projectHow to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS project
Renoir Boulanger
 

Mais procurados (20)

Front End Development | Introduction
Front End Development | IntroductionFront End Development | Introduction
Front End Development | Introduction
 
A Brief Introduction to React.js
A Brief Introduction to React.jsA Brief Introduction to React.js
A Brief Introduction to React.js
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
 
What is front-end development ?
What is front-end development ?What is front-end development ?
What is front-end development ?
 
React Workshop
React WorkshopReact Workshop
React Workshop
 
web development.pptx
web development.pptxweb development.pptx
web development.pptx
 
How to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS projectHow to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS project
 
The Evolution of Airbnb's Frontend
The Evolution of Airbnb's FrontendThe Evolution of Airbnb's Frontend
The Evolution of Airbnb's Frontend
 
React JS - A quick introduction tutorial
React JS - A quick introduction tutorialReact JS - A quick introduction tutorial
React JS - A quick introduction tutorial
 
jQuery
jQueryjQuery
jQuery
 
Web development using javaScript, React js, Node js, HTML, CSS and SQL
Web development using javaScript, React js, Node js, HTML, CSS and SQLWeb development using javaScript, React js, Node js, HTML, CSS and SQL
Web development using javaScript, React js, Node js, HTML, CSS and SQL
 
React vs Angular
React vs Angular React vs Angular
React vs Angular
 
Intro to React
Intro to ReactIntro to React
Intro to React
 
Reactjs
Reactjs Reactjs
Reactjs
 
Angular vs. React
Angular vs. ReactAngular vs. React
Angular vs. React
 
Presentation of bootstrap
Presentation of bootstrapPresentation of bootstrap
Presentation of bootstrap
 
Web Devlopment ppt.pptx
Web Devlopment ppt.pptxWeb Devlopment ppt.pptx
Web Devlopment ppt.pptx
 

Semelhante a Front-End Frameworks: a quick overview

Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Erin M. Kidwell
 
GR8Conf 2011: Building Progressive UIs with Grails
GR8Conf 2011: Building Progressive UIs with GrailsGR8Conf 2011: Building Progressive UIs with Grails
GR8Conf 2011: Building Progressive UIs with Grails
GR8Conf
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
Peter Kaizer
 

Semelhante a Front-End Frameworks: a quick overview (20)

Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
 
Java script
Java scriptJava script
Java script
 
Java script
Java scriptJava script
Java script
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JS
 
It's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrIt's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking Modernizr
 
Frameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic ReviewFrameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic Review
 
GR8Conf 2011: Building Progressive UIs with Grails
GR8Conf 2011: Building Progressive UIs with GrailsGR8Conf 2011: Building Progressive UIs with Grails
GR8Conf 2011: Building Progressive UIs with Grails
 
Intro JavaScript
Intro JavaScriptIntro JavaScript
Intro JavaScript
 
Survive JavaScript - Strategies and Tricks
Survive JavaScript - Strategies and TricksSurvive JavaScript - Strategies and Tricks
Survive JavaScript - Strategies and Tricks
 
CSS vs. JavaScript - Trust vs. Control
CSS vs. JavaScript - Trust vs. ControlCSS vs. JavaScript - Trust vs. Control
CSS vs. JavaScript - Trust vs. Control
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application development
 
Introduction to Jquery
Introduction to JqueryIntroduction to Jquery
Introduction to Jquery
 
Web Development for UX Designers
Web Development for UX DesignersWeb Development for UX Designers
Web Development for UX Designers
 
Making Of PHP Based Web Application
Making Of PHP Based Web ApplicationMaking Of PHP Based Web Application
Making Of PHP Based Web Application
 
Webpack and Web Performance Optimization
Webpack and Web Performance OptimizationWebpack and Web Performance Optimization
Webpack and Web Performance Optimization
 
Untangling the web - fall2017 - class 4
Untangling the web - fall2017 - class 4Untangling the web - fall2017 - class 4
Untangling the web - fall2017 - class 4
 
Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Ease into HTML5 and CSS3
Ease into HTML5 and CSS3
 
Html5 public
Html5 publicHtml5 public
Html5 public
 
Bootstrap [part 1]
Bootstrap [part 1]Bootstrap [part 1]
Bootstrap [part 1]
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
 

Mais de Diacode

Presentación de Kogi
Presentación de KogiPresentación de Kogi
Presentación de Kogi
Diacode
 

Mais de Diacode (13)

CI/CD with Kubernetes, Helm & Wercker (#madScalability)
CI/CD with Kubernetes, Helm & Wercker (#madScalability)CI/CD with Kubernetes, Helm & Wercker (#madScalability)
CI/CD with Kubernetes, Helm & Wercker (#madScalability)
 
Phoenix for Rails Devs
Phoenix for Rails DevsPhoenix for Rails Devs
Phoenix for Rails Devs
 
Introduction to Elixir
Introduction to ElixirIntroduction to Elixir
Introduction to Elixir
 
Startup nomads
Startup nomadsStartup nomads
Startup nomads
 
Ruby on Rails & TDD con RSpec
Ruby on Rails & TDD con RSpecRuby on Rails & TDD con RSpec
Ruby on Rails & TDD con RSpec
 
Hacking your bank with Ruby and reverse engineering (Madrid.rb)
Hacking your bank with Ruby and reverse engineering (Madrid.rb)Hacking your bank with Ruby and reverse engineering (Madrid.rb)
Hacking your bank with Ruby and reverse engineering (Madrid.rb)
 
TLKR.io @ Betabeers Madrid
TLKR.io @ Betabeers MadridTLKR.io @ Betabeers Madrid
TLKR.io @ Betabeers Madrid
 
Métricas para hacer crecer tu proyecto
Métricas para hacer crecer tu proyectoMétricas para hacer crecer tu proyecto
Métricas para hacer crecer tu proyecto
 
Métricas para hacer crecer tu proyecto
Métricas para hacer crecer tu proyectoMétricas para hacer crecer tu proyecto
Métricas para hacer crecer tu proyecto
 
Presentación de Kogi
Presentación de KogiPresentación de Kogi
Presentación de Kogi
 
Educación: The Next Big Thing
Educación: The Next Big ThingEducación: The Next Big Thing
Educación: The Next Big Thing
 
Taller de Introducción a Ruby on Rails (2ª parte)
Taller de Introducción a Ruby on Rails (2ª parte)Taller de Introducción a Ruby on Rails (2ª parte)
Taller de Introducción a Ruby on Rails (2ª parte)
 
Taller de Introducción a Ruby on Rails
Taller de Introducción a Ruby on RailsTaller de Introducción a Ruby on Rails
Taller de Introducción a Ruby on Rails
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

Front-End Frameworks: a quick overview

  • 1. Front-End Frameworks: a quick overview Javier Cuevas @javier_dev Diacode.com
  • 2. Front-End Development HTML CSS Javascript
  • 3. Frameworks Toolkits Libraries Front-End Grid systems (CSS) Boilerplates (HTML) Syntatic Sugar ... Multiple names and approaches. Same idea: make front-end development easier, faster, stronger.
  • 4. Why do we need Front-End Superpowers? • HTML is ugly and old. • Javascript is ugly and old. • CSS is not that ugly but is totally Anti-DRY. • User Interfaces are each day more complex. • Cross-browser compatibility. • Device Heterogeneity: tablets, smartphones, desktops... A jungle of different screens.
  • 6. HAML • Syntatic sugar for HTML and ERB (embedded Ruby). • HAML is for Ruby, but there are equivalents for other languages (SHPAML, GHRML). • White space aware syntax. HAML HTML #profile <div id="profile"> .left.column <div class="left column"> #date= print_date <div id="date"><%= print_date %></div> %p.address= current_user.address <p class="address"><%= current_user.address %></p> .right.column </div> #email= current_user.email <div class="right column"> #bio= current_user.bio <div id="email"><%= current_user.email %></div> <div id="bio"><%= current_user.bio %></div> </div> </div> http://bit.ly/VzHwc
  • 7. CSS
  • 8. SASS • CSS on steroids: variables, mixins, nested rules and math functions. • Two different syntaxes: .SCSS (new) and .SASS (old) • SCSS/SASS is compiled to CSS on the server side. SCSS CSS $blue: #3bbfce; .content { $margin: 16px; color: #3bbfce; } .content{ color: $blue; .content p { p { padding: 8px; padding: $margin / 2; margin: 8px; margin: $margin / 2; border-color: #3bbfce; border-color: $blue; } } } http://bit.ly/3wRpzR
  • 9. LESS • Very similar to SASS. • Main difference is that it gives you a “client side” version. This means LESS code is transformed to CSS into the browser client using Javascript. • It does have a server side version too. • Fans of SASS often are haters of LESS and viceversa. • Some discussion about SASS vs LESS: http://wrangl.com/sass-v-less http://bit.ly/12gGr0
  • 11. jQuery • Do I have to tell you what is jQuery about? :) • Briefly: jQuery is a Javascript library to easily change and animate the DOM (HTML nodes). • I would say it’s a must in every project. http://jquery.com/
  • 12. jQuery Mobile • Despite of its name, it is more about the layout (user interface) and a bit less about Javascript superpowers. • Is a whole framework to develop web applications for mobile devices by using HTML5 features. • By using Phonegap you can embed your web mobile app into a native mobile app. http://jquerymobile.com/
  • 13. CoffeeScript • Is an alternative syntax for Javascript. • Coffeescript files compile into Javascript. • Basically offers syntactic sugar for JS. • Is white space aware, i.e. indentation instead of curly braces everywhere. CoffeScript Javascript $ -> $(function() { $("body").html "Hello!" $("body").html("Hello!"); }) http://coffeescript.org/
  • 14. Modernizr • Is a Javascript library allowing you to use CSS3 & HTML5 while maintaining control over unsupported browsers. • Detects what features are supported by the user’s browser. • If some features are missing you can still use them by using “polyfills” (JS scripts that imitate HTML5/CSS3 features for older browsers). http://www.modernizr.com/docs/
  • 15. Handlebars • Is a Javascript template system. • Lets you populate data from JS (for instance AJAX responses) into HTML without having to write the chunk of HTML into the JS code. • Extends Mustache template system. TEMPLATE JAvASCRIPT OUTPUT <div class="entry"> var context = { <div class="entry"> <h1>{{title}}</h1> title: "My New Post", <h1>My New Post</h1> <div class="body"> body: "This is my first post!"} <div class="body"> {{body}} var html = template(context); This is my first post! </div> </div> </div> </div> http://handlebarsjs.com/
  • 16. Backbone • Is a JavaScript framework that allows you to structure your Javascript code in an MVC (Model, View, Controller) fashion. • Instead of storing data in HTML data attributes, store them into JS Models. • Views (HTML) change when models change. • Using it together with Node.js (JS on the server side), you can share code between client and server, i.e. same models in both sides. http://bit.ly/dk9Eki
  • 17. Spine • Same idea than Backbone: MVC for Javascript • It’s pretty light weight. • Has a mobile extension (Spine Mobile), that can be combined with Phonegap to build “native” mobile apps. • It’s written in CoffeeScript, so if you don’t know CoffeeScript it could be harder to use it. • There is an O’Reilly book by the author of Spine http://oreil.ly/pbxy4I http://bit.ly/tozpso
  • 18. HTML + CSS + JS
  • 19. HTML5 Boilerplate • Gives you a starting point for a new web app. • Is a package that includes several useful things ready to use: • CSS resets • jQuery • Modernizr • Layout with HTML5 doctype • Cross-browser compatibility (even IE6 with Chrome Frame) • Mobile browser-optimization • Google Analytics snippet • .htaccess optimizations • .... http://bit.ly/8Xe4wy
  • 20. Twitter Bootstrap • Developed by Twitter’s programmers. • Includes: • Grid system with support for Responsive Design. • CSS classes for buttons, forms, tables, icons, navigation bars, labels, badges, progress bars, etc. • Javascript UI widgets: modals, menu dropdowns, images slider, accordions, alerts, notifications, etc. • Highly customizable using LESS. http://bit.ly/q2G9Mm
  • 21. Zurb Foundation • Very similar to Twitter Bootstrap. Made by Zurb. • Zurb’s developers stand very hard for some relevant ideas: • 960 pixels designs are dead. • Develop a specific mobile version of your site is painful, so you must go for Responsive Design. • With a tool like Zurb Foundation you can do Rapid Prototyping in HTML5 (no more vector wireframes). http://foundation.zurb.com/prototyping.php http://www.youtube.com/watch?v=V2EjipWZ7co http://bit.ly/p9rfyt
  • 22. There are hundred of tools like these.
  • 23. Some of them are even more complex and exotic.
  • 24. Learning all of them is impossible.
  • 25. Don’t be afraid of trying new things.
  • 26. Use the ones you feel will help you out and let the hype aside.