SlideShare a Scribd company logo
Using Vaadin to create
                                  HTML5-enabled web
                                  apps in pure Scala
twitter: #vaadin @henrimuurimaa




                                                Henri Muurimaa
                                                    Vaadin Ltd
                                                   henri@vaadin.com




       14. marraskuuta 11
Scala in
                     2 slides

14. marraskuuta 11
Scala is ...
                       A multiparadigm language created by
                       Martin Odersky from Typesafe


                       Object-oriented: every value is an object
                       Functional: every function is a value

                       Java compatible: Runs on the JVM and
                       integrates with Java tools and
                       technologies



14. marraskuuta 11
Cross-document
        messaging                                Document
                                                  editing
 Multimedia
                                                Microdata
              Offline storage


    Markup                                        Canvas
 improvements                                    History
                                               management
                     Forms

    Geolocation                Drag-and-drop     File API
14. marraskuuta 11
Cross-document
        messaging                                Document
                                                  editing
 Multimedia
                                                Microdata
              Offline storage


    Markup                                        Canvas
 improvements                                    History
                                               management
                     Forms

    Geolocation                Drag-and-drop     File API
14. marraskuuta 11
Canvas

14. marraskuuta 11
14. marraskuuta 11
14. marraskuuta 11
Vaadin is a
               UI framework
             for desktop-like
                    web apps


