PastryKit: An Apple iPhone Website Development Tool

    Pay attention to the following picture:

    [PastryKit web application example]

    On the screen of this iPhone you see an application that looks like a regular application; nevertheless, it is launched over the Internet, it is a site that is viewed in the mobile version of the Safari browser. This effect is achieved by using the PastryKit library developed by Apple: the library disables the Safari address bar, the library provides fixed positioning of toolbars, the library even replaces the way of scrolling Safari sites, adding to it the “impulse preservation” that is peculiar to iPhone applications, not sites Safari

    The PastryKit library consists of CSS and javascripts. It is used in the iPhone User Guide, as well as, to some extent, in LP files.iTunes, but it’s not yet clear whether Apple intends to promote and document the use of PastryKit; blogger and developer John Gruber (the one who invented Markdown markup language) comparatively accidentally discovered the PastryKit library on Apple and let other interested developers know about its existence.

    You can read more about all this on the Ajaxian blog ; it also tells how and where to download and connect PastryKit.

    Also popular now: