SlideShare a Scribd company logo
Web Runtime
Path of the fast development


Andreas Jakl
Senior Technical Consultant
Forum Nokia

                               18 June, 2010
                                      V2.0.0
18.06.2010   © 2010 Nokia   2




Contents
  – Nokia developer offering in nutshell
  – Web runtime widgets – overview
  – Let’s take a closer look from tech perspective
  – How to utilize platform services?
  – Adding value with home screen
  – Ovi App Wizard
  – Who’s able to use my widgets?
18.06.2010   © 2010 Nokia   3




The Developer Offering – Simplification
   Via Cross platform tools, Ovi Services and strong ecosystem partners
           Innovation (and transparency) through open source
                               Frameworks




       Services                                             Platforms
18.06.2010   © 2010 Nokia   4




Internet Evolution




   Full HTML browser   Mobile-optimized            Widgets offer      Widgets + Platform
        lets mobile    sites serve specific     focused, optimized       Services offer
        consumers       needs and tasks         front-ends to Web-    seamless integration
     experience the                           based information and     of the Web with
     complete Web                                     services          personal context
18.06.2010   © 2010 Nokia   5




What are Widgets?
• Web sites often not suitable for small
  screens
• Widgets are “local websites” on the device
    – Rendered using browser
    – Fetch web data using
      AJAX (Web 2.0)
    – Look & feel like native applications
    – But: easy development with HTML &
      JavaScript
18.06.2010   © 2010 Nokia   6




Definition of widget
• Lightweight mobile applications
   – Give users easy access to the web
• The easiest way to bring web-based business
  to millions of Nokia mobile devices

                          Application like delivery
                  Visible in the UI like native apps
        Standards-based HTML, Javascript, and CSS
18.06.2010   © 2010 Nokia   7




WRT Widget Ingredients
                                         Widget
 info.plist (mandatory)                 properties
 [name].html (mandatory)                    +
 icon.png                                 HTML
 [name].css                             backbone
 [name].js              PNG icon
                             +
                       CSS layout    Root
                             +      folder!
                         js logic
18.06.2010   © 2010 Nokia   8




info.plist
                                  ...
                                  <plist version="1.0">
• The heart of the widget
                                   <dict>
   – Defines the widget                 <key>DisplayName</key>
                                        <string>AccuWidget</string>
   – XML text file
                                        <key>Identifier</key>
   – Provides information about         <string>com.nokia.forum.accuwidget
                                           </string>
      the components and                <key>MainHTML</key>
                                        <string>accuwidget.html</string>
      features of this specific
                                        <key>AllowNetworkAccess</key>
      widget                            <true />
                                  ...
18.06.2010   © 2010 Nokia   9




HTML                       <html>
                            <head>
• Defines the widget         ..
                            </head>
                            <body id="body">
  structure                  <div id=‘mainView’>
                                   <span class=‘title’>Front view</span>
   – Construct views         </div>
                             <div id=‘subView1’ class=‘subView’>
      with static HTML             <p class=‘title’>Back view</p>
                             </div>
      elements or …          <div id=‘subView2’ class=‘subView’>
                                   <p class=‘title’>Config view</p>
                             </div>
   – Create dynamically     </body>
                           </html>
      with JavaScript at
      runtime.
18.06.2010   © 2010 Nokia   10




CSS                                // Class selector to define common style
                                     for similar components
                                   .title {
                                     font-size: 26px;
• Style and layout information     }
                                     color: blue;
                                   .subView {
   – Defines how to display        }
                                     display: none

      HTML elements: position,     // Id selector to define a unique style
                                     for a unique component
      color, size etc.
                                   #mainView {
                                     font-size: 16px;
   – Embed CSS in the HTML file      color: red;
                                     text-align: center;
      or import from an external   }
                                   // Pseudo-class selector to design a
      stylesheet                     pattern style
                                   div.subview div {
                                     margin: 10px 0 0 0;
                                     padding: 20px 20px 20px 20px;
                                     . . .
                                   }
18.06.2010   © 2010 Nokia   11




JavaScript
     Event handling
               XMLHttpRequest
   DOM manipulation
          UI effects
               UI tweaking
18.06.2010   © 2010 Nokia   12




Widgets and Platform Services
•   Platform Services
     – Framework for abstracting access to a set of services
     – Runtime specific bindings and security management
     – Access through JavaScript
•   Example use cases:
     – Combine Web-based data with local context to
       deliver personalized, relevant services
     – Save critical Web-based contacts and events locally to
       create reliable, dependable reminders
18.06.2010   © 2010 Nokia   13




Home Screen
                                                             Home screen view           Full screen view
•   What it is for the end-user?
      –   Add / remove home screen content
      –   Tap content to open widget full screen view
•   Home screen (HS) enabled WRT widget implements
    2 views
      –   Home screen view
      –   Full screen view
•   HS communicates to widget when end-user interacts
    with HS
      –   onload() and onresize() as widget side interface
          functions
      –   JavaScript code to determine current view size –
          correct view rendered
18.06.2010   © 2010 Nokia   14




Guarana UI – jQuery based UI library
• UI Library for your widget
    – Set of customizable UI elements,
      application frameworks, and templates
    – Based on jQuery
    – Complete package of components,
      documentation and examples from
      Forum Nokia web pages


• Go and check out!
    – http://bit.ly/9LkU9g
18.06.2010   © 2010 Nokia   15




Web Developer to Widget Developer
•   Develop web widgets using popular development
    tools
     – WRT plug-in 2.0 for Aptana Studio
     – WRT Extension for Adobe Dreamweaver
     – WRT plug-in for Microsoft Visual Studio
•   Create, develop, test, preview
    and deploy WRT widgets for millions of Nokia devices
     – Easy transition from web design
       to widget development
     – Designers and developers
       collaborate easily
                                                           WRT plug-ins              Widgets
                                                           and extension
18.06.2010   © 2010 Nokia   16




Device Specifications – Web Runtime

  So how can I find what devices are supporting this technology?

       http://www.forum.nokia.com/devices/matrix_webruntime_1.html

  Get more information and resources:

       http://www.forum.nokia.com/wrt
18.06.2010   © 2010 Nokia   17




Ovi App Wizard
•   Mobilize your web content (RSS / Atom)
    for the Ovi Store
     – Free to use. No registration fee
     – Open to all businesses and individuals
     – No programming skills required
     – Only takes minutes to create
     – Apps delivered into Ovi Store within 24 hours of submission
     – Optional: Monetize using included ad feature or through app purchase
     – Distribute apps that work on nearly every Nokia handset to millions
•   Currently an open beta
     – http://ovi.com/appwizard
Thank You.
Want to learn more?
www.forum.nokia.com/wrt

More Related Content

PDF
Miha Lesjak Mobilizing The Web with Web Runtime
PDF
Introduction to backbone js
PDF
Tikal's Backbone_js introduction workshop
PPTX
Progressive Enhancements to Improve Content Editing and Reuse - In-context Ed...
PDF
Google Analytics Video Event Tracking
PDF
The Days of Web Standards "IA" 20070715
PDF
Ria with dojo
PPT
Backbone js-slides
Miha Lesjak Mobilizing The Web with Web Runtime
Introduction to backbone js
Tikal's Backbone_js introduction workshop
Progressive Enhancements to Improve Content Editing and Reuse - In-context Ed...
Google Analytics Video Event Tracking
The Days of Web Standards "IA" 20070715
Ria with dojo
Backbone js-slides

Similar to Basics of WRT (Web Runtime) (20)

PDF
Basics of web runtime
PDF
Basics of web runtime
PDF
Basics of web runtime
PDF
Basics of web runtime
PPT
Developing Applications with Nokia WRT
PDF
Treinamento S60 WRT - CETELI UFAM INDT
PDF
Nokia Web-Runtime Presentation (Phong Vu)
PDF
S60 3rd FP2 Widgets
PDF
What's new in Portal and WCM 8.5
PDF
Netbiscuits @ SXSW Interactive: Android ≠ Android: Lessons Creating a JS Fram...
PPTX
InduSoft Web Studio 8.0 + SP1 + Patch One Review
PDF
Dynamic User Interfaces for Desktop and Mobile
PPT
WRT Introduction P11 2009
PPT
WRT Widgets Masterclass - OverTheAir
PPT
Udvikling af apps til mobile enheder med IBM Worklight, Christina Møller, IBM
ODP
Html5
PPTX
Html5 on Mobile(For Developer)
PDF
Worklight Overview
PDF
IBM Worklight - Technical Overview
PPTX
61850easy Test Tool for IEC 61850 Networks & Systems
Basics of web runtime
Basics of web runtime
Basics of web runtime
Basics of web runtime
Developing Applications with Nokia WRT
Treinamento S60 WRT - CETELI UFAM INDT
Nokia Web-Runtime Presentation (Phong Vu)
S60 3rd FP2 Widgets
What's new in Portal and WCM 8.5
Netbiscuits @ SXSW Interactive: Android ≠ Android: Lessons Creating a JS Fram...
InduSoft Web Studio 8.0 + SP1 + Patch One Review
Dynamic User Interfaces for Desktop and Mobile
WRT Introduction P11 2009
WRT Widgets Masterclass - OverTheAir
Udvikling af apps til mobile enheder med IBM Worklight, Christina Møller, IBM
Html5
Html5 on Mobile(For Developer)
Worklight Overview
IBM Worklight - Technical Overview
61850easy Test Tool for IEC 61850 Networks & Systems
Ad

More from Andreas Jakl (20)

PDF
Create Engaging Healthcare Experiences with Augmented Reality
PDF
AR / VR Interaction Development with Unity
PDF
Android Development with Kotlin, Part 3 - Code and App Management
PDF
Android Development with Kotlin, Part 2 - Internet Services and JSON
PDF
Android Development with Kotlin, Part 1 - Introduction
PDF
Android and NFC / NDEF (with Kotlin)
PDF
Basics of Web Technologies
PDF
Bluetooth Beacons - Bluetooth 5, iBeacon, Eddystone, Arduino, Windows 10 & More
PDF
Which new scenarios are enabled by Windows 10 for NFC, Bluetooth LE & Beacons?
PDF
Mobile Test Automation
PDF
Qt App Development - Cross-Platform Development for Android, iOS, Windows Pho...
PDF
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
PDF
Nokia New Asha Platform Developer Training
PDF
Windows Phone 8 NFC Quickstart
PDF
Windows (Phone) 8 NFC App Scenarios
PDF
Windows 8 Platform NFC Development
PDF
NFC Development with Qt - v2.2.0 (5. November 2012)
PDF
06 - Qt Communication
PDF
05 - Qt External Interaction and Graphics
PDF
04 - Qt Data
Create Engaging Healthcare Experiences with Augmented Reality
AR / VR Interaction Development with Unity
Android Development with Kotlin, Part 3 - Code and App Management
Android Development with Kotlin, Part 2 - Internet Services and JSON
Android Development with Kotlin, Part 1 - Introduction
Android and NFC / NDEF (with Kotlin)
Basics of Web Technologies
Bluetooth Beacons - Bluetooth 5, iBeacon, Eddystone, Arduino, Windows 10 & More
Which new scenarios are enabled by Windows 10 for NFC, Bluetooth LE & Beacons?
Mobile Test Automation
Qt App Development - Cross-Platform Development for Android, iOS, Windows Pho...
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
Nokia New Asha Platform Developer Training
Windows Phone 8 NFC Quickstart
Windows (Phone) 8 NFC App Scenarios
Windows 8 Platform NFC Development
NFC Development with Qt - v2.2.0 (5. November 2012)
06 - Qt Communication
05 - Qt External Interaction and Graphics
04 - Qt Data
Ad

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Approach and Philosophy of On baking technology
PPTX
Spectroscopy.pptx food analysis technology
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Encapsulation_ Review paper, used for researhc scholars
PPT
Teaching material agriculture food technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Review of recent advances in non-invasive hemoglobin estimation
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
NewMind AI Weekly Chronicles - August'25 Week I
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Approach and Philosophy of On baking technology
Spectroscopy.pptx food analysis technology
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Per capita expenditure prediction using model stacking based on satellite ima...
The AUB Centre for AI in Media Proposal.docx
Reach Out and Touch Someone: Haptics and Empathic Computing
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
sap open course for s4hana steps from ECC to s4
Encapsulation_ Review paper, used for researhc scholars
Teaching material agriculture food technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Big Data Technologies - Introduction.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...

