PHP From Scratch Beginner To Advanced

所在平台: Udemy

课程主页: https://www.udemy.com/course/php-from-scratch-course/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:从零基础到高级的PHP编程 课程概述:本课程分为两个部分。首先,我们将通过七个学习模块掌握PHP编程的基本概念,包括:数据类型与变量、数组与迭代、控制结构与条件语句、函数与作用域、面向对象编程、超级全局变量(如$_GET, $_POST, $_SESSION, $_COOKIES等)以及数据库集成与PDO。在掌握基础知识后,我们将进行实践,构建一个招聘信息网站。这个项目将从零开始,不使用任何框架或库,这将教会你如何构建一个简单的PHP项目,为学习Laravel或其他框架打下良好的基础。 在项目视频中,我们将进行以下步骤: 1. 创建一个自定义的类似Laravel的路由器,并多次重构以添加接受HTTP方法、参数和中间件等功能。 2. 将项目结构分为两个主要文件夹:Framework和App。Framework将包含核心类,如路由器、数据库、验证和会话,而App将包含我们的控制器和视图。 3. 为招聘信息创建CRUD操作。 4. 实现认证和授权系统,并使用自定义中间件保护路由。 5. 添加搜索功能,通过关键词和/或地点搜索/过滤列表。 6. 学习验证和清理数据,并使用PDO的预处理语句防止SQL注入攻击。 如果你是初学者,建议从头开始学习所有模块。如果你有一定经验并熟悉基础知识,可以直接跳入项目部分。

课程评论(0条)

课程详情

This course is broken up into two parts. First, we have seven learning modules to learn the fundamentals of PHP programming, including:Data Types & VariablesArrays & IterationControl Structures & ConditionalsFunctions & ScopeObject Oriented ProgrammingSuperglobals ($_GET, $_POST, $_SESSION, $_COOKIES, etc)Database Integration & PDOAfter that, we go for a hands-on approach and build a job listing website. We build this from the ground up without any framework or libraries. These sections will teach you how to structure a vanilla PHP project and is a great precursor to learning Laravel or another framework.Here is what we will do in the project videos:We will create a custom Laravel-like router. We will refactor this a bunch of times to keep adding features like accepting HTTP methods, params and middleware.We will structure our project into two main folders, which will be called Framework and App. Framework will be the core that includes classes like Router, Database, Validation, and Session. App will include our controllers and views.We will create CRUD operations for job listings.We will implement an authentication and authorization system as well as protect routes using custom middleware.We will add a search feature to search/filter listings by keywords and/or locationWe will learn to validate and sanitize data as well as use prepared statements with PDO to protect against SQL injection attacks.If you are a beginner, I suggest taking the course from the beginning and go through all of the learning modules. If you are more experienced and know the fundamentals, you can jump right into the project.

课程标签

0人关注该课程

主题相关的课程