I need to create a “front” Mobile App for a EE powered website.
Website is a news portal. App needs to mimic the website structure and functionality (i.e. users would use the app to read news articles and post/read comments - search archive etc).
First thing that comes to mind is that I need some sort of an API (JSON or XML) for app to interact with EE. Said API would need to support entry listing, custom field support, search support, post/read comments - and possibly few other bits.
Has anybody done something similar?
Is there an add-on that would support this or do I need to code something?
I’m looking for ideas on what approach to take here…
Thanks 😊
I’ve worked on an app that used EE to manage content.
For app content then you can use standard EE channel, categories, statues and custom fields, just as you would for a web site. Instead of outputting HTML you output channel data in JSON format and feed that to the app. You can also use EE segments to control what entries go into the JSON then the app developer can use those to filter content.
I’ve not needed to do it but search should work as a normal form in the app, the results just get returned in JSON format.
Comments, again I haven’t done, but you should be able to embed the form in the app, then retrieve results as channel comments via JSON.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.