Basics of WRT (Web Runtime)

  • 1. Web Runtime Path of the fast development Andreas Jakl Senior Technical Consultant Forum Nokia 18 June, 2010 V2.0.0
  • 2. 18.06.2010 © 2010 Nokia 2 Contents – Nokia developer offering in nutshell – Web runtime widgets – overview – Let’s take a closer look from tech perspective – How to utilize platform services? – Adding value with home screen – Ovi App Wizard – Who’s able to use my widgets?
  • 3. 18.06.2010 © 2010 Nokia 3 The Developer Offering – Simplification Via Cross platform tools, Ovi Services and strong ecosystem partners Innovation (and transparency) through open source Frameworks Services Platforms
  • 4. 18.06.2010 © 2010 Nokia 4 Internet Evolution Full HTML browser Mobile-optimized Widgets offer Widgets + Platform lets mobile sites serve specific focused, optimized Services offer consumers needs and tasks front-ends to Web- seamless integration experience the based information and of the Web with complete Web services personal context
  • 5. 18.06.2010 © 2010 Nokia 5 What are Widgets? • Web sites often not suitable for small screens • Widgets are “local websites” on the device – Rendered using browser – Fetch web data using AJAX (Web 2.0) – Look & feel like native applications – But: easy development with HTML & JavaScript
  • 6. 18.06.2010 © 2010 Nokia 6 Definition of widget • Lightweight mobile applications – Give users easy access to the web • The easiest way to bring web-based business to millions of Nokia mobile devices Application like delivery Visible in the UI like native apps Standards-based HTML, Javascript, and CSS
  • 7. 18.06.2010 © 2010 Nokia 7 WRT Widget Ingredients Widget info.plist (mandatory) properties [name].html (mandatory) + icon.png HTML [name].css backbone [name].js PNG icon + CSS layout Root + folder! js logic
  • 8. 18.06.2010 © 2010 Nokia 8 info.plist ... <plist version="1.0"> • The heart of the widget <dict> – Defines the widget <key>DisplayName</key> <string>AccuWidget</string> – XML text file <key>Identifier</key> – Provides information about <string>com.nokia.forum.accuwidget </string> the components and <key>MainHTML</key> <string>accuwidget.html</string> features of this specific <key>AllowNetworkAccess</key> widget <true /> ...
  • 9. 18.06.2010 © 2010 Nokia 9 HTML <html> <head> • Defines the widget .. </head> <body id="body"> structure <div id=‘mainView’> <span class=‘title’>Front view</span> – Construct views </div> <div id=‘subView1’ class=‘subView’> with static HTML <p class=‘title’>Back view</p> </div> elements or … <div id=‘subView2’ class=‘subView’> <p class=‘title’>Config view</p> </div> – Create dynamically </body> </html> with JavaScript at runtime.
  • 10. 18.06.2010 © 2010 Nokia 10 CSS // Class selector to define common style for similar components .title { font-size: 26px; • Style and layout information } color: blue; .subView { – Defines how to display } display: none HTML elements: position, // Id selector to define a unique style for a unique component color, size etc. #mainView { font-size: 16px; – Embed CSS in the HTML file color: red; text-align: center; or import from an external } // Pseudo-class selector to design a stylesheet pattern style div.subview div { margin: 10px 0 0 0; padding: 20px 20px 20px 20px; . . . }
  • 11. 18.06.2010 © 2010 Nokia 11 JavaScript Event handling XMLHttpRequest DOM manipulation UI effects UI tweaking
  • 12. 18.06.2010 © 2010 Nokia 12 Widgets and Platform Services • Platform Services – Framework for abstracting access to a set of services – Runtime specific bindings and security management – Access through JavaScript • Example use cases: – Combine Web-based data with local context to deliver personalized, relevant services – Save critical Web-based contacts and events locally to create reliable, dependable reminders
  • 13. 18.06.2010 © 2010 Nokia 13 Home Screen Home screen view Full screen view • What it is for the end-user? – Add / remove home screen content – Tap content to open widget full screen view • Home screen (HS) enabled WRT widget implements 2 views – Home screen view – Full screen view • HS communicates to widget when end-user interacts with HS – onload() and onresize() as widget side interface functions – JavaScript code to determine current view size – correct view rendered
  • 14. 18.06.2010 © 2010 Nokia 14 Guarana UI – jQuery based UI library • UI Library for your widget – Set of customizable UI elements, application frameworks, and templates – Based on jQuery – Complete package of components, documentation and examples from Forum Nokia web pages • Go and check out! – http://bit.ly/9LkU9g
  • 15. 18.06.2010 © 2010 Nokia 15 Web Developer to Widget Developer • Develop web widgets using popular development tools – WRT plug-in 2.0 for Aptana Studio – WRT Extension for Adobe Dreamweaver – WRT plug-in for Microsoft Visual Studio • Create, develop, test, preview and deploy WRT widgets for millions of Nokia devices – Easy transition from web design to widget development – Designers and developers collaborate easily WRT plug-ins Widgets and extension
  • 16. 18.06.2010 © 2010 Nokia 16 Device Specifications – Web Runtime So how can I find what devices are supporting this technology? http://www.forum.nokia.com/devices/matrix_webruntime_1.html Get more information and resources: http://www.forum.nokia.com/wrt
  • 17. 18.06.2010 © 2010 Nokia 17 Ovi App Wizard • Mobilize your web content (RSS / Atom) for the Ovi Store – Free to use. No registration fee – Open to all businesses and individuals – No programming skills required – Only takes minutes to create – Apps delivered into Ovi Store within 24 hours of submission – Optional: Monetize using included ad feature or through app purchase – Distribute apps that work on nearly every Nokia handset to millions • Currently an open beta – http://ovi.com/appwizard
  • 18. Thank You. Want to learn more? www.forum.nokia.com/wrt