Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm searching for a fast way to develop a backend for Mobile Apps. The idea is to use Wordpress as a backend.

My problem is: How can i serve the information to the Mobile App? I saw the JSon plugin but you can't use it for custom post types.

I was thinking at xml, is there a plugin i can use or should i code specific pages that serves xml?

Thanks.

share|improve this question
    
Please explain your problem better. I have no idea why you need serve information to something if you are already using the back-end which is made to do that: serve information. –  toscho Feb 26 '13 at 0:44
    
I need to develop a Mobile App based on PhoneGap and i was wondering what is the fastest way to create a complete and easy to use backend. Since Wordpress already comes with all the stuff needed (custom posts, authentications,media upload), i'd like to find a way to provide the informations to the PhoneGap App. I know a mobile version of the site will be better but sometimes there isn't a website to start from. –  flero Feb 26 '13 at 14:12
add comment

1 Answer

up vote 0 down vote accepted

You could use WP and all it's associated goodness for a mobile app backend (I'm going to do it soon myself).

Custom post types are not a problem. Make a page, grab the data with a WP_Query and serve up the query results as JSON instead of HTML, though you'll have to do this bit yourself I'd wager (I'm planning on doing it).

That's only one part of it of course, if you can give a bit more information about the project you might get some more insightful answers!

share|improve this answer
    
After some tests i ended up with the same idea! –  flero Mar 6 '13 at 19:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.