aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Web Apps and the iPhone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Web Apps and the iPhone" Watch "Web Apps and the iPhone" New topic
Author

Web Apps and the iPhone

Bob Beerbower
Ranch Hand

Joined: Jun 06, 2001
Posts: 32
The iPhone has generated quite a stir about creating web apps as this seems to be the only way to develop applications for Apples newest toy. I have to admit that it has me wondering just what languages these apps are developed in (Java script?) and are there any special HTML/CSS considerations when dealing with web apps rather then web pages.
[ October 10, 2007: Message edited by: Bear Bibeault ]

Regards Bob Beerbower
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60985
    
  65

Originally posted by Bob Beerbower:
I have to admit that it has me wondering just what languages these apps are developed in (Java script?)
The iPhone runs the Safari browser so web apps written for the iPhone are just like web apps written for any other purpose, using a combo of HTML, JavaScript and CSS. I'm pretty sure that the iPhone Safari implementation still lacks support for Flash and Java Applets. (Of course, server-side Java is unaffected by the lack of client-side Java support).

The trick with writing iPhone apps is dealing with the different client events, that don't exist in a normal browser, resulting from the touch-screen interface.

and are there any special HTML/CSS considerations when dealing with web apps rather then web pages.
That's probably a more appropriate question for the Servlets forum, but one of the biggest gotcha's that seem to trip people up when writing web apps (as opposed to pages showing pictures of kittens) is the use of page-relative URLs for resources such as images, script files and style sheets. Such URLs should be server-relative in order to avoid problems when the URL known to the browser is a mapping rather the location of a physical resource.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web Apps and the iPhone