News for hackers. Stuff that matters.
Re:Show HN: Our first iPhone app, built entirely in JavaScript by gpmcadam on Tuesday February 14, 2012 @07:03PM (#3592375)
Care to expand on the "built entirely in JavaScript" part? Sounds interesting.
Re:Show HN: Our first iPhone app, built entirely in JavaScript by lobster_johnson on Tuesday February 14, 2012 @07:18PM (#3592423)
Presumably it's a "single-page web app", where the HTML page is essentially empty except for JavaScript.

This JavaScript then performs the rendering by dynamically constructing an HTML page with the DOM, as well as fetching data from the back end, and so on.

It's a fairly common application model these days.

They probably use PhoneGap or something similar to glue into the mobile OS environment. (Edit: They use Titanium.)

My company is developing a very similar events app, also written entirely in JS (PhoneGap, Backbone, etc.). There are so many challenges in making it a smooth user experience comparable to a native app, but we've finally gotten there.

Re:Show HN: Our first iPhone app, built entirely in JavaScript by d2ncal on Tuesday February 14, 2012 @11:46PM (#3593063)
They are using Appcelerator Titanium, which is a cross platform app SDK.

You write your code in Javascript, and Titanium actually generates native code that is then compiled into an app.

Re:Show HN: Our first iPhone app, built entirely in JavaScript by GigabyteCoin on Tuesday February 14, 2012 @07:17PM (#3592420)
This is the only reason I clicked here. I too would love to hear more on that aspect.