|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/building-a-php-framework/
课程评论:没有评论
**课程名称:** 从零开始构建 PHP 框架 **课程概述:** 本课程将带领您从零开始构建一个 PHP 框架,借鉴了 Symfony 和 Java Spring 框架的设计理念。本课程适合具备 PHP 基础到专家级知识,并希望深入了解常用框架底层机制的开发者。如果您一直梦想着创建自己的框架,那么本课程将是您的不二之选。 **学习要点:** * **依赖注入 (Dependency Injection):** 学习并实践如何在框架中实现依赖注入。 * **路由 (Routing):** 理解基于属性的路由设计及其生成方式。 * **组件化设计:** 学习创建独立的组件,并将其组合成一个功能完善的框架。 * **集成 Doctrine:** 掌握如何将 Doctrine ORM 集成到框架中。 * **集成 Twig:** 学习如何集成 Twig 模板引擎。 * **事件系统:** 构建贯穿整个框架的事件处理系统。 * **安全性:** 轻松实现框架的安全机制。 * **拦截器 (Interceptors):** 创建用于请求处理前后执行的拦截器。 * **缓存策略:** 学习使用缓存策略提升框架性能。 * **实用工具开发:** 在独立组件中开发可供所有模块使用的工具。 * **组件化架构与起步器:** 理解用于开发可定制框架的组件架构和起步器模式。 * **Composer Mono-repo 使用:** 学习在本地 Mono-repo 环境下使用 Composer。 **问答支持:** 课程期间如有任何疑问,请随时在“问答”板块提出,我们会尽快为您解答。
In this course, I will take you on a journey to create a PHP framework from scratch. We will draw inspiration from Symfony and the Spring framework (Java).This course is designed for developers who have basic to expert knowledge in PHP and want to understand how their favorite frameworks work under the hood. If you have always wanted to create your own framework, this course is for you.What will you learn?Dependency injection and how to implement itRouting and generating route information based on attributesHow to create standalone components and make them work together as a frameworkHow to integrate DoctrineHow to integrate TwigHow to create an event system across the frameworkHow to set up security in an easy wayHow to create interceptors for pre and post request handlingHow to speed up the framework by using caching strategiesHow to develop utilities in a separate component to use in all our modulesThe architecture of components and starters to develop a customizable frameworkHow to use Composer locally in a mono-repoIf you have any questions during the course, be sure to ask them in the Questions and Answers section. We will try to answer them as quickly as possible.