반응형
반응형

PHP Mobile Detect — Lightweight detection for mobile devices

Mobile Dev - PHP/Added on May 9, 2013/Add to favorites

PHP Mobile Detect is a lightweight PHP class for detecting mobile devices, including tablets and smartphones. It detects a mobile environment using the User-Agent string along with specific HTTP headers.

PHP Mobile Detect

 

반응형
반응형

모바일 웹/앱 관점에서 본 2012년 비즈니스 동향 및 2013년 전망

 

http://www.slideshare.net/neovis/ss-15264461

 

 

.

반응형
반응형
http://www.chartjs.org/

 

Chart.js

Easy, object oriented client side graphs for designers and developers

DocumentationDownload

 

 

 

반응형
반응형
Choosing a mobile development strategy

 

 

Mobile Programming Models

Web
Web applications on mobile devices developed using the web model are accessed using a mobile browser.

A primary advantage of the web model is its multiple platform support, allowing your app to reach the broadest audience of mobile users. The code written using standard web application development languages can deliver a similar end user experience across multiple devices and operating systems. The web model approach also permits your development team to be more agile in addressing and fixing problems. Updates to the mobile application can be made easily over the web as opposed to having to release an update through the App Store for iOS apps and Google’s Market Place for Android apps.

Despite the potential of web technology in the mobile arena, there are limitations. One challenge facing developers is emulating the user interface and experience of a native application within the browser and providing cross browser compatibility. It is worth noting, however, there is a growing ecosystem of third party tools and frameworks such as Dojo Mobile, jQuery Mobile, Zurb Foundation, Less Framework 4, and ResponsiveJS providing developers with solutions to common interface problems. Web apps cannot access all of the device’s hardware and software, such as the address book or the notifications in non-webkit supported browsers. Creating a hybrid application, discussed in the next section, can circumvent these disadvantages.

A web approach is ideal if you are trying to reach the largest audience and not isolate a subset of your user base. The web model is also optimal if development and maintenance costs are paramount. Web development skills are more common than native development skill sets. Many organizations already possess in-house developers with experience in web application development.

Hybrid
Hybrid applications are programmed using the same web technologies as the web model, but are packaged and distributed as native applications. A hybrid application is essentially a web application wrapped in a native shell. Hybrid applications can leverage a Web Developer’s existing skillset and tap into a limited subset of the device’s native hardware. Several popular mobile web application frameworks are PhoneGap, Sencha Touch, and Appcelerator Titanium.

There is a caveat, hybrid applications must still be compiled and deployed through the target platform’s method of distribution. For instance, to distribute your app through the Apple App Store, you would need to build and compile your application using XCode and adhere to Apple’s guidelines and clandestine approval process. To target Android devices, you would further need to compile and distribute your application using Eclipse and the Android SDK then distribute your application in Google’s Market Place. It is worth noting, Adobe’s PhoneGap Build system enables developers to upload their assets (HTML5, CSS, JavaScript) to Adobe’s Cloud service and have their apps compiled using the latest PhoneGap SDK.

A hybrid approach is recommended if your application requires access to native functionality such as the device’s address book, or file system and it is essential for your application to target multiple platforms in addition to long-term maintenance and feature enhancements.

Esri’s ArcGIS API for JavaScript can be used to build hybrid applications. The same workflow for building your application using the web model can be applied to the hybrid model. You would import the compact build of the Esri JS API and any additional libraries (Dojo, jQuery, etc). Cascading style sheets can still be used to apply styles to your application’s user interface. Testing your hybrid application would require running it in a simulator or a device.

Native
Native applications are binary executable programs installed on the device. There is a different SDK for each mobile operating system. Native application development must use a language specific to the platform in which the application is deployed.

Although the native model excels in performance and low-level device hardware access, a critical disadvantage of native development is portability. Code written for one mobile operating system cannot be reused for another mobile operating system. A team would need to learn multiple programming languages, software development kits (Esri offers the iOS, Android, and Windows SDK) and manage several codebases. This makes development and maintenance potentially costly and time consuming.

The native model may be the best approach for your organization if the user interface requirements are strict and the native functionality essential.

Another scenario would be a case where organizations intend to only release their app to a subset of the target audience, and therefore target only a single mobile OS. For example, consider a private internal application only available to employees issued a specific mobile device (i.e. iPhone). This would be an instance where it may not make sense to develop for multiple platforms.

The following table summarizes some of the benefits and limitations of each of the three models and also serves as a decision matrix in helping you chose the most appropriate model for you application.

반응형
반응형

 

60+ Responsive Web Design Tutorial Roundup – Spoil Your Mobile visitors!

by Lars on February 19, 2013

responsive-web-design-tutorial

Time to learn responsive web design and development techniques? In this huge collection, I am sure you will find the responsive web design tutorial you need to get started!

With more than 1 billion mobile Internet users, the demand for building professional and user-friendly mobile websites is exploding right now. Up to date statistics show that close to 12% of internet users are browsing from mobile devices and the number is constantly growing. This leaves us with no doubt about investing time and money into spoiling mobile visitors on our website.

Many web designers use responsive frameworks as the foundation in their web project to leverage the many hours of work, experience and maturity experts put into many of them. It is also a popular trend to take offset in a responsive website HTML5 template or a WordPress theme with a build in responsive layout.

Ethan Marcotte started the responsive web design trend back in May 2010. He wrote an article about the need for a more flexible approach to web design, “Responsive Web Design,” for A List Apart. Today most new websites are responsive somehow, but the responsive behavior vary a lot. Some websites and templates have several designs that are perfectly adapted to specific view port sizes, while many still only have one layout for pc screens and one for small mobile devices. The effort required to do it right should not be underestimated. Checking a few well-written responsive web design tutorials is a good start to learn and find inspiration.

Please take time to leave a comment and share this resource with co-workers that you think need to learn about responsive web design.

 

Responsive Column Layouts – MORE INFO

responsive-column-design

In this tutorial you will learn a very simple CSS trick to create a responsive column layout using nth-of-type pseudo class.

Responsive Web Design using CSS3 - MORE INFO

resposive-web-design-tutorial-1

This responsive web design tutorial explain you how to use CSS 3 @media property (known as media queries) and working with Internet Explorer using Modernizr.

CSS Only Responsive Layout With Smooth Transitions – MORE INFO

css-responsive

A tutorial on how to create a 100% width and height smooth scrolling layout with CSS only.

Responsive Design With CSS3 Media Queries – MORE INFO

css3-with-media-design-queries

This responsive web design tutorial will show you how to create a cross-browser responsive design with HTML5 & CSS3 media queries.

Responsive Pricing Tables Using :target for Small Screens – MORE INFO

responsive-target

In this tutorial you will learn how to make a fluid pricing table, then alter the way it’s displayed at different viewport sizes using media queries.

Creating a CSS3 Responsive Menu – MORE INFO

creating-css3-responsive-menu

This tutorial aims to provide step by step instructions to enable you to create a responsive navigation menu that adapts to varying screen sizes, with the help of CSS media queries.

Create a Responsive Web Design Template – MORE INFO

create-reponsive-web-design-template

In this tutorial, you will learn how to make a (very simple looking) web template that is responsive from desktop size down to mobile version.

Responsive Design in 3 Steps – MORE INFO

responsive-design-in-3-steps

In this tutorial you will learn how to do the basic logic of responsive design and media queries in 3 steps (assuming you have the basic CSS knowledge)

Responsive Data Tables – MORE INFO

responsive-data-tables

This tutorial will show you how to create and format a responsive data table.

Turn Any Site Into a Responsive Site – MORE INFO

turn-responsive

This tutorial will teach you some techniques on how to take your current site and turn it into a mobile friendly one, with little effort.

Typography Responsive Web Design – MORE INFO

typography-responsive-web-design

This tutorial will be discussing typography vis a vis responsive web design. Our focus will be on typography strictly in relation to responsive web design only.

Responsive Menu Concepts – MORE INFO

responsive-menu-concepts

This tutorial will teach you four concepts on how to handle navigation menus for small screens.

