How to pull data as json



Hi friend, My name is Kupkip I come form Thailand.
I need your help and your advice.
My idea is design real time website like countdown times and have event some time.
What are Strengths and weaknesses between node /socket io and ajax / json ?
But The main purpose is want pull data as json show up. How to do it ?
Now I used node query direct form database and I think it’s not safe.
So Can you advice to me what’s i should to do better more than i did ?
Help me please!!!


This is a pretty open ended question and there’s quite a bit about this topic in many places on the internet already. I hate to say it but your best bet is just to Google it and look for a couple good articles :slight_smile: