PDA

View Full Version : New to .mobi with questions



FreeGeezer
01-08-2010, 12:07 AM
I am new to this mobile thing. I have been around computing since 1962, but I'm fairly sure that COBOL won't work too well on mobile devices. :biggrin: I actually have been doing some web development in HTML and PHP for the past few years.

I have an idea for a mobile website/app. First of all, I see the app as a very simple convenience of the mobile user. All it would do is redirect to the .mobi site sending the mobile phone number, or some other unique identifier, as login information. If the user is coming in from a mobile device, the .mobi website would load a style sheet (CSS) for a mobile device. If the user is coming in from a PC, without benefit of the app, the .mobi website would load a style sheet for a PC and present a login screen. Is this at all possible and/or realistic?

The .mobi website would have to retrieve information from a database which currently has about 10,000 records and will probably grow to over 50,000. It is currently a mySQL database. Is that doable and what might the ramifications be?

Another difference would be that, if a mobile device, there is a point where the user would be directed to a location by turn-by-turn GPS. On the PC, a map and driving directions would be shown, as in Google Maps, instead.

Please, everyone, let me know what you think.

Roy

noonoo1
01-08-2010, 12:25 AM
Hi and welcome,

Yes to all you questions, have a look at http://trailer.mobi

If you are looking from your pc you will see the pc site.

Check the on switch at the bottom of the page and you will get the mobile site.

Have a look on your iphone if you have one.

These programs are from wordpress with plugins for auto detect for mobiles.

The database is a mysql using wordpress

:biggrin:

FreeGeezer
01-08-2010, 01:19 AM
Thank you, noonoo1. I viewed the trailers.mobi site from my PC, toggling the On/*** switch at the bottom, and it displayed in 2 different formats. That's good!

However, when I viewed it on my Droid it looked the same as it did on my PC, only smaller. That's great!!!

What that tells me is that a fully web-enabled device can display just like it's ... well, fully web-enabled. Older, not so-smart devices can still view the site in the On mode.

Might some problems crop up with the different browsers used by some of these phones?

Thanks, again, for a quick response and confirmation.

Roy

gogo
01-08-2010, 06:28 AM
Might some problems crop up with the different browsers used by some of these phones?



Yes.

basic browsers do not support JavaScript and may misinterpret complex CSS or code that is not valid. To get a predictable experience on these xhtml mobile profile was introduced - try testing a site at ready.mobi (http://ready.mobi) to get more info.

A site like this schlagzeilen.mobi (http://schlagzeilen.mobi) has three different versions, depending on which device (user agent string) it detects.