Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP and PDA

Status
Not open for further replies.

josel

Programmer
Oct 16, 2001
716
US
Howdy!

It looks as though I will be handed the task to write an application where field personnel would have access through their PDAs.

I have never owned/used a PDA (hey, never had he need for it) much less written applications for it. I hope this is not much different than any standard type of programming.

I am posting this in hope to be pointed in a direction where I can learn more about programming PHP for PDA devices.

Any suggestions?

Regards,


Jose Lerebours




KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
There is no difference in the PHP coding, as the client (pda, pc, playstation 3, playstation potable, your mobilephone or whatever) will only see whats parsed by apache/iis or whatever servertype you have.

eg.
1) your client visits yourdomain.com
2) the server software runs the code and sends clientside-code to the client
3) your client enterpents the code

So, what kind of clientcode will you want?
Well, XHTML should be o.k., but you have to think about the limits of the GUI (screen-size), also javascripts might not work well in all mobile-browsers.

The php-code itself has nothing more to do with output, than you define it to do.

Olav Alexander Mjelde
Admin & Webmaster
 
So it seems that I should be researching the browsers to learn more about their compatibility issues.

Thanks!


Jose Lerebours


KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Just make it for XHTML and keep in mind low bandwidth and small screen-size.

Though, this has nothing to do with server-side coding per se, but more what you render to the user.

eg. not too much text, not too large images, keep bandwidth low, etc.

I know some html editors have templates for different pdas/phones, but you can also just simply google for the specs.

Like I know my phone has 240x320px screen, so putting an 640x480 image there would make browsing slow, expensive and the image would not look good.

So, yeah.. You should read up on specifications and recommandations before you start making your test-templates (static).

Olav Alexander Mjelde
Admin & Webmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top