How To Generate JSON With PHP from Mysql and Parse It With JQuery

Tournas Dimitrios

JSON(JavaScript Object Notation) is a lightweight data-interchange format, it’s capable of setting up data constructs for integers , strings , arrays , booleansand obviously objects (collection of key:value pairs , comma-separated and enclosed in curly brackets) . It is easy for humans to read and write also it is easy for machines to parse and generate . An example of where this is used is web services responses . In the ‘old’ days, web services used XML as their primary data format for transmitting back data , but since JSON appeared (The JSON format is specified in RFC 4627 by Douglas Crockford), it has been the preferred format because it is much more lightweight . Not onlymost programming languages have build-in functionality to generate and parse jsondata formats but also mostframeworks / SDK’s like Zend-Framework , JQuery , Adobe’s Flex SDK and more …... You can find…

View original post 292 more words


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s