This site is archived.

Developing Apps for iPhone/iPad/Android using drupal as Base System

Day: 
Wednesday
Time: 
9:45 AM - 10:45 AM
Room: 
303 Chapter Three

Presented by

Sumit Kataria (sumitk)
CivicActions
Aaron Pava (AaronPava)
CivicActions
Leveraging Drupal for your businessLeveraging Drupal for your business
Use Drupal to power your business: Hear case studies and learn about adapting to open-source technology.

With launch of iPad and NexusOne - iPhone/Android application market can't be ignored. Both these technologies has great potential to use our existing web based tools such as drupal. You can totally use drupal to manage/update your iPhone/Android native application.

Some iPhone/drupal stuff I wrote in past at: http://civicactions.com/blog/sumit

This session is about building native iPhone/iPad/Android applications using opensource web based technologies (http://www.appcelerator.com) with drupal as base system to manage: content, users, views, permissions etc.

What will be covered

  • An introduction to Titanium Framework to develop iPhone/Android apps using web technologies like HTML5 and jQuery etc
  • Introduction to ServicesAPI and web standards [json,xmlrpc]
  • How to manage your application's data (content, tables, views, users, menus, taxonomy etc) using drupal.
  • We will build a live app ... introduce you to some code here (ServicesAPI, YQL, jQuery and Titanium API)
  • Demo of some apps we build for Android and iPhone platforms
  • Questions!

Quick demo of what we are going to discuss: http://www.youtube.com/watch?v=GOzwOnEDinM

Experience: Beginner, Intermediate, Advanced, Expert
Industry: education, entertainment, library, marketing, media, non-profit
Tags: android, ipad, iphone, mobile, services

Maybe you and this other session can join forces? http://sf2010.drupal.org/conference/sessions/drupal-and-android-drupal-b...

I'd be happy in consolidating efforts.
My emphasis was mostly on the drupal side and most of our experience dealing with Android development.

I gave it a thought even before I posted this session ... but I think its best to have two different sessions for these topics.
My emphasis would be majorly on Titanium framework to build iPhone/Android applications. Use of Services API is only with jQuery, so no Obj-C OR Java here. I am going to show lots of Services examples but all using jQuery $.ajax methods.

Let me know what you guys think? I updated my post and posted a demo video in support of this session.

looking forward to this session. will you guys be going over the latest titanium (1.0) api with your examples?

I am trying to ramp up with latest Titanium 1.0 but documentation is still not out/complete yet. So most probably yes ... if not we will cover most of stuff with 8.x

Hey just an update: I have made very good progress with Titanium 1.x so YES we will be covering 1.x api in our examples! See you there.

That's great news! See you all next week, should be a great conference.

Didn't Apple's recent change in the rules banning non-native-ObjC apps kill Titanium development for iPhone/iPad?

From their developer blog:
"It’s our belief that we are fully in compliance with iPhone OS 4.0 ToS as we interpret them."
That's a little ambiguous... as someone looking to get started with mobile development soon, and an Android user myself, I wonder if I should use Titanium or just the Android SDK.

Apple doesnt want you to use any type of middleware or code abstraction as Titanium. They specifically want you to use their APIs and pltforms directly. That's strategic and profitable for them.

Using the methods described here will make your app be banned from the proprietary Appe store, which is the only way to install stuff on the iPhone.

Either use webkit and be limited by functionality or use cocoa/objective-c and have portability issues. There is no perfect world currently.

I attended because I thought this session was about HTML5 and webkit apps, but I had to leave in the middle so I can make better use of my
time. I'm sorry having to say that.

It seems that "titanium == banned" is your opinion only (assuming you don't work for Apple!). I would suggest you read some more about how Titanium works - I don't think this is at all cut and dry. Titanium generates Objective-C, C, C++ code that calls the native documented APIs directly (i.e. no abstraction layer) - there is nothing to stop you from manually working further on the generated code, if you choose to.

Any chance you can post the javascript files you went through during your presentation to show how to use views.get and all that? Would be greatly appreciated!

Code/Blog links are in last comment.

Hey I will post demo code and a couple of tutorials at http://civicactions.com/blog Please check back by this weekend.

Thanks Sumitk. I was not at Drupalcon but your presentation was great!!

Anyone able to pass arguments to views? I keep getting nothing returned.

Thanks you so much for this post. I've been looking for something just like this! I added this link to my list of resources for iPad web app developers on http://www.ipad-webapps.com/web-app-development

I'm looking for a dev to help me with a small project that leverages drupal, services, upload of images to drupal from your iPhone