Site Admin
Posts: 178
Joined: Tue Sep 29, 2009 6:25 pm
Location: Moss Norway


Postby KBleivik » Thu Jan 27, 2011 10:40 pm

1. Responsive Web Design.

First of all, note this

Responsive Web Design RWD and conditional content


A 2012 post from the drupal subforum that may interest you if you use drupal as your cms platform:

Drupal mobile.


If you’ve done any research on responsive design, you have surely heard the mantra of developing for mobile first, which is definitely something you should be keeping in mind. Since we’ve all been in the mindset of developing sites for desktop computers for so long, it’s very easy to look at media queries the wrong way. You might think, “All I need to do is make some new images and put some new CSS in a media query, and my site will work on phones as well.” While this is true, it’s also completely backwards.

As amazing as smartphones have become, they’re still not as powerful as desktop computers. In addition, content is frequently consumed on the go. But by following our earlier logic, we’re optimizing a site for less-powerful devices on slower connections by adding CSS and images. Once you think that through, you realize that you have to alter your workflow.

Source: ... ate-world/

The problems may start already with the meta tags:

Related links: ... eb-design/ ... eb-design/

2. Tutorials

Eric Ewe has written a fast tutorial:

Six easy ways to make your website mobile friendly.

Especially, you may note the following:

Don’t forget to intergrate your Facebook, Twitter and other social media aspects.


Use icons/text links that are spaced our so that you make it easier to navigate and to prevent accidental clicks. Avoid drop down menu, hover over, and flash as those might not be compatible with all devices. Don’t overcrowd the screen with lots of text/icons, which makes it hard to navigate. Keep scrolling options from top to bottom as most mobile users prefer to scroll in one direction.

There's a big difference between a website that is compatible with mobile phones, and a mobile website.

Source: ... ost5030583

David Calhoun also explains how modernizr can be used to your advantage when developing for mobile platforms.
Here’s how we might be able to use Modernizr to help us out:
view plaincopy to clipboardprint?

(function(){ // sandbox our code
if(!navigator.connection) navigator.connection = {type:0, UNKNOWN: 0}; // polyfill
var connection = navigator.connection;

// add a custom test to Modernizr
Modernizr.addTest('highbandwidth', function(){
return connection.type === connection.WIFI || connection.type === connection.ETHERNET;



If you read the above mentioned tutorial you may have noted the other tutorials as well:


He has a lot of articles about mobile web development. See e.g. the older archives:


3. For Wordpress users

More specific information in this viewtopic.php?f=18&t=270 and this viewtopic.php?f=18&t=314 thread.

If you are a web master developing WordPress sites for mobile platforms, all you are looking for may be explained in this


thread under the heading. WordPress on mobile platforms. There are proprietary mobile platforms with their own operating system and browser. WebKit is an open source project. WebKit browsers will support this browser engine, while non-WebKit browsers will not.

It is sad that mobile platforms go contrary to the open web. More and more platforms are based on the company's own proprietary software. As an illustrating example:

We’re looking forward to Adobe’s CS5 suite release despite the new developer clause for Apple’s iPhone SDK 4.0 which bans apps created with private APIs and third party translation compliers… most notably Adobe’s new Flash CS5.

Source: ... way-to-go/

Elswhere, I have written about the mobile revolution: ... revolution That thread was started 05-28-2007 and has been constantly updated. W3C has its own Mobile Web Initiative:

The Objective C programming language ... tiveC.html seem to be the preferred development language for mobile platforms.

The Objective-C language is a simple computer language designed to enable sophisticated object-oriented programming. Objective-C is defined as a small but powerful set of extensions to the standard ANSI C language. Its additions to C are mostly based on Smalltalk, one of the first object-oriented programming languages. Objective-C is designed to give C full object-oriented programming capabilities, and to do so in a simple and straightforward way.

There are a lot of security risks involved in mobile application development that you can read more about here: ... -platforms

4. For jQuery users ... ery-Mobile

5. For C# programmers


In addition there are some litterature references in this



6. For C++ and LUA programmers ... i-sdk/book

7. php and mobile sites

I'm just about to start a small mobile site that will be written in PHP. I am aware of the design principles of developing for mobiles, my question is more to do with the compatability of PHP on mobile devices. It is:

If I use PHP to make this mobile site (which will render in the client's mobile browser as good old HTML) will I run into any compatability problems?

As far as I can see, because PHP is a server side language, as long as it serves mobile friendly HTML, I should be able to do everything I please in PHP in my scripts? Is this correct? Or will iPhones, Android Mobiles and various Fondle Slabs refuse to render a xxx.php file

You're right that it's a server-side technology. The browsers (whether mobile or desktop) will not care that it's PHP as it will never see anything but the html/js that is rendered from your PHP scripts.

Source: ... bile-sites ... one-in-php ... nd-desktop ... lications/ ... /Main_Page

Since 2006 there have been a lot of changes, particularly in the capabilities of mobile browsers. Thanks to Apple Webkit, even lower-end phone are able to browse sites without catastrophic rendering issues (still a terrible UX, just not a catastrophe). With all these changes, however, one thing has remained: mobile device fragmentation. Device fragmentation means that the capabilities and methods of interacting with mobile devices are constantly spreading in different directions, none compatible with the other.


8. Other resources:

A lightweight, dead simple, micro-tiny, super modular JavaScript framework for building mobile web applications. Its true: the minified code is super tiny. You can find more information, downloads and documentation on the


XUI is a JavaScript library written by Rob Ellis, one of the founding fathers of PhoneGap.

In a PhoneGap application, you know at build time which platforms your application will run on, and what the capabilities of the web view rendering your application are. This allows XUI to take advantage of newer browser features, which will reduce the overall quantity of code. XUI is essentially jQuery made for PhoneGap. XUI is optimized for file size and is about one tenth of the size of jQuery. ... a9e208666e ... 17110.html ... oid-app-2/ ... c&t=728445 ... plications ... 37316.html ... tutorials/ ... he-iphone/ ... evelopment ... xcode.html

9. Litterature ... web-design ... 449336442/ ... 1449394639 ... 449381650/

General search query on Amazon:

mobile application development

Return to “Mobile Web Development”

Who is online

Users browsing this forum: No registered users and 1 guest