Object Oriented PHP & MVC

所在平台: Udemy

课程主页: https://www.udemy.com/course/object-oriented-php-mvc/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:面向对象的 PHP 与 MVC 课程概述:本课程将逐步指导学员使用面向对象的 PHP 构建一个完整的自定义 MVC(模型-视图-控制器)框架,名为 TraversyMVC。该框架类似于 Codeigniter,但更加轻量。它是完全开源的,学员可以自由修改名称、添加功能等,作为自己的项目使用。 在课程中,框架将包括以下内容: - 一个核心库类,用于从 URL 加载控制器和方法(同时使用 .htaccess) - 一个基本控制器类,用于加载模型和视图 - 一个自定义的数据库库,使用 PDO 让所有模型通过预处理语句与数据库进行交互 不仅仅是创建框架,我们还将基于该框架构建一个名为 SharePosts 的应用程序,类似于社交网络,用于分享帖子。这个应用程序将包括: - 完整的用户认证 - 帖子访问控制 - 服务器端表单验证 - Bootstrap 4 UI - 帖子 CRUD(创建、读取、更新、删除) - 辅助功能(闪存消息与重定向) 我们还会将该应用程序部署到互联网。本课程并不是初学者的 PHP 课程,学员应该已经理解变量、数组、循环、函数等基本 PHP 知识。如果对面向对象编程(OOP)的理解尚不完全亦可。课程开始前,我们将进行一个关于 PHP 面向对象编程的快速入门,内容包括类、方法、属性等基础知识。要学习基础知识,请查看 Traversy Media 在 YouTube 上的 PHP Front To Back 系列视频。

课程评论(0条)

课程详情

In this course we will go step by step to build a complete custom MVC (Model View Controller) framework Called TraversyMVC using object oriented PHP. We will build something similar to Codeigniter but much much lighter. This framework is completely open source and you are free to change the name, add stuff, etc and use it as your own. This framework will include...A core library class to load controllers & methods from the URL (Also using.htaccess)A base controller class to load models and viewsA custom database library using PDO for all models to interact with the database using prepared statementsNot only will we create the framework but we will build an application on top of it called SharePosts which will be somewhat of a social network to share posts. This application will include..Full user authenticationAccess control for postsServer side form validationBootstrap 4 UIPosts CRUDHelper functions (flash messaging & redirects)We will also be deploying the application to the InternetThis is not a beginner PHP course. You should already understand things like variables, arrays, loops, functions and all of the basics of the PHP language. It is ok if you do not understand OOP fully. Before we start the framework project, we will have a crash course on object-oriented programming with PHP, where you will learn about classes, methods, properties and more.To learn the basics, please check out the PHP Front To Back series on YouTube by Traversy Media

课程标签

0人关注该课程

主题相关的课程