SlideShare a Scribd company logo
Vaadin 7
                         Leif Åstrand
                        Vaadin Expert
                           vaadin.com/leif




torsdag 21 mars 13
slideshare.com/
                     lastrand


torsdag 21 mars 13
Why
                     Vaadin?   How Vaadin
                                 works




torsdag 21 mars 13
new La
                            bel(“H
                                   ello w
                                          orld”)




torsdag 21 mars 13
Getting
                     started



                               QA


torsdag 21 mars 13
torsdag 21 mars 13
User interface
                     framework for rich
                       web applications


torsdag 21 mars 13
torsdag 21 mars 13
java   html


torsdag 21 mars 13
Apache 2.0 license




torsdag 21 mars 13
Why on earth?


torsdag 21 mars 13
torsdag 21 mars 13
expectations


torsdag 21 mars 13
reality


torsdag 21 mars 13
consumer      business
                     “million” users   “500” users
                            10 views   50 views
                             1€/user   500€/user

          100,000€ / view >> 5,000€ / view
torsdag 21 mars 13
Problem
              How to build consumer
             grade UX with business
                     system budget


torsdag 21 mars 13
How?


torsdag 21 mars 13
123
torsdag 21 mars 13
                     Key Ideas
torsdag 21 mars 13
                      1
                     Rich
                     Components
User Inteface
                     Data Source
                        Theme


torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
User Inteface
                     Data Source
                        Theme


torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
Sass



torsdag 21 mars 13
Sass variables & functions




torsdag 21 mars 13
Sass mixins




torsdag 21 mars 13
User Inteface
                     Data Source
                        Theme


torsdag 21 mars 13
torsdag 21 mars 13
InMemory, Bean, Method,
       Collection, JDBC, JPA, Hibernate,
       TextFile, FileSystem, Properties,
       EclipseLink, Lucene, Mockups,
       GAE, ...


torsdag 21 mars 13
torsdag 21 mars 13
                     2
                     Server + Client
Web application layers
                     Business                                  Java to
                                 Web layer   JSON, XML, ...                JavaScript
                       layer                                  JavaScript
  GWT Vaadin




                      required    required       optional       optional     optional




                      required    required       required       required     optional
  JS




                      required    required       required                    required




torsdag 21 mars 13
torsdag 21 mars 13
                         Server
                                         Pr
                                          Op
                               -
                                  od
                                             t
                                                                    r
                                      im
                                                                  fo
                         uc
                                                                d
                            ti     ize
                                                          ize
                      vit        df
                     y      or
                                                       tim
                                                    e rol
                                                     Op
                                                       t-



                                                 s d ont
                                                  i C
                                                    ien
                                                  Cl
Widget



                              Connector

                     client
                                          State
                     server
                              RPC


                              Component
torsdag 21 mars 13
How does it work,
                     really?


torsdag 21 mars 13
name = new TextField("Name");
             greetButton = new Button("Greet");

             greetButton.addClickListener(new ClickListener() {
             	 public void buttonClick(ClickEvent event) {
             	 	 Notification.show("Ciao " + name.getValue());
             	 }
             });




torsdag 21 mars 13
•   Initial HTML
                     •   CSS (theme)
                     •   Images
                     •   JavaScript

                     1200k total
                             compress


                     300k
                             reduced
                             widget set
                             and theme

                     135k

torsdag 21 mars 13
• name=”Leif”
                     • Button clicked

                     332 bytes




torsdag 21 mars 13
name = new TextField("Name");
             greetButton = new Button("Greet");

             greetButton.addClickListener(new ClickListener() {
             	 public void buttonClick(ClickEvent event) {
             	 	 Notification.show("Ciao " + name.getValue());
             	 }
             });




torsdag 21 mars 13
• name=”Leif”
                     • Button clicked

                     332 bytes




                     • Show notification

                     462 bytes


torsdag 21 mars 13
Trying it out


torsdag 21 mars 13
https://github.com/vaadin/documentmanager




torsdag 21 mars 13
torsdag 21 mars 13
                     3
                     Embracing
                     Java
Any JVM
                     Language


torsdag 21 mars 13
Internet Explorer
                              Chrome
                               Firefox
                                Safari
                                Opera
                                  iOS
                              Android

torsdag 21 mars 13
No
                       browser
                        plugins

                     Nothing to
                         install


torsdag 21 mars 13
Servlet
                           Portlet
                     (most) clouds


torsdag 21 mars 13
Eclipse
                     IntelliJ IDEA
                        Netbeans
                            Maven
                                Ant
                            Gradle
                                 ∙∙∙

torsdag 21 mars 13
torsdag 21 mars 13
Vaadin += GWT


torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
GWT
                     Compatible

torsdag 21 mars 13
vaadin.com/vaadin7




torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
torsdag 21 mars 13
getting
                     started


torsdag 21 mars 13
torsdag 21 mars 13
Eclipse




torsdag 21 mars 13
mvn archetype:generate
                           -DarchetypeGroupId=com.vaadin
                     Maven -DarchetypeArtifactId=
                              vaadin-archetype-application
                           -DarchetypeVersion=7.0.3



torsdag 21 mars 13
Download for Free
       vaadin.com/book




 ework
 s that
o u an d




        ~700 pages
  torsdag 21 mars 13
?
                     slideshare.com/
                             lastrand




                              leif@vaadin.com
                               vaadin.com/leif


torsdag 21 mars 13

More Related Content

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Introduction to Vaadin 7