sam
sam

Reputation: 10094

Setting up a CMS for a Phonegap / Cordova iphone app

When making a iphone app with Phonegap / Cordova is it possible to attach a web based CMS to it, to pull the data down from, so that a non technical user could update the app ?

Usualy you'd just build them using html, css, jquery/js but i wandered if there was an easier way to update them ?

Upvotes: 0

Views: 2103

Answers (3)

tyler.frankenstein
tyler.frankenstein

Reputation: 2354

With DrupalGap, it is possible to create iOS (and Android, etc) mobile applications using PhoneGap and a Drupal powered website.

What is Drupal?

Drupal is an open source content management platform powering millions of websites and applications. It’s built, used, and supported by an active and diverse community of people around the world.

Why Drupal?

Use Drupal to build everything from personal blogs to enterprise applications. Thousands of add-on modules and designs let you build any site you can imagine.

What is DrupalGap?

DrupalGap is an open source mobile application development kit for Drupal websites. It uses Drupal, PhoneGap, jQuery Mobile and jDrupal.

With the DrupalGap Mobile Application Development Kit and API, developers can create custom multi-platform mobile applications that communicate with their Drupal websites.

Helpful Links

Upvotes: 0

Tom Clarkson
Tom Clarkson

Reputation: 16174

Rather than a CMS, you should look into static site generators. I use Jekyll for all my PhoneGap apps, including one that has a non-technical user updating the content.

Content pages are set up as markdown files with a yaml header - not quite as user friendly as a full CMS, but still pretty easy to edit.

I have jekyll set up as a build step, so all the generated html files get packaged and deployed to the device as part of a single click build process.

You could export static html from a web based CMS, but that will likely be more trouble than it is worth by the time you debug all the bits that were designed to work online only.

Loading the pages directly from the web will work just fine technically, but runs into several of the app store rules - no significant added functionality, no offline access and possibly downloading executable code.

Upvotes: 1

Alexander Fuchs
Alexander Fuchs

Reputation: 1358

You could use a normal cms on a server like a webpage so normal joomla wordpress etc.

Then you add the url to the phonegap whitelist and load it like the normal phonegap html url.

Upvotes: 0

Related Questions