走出迷茫,发挥联想――让小弟我们来玩PHP吧
走出迷茫,发挥联想――让我们来玩PHP吧!
对于学习PHP,本人有个一较为浅显的认知,希望能够帮助一些现阶段处于迷茫期的同学。
对于php的学习,就本人的理解来说,我拿它当游戏来做比较,声明一下,不是用编程做游戏,而是拿PHP当作游戏来玩。
小时候,我比较喜欢一些拼装的玩具,和拼图的游戏,到现在我也还是比较喜欢的,算是本人的一个爱好吧,说道这里,很多人可能不理解这和学习PHP有什么关系,不要急下面就是我要说的重点。
当我学习PHP的时候,如果我把每个阶段的学来的知识当作模版和零件,把老师的讲解作为说明书,这样一来你就会明白我的学习方法了。
打个比方,当我们初期学习HTML和DIV+CSS的时候,它的作用是在我们后期制作网站页面的一个框架,而这个时候,我会把它当作,刚刚开包的组装玩具里的一个成型图片来做参考,然后在将PHP中所学变量、函数、数组当作每个部件,将它们一一的拆分,用正则和递归的方式当作拼装时的相接口,“如果”(if)在拼装的时候出现无法对接,这个时候我把我所用的部件(变量、函数、数组)做个判断(FALSE、TRUE),“否则”(else)用其他的方式来重新拼装,实在无法理解,我可以后通过说明书(老师的讲解),我想后期经过反复拼装,我就会很容易的明白如何拼装最后将该玩具组装成型,而通过这个比方,学习php就会相对的简单易懂了。
其实说起来简单,但做起来就看个人了,如果你觉得你是比较有耐性、有毅力的人,不论你玩没玩过此类的游戏,这完全取决于个人的想法,你如果真心喜欢PHP,你来兄弟连,可以用很多的方式来把PHP当各种你熟悉的游戏也好技能也罢,当它是娱乐来玩,我想你会更加容易的融入学习当中,所以我个人希望,不论是我们50期的兄弟们,还是所有兄弟连的战友们,胜利就在前方,只要有信念和信心,做到自我的不抛弃不放弃,走出迷茫的困境,你最终会到达胜利的彼岸,来吧兄弟们,让我们一起来玩转PHP吧!!~~~~

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

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

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