Going mobile - tip, tricks and tools for building mobile web-apps

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    4 Favorites & 1 Event

    Going mobile - tip, tricks and tools for building mobile web-apps - Presentation Transcript

    1. Going mobile - tips, tricks and tools for building... .... mobile web-apps. Joshua May
    2. /whois notjosh • Joshua May • Web developer • Tinkererer
    3. So, how’s mobile these days?
    4. Short answer • Better • Faster • Stronger
    5. Less short answer • More handsets • More capable networks • More powerful devices
    6. Exhibit A
    7. (predictably)
    8. A dream come true • Standard • Capable • Emulator exists
    9. Let’s take a look..
    10. Looks good, no?
    11. But then..
    12. “Standard” no more!
    13. Exhibit B
    14. The dream.. +
    15. The dream.. +
    16. And suddenly, reality checks in..
    17. A world of problems awaits..
    18. Let’s start with the obvious
    19. No mouse
    20. Small screen
    21. (often) num-pad input
    22. And then less obvious (but more painful reality)
    23. 100s of devices
    24. 100s of firmware revisions
    25. • Resolutions • Fonts • Capabilities • Orientation
    26. :(
    27. Put in familiar terms..
    28. versus many many MANY Nokia’s webkit versions Openwave on Opera mini & mobile many many MANY Pocket IE devices Docomo (..& more!) (and resolutions)
    29. IE6 isn’t so bad after all now, is it?
    30. It only gets worse..
    31. Semantic HTML (using lists properly, text-replacement with images, etc)
    32. No.
    33. <p>
    34. Maybe sometimes.
    35. <head> <style type=”text/css” .... </style> </head>
    36. If you’re lucky
    37. <link rel=\"stylesheet\" type=\"text/css\" href=\"mystyle.css\" />
    38. Wait, what? (no)
    39. What about these guys?
    40. What are you saying, Josh?
    41. COMPLEX LAYOUTS ARE HARD.
    42. Taken for granted • “Our site needs to display an image at 100% width” • “It needs to look the same portrait and landscape” • “That’s not the font the designer gave you. It’s not even the right size!”
    43. (bet that sounds familiar)
    44. It’s a new frontier • Finding usage statistics isn’t easy • Finding best practices isn’t easy • Finding good references/examples isn’t easy • Even “big brand” sites are (often) very bland and static, to cater for lowest common denominator.
    45. o noes!!
    46. RF L! WU
    47. What’s WURFL?
    48. • Wireless Universal Resource File L ....? • AKA: giant XML file of many devices, their sizes and capabilities • Best of all: IT’S MAINTAINED • Oh...... AND IT’S FREE (without license).
    49. <device user_agent=\"Nokia7110/1.0 (05\" fall_back=\"nokia_7110_ver1\" id=\"nokia_7110_ver2\"> <group id=\"ui\"> <capability name=\"table_support\" value=\"true\" /> </group> </device>
    50. WTFL?
    51. I still don’t get it.. • Pseduodocode O’clock: if (device_has_capability(‘images’)): <img src=”....” /> endif
    52. WALL • On top of that, there’s the WALL • Wireless Abstraction Library L ........?!?!
    53. WTFWALL • Wraps capabilities and whatnot into functions echo b(‘bold text’); • (is bold, if you can) or.. echo hr(); • (might look like ‘<br>-------<br>’ on some devices)
    54. Other Tools • Most related tools are associated with images • Creating thumbnails at different resolutions, etc
    55. How do we know to serve mobile content?
    56. Option A: Don’t
    57. Rely on CSS
    58. Option B: Assume
    59. m.example.com example.mobi
    60. Option C: Guess
    61. WURFL+User-Agent
    62. Testing. Sounds hard.
    63. Hire a slave (or 15)
    64. Make sure they’re teenagers
    65. Emulators exist
    66. (but they suck)
    67. Solution? Buy a bucket of handsets and get busy
    68. • iPhone (closed source) SDK rules • iPhoney (open source) is part of the way • Android..well..you know about Android • Fennec is still ridiculously pre-alpha • Symbian sucks. But it’s open source now, potential? • Beyond that, you’re pretty screwed
    69. Where does that leave us?
    70. (feels like 1996* again) *maybe
    71. KISS, Lowest Common Denominator
    72. Of course, the obvious • Reduce requests • (mobile has MASSIVE latency) • Small image sizes • Cache what you can • ..etc
    73. Passwords suck
    74. OpenID?
    75. Consider context
    76. Contact manger? Give me phone numbers
    77. Airline? Give me flight information
    78. Business? Don’t give me an email contact form!
    79. And then, the inevitable
    80. Tomorrow’s new device will ruin your site
    81. Lots of fish, big barrel..hope you brought bullets
    82. Adapt to the changing game
    83. mobiForge. Your online community and resource. Make friends.
    84. Whew, that’ll do!
    85. Questions? • notjosh.com/blog • twitter.com/notjosh

    + Joshua MayJoshua May, 12 months ago

    custom

    1332 views, 4 favs, 2 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1332
      • 1229 on SlideShare
      • 103 from embeds
    • Comments 0
    • Favorites 4
    • Downloads 57
    Most viewed embeds
    • 97 views on http://notjosh.com
    • 6 views on http://www.notjosh.com

    more

    All embeds
    • 97 views on http://notjosh.com
    • 6 views on http://www.notjosh.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Groups / Events