Flutter App for wordpress page

642 views
Skip to first unread message

Edmund Kpodogui

unread,
Dec 3, 2018, 3:20:06 PM12/3/18
to Flutter Dev
I have a wordpress site for listing businesses and rating them https://rate233.comi want to create a flutter App for it but am a newbie i dont now how to structure the app and the librariess that can make me connect to the wordpress api

EthicCoders Apps

unread,
Dec 5, 2018, 10:27:05 AM12/5/18
to ekkpo...@gmail.com, flutt...@googlegroups.com
Here is how I would approach: 
  • Install: Install flutter & create the bare bone app. (Which I think you are well past this step.) 
  • App module structure (in lib directory of app):
    • Network: This module will connect to the WordPress site, which will also serve as your backend server. You can use the wp-rest-api which will give you the result in json for your endpoints.  (Simple video tutorial for json parsing in flutter) 
    • Database: I would use the sqlite plugin support to persist the json data as per your app requirement. 
    • UI: The UI will always connect with DB manager for the data... the data manager will interact with Network and update content as needed. 
      • Navigation: For navigation from one page/screen to another, you can use the Navigator route (both fixed or dynamic generated routes) 
  • Plugins: Since you already have the WordPress backend server up and running ( I don't think you will be needing the firebase auth or database plugin). Nevertheless, if you would like Ads, Push notification and analytics in your app then go for firebase AdMob, Messaging and Analytics Plugins 
  • Automated Push Notification (optional): If you would like your users to get an update about new reviews or follow certain places.... then you can make the app subscribe to notification topics... On the server side, you can use google cloud functions, cron jobs, firebase admin along with nodejs to send auto notifications to your app based on the subscription of topics. 

On Tue, Dec 4, 2018 at 1:50 AM Edmund Kpodogui <ekkpo...@gmail.com> wrote:
I have a wordpress site for listing businesses and rating them https://rate233.comi want to create a flutter App for it but am a newbie i dont now how to structure the app and the librariess that can make me connect to the wordpress api

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages