|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/building-modern-coldfusion-apps-with-coldbox-cfml-framework/
课程评论:没有评论
**课程名称:** 构建用户登录与注册基础 (Tamarind) **课程概述:** 本基础课程将教您如何使用开源的 ColdBox MVC 框架,结合高性能的 ORM 模块 Quick 及其关联的查询构建器 (QB),并以 MySQL 数据库作为后端。所有必需的模块将通过 CommandBox 安装,服务器将由开源的 Lucee CFML 引擎驱动。 课程将演示如何安装一个已实现用户注册、用户认证和密码加密的框架模板。您将学习使用框架的 cfmigrations 模块编写 schema 迁移组件来创建简单的用户表。之后,我们将回顾支持用户注册、登录和登出流程的 Registrations 和 Sessions handlers,确保用户密码以加密形式存储在用户表中。 此外,您将了解 event handlers (即 controllers) 如何与路由器的配置文件连接,以及如何通过名为 cbguard 的安全模块保护 handlers 的 action 访问,使其免受未登录或未经授权用户的访问。 课程还将介绍如何使用 TestBox(ColdBox 自带的行为驱动开发 BDD CFML 测试框架)来测试组件。您将看到如何创建针对小型 CFML 组件的单元测试,以及如何构建集成测试,并以 Registrations 和 Sessions 的测试规范为例进行演示。 **最终目标:** 通过这门约两小时的入门教程,您将能体验 ColdBox 和 CFML 在构建此类功能方面的优势,并为我们提供反馈,以便我们进一步完善和交付完整的课程。
In this foundational course, I'll show you how to use the open source Coldbox MVC framework in conjunction with Quick, a high-performance Object Relational Mapper (ORM) module and its associated Query Builder (QB) against a MySQL database. All the necessary modules are going to be installed with Commandbox, and we are going to power our server with the open source Lucee CFML engine.In this course, we will install a framework's template that implements user registration, user authentication and password encryption, out of the box. We are first going to learn how to write schema migration components, using the framework's cfmigrations module to create a simple User table.Next, we shall review the Registrations and the Sessions handlers that underpin our user registration, user login and user logout processes, making sure that the users' passwords are saved encrypted within the User table. We are also going to see how our event handlers (a.k.a controllers) are connected to the router's configuration file and how URL access to the handlers' actions are protected from un-logged or unauthorised users by a security module called cbguard. I shall also show you how to test your components with TestBox, a behavior-driven development(BDD) CFML testing framework that comes bundled with Coldbox and that you'll find invaluable in your development cycle. We are going to explore a unit test on a small CFML component, and then, see how integration tests are built, taking the Registrations and Sessions test specifications as examples. Finally, at the end of this short two hours foundation tutorial, you would certainly have an appreciation of the benefits of Coldbox and CFML to provide us with your feedback. Based on this feedback, we'll be happy to finalise and deliver the full course, which extends on this foundation.