|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/restful-api-with-laravel-php-homestead-passport-hateoas/
课程评论:没有评论
课程名称:RESTful API与Laravel:构建真实的API 课程概述:如果你需要为项目构建一个RESTful API,却不知道从哪里开始,不用担心,我将指导你完成使用Laravel构建一个真实RESTful API的整个过程。目前已有超过5000名学生参与此课程,使用Laravel构建他们的RESTful API并享受每一节课!建议使用最新版本的Laravel学习本课程,课程还包含升级项目到不同版本Laravel的重要部分,以防你决定使用旧版本。 通过构建一个完整的市场系统案例,你将学习如何使用Laravel构建RESTful API。项目将包括用户、卖家、买家、交易、产品和分类,并探索Eloquent ORM的各种关系,包括一对多、多对多等。 你将掌握使用Laravel开发真实RESTful API的完整结构,并了解Laravel的最新特性。本课程涵盖的内容包括: - 使用Laravel Artisan生成代码和组件 - Laravel中中间件的使用和创建 - 适合RESTful API的资源路由和控制器 - 完全支持JSON格式响应 - 直接从Laravel控制器验证请求 - 处理所有类型的异常和错误 - 复杂操作涉及多个资源/模型 - Laravel依赖注入和模型绑定 - 使用迁移生成数据库结构 - 自动插入假数据到数据库 - RESTful API的会话和访问令牌认证 - 使用Laravel Passport实现OAuth2保护 - 结果的分页与排序 - 使用URL参数执行操作 - 缓存响应使用Laravel Cache系统 - 实现HATEOAS - 使用CORS支持JavaScript客户端 - 处理用户授权层的策略和权限 你将逐步从零开始创建一个完整的RESTful API,学习Laravel的最佳特性并有效实施项目。课程使用的工具包括Sublime Text 3、Git、PowerShell等,支持跨平台操作。你将获得终身访问课程内容,并定期添加新课程。 别再等待了,加入课程,开始你的Laravel RESTful API开发之旅!
So you need to build a RESTful API for a project, but you do not know even where to start? Do not worry I will guide you through the whole process to build a genuine RESTful API using Laravel.Join the more than 5.000 students already taking this course, building their RESTful APIs using Laravel, and enjoying every single class!Note: You can take, and in fact it is recommended, to follow the course using the most recent version of Laravel. Additionally, the course includes extensive sections about how to upgrade your project to different versions of Laravel, in case you decide to use any previous version.Build your RESTful API with Laravel, using a complete marketplace as the case of use. With Laravel, creating every component will be a breeze. You will have a project with users, sellers, buyers, transactions, products, and categories. Explore all types of relationships, one to many, many to many and much much more using Eloquent the Laravel ORM.The full guide for creating a real RESTful API with Laravel. You can follow the course using the latest Laravel version (it is recommended).You will not find a Laravel course like this. This course explains everything you need to develop a RESTful API using the Laravel framework.At the end of the course, you will have a RESTful API with Laravel, for a market system, where users can purchase and sell different products with different categories and transactions. Inclusive, the same user can be both a seller and a buyer (you will take advantage of inheritance for this).¡Do Not wait anymore! Become a master in the development of genuinely RESTful APIs with Laravel. Join the course now and see you in classRemember: The course has been constantly updated to use the latest versions of Laravel. So feel free to use the version you like (especially the latest version of Laravel).In this course, you learn how to develop a realistic, fully implemented, and professional RESTful API with Laravel.Laravel is the most popular PHP framework, with more than 20 million downloads along with lots of enterprise and personal projects worldwide. Additionally, it includes fantastic features to implement a RESTful API easily. Laravel is RESTful friendly.What is a RESTful API?A Web API is like a web service that works entirely with HTTP. A RESTful API must follow the REST (REpresentational State Transfer) practices, allowing to orientate the design to the resources, provide standard responses based on the different HTTP status codes, and the corresponding according to Hypermedia Links in responses (HATEOAS).Why Laravel?Because Laravel is a framework made by programmers for programmers, expressive, simple, intuitive, and powerful. Laravel provides useful features for web projects including RESTful APIs.Each new Laravel version includes many changes that make this framework even better, simple, programmer-friendly, and at the same time much more powerful. In fact, the latest versions of Laravel included a lot of new features to help to develop RESTful APIs in the right way.During this course, you will master the complete structure of Laravel, along with the new features included in the latest version of Laravel to develop an actual RESTful API.You will learn this about the development of a RESTful API with Laravel:Using the Laravel PHP artisan for code and components generationUsage and creation of middleware on LaravelThe Laravel Resource routes and controllers (ideal for RESTful APIs)Fully supported JSON format responses for a JSON RESTful APIValidation of requests directly from the Laravel ControllersHandling all types of exceptions and errors from Laravel handlerComplex operations involving up to three resources/models for a specific operationUsage of Laravel dependency injection and model bindingGeneration of the database structure using Laravel migrationsAutomatic insertion of fake data into the database through "faker," using Laravel factories, and seedersLaravel Sessions and access_token authentication for the RESTful API. Yes, Both!Using Laravel Passport to protect the RESTful API with OAuth2Pagination of results using Laravel collectionsUsing URL parameters to execute actions (the RESTful approach)Sorting results based on URL parameters with a RESTful approachFiltering results using URL parametersCaching responses using Laravel Cache SystemLimitation of requests using the Laravel middlewareImplementing HATEOAS on Laravel (a pure RESTful API must use HATEOAS)Using PHP Fractal for transforming responsesUsage of CORS on the API responses to allow JavaScript-based clients and web browsers.Use the Laravel Policies and Gates to handle the user's authorization layer.Much more!!You can take a look at the full list of contents below. You will finish with a complete RESTful API and understanding a lot of Laravel skills.You will create an actual RESTful API from scratch and step by step using Laravel. Follow the REST architecture and build appropriate URLs to identify actions and resources using the Laravel best features and learn Laravel in the way.Take full advantage of tools like Sublime Text 3, Git, power shell, Laravel, Composer, PHP artisan, and be more productive for agile development.Note: In few classes of the course I use Windows (only for the first classes), but I included specific directions in the case you use Linux or Mac and all the tools used are cross-platform, so you will no have any problem.You will have lifetime access to the current classes and the classes that I will regularly add (take a look at the last section to see what is coming).At the end of this course, you will be able to develop your pure RESTful API with Laravel in an efficient way with the best practices, taking advantage of the facilities provided by Laravel for the proper implementation of your projects and your RESTfulAPI.Do not wait any longer. Join the course and see you in classes.