Hi all,
I’ve been using Corona for some time, and now I’m working on an app that basically allow users to sign up and post some “news feed” like what Facebook and Twitter does.
Up till this stage, I’ve read through many many articles about XAMPP, Php, MySQL, SQLite and Parse. Parse helped me to integrate my sign up and sign in option, but I still can’t figure out how to post “news feed” for everyone to view.
I’m using composer view. I need to let my users to key in something, say, their mood of the day (“I’m sad today”). Then that string will be stored in my database, and when anyone refreshes that page, my app would fetch those data into that page, so everyone that uses my app can see it.
My problems are:
-
I assume that I need to use network.request() for this to work, but do I need a web domain of mine first? Otherwise, how should I make those data accessible by everyone, but not editable by them?
-
I could construct a SQLite .db file (thanks to Rob’s tutorial), but how can I make everybody able to insert string table into it? A remote database maybe?
-
How to retrieve all data of that .db file upon refresh?
Thanks for any kind soul to help out!
Ming
