I want to create MMOG.for frontend i am using playn and for backend i am using php/mysql. now i have to build first json web service in backend. i am unable to understand how json can help me.i dont know json.please help me?
-
i want to learn how i can implement json with my php/mysql
-
Answer:
I think you may have some wires crossed here. JSON is a standard and simple way to represent hierarchical data structures in text. As such it's useful for sending data structures over a socket. See: http://www.json.org/ PHP is a programming language, which (among many other things) has support for encoding and decoding JSON to and from structures. See: http://php.net/manual/en/book.json. So, one might keep state in the database (or in the server's memory for locations and other transient information), and send this data to the client occasionally (or on demand) via a socket (or in response to an HTTP request). The format of this data would be a JSON string representing the data. I hope that helps you out. The question is very open ended.
Shannon Posniewski at Quora Visit the source
Related Q & A:
- How To Build Business Directory Using Php Mysql?Best solution by Stack Overflow
- I lost my password and now i am am not receiving the alternate password on my alternate mail id.Best solution by Yahoo! Answers
- Can some plz help, i want to get an 11-15 oyster photo card and i dont know how to post it?Best solution by Yahoo! Answers
- Should I take the ACT test and the SAT II Subject test in June if I haven't prepared yet and I'm a Junior?Best solution by Yahoo! Answers
- If I want to invent things, what do I major in?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.