CSS Effect: Space Image Out to Match Text Height – MORE INFO

spacing-out

This responsive website tutorial will teach you how to properly space out images to match text height.

Scalable Navigation Patterns in Responsive Web Design – MORE INFO

scalable-navigation-patterns-responsive

This tutorial focuses on how to deal with deep navigation in the landscape of a templated environment.

Building a Responsive Layout with Skeleton: jQuery Plugins – MORE INFO

building-layout

In this tutorial you will learn various jQuery plugins to utitlize in order to pull Twitter and Flickr feeds to a page, plus a responsive slider plugin for our features area at the top.

Responsive Resume – MORE INFO

reponsive-resume

This tutorial will teach you how to create a mobile responsive resume to attract new projects.

Techniques for Gracefully Degrading Media Queries – MORE INFO

broken-media

This tutorial will teach you how to implement CSS Media Queries for mobile web.

CSS Elastic Videos – MORE INFO

css-elastic-videos

In this responsive web design tutorial, you will learn how to make embedded videos elastic (responsive) to browsers.

Build a Responsive Filterable Portfolio with CSS3 Twists – MORE INFO

responsive-portfolio

This tutorial will teach you how to inherent visual appeals of filterable portfolios using straight-forward markup, CSS3 and a little bit of jQuery.

How to Build a Responsive Thumbnail Gallery – MORE INFO

responsive-thumbnail-gallery

In this tutorial you will learn how to build a responsive thumbnail gallery.

Responsive Content Navigator With CSS3 – MORE INFO

responsive-content-navigator

This tutorial will show you how to create a content navigator with CSS only.

Responsive Coming Soon HTML5 Page Tutorial – MORE INFO

responsive-html-5

In this tutorial we’ll create a coming soon template, 100% responsive, that will help you keep your users informed while you are building a new website.

Convert Menu to Dropdown – MORE INFO

convert-menu-to-dropdown

This tutorial will teach you how to convert your regular row of links into a drop down menu.

Build Responsive Site Week Designing Responsively Part 1 – MORE INFO

build-responsive-in-a-week

This tutorial will teach you the basics of creating a responsive website for mobile devices.

Create a Responsive Web Design with Media Queries – MORE INFO

responsive-web-design

In this tutorial how to convert a previous WordPress theme design into a responsive layout, while taking into consideration the design’s original grid structure.

Beginner’s Guide to Responsive Web Design – MORE INFO

beginners-responsive

This tutorial is intended both for beginners and advanced web designers in creating mobile responsive websites.

Designing for a Responsive Web – MORE INFO

designing-responsive-web

In this tutorial, you will learn the do’s and don’ts of designing websites for mobile responsiveness.

CSS Responsive Navigation Menu – MORE INFO

css-responsive-navigation

This tutorial will teach you how make a responsive toggle on hover menu which is more user friendly.

Build a Responsive, Mobile-Friendly Web Page With Skeleton – MORE INFO

built-with-skeleton

In this tutorial you will learn how to use a boilerplate called Skeleton to take the headaches out of designing and building a responsive web page.

How to Use CSS3 Orientation Media Queries – MORE INFO

css3-orientation

This tutorial will focus on the orientation of media queries and also demonstrate on how to use it.

Adaptive Layout Media Queries – MORE INFO

adaptive-layout

This tutorial will teach you how to create a beautiful website employing adaptive layouts and optimized for the latest mobile devices.

Responsive Images Experimenting with Context Aware Image Sizing – MORE INFO

responsive-images

This tutorial will teach you how to deliver optimized, contextual image sizes for responsive layouts that utilize dramatically different image sizes at different resolutions.

Responsive Web Design: A Visual Guide – MORE INFO

responsive-design-visual

This tutorial shows how to build a mobile responsive site thru a video presentation. It covers all the basic things needed to get you started.

Elements of Responsive Web Design – MORE INFO

elements-design

In this tutorial, an in depth discussion of the elements of web design is presented.

Responsive Web Nav – MORE INFO

response-nav

This tutorial walk you through on how to build a simple navigation from the ground using the CSS3 media queries and jQuery to display it in a small screen size like the smartphones properly.

User Opt-out Responsive Web Design – MORE INFO

user-opt-out-responsive-design

Responsive Design – MORE INFO

responsive-design

This tutorial is going to walk you through how to create an adaptive web experience that’s designed mobile-first

How to Use CSS3 Media Queries to Create a Mobile Version of Your Website – MORE INFO

mobile-version

In this tutorial, you will learn how to convert an existing website into a mobile responsive website.

Handling Typography Responsive Design – MORE INFO

typography-responsive

This tutorial covers how to effectively format font types to be responsive as well.

The Sparkbox Responsive Design Process – MORE INFO

sparkbox

A graphic tutorial about responsive web design process.

Big Menus, Small Screens: Responsive, Multi Level Navigation – MORE INFO

big-menu-small-screen

In this responsive website tutorial to responsive navigation, you will learn how to use an approach that can accommodate large, multi-level navigation menus using media queries and jQuery, whilst trying to keep markup simple and external resources minimal.

Responsive Horizontal Layout – MORE INFO

responsive-layout

This tutorial will show you how to create a horizontal layout with several content panels.

Responsive Web Design – MORE INFO

responsive-web

This responsive web design tutorial aims to show how to create a responsive design of a web page adaptable to different screen resolutions, and providing a concrete example.

Optimizing your emails for mobile devices With the @media query – MORE INFO

mobile-devices

A quick tutorial on how to properly handle emails using the @media query.

Fluidgrids – MORE INFO

fluidgrids

This tutorial pretty much discusses how to make grids fluid and resize according to the browser’s window.

Responsive Design – MORE INFO

bootstrap

This tutorial is about how to apply responsive design feature into your web layout.

Creating Responsive Stylish with CSS3 and HTML5 – MORE INFO

responsive-form

This tutorial provides a basic introduction on how to make responsive sites using HTML5 and CSS3.

5 Useful CSS Tricks for responsive Design – MORE INFO

useful-css

A tutorial of 5 most commonly used CSS tricks along with sample cases for coding responsive designs. They are simple CSS properties such as min-width, max-width, overflow, and relative value — but these properties play an important part in responsive design.

Responsive Web Design – MORE INFO

responsive-web-design

Working with Fluid Images in Dreamweaver CS6 – MORE INFO

dreamweaver-cs6

In this tutorial, you will see how to manage fluid images integrated within the website using Dreamweaver CS6.

반응형
반응형

Mobilizing websites with responsive design and HTML5

12.16.2012
| 1211 views |

 

http://css.dzone.com/articles/mobilizing-websites-responsive

 

This is a blog post series tutorial for adapting your existing websites for mobile devices without building a separate mobile site. It shows, with examples, how with little changes in your HTML, CSS and Javascript code you can deliver much nicer user experience for small screen and mobile devices. You can make existing HTML designs more mobile friendly with selective CSS loading and HTML5 tags. Selective CSS loading with CSS3 media queries allow you to change layout depending on the browser screen size: this kind of layout is called responsive design.

The tutorial is divided to several, functionality specific, blog posts, each with screenshot examples, explanations and links for more in-depth information.

The tutorial was written in a conjunction with a consulting project for a Finnish public sector organization. As the one of the funding sources is Finnish tax money, including some of my very own pennies, it was a common interest to get the information born in the consultation project published.

Below is an example what one can accomplish.

The site landing page before any mobilization was done; the site is using the default desktop styles on mobile devices:

The site after HTML and CSS adjustments:

1. Prerequisites

Prerequisites for understanding this tutorial are

2. Table of contents

The tutorial contents is outlined below. I’ll keep linking to new blog posts as I finish writing them. Stay tuned, by following the RSS feed or Twitter.

Published at DZone with permission of Mikko Ohtamaa, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

The HTML5 Zone is brought to you with the partnership of Microsoft and includes content on HTML5, CSS3, SVG, and Other Emerging Web Standards or JavaScript technologies that improve the web as a platform for application development.
반응형

+ Recent posts