|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/building-youtube-clone-using-laravel-and-livewire/
课程评论:没有评论
Coursera 课程《使用 Laravel 和 Livewire 构建 YouTube 克隆应用》课程总结: 本课程将带你踏上使用 Laravel 和 Livewire 构建 YouTube 克隆应用的旅程。课程以一种“直播编码”的风格进行,让你亲眼看到开发过程中可能出现的错误以及如何纠正它们。 **核心技术点:** * **Laravel 项目设置与 Livewire 集成**:从零开始创建 Laravel 项目,并配置 Livewire,实现前后端数据绑定。 * **视频处理与 FFMPEG**:重点解决视频网站的核心难题:视频转码、缩略图生成以及跨浏览器视频播放,全部通过 FFMPEG 工具实现。 * **Alpine.js**:用于增强前端用户体验,实现动态交互。 * **Laravel 核心功能**: * **用户注册与频道创建**:允许用户在注册时创建自己的 YouTube 频道。 * **模型绑定和表单验证**:使用 Livewire 实现模型绑定和表单验证。 * **策略(Policies)**:实现频道信息更新的权限控制,确保只有频道所有者才能修改。 * **文件上传(Livewire)**:处理频道图片等文件上传。 * **Image Intervention**:上传后对图片进行处理,如控制尺寸。 * **视频上传表单与进度条**:学习创建视频上传表单,并集成上传进度条。 * **视频记录管理**:实现视频记录的编辑和删除。 * **安全删除**:使用 Laravel 策略保护视频删除操作。 * **后台任务(Jobs)**:利用 Laravel Jobs 异步处理视频转码和缩略图生成,提升应用性能。 * **实时更新**:在前端实时显示视频转码进度。 * **前端交互与用户体验**: * **Video.js 播放器**:集成 Video.js 播放器,并进行尺寸自定义。 * **视频事件处理**:学习处理视频播放、暂停、结束等事件,并根据观看时长更新观看次数。 * **投票系统(点赞/点踩)**:实现视频的点赞/点踩功能,并显示票数。 * **订阅系统**:允许用户订阅/取消订阅频道,并显示订阅者数量。 * **评论系统**:用户可以发表评论和回复,并使用 Livewire 控制评论的显示/隐藏。 * **首页构建**:展示用户订阅频道的视频,或未登录用户和所有用户观看通用视频。 * **搜索功能**:为首页添加搜索功能。 * **样式优化**:将频道首页样式调整得更接近 YouTube。 * **视频卡片显示时长**。 **先修知识要求:** * 基础 PHP 知识。 * 基础 Laravel 知识,能够搭建 Laravel 开发环境。 * 基础 Bootstrap CSS 框架知识。 * 扎实的 HTML、CSS 和 JavaScript 知识。 * 确保 PHP 版本至少为 7.4。 **课程亮点:** * **实践性强**:通过构建一个完整的 YouTube 克隆应用,深入学习各项技术。 * **错误排查学习**:学习在开发过程中如何发现和解决问题。 * **性能优化**:掌握使用后台任务提升应用性能的方法。 * **视频处理解决方案**:提供完整的视频处理流程。 * **现代 Web 开发技术栈**:集成了 Laravel、Livewire、Alpine.js、FFMPEG、Video.js 等流行技术。
Join me in Building YouTube Clone Using Livewire Application Journey. You will need basic Knowledge in Laravel. I will go through building it kind of live coding style in which you can see me making mistakes and learn how we can correct it. On Challenge in Website that contains videos is how to encode videos ? How I can generate thumbnail ? how to play videos in all browsers. All of these points will be address using FFMPEG. We are going to use Alpinejs as basic javascript library to help us to build some dynamic in front-end! Join me and have fun while coding:)Here is what is included in this course:Create new Laravel Project and do complete setup.Allow user to create youtube channel while he register in the application.Install and Configure Livewire and show basic model binding between class and view Edit Channel properties using Livewire Component Configure Validation for Forms Using LivewireCreate policies in Laravel to manage channel updates. Only Channel owner should be update his channel.Upload Files like channel image using Livewire file uploads methods.Modify Image after upload using image intervention package to control image size etc.File upload section which contains details about creating video upload form using LivewireAdding Progress Bar for Video UploadEdit Video RecordDelete Video RecordSecure video deletion using Laravel polices and integrate it inside livewire component.Video Encoding using FFMPEG. Demo video to explain FFMPEG and how to integrate with LaravelVideo Encoding demo using command in LaravelCreate Jobs to handle video encoding , creating thumbnail and learn how to run them in the background to improve application performanceAdding Thumbnail to VideoReal time update about video encoding progress in front end inside Livewire Component.Add video player using videojs and customize its height and widthLearn about video events like pause ,play, ended etc and update views column after user view video for 3 secondsComplete Section about Voting System (Like/Dislike)User can like or dislike videos,Show number of likes/dislikes for each videoSubscription Section: allow users to subscribe/unsubscribe to channel Show channel information with subscription counts Comment System: Users will be able to add comments and replies for each video.Using Livewire with comment system to show/hide replies or show add new comment formBuild Homepage in which user will he videos from subscribed channels or general videos if not logged in Add Search Functionality to HomePageStyle Channel HomePage similar to youtubeAdd Video Duration to Video Cardand more...Course Prerequisites:Basic PHP KnowledgeBasic Laravel Knowledge and able to setup Laravel Environment Basic Knowledge Bootstrap CSS FrameworkGood Knowledge of HTML, CSS and JavascriptMake sure you have at least PHP 7.4