angularjs - How do mobile apps store messages locally? -


for reason difficult find, trying make messaging app using ionic framework , mean stack wondering...

  1. what best practices send , retrieve messages(socket.io or node module) hybrid app?
  2. how should app store these messages(sqllite or nosql) using ionic?
  3. what format (json?) should stored in sorting , print retrieval on chat screen?

answers appreciated , links really further own research.

well if doing mean stack using mongo database (m: mongo, e: express, a: angular, n: node). socket io best method know of send messages. store them on mongo db. since using mongo db using json format i:e: {user: "", message: "", msgid: ""}.

some links: https://github.com/daftmonk/mean-chat https://www.airpair.com/ionic-framework/posts/ionic-socketio-chat-application-tutorial http://forum.ionicframework.com/t/demo-ionic-chat-app/13324


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -