开发者

How to integrate a comment system in an ios app?

开发者 https://www.devze.com 2023-03-14 08:17 出处:网络
Lets say my web server app is in drupal or wordpress, or even code igniter, how would one get about integrating a comment system? TSpecifically what I am开发者_JS百科 trying to find out is if anyone w

Lets say my web server app is in drupal or wordpress, or even code igniter, how would one get about integrating a comment system? TSpecifically what I am开发者_JS百科 trying to find out is if anyone was able to find a successful approach that would save some time as opposed to me going down the road of tying myself to a specific CMS content system.


Just throwing in some considerations here (by no means complete):

Are users also accessing your content (and its comment system) via the website?

  • If so, you'll want to have a comment interface that is available on the website too, and the easiest choice may be to use the comment system natively supplied by your CMS / through plugins.
  • If on the other hand your users will only be using the iOS app(s) for commenting (via a native interface) or you'll be heavily customizing the website anyway, using a comment system independent from your CMS might be an option.

How will the content be accessed from the app?

Via a simple web view? Or will the app download via an API provided by your CMS and display it in a native UI? If you are using an API provided by your CMS, you will have the same issue with your content as with your comments when moving CMSes.

  • You could add an intermediate layer that abstracts from the specific CMS API.
  • Or if you don't really plan on moving CMSes but want to prepare for that event nevertheless, you could simply implement a no-frills "version check" to ask the server for the CMS kind / version it is using, and if it doesn't match what your app expects, ask the users to update. This isn't the prettiest user experience, but it might be sufficient depending on what you're actually planning.
0

精彩评论

暂无评论...
验证码 换一张
取 消