search
HomeBackend DevelopmentPHP TutorialPHP进阶困惑,该怎么解决

PHP进阶困惑
学习了HTML+CSS+JS,并学了PHP+MYSQL,还有smart和zend frameword等一些知识还没学,现在是想把这些学的知识综合练习,掌握好再继续往下学。
  但是现在感觉自己还是什么都做不了, 基础知识不牢固,所以想巩固,想试着写一些功能模块,可是无从下手,是不是我忽悠了什么,找了一些源码,都不知道怎么下手去学习,而且源码的篇幅大,看起来特别难坚持,现在我该怎么做好了?有经验的前辈们指点一下小弟。


------解决方案--------------------
既然你都知道自己特难坚持了,那你也就知道自己的弱点啦...越难的东西就越要有勇气去克服。
------解决方案--------------------
要说“坚持”,那就是胡扯蛋了。编程这个玩意不是高考,是不能死记硬背的

编程的目的是要让计算机为你做事,而不是去当他的奴隶
从这个意义上讲,你是老师,计算机是学生。你不但需要反反复复地将你的意图告诉计算机,而且还需要清清楚楚的告诉计算机这一步干什么,下一步干什么

遇到问题绕着走,条条大路通罗马
你总有你掌握的比较好的知识,就从此出发。缺啥补啥,不要试图一口气吃成胖子
------解决方案--------------------

探讨

要说有“有不同常人的理解”,那倒是!
总之,我成功了,而你.....

------解决方案--------------------
好吧,一般来说我喜欢看讨论,不过讨论太过偏题就不好玩了.

所以回到楼主的本意说两句个人看法,仅供参考. 

1.一般来说学新知识前要知道并善于利用自己已经会的知识,所以楼主不妨透露一下你以前学过用过并且觉得还不错的东西....这样大家可以更有针对性地谈谈
2.计算机相关的知识都是实践性很强的,对我们这些应用开发者开说,更是如此,所以,做很大程度上比学更重要.
你的第一段,只看见学学学,"感觉自己还是什么都做不了","无从下手"....其实,做一个页面也是做....做点不是书上例子的完全自己的东西,感觉和收获是很不同的
3.只建议学习你正在用和即将要用的东西. 都知道软件,尤其是这些开源软件的升级是很快的,如果学了不很快用,很快它就成了落后的垃圾,下次要用时,你将不得不重新学. (综合第二点,学了不用也是学不好的) 
 而且,根据你的需要学,也能让自己能很好地规划自己的学习计划而不是盲目跟风...
4.大部分时候,我不建议孤立地学习别人的源码, 和上面差不多的道理. 根据自己的需要,适当地看一部分你需要看的代码. 那种从头一行行读....是糟蹋自己的时间/挑战自己的耐性/浪费女友的身体...... 除非你是有特别的目的....
5.我一般不挑战自我...所以,如果坚持不下去,可能就是错的...


探讨
学习了HTML+CSS+JS,并学了PHP+MYSQL,还有smart和zend frameword等一些知识还没学,现在是想把这些学的知识综合练习,掌握好再继续往下学。
但是现在感觉自己还是什么都做不了, 基础知识不牢固,所以想巩固,想试着写一些功能模块,可是无从下手,是不是我忽悠了什么,找了一些源码,都不知道怎么下手去学习,而且源码的篇幅大,看起来特别难坚持,现在我该怎么做好……

------解决方案--------------------
个人意见现在你的理论知识已经足够了,随便找个东西去做,比如说留言板。
然后在现有的基础上不断的完善你的留言板,你会发现你的不足。

PS:别觉得留言板很简单,当你第十次进行修改的时候你再回头看下你的第一个留言板就会发现自己的进步所在。
------解决方案--------------------
探讨

要说“坚持”,那就是胡扯蛋了。编程这个玩意不是高考,是不能死记硬背的

编程的目的是要让计算机为你做事,而不是去当他的奴隶
从这个意义上讲,你是老师,计算机是学生。你不但需要反反复复地将你的意图告诉计算机,而且还需要清清楚楚的告诉计算机这一步干什么,下一步干什么

遇到问题绕着走,条条大路通罗马
你总有你掌握的比较好的知识,就从此出发。缺啥补啥,不要试图一口气吃成胖子
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
PHP Dependency Injection Container: A Quick StartPHP Dependency Injection Container: A Quick StartMay 13, 2025 am 12:11 AM

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

Dependency Injection vs. Service Locator in PHPDependency Injection vs. Service Locator in PHPMay 13, 2025 am 12:10 AM

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.

PHP performance optimization strategies.PHP performance optimization strategies.May 13, 2025 am 12:06 AM

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

PHP Email Validation: Ensuring Emails Are Sent CorrectlyPHP Email Validation: Ensuring Emails Are Sent CorrectlyMay 13, 2025 am 12:06 AM

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

How to make PHP applications fasterHow to make PHP applications fasterMay 12, 2025 am 12:12 AM

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

PHP Performance Optimization Checklist: Improve Speed NowPHP Performance Optimization Checklist: Improve Speed NowMay 12, 2025 am 12:07 AM

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

PHP Dependency Injection: Improve Code TestabilityPHP Dependency Injection: Improve Code TestabilityMay 12, 2025 am 12:03 AM

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.

PHP Performance Optimization: Database Query OptimizationPHP Performance Optimization: Database Query OptimizationMay 12, 2025 am 12:02 AM

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

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Article

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SecLists

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.