DIYPad: Programming on the iPad?

Computers & Mobile
DIYPad: Programming on the iPad?

Processing.js on the iPad

I know that you can program for the iPad, but it’s not trivial: you need to sign up as a developer, write code on a Mac computer using Xcode, and go through the app store approval process. How about cutting out all these steps, including the computer, entirely?:

DIYPad_badge.jpg

Back when the iPad was announced, my friend Morgan and I talked about a concern some people have with the iPad. Because you can’t program right on the iPad, we run the risk of depriving kids of what many of us consider to be an essential experience: the ability to learn to program “at the keyboard”. Instead, you need another computer, a set of tools, and a complex deployment process to actually get your code running on the device. When Morgan and I were kids, we’d hack in BASIC, and share our creations on cassette, written on paper, and eventually on floppies.

One solution to this–albeit an imperfect one–is an in-browser IDE. There are a few programming languages that have been reimplemented in Javascript, and as a result, it’s pretty easy to create a browser-based IDE for them. What’s missing is the ability to save programs locally on the iPad. But maybe that’s a small matter of programming. With HTML5 local storage and web database, you could easily hack one of these IDEs to save code to the local storage in addition to saving them in the cloud (but let’s not trap the code that people write on the iPad because that creates another problem).

I’ve listed a couple of options (Processing, Scheme), and there are a couple more in the comments. Check out the discussion: O’Reilly Answers – iPad-friendly browser-based programming environments?

More:

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged

I'm a tinkerer and finally reached the point where I fix more things than I break. When I'm not tinkering, I'm probably editing a book for Maker Media.

View more articles by Brian Jepson
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 16th iteration!

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK