应该从哪里学php怎么着手
喜欢wordpress,随着深入的学习发现不会php很难学好wp,请高手回答我应该怎么办?
回复内容:
喜欢wordpress,随着深入的学习发现不会php很难学好wp,请高手回答我应该怎么办?
WordPress是一个重基础架构,重“掌控一切”的生态环境(这个类似苹果了),而轻上级定制的系统。
WordPress涉及的面向对象功能不强,主要还是依赖对大量面向过程的WordPress API。可以发现WP的插件大多是比较轻量的,很难改动WP的基础架构,就是这个道理。
所以对php只需要语言基础过关,基本的面向对象用法了解即可。也不需要学习composer。
不要对函数库深究。php等现代富功能语言,涉及到具体问题的时候都是现用现查的。上网“基本功”过关,可以顺利的查询并访问英文资料原文,不问“XX手册怎么上不去呀”就可以。
从自己写一个留言板学起。先学些基本的PHP语法和mysql的增删改查开始吧。
推荐你看一下传智播客中韩顺平老师的PHP从入门到精通视频,认真看完,跟着写,跟着做,基本就把PHP基础搞定了...
免费下载http://php.itcast.cn/news/caa9b58b/37b1/47f6/98e3/bd3600c98cfc.shtml

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

In this chapter, we will understand the Environment Variables, General Configuration, Database Configuration and Email Configuration in CakePHP.

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

To work on file upload we are going to use the form helper. Here, is an example for file upload.

In this chapter, we are going to learn the following topics related to routing ?

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

Validator can be created by adding the following two lines in the controller.

Working with database in CakePHP is very easy. We will understand the CRUD (Create, Read, Update, Delete) operations in this chapter.
