|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/learn-laravel-by-building-a-crud-project/
课程评论:没有评论
课程名称:学习Laravel 7及REST API与Livewire 课程概述:本课程已更新至最新版本Laravel 8(于2020年9月8日发布),并包括如何从Laravel 7升级到Laravel 8的章节,包括使用模型目录和模型工厂。这是一门全面的课程,使用最新的Laravel版本,并与当前文档保持一致,确保您不会在自行查找文档时感到困惑。您将不仅学习Laravel,还将掌握如何使用Laravel创建REST API,并使用Vue和Tailwind CSS开发单页应用程序(SPA)。课程还将介绍Livewire。课程分为10个部分。在第一部分,我们将构建一个CRUD应用程序,帮助您理解Laravel的基础知识。对于Laravel新手来说,这一部分非常适合。初始部分涵盖的主题包括:安装、路由、视图、Blade模板、布局、控制器、数据库、Eloquent模型、迁移、中间件、验证、表单请求、身份验证、网关与策略、Tinker、Artisan命令行工具。 在第二部分,我们将增强我们的CRUD应用程序,涉及的主题更为高级,但对任何Web应用程序都非常有用,例如发送电子邮件和文件上传。我们将涵盖的主题包括:工厂、播种器、自定义路由模型绑定、变换器与访问器、电子邮件、文件上传、事件与监听器、软删除、管理员命名空间与路由、自定义中间件、Eloquent关系。 第三部分中,我们将学习如何通过composer.json将我们的Laravel项目更新至最新版本,涵盖新特性,如模型工厂、模型目录等变化。 第四部分,我们将探讨一些可以视为高级的功能,掌握这些知识将提升您的技能,特别是对于企业级项目。包括Telescope、Carbon包、模型事件、控制台命令、本地作用域、服务容器、Facade等。 在第五、六、七部分,我们将实现REST API,Laravel作为后端来创建REST API。将从零开始涵盖实现REST API所需的所有内容,包括:使用Sanctum API进行身份验证、涵盖所有类型的HTTP端点、资源与资源集合、使用Postman测试端点、高级资源选项、通过API进行文件上传、速率限制等。 第八部分,我们将学习如何使用Vue 3和Tailwind CSS设置单页应用程序(SPA),将使用前一部分创建的REST API,仅涵盖使用Sanctum进行身份验证。 在第九部分,我们将学习Livewire。Livewire最近非常受欢迎,它允许前后端之间的交互而无需使用任何JS代码。本部分将涵盖Livewire的基础知识,包括安装与设置、Livewire组件、属性、计算属性、全页组件、事件、重定向与闪存消息等。 第十部分中,我们将使用TALL堆栈(Tailwind CSS,Alpine JS,Livewire和Laravel)以及Jetstream构建项目,实施以下功能:AJAX分页、AJAX过滤、AJAX搜索、AJAX排序、使用模态框的AJAX添加、AJAX编辑、使用确认模态的AJAX删除、AJAX验证。课程中将通过真实案例来讲解这些概念,以便您轻松理解。整个过程中将构建一个实际项目,帮助您跟随思路并学习最佳实践。
Update: As Laravel 8 was release on Sep 8th 2020, the Course has been updated accordingly to use the Latest Version. The Course also includes the Section as to how to Update from Laravel 7 to Laravel 8 including using Models Directory & Model Factories. This is a comprehensive Course which uses the Latest Version of Laravel and is up to date with the current documentation, so that you are not left behind figuring the correct documentation yourself.You will not only be able to Learn Laravel but the course will also cover how to create REST API using Laravel along with creating a SPA using Vue and Tailwind CSS. We will also learn about Livewire.The Course is currently divided into 10 Sections. In the first section, we will build a CRUD Application which will help you understand the basics of Laravel. If you are new to Laravel and looking to get started on it, then this Section is for you. Some of the topics that we will cover in the initial section include:InstallationRoutingViewsBlade TemplatesLayoutsControllersDatabaseEloquent ModelsMigrationMiddlewareValidationForm RequestsAuthenticationGates & PoliciesTinkerArtisan CLIIn the 2nd section, we will enhance our CRUD Application. This Section covers topics which involves topics which are just a bit more advanced than basics, but are useful in any Web Application like Sending Email, Uploading File etc. In doing so we will cover following topics:FactoriesSeedersCustomizing Route Model BindingMutators & AccessorsEmailFile UploadEvents & ListenersSoft DeletesAdmin Namespacing and RoutingCreating our own MiddlewareEloquent RelationshipsIn Section 3, we see how we can update our Laravel Project to the latest version using composer.json. We update our Project from Version 7 to Version 8 as well as update all the dependencies. We also cover new Features like Model Factories, Model Directories and other changes that we need to be aware of.In Section 4, we look at some of the Features which can be considered advanced and learning them would take your knowledge to the next level. If you are working on an enterprise level Project, you are likely to use these features.TelescopeCarbon PackageModel EventsConsole CommandLocal ScopeService ContainerFacadesIn Section 5, 6 & 7 we see how we can implement REST API. Laravel is used exclusively as backend to create REST API. In this Section, we will cover from scratch all the things that you need to implement REST API. Some of the Topics that we will cover are:Authentication using Sanctum APICover all Types of HTTP EndpointsResource & Resource CollectionTest Endpoints using PostmanAdvance Resource OptionsFile Upload using APIRate LimitIn the Section 8, we will see how to setup a Single Page Application (SPA) using Vue 3 and Tailwind CSS. We will be using the same REST API that we created in our previous section. The Section will only cover Authentication using Sanctum.In the Section 9, we will learn about Livewire. Livewire has gained extremely popular recently and it allows you to interaction between the Frontend and Backend without using any JS Code. So in this Section we look at the basics of Livewire. Some of the topics that we will cover are:Installing & Setting Up of LivewireLivewire ComponentsLivewire PropertiesComputed PropertiesFull Page ComponentEventsRedirection & Flash MessagesIn Section 10, we will build a Project using TALL Stack (Tailwind CSS, Alpine JS, Livewire and Laravel) using Jetstream. We will implement following functionalities:AJAX PaginationAJAX FilteringAJAX SearchAJAX SortingAJAX Add using ModalAJAX Edit using ModalAJAX Delete using Confirmation ModalAJAX ValidationReal World Examples are followed while explaining these concepts so that you can easily related to them. LIVE Project is being built so that you can follow the thought process and learn the best practices.