14. marraskuuta 11
New configs,
    taglibs and
    syntax!?!

           No! {
    JavaScript,
    DOM, Applet,
    plugins?
                     This is
                     Nothin  Saaa
                             Jc v la
                            g else
                                    .


14. marraskuuta 11
14. marraskuuta 11
Vaadin UI component
    architecture
                                      HTTP(S)
         “UI Component”                         “Widget”
         • Button, Table, Tree, ...             • Client-side peer for
         • Server-side data                       the component
         • Full Java API                        • Runs on JavaScript




               Java, Scala, ...                  Java

               • Compiled with JDK               • Google Web Toolkit



14. marraskuuta 11
14. marraskuuta 11
14. marraskuuta 11
14. marraskuuta 11
What can we do
               in 20 minutes?

14. marraskuuta 11
Conway’s
            Game of Life


14. marraskuuta 11
The universe of the Game of Life is an
                     infinite two-dimensional orthogonal
                     grid of square cells, each of which is
                     in one of two possible states, alive or
                     dead. Every cell interacts with its
                     eight neighbors.
                                              -- Wikipedia



14. marraskuuta 11
Evolution
                     A living cell with less than 2 or
                     more than 3 live neighbors dies


                     A living cell with 2 or 3 living
                     neighbors stays alive


                     A dead cell with exactly 3 living
                     neighbors becomes alive



14. marraskuuta 11
Sources


          http://github.com/hezamu/Devoxx2011




14. marraskuuta 11
Vaadin BOF today
                     at 19.00 in room BOF 2!


  GET A
  Free
  Copy
14. marraskuuta 11
Questions
              Comments




                          henri@vaadin.com
                              vaadin.com/henri
                            Twitte r: @henrimuurimaa


14. marraskuuta 11

More Related Content

PDF
Intro to Web Components, Polymer & Vaadin Elements
PDF
Vaadin - Rich Web Apps in Server-Side Java without Plug-ins or JavaScript
PDF
TechDays 2011 Millainen on ketterä kehittäjä? Tieturi/Heikurinen
PDF
TechDays2011 Mobiilikehityksen yleiset periaatteet Tieturi/Teräsvirta
PDF
Business models Julkinen data
PDF
Julkinen Data Business mallit
PDF
Phonegap pdf
PDF
Teknologian kehitys koulujen näkökulmasta
Intro to Web Components, Polymer & Vaadin Elements
Vaadin - Rich Web Apps in Server-Side Java without Plug-ins or JavaScript
TechDays 2011 Millainen on ketterä kehittäjä? Tieturi/Heikurinen
TechDays2011 Mobiilikehityksen yleiset periaatteet Tieturi/Teräsvirta
Business models Julkinen data
Julkinen Data Business mallit
Phonegap pdf
Teknologian kehitys koulujen näkökulmasta

Similar to Using Vaadin to create HTML5-enabled web apps in pure Scala (20)

PPTX
Joukkoistaminen muutosviestinnässä
PDF
Datajalostamo-seminaari 5.6.2014: Sovelluskehittäjät ja data – kehittäjäyhtei...
PDF
Microsoft Windows 8 sovelluskehitys käytännössä
PDF
Vaadin scalability-slides
PDF
Android Aalto -- Mobile UX
PDF
Frantic After Work: Windows 8
PDF
Mobiiliaamiainen 8.11.2012: Teuvo Väisänen, Responsive Design
PDF
Avoin lähdekoodi Suomessa
PPT
Forum Virium Helsingin hankesalkku aikajanalla
PDF
Jukka Ahtikari, Logica: Kohti Avoimen Datan innovatiivista käyttöä
PDF
Avoimet rajapinnat liiketoiminnan mahdollistajina
PDF
Vaadin roadmap
PPT
Sofokus: Nykyaikaiset verkkopalvelut
PPTX
Guru days 5.10.2011 html5 ja silverlight
PDF
Käyttöliittymät ja työvälineet
PDF
Forum Virium Helsingin hankesalkku aikajanalla
PDF
Toisilta oppimassa vvop 2011 PDF
PPTX
Prototyping
PDF
QR koodit matkailussa
PDF
Kehittäjävalmennus tornio
Joukkoistaminen muutosviestinnässä
Datajalostamo-seminaari 5.6.2014: Sovelluskehittäjät ja data – kehittäjäyhtei...
Microsoft Windows 8 sovelluskehitys käytännössä
Vaadin scalability-slides
Android Aalto -- Mobile UX
Frantic After Work: Windows 8
Mobiiliaamiainen 8.11.2012: Teuvo Väisänen, Responsive Design
Avoin lähdekoodi Suomessa
Forum Virium Helsingin hankesalkku aikajanalla
Jukka Ahtikari, Logica: Kohti Avoimen Datan innovatiivista käyttöä
Avoimet rajapinnat liiketoiminnan mahdollistajina
Vaadin roadmap
Sofokus: Nykyaikaiset verkkopalvelut
Guru days 5.10.2011 html5 ja silverlight
Käyttöliittymät ja työvälineet
Forum Virium Helsingin hankesalkku aikajanalla
Toisilta oppimassa vvop 2011 PDF
Prototyping
QR koodit matkailussa
Kehittäjävalmennus tornio
Ad

Using Vaadin to create HTML5-enabled web apps in pure Scala

  • 1. Using Vaadin to create HTML5-enabled web apps in pure Scala twitter: #vaadin @henrimuurimaa Henri Muurimaa Vaadin Ltd henri@vaadin.com 14. marraskuuta 11
  • 2. Scala in 2 slides 14. marraskuuta 11
  • 3. Scala is ... A multiparadigm language created by Martin Odersky from Typesafe Object-oriented: every value is an object Functional: every function is a value Java compatible: Runs on the JVM and integrates with Java tools and technologies 14. marraskuuta 11
  • 4. Cross-document messaging Document editing Multimedia Microdata Offline storage Markup Canvas improvements History management Forms Geolocation Drag-and-drop File API 14. marraskuuta 11
  • 5. Cross-document messaging Document editing Multimedia Microdata Offline storage Markup Canvas improvements History management Forms Geolocation Drag-and-drop File API 14. marraskuuta 11
  • 9. Vaadin is a UI framework for desktop-like web apps 14. marraskuuta 11
  • 10. New configs, taglibs and syntax!?! No! { JavaScript, DOM, Applet, plugins? This is Nothin Saaa Jc v la g else . 14. marraskuuta 11
  • 12. Vaadin UI component architecture HTTP(S) “UI Component” “Widget” • Button, Table, Tree, ... • Client-side peer for • Server-side data the component • Full Java API • Runs on JavaScript Java, Scala, ... Java • Compiled with JDK • Google Web Toolkit 14. marraskuuta 11
  • 16. What can we do in 20 minutes? 14. marraskuuta 11
  • 17. Conway’s Game of Life 14. marraskuuta 11
  • 18. The universe of the Game of Life is an infinite two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, alive or dead. Every cell interacts with its eight neighbors. -- Wikipedia 14. marraskuuta 11
  • 19. Evolution A living cell with less than 2 or more than 3 live neighbors dies A living cell with 2 or 3 living neighbors stays alive A dead cell with exactly 3 living neighbors becomes alive 14. marraskuuta 11
  • 20. Sources http://github.com/hezamu/Devoxx2011 14. marraskuuta 11
  • 21. Vaadin BOF today at 19.00 in room BOF 2! GET A Free Copy 14. marraskuuta 11
  • 22. Questions Comments henri@vaadin.com vaadin.com/henri Twitte r: @henrimuurimaa 14. marraskuuta 11