Mobile Web Development With: Malek Kemmou CEO Arrabeta
Mobile Web Development With: Malek Kemmou CEO Arrabeta
NET
Malek Kemmou CEO Arrabeta [email protected]
xmlContainer.Render()
<Speaker> <Bio>
<P> CEO Arrabeta (consulting firm based in Casablanca Morocco) <BR/> Newtelligence Alliance Partner </P> <P> Senior Consultant and Senior Trainer <BR/> Solutions Architecture, integration, interoperability </P> <P> Microsoft Regional Director for Middle East and Africa </P> <P> Ineta MEA Speaker Bureau </P> <P> Speaker at many conferences and events (TechEd, NDC, MDC, DevDays, DevEssentials ) </P>
</Bio>
</Speaker>
http://www.microsoft.com/rd ~140 experts from all around the world Speaking at PDC 2004 :
Clemens Vasters (Germany) Stephen Forte (New York) Farhan Mohammad (Minesota) Goksin Bakir (Turkey) Malek Kemmou (Morocco) Ahmad Badr (Egypt) Hossam Khalifa (Egypt)
Mobility Track
Mobile Web Development with Microsoft Visual Studio .NET Developing Compact Framework Applications for PocketPC and Smartphone Developing PocketPC Applications for a Semi-Connected Environment Building Localized/Globalized Applications for Windows Mobile Devices (Goksin Bakir) Developing Performing Mobile Applications with the .Net Compact Framework
Agenda
Devices today Mobile Internet Challenges .Net approach to devices 265 devices (Device Update 4)
Object Model and built-in controls Extending to non supported devices
.NET Framework
Local Code
Challenges
How many code bases do I have to maintain ?
Form factors Rendering Markups :
WML1.1, 1.2, 2.0 cHTML XHTML HTML 3.2 / 4.0 Back buttons ? Cookies ? Scripts ? etc.
Capabilities
Traditional Techniques
Reading the Request Headers
What markup What capabilities What Gateway capabilities
The Solution:
ASP.NET Mobile Controls
Adaptively render to devices based on browser, device and gateway combination Extend ASP.NET to empower web developers to build mobile web applications Integrates with the Visual Studio .NET development environment for ease of use. Formerly known as Microsoft Mobile Internet Toolkit.
The Solution:
ASP.NET Mobile Controls
Single mobile Web page that adapts to multiple devices Support multiple mark-up languages
WML1.1 (WAP), cHTML 1.0, xHTML Mobile and Basic profile, HTML 3.2
Demo
Adaptive Rendering
Gives acceptable presentation across wide range of devices for minimum development effort Allows advanced presentation features of up-level browsers to be leveraged Gives a richer, clearer user interface Enhances usability for the application
Customization
HTTP Response
Development Environment
Production Environment
Demo
How a simple Mobile Web Form Works
Image
PagedControl Panel SelectionList
StyleSheet
TextControl TextView ValidationSummary
TextBox
Image
PagedControl Panel SelectionList
StyleSheet
TextControl TextView ValidationSummary
TextBox
Multiple forms per page Separately addressable set of controls that can be navigated Container for other controls Rendered as one or more screens based on target device Only one active form at a time By default first form active when page accessed
Demo
Containers
TextBox Control
Single-line input text boxes
TextView Control
Exclusive to Mobile Web Controls Large fields of text Small set of mark-up: bold, italics, page break, paragraph, anchor tag Support pagination
Demo
Text and List Display
PhoneCall Control
Exclusive to MWC Generates mark-up for automatically calling or displaying phone numbers
Customization Example
HTML 4.01, XHTML-Basic, CSS1, Jscript, Full color, JPG, GIF, PNG graphics
Customization Process
Step 1: Select device for customization
Pre-defined Filters Mobile Capabilities
Demo
Customizing Rendering
Warning :
Doesnt make a case for one code base covering multi-device and regular Web
Form factors targets difficult to unify Maintenance load
Summary
Connected environment Out of the box support for 265+ devices Auto detection, adaptive rendering Customizable Extensible
Call to Action
There are 100s of millions devices out there
Great opportunities
Start using the ASP.Net Mobile Controls to target as well low end & high end devices Start extending Web Solutions for mobile users Explore possibilities for disconnected applications as well
Questions
I will post session content on