|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/workshop-recording-introduction-to-vapor-in-swift/
课程评论:没有评论
**课程名称:** Workshop Recording - Introduction to Vapor in Swift **课程概述:** 本工作坊旨在介绍使用 Vapor 框架进行后端开发的基础知识。课程将涵盖从在本地机器上设置 Vapor,到将其与数据库集成的所有内容,并通过实际动手项目引导您完成每一步。 **课程内容:** * **路由:** 探索路由和端点组织的基础概念,包括如何从 URL 和查询字符串中提取参数,以及对路由进行分组以提高管理和清晰度。 * **MVC 模式:** 学习 MVC(模型-视图-控制器)设计模式,以提升 Vapor 后端代码的质量。了解如何系统地分离数据逻辑(模型)、表示层(视图)和应用程序逻辑(控制器),以提高代码的可维护性和可扩展性。拥抱 MVC 原则,以简化代码库并促进更清晰、更高效的开发实践。 * **数据库集成:** 深入了解将服务器与数据库集成的细节,从而实现高效的数据管理和检索。您将学习如何连接服务器到各种数据库系统,并实现 CRUD(创建、读取、更新、删除)操作以有效地与数据进行交互。 * **API 消费:** 学习如何将您的 SwiftUI 应用程序与自定义 Vapor 服务器无缝集成。探索使用通用的 HTTP 客户端层实现 CRUD(创建、读取、更新、删除)操作。通过这个过程,您将获得建立前端 SwiftUI 应用和后端服务器之间通信的实践经验,从而实现高效的数据操作和管理。 **学习目标:** 完成本工作坊后,您将掌握设置自己的服务器并将其无缝集成到 iOS 应用程序中的必备技能。
Welcome to the Introduction to Server Side Swift Workshop!This workshop is designed to introduce you to the fundamentals of backend development using the Vapor framework. From setting up Vapor on your machine to integrating it with databases, we'll guide you through each step with practical, hands-on projects.Check out all the topics covered in this workshop: RoutingExplore the foundational concepts of routing and endpoint organization. This includes understanding how to extract parameters from URLs and query strings, as well as grouping routes for improved management and clarity.MVC PatternExplore the MVC (Model-View-Controller) design pattern to elevate the quality of your backend Vapor code. Discover how to systematically segregate your data logic (Model), presentation layer (View), and application logic (Controller) to enhance maintainability and scalability. Embrace MVC principles to streamline your codebase and foster cleaner, more efficient development practices.Database IntegrationDiscover the intricacies of integrating your server with a database, enabling efficient data management and retrieval for your applications. Gain proficiency in connecting your server to various database systems and implementing CRUD (Create, Read, Update, Delete) operations to effectively interact with your data.Consuming APILearn how to seamlessly integrate your SwiftUI application with your custom Vapor server. Explore the implementation of CRUD (Create, Read, Update, Delete) operations utilizing a generic HTTP client layer. Through this process, you'll gain practical experience in establishing communication between your front-end SwiftUI app and the back-end server, enabling efficient data manipulation and management.By the end of this workshop, you'll have gained the essential skills to set up your own server and seamlessly integrate it into your iOS applications.