Posts tagged “javascript”.

Make your own iPhone app with HTML

November 26th, 2008

Pretty cool: an app called PhoneGap lets you turn your web site into an iPhone/iTouch app using nothing but your site’s existing HTML and JavaScript. PhoneGap is:

written in Objective-C and allows developers to embed their web app (HTML, JavaScript, CSS) in Webkit within a native iPhone app. We’re big advocates of the Open Web and want JavaScript developers to be able to get access iPhone features such as a spring board icon, background processing, push, geo location, camera, local sqlLite and accelerometers without the burden of learning Objective-C and Cocoa.

Right now, PhoneGap gives your almost-app access to the iPhone’s accelerometer and geo location services, but camera and vibration options are pending. Head to their Google Group to learn more about the project.

Seems like a neat idea to me. There are already PhoneGap success stories, where Apple has approved their App Store submittal. Is there any way to create a Newton-like shell on a web site (kind of like this blog does) and then throw it onto the iPhone with PhoneGap? One can dream.

[via Webmonkey.]

The origins of NewtonScript

April 9th, 2008

NewtonScript and the Newton

One of the little “to-do” items in life is some working knowledge of programming. I have no experience, besides basic HTML and CSS, and I’d love to be able to learn a real-life computing language.

While searching, I came across this Wikipedia entry on NewtonScript, the governing language of our good green friend.

Developed from a version of SELF, NewtonScript was designed by Walter Smith, who worked at Apple during the Newton’s heyday. He has a site dedicated to NewtonScript’s story.

Says Smith:

During the development effort that brought you the MessagePad, a new language–now called NewtonScript–evolved in parallel with the view system and object store. The language thrash made it possible: all those languages we looked at provided a wealth of ideas that found their way into NewtonScript. SELF was one of the primary influences.

Check out a great PDF of Smith’s findings here.

I didn’t know this, but according to Wikipedia, “the prototype-based object model of Self and NewtonScript was used in JavaScript, the most popular and visible language to use the concept so far.” I’ll be darned.