
۴۴٬۰۰۰تومان
نوع فایل دانلود: PDF
پس از خرید، یک فایل PDF دریافت میکنید.
این فایل با Adobe Reader، مرورگر و اپهای PDF روی کامپیوتر و موبایل باز میشود.
بیش از ۸۰ دستورالعمل برای بهرهگیری هرچه بهتر از JSON در برنامههای دسکتاپ، سرور، وب و موبایل.
درباره این کتاب
ساخت برنامههای جاوااسکریپت سریع و پویا که از JSON استفاده میکنند. نمونههای عملی برای نشان دادن چگونگی بهکارگیری JSON در حوزههای گوناگون برنامهنویسی. تبدیل شدن به فردی که در سازمانتان برای ساخت برنامههای وب مبتنی بر JSON به او مراجعه میکنند.
این کتاب برای چه کسانی است
اگر برنامههایی مینویسید که دادههای ساختیافته را از جایی به جای دیگر منتقل میکنند، این کتاب برای شماست. این موضوع بهویژه وقتی درست است که تاکنون از XML برای این کار استفاده کردهاید؛ چون کاملاً ممکن است همان کار را با کد کمتر و حجم داده کمتر با JSON انجام دهید.
هرچند فصلهای کتاب تا حدی بین سمت کلاینت و سرور تمایز میگذارند، فرقی نمیکند که برنامهنویس فرانتاند، بکاند یا فولاستک باشید. اصول استفاده از JSON هم در کلاینت و هم در سرور صدق میکند؛ و در واقع، برنامهنویسهایی که هر دو سمت را میفهمند معمولاً بهترین برنامهها را میسازند.
آنچه خواهید آموخت
یادگیری استفاده از JSON بهصورت type-safe برای جلوگیری از خطاهای رایج در نوع داده. تبادل داده با پایگاههای داده NoSQL مانند MongoDB و CouchDB با JSON. بهرهگیری هرچه بهتر از JSON در برنامههای وب AJAX، با یا بدون فریمورک. تبادل داده بین سرورها و برنامههای موبایل روی اندروید و iOS با JSON. نمونههای عملی برای نشان دادن چگونگی بهکارگیری JSON در حوزههای گوناگون برنامهنویسی.
با جزئیات بیشتر
JSON (نشانهگذاری شیء جاوااسکریپت) یک قالب سبک تبادل داده مبتنی بر متن است که برای ساخت اشیاء و انتقال داده از طریق اینترنت به کار میرود. امروزه در برنامههای رایج وب و همچنین برنامههای موبایل بسیار استفاده میشود.
این کتاب روشهای روشنی برای تبادل اشیاء با JSON به شما میدهد؛ چه در حال ساخت یک برنامه وب باشید و چه یک برنامه سنتی مبتنی بر شبکه. کار را با یک مرور کوتاه بر نحو JSON و جاوااسکریپت و خواندن و نوشتن در کلاینت و سرور شروع میکنید. سپس یاد میگیرید چطور از JSON در برنامههای ساده AJAX با AngularJS و jQuery استفاده کنید. بعد، تبادل اشیاء با پایگاههای داده با MongoDB و CouchDB را میآموزید. همچنین میبینید چطور از JSON بهصورت type-safe استفاده کنید و برنامههایی بنویسید که باگ کمتری دارند.
Over 80 recipes to make the most of JSON in your desktop, server, web, and mobile applicationsAbout This Book Create fast and dynamic JavaScript applications that implement JSON Practical examples to show you how to leverage JSON from a variety of application domains Become the go-to person for building JSON-enabled web applications in your organization Who This Book Is For If you're writing applications that move structured data from one place to another, this book is for you. This is especially true if you've been using XML to do the job because it's entirely possible that you could do much of the same work with less code and less data overhead in JSON.While the book's chapters make some distinction between the client and server sides of an application, it doesn't matter if you're a frontend, backend, or full-stack developer. The principles behind using JSON apply to both the client and the server, and in fact, developers who understand both sides of the equation generally craft the best applications.What You Will Learn Learn to use JSON in a type-safe way to avoid common data typing errors Exchange data with NoSQL databases such as MongoDB and CouchDB with JSON Make the most of JSON in AJAX web applications, with or without a framework Exchange data between servers and mobile applications running on Android and iOS with JSON Practical examples to show you how to leverage JSON from a variety of application domains In Detail JSON (JavaScript Object Notation) is a lightweight text-based data interchange format used to create objects to transfer data over the Internet. It's widely used today by common web applications, as well as mobile applications.This book gives you clear ways that you can exchange objects using JSON, regardless of whether you're developing a web or traditional networked application. You'll start with a brief refresher on JSON and JavaScript syntax and read and write on the client and server. Then, you'll learn how to use JSON in simple AJAX applications using AngularJS and jQuery. Next, you will learn how to exchange objects with databases using MongoDB and CouchDB. You'll also explore how to use JSON in a type-safe manner, writing programs that have fewer bugs.