SlideShare una empresa de Scribd logo
1 de 53
Descargar para leer sin conexión
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13


                                                                                                                                           1
Responsive Web Design
in Application Express using
HTML5 and CSS3
Shakeeb Rahman
@shakeeb
Principal Member of Technical Staff
Oracle Application Express #orclapex



   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13


                                                                                                                                              2
Shakeeb Rahman

         Software Developer

         Intern at Oracle in 2006
         Joined APEX team in 2009
         Projects I have worked on
               – Oracle Store
               – APEX
               – Oracle Cloud

         First talk at Oracle OpenWorld




3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                         3
Program Agenda

          The Web Today
          Mobile App vs Responsive App
          Responsive Web Design
          APEX 4.2 Features
          Demos
          Is Responsive Right for you?




4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                         4
Evolving Web Applications

         10 Years Ago

         Designed for Internet Explorer
         Windows Desktop or Laptop
         Maximum screen resolution of
            1024x768
         Table-Based
         <font> Tag
         Presentation + Markup mixed




5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                         5
Evolving Web Applications

         5 Years Ago

         Mobile becomes popular with
            iPhone
         Firefox is eating IE marketshare
         Start Investigating Mobile




6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                         6
Evolving Web Applications

         Today

         Many Devices
         Many Platforms
         Many Screen sizes
         Many Resolutions
         Many Browsers
         Many Many Variables




7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                         7
Evolving Web Applications

         Enterprise gone Mobile

         Mobile is not just for personal use
         Enterprises have embraced
            mobile
         Agility
         Cost savings
         Improve productivity




8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                         8
“71% of organizations are already using or
         planning to use custom mobile applications”


            Symantec
            2012 State of Mobility Survey




9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                         9
Everyone is doing it. How can you?



10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          10
Native Apps?



11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                                         11
12

     12
Native Apps?



13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                                         13
Dedicated Mobile Web Apps?



14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          14
Dedicated Mobile Web app

• Fast
• Looks Native
• Optimized for Mobile
• Duplicate Code
• Less Functionality
• Not Optimized for
   Tablets


15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          15
Dedicated Mobile Web Apps?



16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          16
Well, let’s look at the requirements.



17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          17
The Business Requirement

          Enterprise Application

           Work on Desktop, Mobile, Tablets
           Similar UI
           Single Code Line
           Same Developers
           No New Technology




18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          18
Responsive Web Design (RWD)



19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          19
Responsive Web Design (RWD)
    an approach to web design in which a designer
intends to provide an optimal viewing experience—
    easy reading and navigation with a minimum of
   resizing, panning, and scrolling—across a wide
range of devices (from desktop computer monitors to
              mobile phones). (Wikipedia)

20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          20
Same HTML.
                                         Same Application Logic.
                                        Different User Experience.


21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          21
22

     22
23

     23
24

     24
25

     25
26

     26
27

     27
28

     28
29

     29
30

     30
31

     31
32

     32
33

     33
How does it work?



34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                                       34
CSS3 Media Queries


           allowing you to define styles based on conditions such
                as screen size or resolution
           @media screen and (min-width: 320px) and (max-
                width: 479px) {...}
           define multiple CSS media queries to target “cut off
                points” and appropriately adjust UI for given screen size


35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                            35
 Mobile Portrait
                 – @media screen and (min-width: 320px) and (max-width: 479px)

           Mobile Landscape
                 – @media only screen and (min-width: 480px) and (max-width: 767px)

           Mobile Portrait / Landscape
                 – @media only screen and (max-width: 767px)

           Tablet Portrait
                 – @media only screen and (min-width: 768px) and (max-width: 959px)

           Tablet Landscape
                 – @media only screen and (min-width: 960px) and (max-width: 1024px)



36 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                                       36
CSS3 Responsive Utility Classes


           Easily hide / show content depending on device type




37 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          37
Grid Layout


           Using a grid makes it easier to
                align and lay out page
                components
           Media Queries can then easily
                shift or reposition these
                components



38 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          38
Example Grid




39 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          39
Sounds technical.
                         Do I have to do this manually?



40 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          40
NO!
                                                                          APEX handles all of this for you.




41 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                                                              41
APEX 4.2 Support for Responsive Web Design

 Grid Layout for
     Regions and Items
 Theme 25




42 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          42
APEX 4.2 Support for Responsive Web Design

          Grid Layout

           Declarative way to lay out regions
             and items on a page
           Possible to do complex layouts
             without manual css overrides
           Compatible with popular grid
             frameworks such as twitter
             bootstrap, 960 gs, etc.




43 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          43
APEX 4.2 Support for Responsive Web Design

          Fully Responsive Theme

           Uses custom flexible grid up to
             2560px wide
           Mobile, Tablet, Desktop support
           Icon Buttons
           Retina Display Compatible
           Modernizr




44 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          44
APEX 4.2 Support for Responsive Web Design

          Fully Responsive Theme

           SCSS Based
           Respond.js for RWD in older IE
           One Sprite (and one for Retina)
           Icons




45 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          45
Demo:
                                                Convert Existing App to
                                                   Responsive App


46 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          46
Demo:
Sample DB Application Walk Through



47 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                          47
Is Responsive Right for you?


        Responsive                                                        Mobile
        Full Experience                                                   Limited Utility
        Single Code Line                                                  New Mobile Codeline
        Web UI                                                            Pseudo Native UI




48 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                                                  48
49

     49
Q&A



50 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                                50
@shakeeb
                                                                    blog: apex.shak.us



51 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


                                                                                         51
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13


                                                                                                                                           52
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13


                                                                                                                                           53

Más contenido relacionado

La actualidad más candente

Adobe flex at jax london 2011
Adobe flex at  jax london 2011Adobe flex at  jax london 2011
Adobe flex at jax london 2011Michael Chaize
 
Making Cool Apps from Kits with Java, Oracle ADF, & UX Design Patterns
Making Cool Apps from Kits with Java, Oracle ADF, & UX Design PatternsMaking Cool Apps from Kits with Java, Oracle ADF, & UX Design Patterns
Making Cool Apps from Kits with Java, Oracle ADF, & UX Design PatternsUltan O'Broin
 
doc2app - the case for migration
doc2app - the case for migrationdoc2app - the case for migration
doc2app - the case for migrationLandscape
 
Designclature DID ideas
Designclature DID ideasDesignclature DID ideas
Designclature DID ideascgandhi
 
InsideRIA Outlook for 2009
InsideRIA Outlook for 2009InsideRIA Outlook for 2009
InsideRIA Outlook for 2009AndreCharland
 
Entando overview for CRN Partner Connect
Entando overview for CRN Partner ConnectEntando overview for CRN Partner Connect
Entando overview for CRN Partner Connectsamw767
 
Insync 10 session jd edwards strategy and roadmap anz (a4) - final
Insync 10 session   jd edwards strategy and roadmap anz (a4) - finalInsync 10 session   jd edwards strategy and roadmap anz (a4) - final
Insync 10 session jd edwards strategy and roadmap anz (a4) - finalInSync Conference
 
Virtual dev-day-java7-keynote-1641807
Virtual dev-day-java7-keynote-1641807Virtual dev-day-java7-keynote-1641807
Virtual dev-day-java7-keynote-1641807Vinay H G
 
Creating Flash Content for Mobile Devices
Creating Flash Content for Mobile DevicesCreating Flash Content for Mobile Devices
Creating Flash Content for Mobile Devicespaultrani
 
Fusion app deployment_upgrade_con7626_pdf_7626_0001
Fusion app deployment_upgrade_con7626_pdf_7626_0001Fusion app deployment_upgrade_con7626_pdf_7626_0001
Fusion app deployment_upgrade_con7626_pdf_7626_0001jucaab
 
From Desktop to Mobile: Application Functionality for Small Screens
From Desktop to Mobile: Application Functionality for Small ScreensFrom Desktop to Mobile: Application Functionality for Small Screens
From Desktop to Mobile: Application Functionality for Small ScreensJoseph Labrecque
 
Mobile User Interface Development Challenges and Trade-offs
Mobile User Interface Development Challenges and Trade-offsMobile User Interface Development Challenges and Trade-offs
Mobile User Interface Development Challenges and Trade-offs JonFerraiolo
 
MYZEAL IT Solutions-Offshore Mobile Apps Development Company India
MYZEAL IT Solutions-Offshore Mobile Apps Development Company IndiaMYZEAL IT Solutions-Offshore Mobile Apps Development Company India
MYZEAL IT Solutions-Offshore Mobile Apps Development Company IndiaMYZEAL IT Solutions LLC
 
