Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49401

What is the Best Practice for Storing Ionic.IO User _ID in External Database

$
0
0

@IndyJones72 wrote:

Ok so I have Ionic.IO User Authentication working both custom and via Social Logins...so good to go there.

When I save a user's post, I'm saving their Ionic.IO _ID to my SQL Database. When calling that external API I'm getting back the post data and all of the various Ionic.IO _ID's for each registered user as well.

What is the fastest/best practice to lookup the ALL user _ID's so I can display their Name/Handle vs. the obviously cryptic _ID.

I was thinking during the app initialization to call the all users API from Ionic.IO and storing that in a Global Object Variable and then searching it in the ng-repeat, but not sure if that's the best/fastest way to do it.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49401

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


TYKEMA GLEATON


The Conjuring 2 (Tamil Dubbed)


Woman stabbed 12 times and dumped in ditch


Moondru Mudichu 07-06-2016 – Polimer tv Serial


Trio remanded on gun, other serious charges


Rick Ross & Etana – Kiss Of Judas – Single [iTunes Plus M4A]


The 6 Best Sex Scenes in Nollywood Movies


Take this week's NJ.com Local News Quiz


Angeline Yap kym?



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>