Jump to content

Developing UIs for Cell Phones using PHP


mrkumar

Recommended Posts

Gurus: I have a requirement for developing small screen UIs which can be accessed from cell phones. Essentially, I need my cell phone users to access my url for specific queries like checking stock levels for a partilcular product. so here a cell phone user would need to access the url and enter a product load and get its stock qty on submission.

would appreciate any pointers to do this in php ?

Thanks - mrkumar

Link to comment
https://forums.phpfreaks.com/topic/31130-developing-uis-for-cell-phones-using-php/
Share on other sites

It's no different than you would do for a normal site. You just need to design it for a mobile device. You could either create custom pages for mobile devices or use the same pages for regular web viewing and use the "media" properties in the style sheet to change the layout based upon the device viewing the page.
Hello mjdamato: I appreciate your fast response. I would be doing this for the first time. would it be possible for you to please point me to any php tutorial on this on the web if any.  Alternately, if you have a sample code for a cell phone UI, I could use and test.

would appreciate help!

Thanks - mrkumar
It is not a PHP issue, so there are no PHP tutorials on how to do this. You just need to format the pages to display correctly on small form factors. I've never done this personally, so I have no tips to give you.

But, you first need to decide if you will have stand-alone pages for mobile devices or if you will utilize the same pages that you use for standard browsers. If your users' are going to be internal users (not the public at large) then dedicated pages would be my choice. However, if your users will be anyone and everyone, then you would need to at least make sure there's a link on the home page to the "mobile" site and that home page would need to display correctly for mobile users.

To get a page to display correctly for mobile and standard browsers, use the "media" style as I mentioned earlier. here is something to get you started: http://www.howtocreate.co.uk/tutorials/css/mediatypes

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.