Breizh camp adobe flex et les mobiles
Breizh camp   adobe flex et les mobilesBreizh camp   adobe flex et les mobiles
Breizh camp adobe flex et les mobilesMichael Chaize
 
From Vision to Execution (and back) - Jim Colson, IBM
From Vision to Execution (and back) - Jim Colson, IBMFrom Vision to Execution (and back) - Jim Colson, IBM
From Vision to Execution (and back) - Jim Colson, IBMmfrancis
 
5 Starting Apps for Your Business and How to Roll Them Out
5 Starting Apps for Your Business and How to Roll Them Out5 Starting Apps for Your Business and How to Roll Them Out
5 Starting Apps for Your Business and How to Roll Them OutApperian
 
Mobile Testing Success: Real World Strategies and Techniques
Mobile Testing Success: Real World Strategies and TechniquesMobile Testing Success: Real World Strategies and Techniques
Mobile Testing Success: Real World Strategies and TechniquesTechWell
 

La actualidad más candente (20)

Adobe flex at jax london 2011
Adobe flex at  jax london 2011Adobe flex at  jax london 2011
Adobe flex at jax london 2011
 
Making Cool Apps from Kits with Java, Oracle ADF, & UX Design Patterns
Making Cool Apps from Kits with Java, Oracle ADF, & UX Design PatternsMaking Cool Apps from Kits with Java, Oracle ADF, & UX Design Patterns
Making Cool Apps from Kits with Java, Oracle ADF, & UX Design Patterns
 
doc2app - the case for migration
doc2app - the case for migrationdoc2app - the case for migration
doc2app - the case for migration
 
Designclature DID ideas
Designclature DID ideasDesignclature DID ideas
Designclature DID ideas
 
InsideRIA Outlook for 2009
InsideRIA Outlook for 2009InsideRIA Outlook for 2009
InsideRIA Outlook for 2009
 
Entando overview for CRN Partner Connect
Entando overview for CRN Partner ConnectEntando overview for CRN Partner Connect
Entando overview for CRN Partner Connect
 
Insync 10 session jd edwards strategy and roadmap anz (a4) - final
Insync 10 session   jd edwards strategy and roadmap anz (a4) - finalInsync 10 session   jd edwards strategy and roadmap anz (a4) - final
Insync 10 session jd edwards strategy and roadmap anz (a4) - final
 
Virtual dev-day-java7-keynote-1641807
Virtual dev-day-java7-keynote-1641807Virtual dev-day-java7-keynote-1641807
Virtual dev-day-java7-keynote-1641807
 
Creating Flash Content for Mobile Devices
Creating Flash Content for Mobile DevicesCreating Flash Content for Mobile Devices
Creating Flash Content for Mobile Devices
 
Fusion app deployment_upgrade_con7626_pdf_7626_0001
Fusion app deployment_upgrade_con7626_pdf_7626_0001Fusion app deployment_upgrade_con7626_pdf_7626_0001
Fusion app deployment_upgrade_con7626_pdf_7626_0001
 
From Desktop to Mobile: Application Functionality for Small Screens
From Desktop to Mobile: Application Functionality for Small ScreensFrom Desktop to Mobile: Application Functionality for Small Screens
From Desktop to Mobile: Application Functionality for Small Screens
 
Mobile User Interface Development Challenges and Trade-offs
Mobile User Interface Development Challenges and Trade-offsMobile User Interface Development Challenges and Trade-offs
Mobile User Interface Development Challenges and Trade-offs
 
MYZEAL IT Solutions-Offshore Mobile Apps Development Company India
MYZEAL IT Solutions-Offshore Mobile Apps Development Company IndiaMYZEAL IT Solutions-Offshore Mobile Apps Development Company India
MYZEAL IT Solutions-Offshore Mobile Apps Development Company India
 
Breizh camp adobe flex et les mobiles
Breizh camp   adobe flex et les mobilesBreizh camp   adobe flex et les mobiles
Breizh camp adobe flex et les mobiles
 
Jax 2011 keynote
Jax 2011 keynoteJax 2011 keynote
Jax 2011 keynote
 
From Vision to Execution (and back) - Jim Colson, IBM
From Vision to Execution (and back) - Jim Colson, IBMFrom Vision to Execution (and back) - Jim Colson, IBM
From Vision to Execution (and back) - Jim Colson, IBM
 
Resume
ResumeResume
Resume
 
HTML5 / Mobile Web
HTML5 / Mobile WebHTML5 / Mobile Web
HTML5 / Mobile Web
 
5 Starting Apps for Your Business and How to Roll Them Out
5 Starting Apps for Your Business and How to Roll Them Out5 Starting Apps for Your Business and How to Roll Them Out
5 Starting Apps for Your Business and How to Roll Them Out
 
Mobile Testing Success: Real World Strategies and Techniques
Mobile Testing Success: Real World Strategies and TechniquesMobile Testing Success: Real World Strategies and Techniques
Mobile Testing Success: Real World Strategies and Techniques
 

Similar a Responsive Web Design in Oracle Application Express

Partner Webcast – Oracle Public Cloud for ISVs: Migrating Java EE and ADF app...
Partner Webcast – Oracle Public Cloud for ISVs: Migrating Java EE and ADF app...Partner Webcast – Oracle Public Cloud for ISVs: Migrating Java EE and ADF app...
Partner Webcast – Oracle Public Cloud for ISVs: Migrating Java EE and ADF app...Thanos TP
 
Developing Mobile Applications for iOS and Android the Oracle way
Developing Mobile Applications for iOS and Android the Oracle wayDeveloping Mobile Applications for iOS and Android the Oracle way
Developing Mobile Applications for iOS and Android the Oracle wayToronto-Oracle-Users-Group
 
Oracle ADF Architecture TV - Design - Architecting for ADF Mobile Integration
Oracle ADF Architecture TV - Design - Architecting for ADF Mobile IntegrationOracle ADF Architecture TV - Design - Architecting for ADF Mobile Integration
Oracle ADF Architecture TV - Design - Architecting for ADF Mobile IntegrationChris Muir
 
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partnerCon8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partnerBerry Clemens
 
Leverage Progress Technologies for Telerik Developers
Leverage Progress Technologies for Telerik DevelopersLeverage Progress Technologies for Telerik Developers
Leverage Progress Technologies for Telerik DevelopersAbhishek Kant
 
Future of Oracle Forms AUSOUG 2013
Future of Oracle Forms AUSOUG 2013Future of Oracle Forms AUSOUG 2013
Future of Oracle Forms AUSOUG 2013Chris Muir
 
Cloud 2014: Top Five Best Practices for Your Application PaaS Audience
Cloud 2014: Top Five Best Practices for Your Application PaaS AudienceCloud 2014: Top Five Best Practices for Your Application PaaS Audience
Cloud 2014: Top Five Best Practices for Your Application PaaS AudienceRuma Sanyal
 
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...Chris Muir
 
P6 eppm webrelease 8 and later
P6 eppm webrelease 8 and laterP6 eppm webrelease 8 and later
P6 eppm webrelease 8 and laterVladimir Ivanov
 
Oracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout DesignOracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout DesignChris Muir
 
Delivering Mobile Apps to the field using Oracle
Delivering Mobile Apps to the field using OracleDelivering Mobile Apps to the field using Oracle
Delivering Mobile Apps to the field using OracleSimon Haslam
 
Oracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service ArchitecturesOracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service ArchitecturesChris Muir
 
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with OracleMobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with OracleChris Muir
 
Mobile trends and impressions
Mobile trends and impressionsMobile trends and impressions
Mobile trends and impressionsShafaq Abdullah
 
Developing mobile applications for i using open source tools Venna 2012
Developing mobile applications for i using open source tools  Venna 2012Developing mobile applications for i using open source tools  Venna 2012
Developing mobile applications for i using open source tools Venna 2012COMMON Europe
 
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBC
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBCUsing SAP Crystal Reports as a Linked (Open) Data Front-End via ODBC
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBCKingsley Uyi Idehen
 
Oracle Cloud café sur les mobile apps 10 mars
Oracle Cloud café sur les mobile apps 10 marsOracle Cloud café sur les mobile apps 10 mars
Oracle Cloud café sur les mobile apps 10 marsSorathaya Sirimanotham
 

Similar a Responsive Web Design in Oracle Application Express (20)

Partner Webcast – Oracle Public Cloud for ISVs: Migrating Java EE and ADF app...
Partner Webcast – Oracle Public Cloud for ISVs: Migrating Java EE and ADF app...Partner Webcast – Oracle Public Cloud for ISVs: Migrating Java EE and ADF app...
Partner Webcast – Oracle Public Cloud for ISVs: Migrating Java EE and ADF app...
 
Developing Mobile Applications for iOS and Android the Oracle way
Developing Mobile Applications for iOS and Android the Oracle wayDeveloping Mobile Applications for iOS and Android the Oracle way
Developing Mobile Applications for iOS and Android the Oracle way
 
Oracle ADF Architecture TV - Design - Architecting for ADF Mobile Integration
Oracle ADF Architecture TV - Design - Architecting for ADF Mobile IntegrationOracle ADF Architecture TV - Design - Architecting for ADF Mobile Integration
Oracle ADF Architecture TV - Design - Architecting for ADF Mobile Integration
 
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partnerCon8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
 
Leverage Progress Technologies for Telerik Developers
Leverage Progress Technologies for Telerik DevelopersLeverage Progress Technologies for Telerik Developers
Leverage Progress Technologies for Telerik Developers
 
Future of Oracle Forms AUSOUG 2013
Future of Oracle Forms AUSOUG 2013Future of Oracle Forms AUSOUG 2013
Future of Oracle Forms AUSOUG 2013
 
Cloud 2014: Top Five Best Practices for Your Application PaaS Audience
Cloud 2014: Top Five Best Practices for Your Application PaaS AudienceCloud 2014: Top Five Best Practices for Your Application PaaS Audience
Cloud 2014: Top Five Best Practices for Your Application PaaS Audience
 
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
 
Adf mobile overview
Adf mobile overviewAdf mobile overview
Adf mobile overview
 
P6 eppm webrelease 8 and later
P6 eppm webrelease 8 and laterP6 eppm webrelease 8 and later
P6 eppm webrelease 8 and later
 
Oracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout DesignOracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout Design
 
Delivering Mobile Apps to the field using Oracle
Delivering Mobile Apps to the field using OracleDelivering Mobile Apps to the field using Oracle
Delivering Mobile Apps to the field using Oracle
 
Oracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service ArchitecturesOracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service Architectures
 
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with OracleMobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
 
Oracle 360
Oracle 360Oracle 360
Oracle 360
 
Mobile trends and impressions
Mobile trends and impressionsMobile trends and impressions
Mobile trends and impressions
 
Developing mobile applications for i using open source tools Venna 2012
Developing mobile applications for i using open source tools  Venna 2012Developing mobile applications for i using open source tools  Venna 2012
Developing mobile applications for i using open source tools Venna 2012
 
Javantura v4 - Support SpringBoot application development lifecycle using Ora...
Javantura v4 - Support SpringBoot application development lifecycle using Ora...Javantura v4 - Support SpringBoot application development lifecycle using Ora...
Javantura v4 - Support SpringBoot application development lifecycle using Ora...
 
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBC
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBCUsing SAP Crystal Reports as a Linked (Open) Data Front-End via ODBC
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBC
 
Oracle Cloud café sur les mobile apps 10 mars
Oracle Cloud café sur les mobile apps 10 marsOracle Cloud café sur les mobile apps 10 mars
Oracle Cloud café sur les mobile apps 10 mars
 

Responsive Web Design in Oracle Application Express

  • 1. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 1
  • 2. Responsive Web Design in Application Express using HTML5 and CSS3 Shakeeb Rahman @shakeeb Principal Member of Technical Staff Oracle Application Express #orclapex Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 2
  • 3. Shakeeb Rahman Software Developer  Intern at Oracle in 2006  Joined APEX team in 2009  Projects I have worked on – Oracle Store – APEX – Oracle Cloud  First talk at Oracle OpenWorld 3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 3
  • 4. Program Agenda  The Web Today  Mobile App vs Responsive App  Responsive Web Design  APEX 4.2 Features  Demos  Is Responsive Right for you? 4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 4
  • 5. Evolving Web Applications 10 Years Ago  Designed for Internet Explorer  Windows Desktop or Laptop  Maximum screen resolution of 1024x768  Table-Based  <font> Tag  Presentation + Markup mixed 5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 5
  • 6. Evolving Web Applications 5 Years Ago  Mobile becomes popular with iPhone  Firefox is eating IE marketshare  Start Investigating Mobile 6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 6
  • 7. Evolving Web Applications Today  Many Devices  Many Platforms  Many Screen sizes  Many Resolutions  Many Browsers  Many Many Variables 7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 7
  • 8. Evolving Web Applications Enterprise gone Mobile  Mobile is not just for personal use  Enterprises have embraced mobile  Agility  Cost savings  Improve productivity 8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 8
  • 9. “71% of organizations are already using or planning to use custom mobile applications” Symantec 2012 State of Mobility Survey 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 9
  • 10. Everyone is doing it. How can you? 10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 10
  • 11. Native Apps? 11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 11
  • 12. 12 12
  • 13. Native Apps? 13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 13
  • 14. Dedicated Mobile Web Apps? 14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 14
  • 15. Dedicated Mobile Web app • Fast • Looks Native • Optimized for Mobile • Duplicate Code • Less Functionality • Not Optimized for Tablets 15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 15
  • 16. Dedicated Mobile Web Apps? 16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 16
  • 17. Well, let’s look at the requirements. 17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 17
  • 18. The Business Requirement Enterprise Application  Work on Desktop, Mobile, Tablets  Similar UI  Single Code Line  Same Developers  No New Technology 18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 18
  • 19. Responsive Web Design (RWD) 19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 19
  • 20. Responsive Web Design (RWD) an approach to web design in which a designer intends to provide an optimal viewing experience— easy reading and navigation with a minimum of resizing, panning, and scrolling—across a wide range of devices (from desktop computer monitors to mobile phones). (Wikipedia) 20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 20
  • 21. Same HTML. Same Application Logic. Different User Experience. 21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 21
  • 22. 22 22
  • 23. 23 23
  • 24. 24 24
  • 25. 25 25
  • 26. 26 26
  • 27. 27 27
  • 28. 28 28
  • 29. 29 29
  • 30. 30 30
  • 31. 31 31
  • 32. 32 32
  • 33. 33 33
  • 34. How does it work? 34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 34
  • 35. CSS3 Media Queries  allowing you to define styles based on conditions such as screen size or resolution  @media screen and (min-width: 320px) and (max- width: 479px) {...}  define multiple CSS media queries to target “cut off points” and appropriately adjust UI for given screen size 35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 35
  • 36.  Mobile Portrait – @media screen and (min-width: 320px) and (max-width: 479px)  Mobile Landscape – @media only screen and (min-width: 480px) and (max-width: 767px)  Mobile Portrait / Landscape – @media only screen and (max-width: 767px)  Tablet Portrait – @media only screen and (min-width: 768px) and (max-width: 959px)  Tablet Landscape – @media only screen and (min-width: 960px) and (max-width: 1024px) 36 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 36
  • 37. CSS3 Responsive Utility Classes  Easily hide / show content depending on device type 37 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 37
  • 38. Grid Layout  Using a grid makes it easier to align and lay out page components  Media Queries can then easily shift or reposition these components 38 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 38
  • 39. Example Grid 39 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 39
  • 40. Sounds technical. Do I have to do this manually? 40 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 40
  • 41. NO! APEX handles all of this for you. 41 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 41
  • 42. APEX 4.2 Support for Responsive Web Design  Grid Layout for Regions and Items  Theme 25 42 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 42
  • 43. APEX 4.2 Support for Responsive Web Design Grid Layout  Declarative way to lay out regions and items on a page  Possible to do complex layouts without manual css overrides  Compatible with popular grid frameworks such as twitter bootstrap, 960 gs, etc. 43 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 43
  • 44. APEX 4.2 Support for Responsive Web Design Fully Responsive Theme  Uses custom flexible grid up to 2560px wide  Mobile, Tablet, Desktop support  Icon Buttons  Retina Display Compatible  Modernizr 44 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 44
  • 45. APEX 4.2 Support for Responsive Web Design Fully Responsive Theme  SCSS Based  Respond.js for RWD in older IE  One Sprite (and one for Retina)  Icons 45 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 45
  • 46. Demo: Convert Existing App to Responsive App 46 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 46
  • 47. Demo: Sample DB Application Walk Through 47 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 47
  • 48. Is Responsive Right for you?  Responsive  Mobile  Full Experience  Limited Utility  Single Code Line  New Mobile Codeline  Web UI  Pseudo Native UI 48 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 48
  • 49. 49 49
  • 50. Q&A 50 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 50
  • 51. @shakeeb blog: apex.shak.us 51 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 51
  • 52. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 52
  • 53. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 53