Beginning JSON (Paperback)
內容描述
Beginning JSON is the definitive guide to JSON - JavaScript Object Notation - today’s standard in data formatting for the web. The book starts with the basics, and walks you through all aspects of using the JSON format. Beginning JSON covers all areas of JSON from the basics of data formats to creating your own server to store and retrieve persistent data. Beginning JSON provides you with the skill set required for reading and writing properly validated JSON data. The first two brief chapters of the book contain the foundations of JavaScript as it relates to JSON, and provide the necessary understandings for later chapters. Chapters 3 through 12 reveal what data is, how to convert that data into a transmittable/storable format, how to use AJAX to send and receive JSON, and, lastly, how to reassemble that data back into a proper JavaScript object to be used by your program. The final chapters put everything you learned into practice.What youll learnHow to work with JSONData transmission via AJAXIncorporate Handlebars templates into your developmentGet up and running with NodeJSPerform HTTP requests to a local Web ServerImplement a NoSQL database for JSON retrieval and storageIncorporate JSON feeds from Social APIsWho this book is for Beginning JSON is intended for front-end developers of all levels. One does not have had to have worked with JSON before. It’s for those who are seeking to work with data, AJAX, and the preferred data format of the web, JSON. Table of ContentsChapter 1: JavaScript BasicsChapter 2: Special ObjectsChapter 3: String ManipulationChapter 4: Introducing JSONChapter 5: Creating JSONChapter 6: Parsing JSONChapter 7: Persisting JSON: IChapter 8: Data InterchangeChapter 9: X-Origin ResourcesChapter 10: Serving JSONChapter 11: Posting JSONChapter 12: Persisting JSON: II Chapter 13: Working with TemplatesChapter 14: Putting It All Together