已经开始学php一个多月了,但是发现看书进度有点慢,请问直接看视频教程跟看书,哪个效率高点呢?求大牛指导......
回复讨论(解决方案)
我也是刚学,觉得先把配置问题解决,然后看书比较快,主要是练习!你用的apache哪个版本?配置解决了?
我觉是看完基本的PHP语法后,可以看看开源的代码,自己尝试写写
平时要多看官方的手册,不懂就查询。
是的,配置环境都搭建完事了,就是想提高学习的效率,不知道哪种方式比较好。所以才求指导,嘿嘿......
我感觉是缺一不可,理由:
一般的视频教程注重的是对实际的操作训练或对基本概念的检验,
主要建立学习的自信心或引发再学习的动力,也是检验理论知识的一个机会。
一般的书注重的是基本知识的讲解或对语言本质的探索,
主要建立对语言基础范围的认识或应付变态的各种面试。
这两个搭配才能使学习是一个持续或再循环的过程,从书上面建立大体的认知,从视频上学会检验认知。
做一些感兴趣额小例子,这样寓教于乐,学的还快!
入门的时候php+mysql带着学,增删改学会了,你就算入门了。
看书还是看视频,找一个适合自己的就行,主要是多敲代码,多练习!
应该配合使用,先看书,再看视频,然后练习。
买一本好书,快速看第一遍,第二遍边看边练习书上的代码,看视频会容易睡着的。
你可以去我的博客找找你要的资源。。。www.xuecaijie.com
看什么都没有多大作用!
首先学会用人类语言准确的描述自己的问题
其次学会用机器语言(比如php)准确的描述自己的问题
你是机器的主人,而不是机器的奴隶
我觉着只有实践才能锻炼出大牛!!!!!

APHPDependencyInjectionContainerisatoolthatmanagesclassdependencies,enhancingcodemodularity,testability,andmaintainability.Itactsasacentralhubforcreatingandinjectingdependencies,thusreducingtightcouplingandeasingunittesting.

Select DependencyInjection (DI) for large applications, ServiceLocator is suitable for small projects or prototypes. 1) DI improves the testability and modularity of the code through constructor injection. 2) ServiceLocator obtains services through center registration, which is convenient but may lead to an increase in code coupling.

PHPapplicationscanbeoptimizedforspeedandefficiencyby:1)enablingopcacheinphp.ini,2)usingpreparedstatementswithPDOfordatabasequeries,3)replacingloopswitharray_filterandarray_mapfordataprocessing,4)configuringNginxasareverseproxy,5)implementingcachingwi

PHPemailvalidationinvolvesthreesteps:1)Formatvalidationusingregularexpressionstochecktheemailformat;2)DNSvalidationtoensurethedomainhasavalidMXrecord;3)SMTPvalidation,themostthoroughmethod,whichchecksifthemailboxexistsbyconnectingtotheSMTPserver.Impl

TomakePHPapplicationsfaster,followthesesteps:1)UseOpcodeCachinglikeOPcachetostoreprecompiledscriptbytecode.2)MinimizeDatabaseQueriesbyusingquerycachingandefficientindexing.3)LeveragePHP7 Featuresforbettercodeefficiency.4)ImplementCachingStrategiessuc

ToimprovePHPapplicationspeed,followthesesteps:1)EnableopcodecachingwithAPCutoreducescriptexecutiontime.2)ImplementdatabasequerycachingusingPDOtominimizedatabasehits.3)UseHTTP/2tomultiplexrequestsandreduceconnectionoverhead.4)Limitsessionusagebyclosin

Dependency injection (DI) significantly improves the testability of PHP code by explicitly transitive dependencies. 1) DI decoupling classes and specific implementations make testing and maintenance more flexible. 2) Among the three types, the constructor injects explicit expression dependencies to keep the state consistent. 3) Use DI containers to manage complex dependencies to improve code quality and development efficiency.

DatabasequeryoptimizationinPHPinvolvesseveralstrategiestoenhanceperformance.1)Selectonlynecessarycolumnstoreducedatatransfer.2)Useindexingtospeedupdataretrieval.3)Implementquerycachingtostoreresultsoffrequentqueries.4)Utilizepreparedstatementsforeffi


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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

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

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Atom editor mac version download
The most popular open source editor

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.
