|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/svelte-and-firebase-the-full-course/
课程评论:没有评论
课程名称:Svelte与Firebase - 完整指南(2023) 课程概述: 本课程适合希望学习如何使用Svelte构建应用的学生。课程将带领学员从零开始创建两个应用,涵盖表单验证、分页、模态框、弹出消息等多项功能,主要通过实际项目进行学习,以提高学员的信心与技能。学员需要具备基础的JavaScript知识。 Svelte简介: Svelte是一种创新的用户界面构建方式,与传统框架如React和Vue不同,Svelte将大部分工作转移到构建时的编译步骤中,而不是在浏览器中处理。这意味着Svelte通过直接更新DOM,而非虚拟DOM的差异比较来提升性能。 课程内容: 1. 创建第一个应用——Trello克隆,展示Svelte的基本特性。 2. 创建第二个应用——类Twitter应用,HTML布局部分由课程提供,重点在于Svelte的编码部分,而非HTML内容的编写。 3. 布局准备:讲解如何为应用准备HTML,分离布局为Svelte组件。 4. 模板语法:在HTML中使用特殊语法。 5. 指令和事件:变量的值绑定。 6. Svelte Kit路由:创建多页面应用,学习不同路由策略及导航。 7. 反应性:创建和管理反应式数据。 8. 生命周期函数:使用onMount和onDestroy。 9. 存储:管理更复杂的反应式数据。 10. 过渡效果:使用Svelte创建动态效果。 11. 表单验证:创建可反应的表单并绑定数据。 12. 自定义表单验证:从零开始创建自定义输入/表单验证及错误处理。 13. Firebase/Firestore:初始化Firebase应用进行数据存储。 14. 身份验证:实现用户登录、注册和注销功能。 15. 提供者和上下文:创建提供者组件,支持数据的根级管理。 16. 弹出消息:创建全局功能的Snackbars。 17. Glide创建与展示:创建新的glide并在主页面显示。 18. 关注功能:允许用户订阅其他用户,展示他们发布的glides。 19. Glide分页:实现懒加载分页以优化数据加载效率。 20. 子glides创建:用户可以回应glides,形成对话。 21. 模态消息组件:从零开始创建模态组件。 22. 图片上传:部署到Firebase存储。 23. Vercel部署:将应用上线,供任何人访问。 通过学习上述内容,学员将深入理解Svelte的特性,掌握应用架构技能,并拥有独立使用Svelte创建应用的能力。
Is this course right for you?This course covers creating two applications with Svelte. Most of the features are made from scratch without any dependency package. This covers - Form Validation, Pagination, Modal, Popups, Snackbar and many others. You will learn how to create everything from the ground up.The course covers the explanation of Svelte by working on actual projects. This course will give you the confidence and skills required to start any project.Students should have basic javascript knowledge to start working on this course.What is Svelte?Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.What are you going to work on?The first application explains base Svelte features by working on the real project - Trello clone, a simple task management applicationIn the second application, students will build a Twitter-like app from scratch - the HTML layout part is not part of the course (This will be provided in the course materials to save time and focus purely on Svelte). The focus of this course is coding and not writing HTML content. The course starts with the preparation of the base layout of the application. All designs - images, and content are provided by the instructor.Content can be briefly summarized in these points:Layout preparation - A few lectures to prepare the HTML for your application. Separation of layout into the Svelte components. Template syntax - Use special syntax inside of HTMLDirectives & Events - Value binding of variables.Svelte Kit Routing - This part explains creating a "multi-page" application. Students will learn how to create a routing with different routing strategies and navigation to the routes. Reactivity - Explains how to create and manage reactive dataLifecycle function - How to use onMount and onDestroyStores - More complex reactive dataTransitions - Fancy effects with SvelteAuth Forms - Students will learn how to create a reactive form and bind the data to form inputs.Custom Form Validation - Covers creating a custom input/form validation and error handling from scratch.Firebase/Firestore - Initialization of Firebase application (data storage)Store Functions - Important part of the projects. Allows the feature-related code to be separated into its context. Authentication - This part covers creating a login, register, and logout functionality. Students will learn how to authenticate a user upon the application visit.Provider and Context - This creates a provider component, which can hold the data on the root level and provide them to underlying components. Snackbars - App-wise functionality created with Provider to display any message as a toast popup.Glide Creation - Covers how to create a new glide and display it on the main page. From this point on, students will often work with Firebase/Firestore.Follow Functionality - Follow functionality allows users to subscribe to other users. Display Glides from Following - Subscription (Following) to other users will allow seeing the Glides (messages) they post.Paginate Glides - It would be inefficient to fetch/display all of the glides on the initial load. Students will learn how to implement their lazy loaded pagination when data are loaded as the users browse the application.Create Sub-Glides - It's essential to have a way to respond to glides. This feature enables a user to create subglides, which is an answer to the glide.Modal Messenger - Students will learn how to create a modal component from scratch. This will be used to display a messenger component on any page.Image Upload - Deployment to Firebase StorageDeployment to Vercel - Finally, the application will be live hosted on Vercel. Anybody on the internet will be able to visit your application.While working on the features above, the students will learn and understand Svelte features. They will know how to architecture applications and will be able to create their applications with Svelte.