|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/json-in-action/
课程评论:没有评论
课程名称:JSON实践:构建基于JSON的应用程序 概述: 本课程涵盖了***测验、实践练习和独特项目***。JSON(JavaScript对象表示法)是一种流行的语言独立数据交换格式,极大改善了服务器与浏览器之间的通信,尤其在AJAX方面。当前大多数API以JSON格式返回响应,因为与XML相比,JSON更易于加载、阅读和处理。JSON是一种文本格式,易于人类阅读,且其语法是JavaScript的一个子集,因此与JavaScript的结合十分简便。尽管JSON是JavaScript的子集,但它也是语言独立的,包括PHP、Ruby、C#、Python在内的大多数流行编程语言都支持JSON,使其成为广泛使用的数据交换格式。 课程反馈: - 学员Oliver表示:“优秀的课程,我轻松学习所有概念。讲师用真实示例进行解释,让我有线上和讲师一起工作的感觉,非常清晰。” - 学员Rayvn Manuel提到:“反复的解释真的帮助记忆和回忆信息,内容逐步深入,从基础开始逐渐引入更多知识,比较技术的方式也很有助于理解为何使用一种技术而非另一种。” - 学员Ido Yogev称:“非常好的课程,直截了当,主题用简单专业的形式展示,热烈推荐!” 课程内容: “JSON实践:构建基于JSON的应用程序”是一门100%实践的JSON课程。完成后,您不仅会理解JSON是什么,还将学习如何开发利用真实API返回JSON数据的应用程序。仅仅学习JSON语法是不够的,您需要在开发过程中应用JSON。虽然AJAX和API不在本课程范围内,但我们将讨论如何使用AJAX访问API并收集API返回的JSON结果。 课程的结构如下: - 第一部分介绍JSON的定义,比较JSON和XML,解析JSON与JavaScript对象的区别。 - 第二部分深入了解JSON的语法规则和不同数据类型(数字、字符串、布尔值、空值、数组和对象),并练习识别实际JSON数据中的不同数据类型以及如何自己编写JSON数据。 - 第三部分学习如何轻松地将JSON与JavaScript结合使用,掌握JSON.parse和JSON.stringify方法,将JSON数据与JavaScript对象相互转换,获取JSON数据中的所需信息,并理解点表示法与括号表示法的区别,以及如何使用XMLHttpRequest对象从服务器获取.json文件。 - 第四部分介绍如何使用AJAX技术联系API,并收集API返回的JSON输出,学习如何以GET或POST方法联系API,进行同步或异步请求,并了解如何将JSON作为API的输入。 - 第五部分讨论如何在PHP中使用JSON,讲解json_encode和json_decode方法,并计划更新内容以教授如何与其他编程语言结合使用JSON。 - 最后一部分是“让我们开发”环节,您将应用所学的JSON知识独立开发应用程序,包括两个项目:货币转换器和BMI计算器。第一个“货币转换器”应用程序将联系实际API,收集JSON数据并进行货币转换;第二个“BMI计算器”应用程序将更为详细,您将设计一个简单的API,联系自己设计的API,收集JSON响应并处理以得到所需结果。 不要犹豫,加入这门100%实践的JSON课程,开始独立开发基于API的应用程序,应用您所学的JSON知识吧!
***Quizzes, Hands-On Practices and Unique Projects are Included*** ------------------------------------------------------------ JSON (JavaScript Object Notation) is a popular language independent, data interchange format. JSON has significantly improved server-to-browser communications, especially when it comes to AJAX. Most of today's APIs return the response in JSON format as it is much easier to load, read and process JSON compared to XML, making it very popular. JavaScript Object Notation is text-based and human-readable. JSON is very easy to use with JavaScript as the syntax of JSON is a subset of JavaScript. Though it is a subset of JavaScript, JSON is language-independent. Most of the popular programming languages including PHP, Ruby, C#, Python etc. support JSON making it the widely used data interchange format. ------------------------------------------------------------- Oliver says "Excellent Course. I am learning easily all the concepts. Instructor explain with real examples. I have the feeling to be working online with the instructor. Very well explained." Rayvn Manuel says "The repetition in the explanation really helps to remember and recall the information. The approach to the topics is gradual; meaning, starting from the basics and slowly introducing more. And I appreciate the comparison of technologies since its really helpful to understand why use one technology over another." Ido Yogev says "Very nice course, straight to the point. Topics are illustrated simple and professional form. Warmly recommended!!!" -------------------------------------------------------------- "JSON in Action: Build JSON-Based Applications" is a 100% hands-on JSON (JavaScript Object Notation) course. By the end of this course, you will not only understand what JSON is, but also learn how to develop applications making use of real-world APIs that return JSON data. Just learning JSON syntax is not going to help you in anyways. You should be able to use JSON in the development process. Though AJAX and APIs do not come under the scope of this course, here we discuss how to use AJAX to contact APIs and then to collect the JSON result returned by APIs. This course is structured as follows: In the first section, you will understand what JSON is, compare JSON and XML and also learn why JSON is not JavaScript Object. In the second section, you will understand JSON in more detail. You will learn JSON syntax rules and different data types (number, string, boolean, null, array and object) you can use in JSON data. You will also practise to identify different data types in real world JSON data and also to write JSON data on your own. In the next section, you will understand how easy it is to use JSON with JavaScript. You will learn how to use JSON.parse and JSON.stringify methods to convert JSON data to JavaScript objects and JavaScript objects to JSON strings respectively. You will also learn how to get the required information from the available JSON data. You will understand the difference between dot notation and bracket notation. You will also learn how to use XMLHttpRequest object to fetch the.json file from a server. The fourth section explains how to use AJAX techniques to contact an API and to collect the JSON output returned by the API. You will learn how to contact the API using GET or POST methods and also making a synchronous or asynchronous requests. You will also see how you can pass JSON as the input to an API. In the next section, we discuss how to use JSON with PHP. This lecture explains json_encode and json_decode methods. This section will be updated to teach you how to use JSON with other programming languages as well. The last section is the Let's Develop section where you are going to apply your JSON knowledge to develop some applications on your own. Now there are two applications in this section. Currency ConverterBMI Calculator The first application "Currency Converter" application contacts a real-world API, collects the JSON data, and performs currency conversion. The second application "BMI Calculator" is a more detailed one. As part of this application, you will be developing a simple API using PHP. You will contact that API (which you designed on your own), collect the JSON response and then process it to get the result you want. So, what are you waiting for? Join this 100% practical JSON course and start developing API-based applications on your own applying JSON knowledge.