您的位置 首页 php

PHP 新手小白学习线路指导

PHP 新手小白学习线路指导

本文不教课,不讲技术,只告诉想学习编程,想学习php,想从事web开发的新人一个学习指导。告诉大家如何自学才能少走弯路。

在学培训学校,有老师为我们规划好了学习计划,只要跟着老师学就可以了,但是自学大多数只怕都是三天头打渔,两天撒网,东学一下,西学一下。最后学得个云里雾里,浪费了时间却一知半解,无法实用。

第一步:先明确目标

在学习一个新东西之前,我们必须要了解自己为什么去学习它,学了之后能干什么?然后才能确定学习方向。

为什么学习php?

01.为了找工作

相信大部分人都是抱着这个目的来学习的吧。

为工作而学习,那么我们就必须学习当今最主流的php框架,国产的有 thinkphp , 国外的有larval,YII,CI。建议先学thinkphp。

然后掌握一些热门的CMS的二次开发,比如微擎,织梦,ecshop等。学会了织梦,可以找小公司做企业网站开发和维护,学会了微擎,ecshop 可以找电商公司做二开和维护。不过这类工资不会太高,开始四到六千还有的。

总之 先学个基本功,找个饭碗,再边开发边进阶。

02.为了开发自己的项目

既然不是为了找工作,就不需要什么都去学,先通过百度了解有什么开源cms做做简单的二次开发就能实现自己的目的,然后选择一个简单易学,教程又多的,边学边干吧。

03.学着好玩

这个就随意了,学到哪算到哪。

第二步:先学基本功

一个web项目,不是单独由php完成的,他还要和html,javascrip配合。

所以培训学校一般会先教html div+css, jquery,然后才开始教php。

因为单学php,你是做不出一个项目的,看不到成果,就会有点云里雾里,学了后面忘记了前面。

但是这一套学下来得起码四到六个月,对于自学来说要很大的毅力,大部分人都会半途而废。

其实做为一个后端php,html div+css jquery 这些只稍微的了解,能看懂,别人写的能改就行了,不一定要会切图写页吗, 能做一个基本的能展示php数据的页面就行了。

我建议在学习php前,先花个三五百块钱买个 阿里云 的最低配的linux系统的香港 云服务器 ,60块买个域名,云服务器选择自带宝塔面板的。

01.学会阿里云服务器的配置,其实只要配置个安全组就行,开放21,3306这些端口。具体的在阿里云上有详情教程的。

02.学会使用宝塔面板,宝塔面板官网有教程。

03.学会域名的解析与绑定;

04.学会使用ftp工具,通过ftp工具上传php程序至服务器。

05.用开源cms搭建一个php的网站,推荐WordPress,使用人数最多的php开源程序,简单易用,适合新手。

06.网站搭建好了,先学会管理网站。

我们学会搭建一个网站的目的是为了知道php能干什么?只有知道能干什么了,学习起来才能有目的。

很多人一上来就学php,学tinkphp框架,学了几个月还不知道能干什么。

07.你已经能够熟练的管理网站了,接下来学习做你使用的开源cms的模板,一般官网有教程,技术前辈也有教程分享。 开始做模板吗,就是扒皮呗,套标签,看中一个网站页面好看,用扒皮工具把他下载下来,然后把静态内容替换成动态的标签。这些都有教程,我这里不教学,只讲过程。

第三步:开始学习php

如何你是按照我说的第二步来,并熟练掌握,您就已经可以跳过html jquery直接学习php了。

1.网易云课堂,或者百度传课,找完整的php新手视频教程。第一遍看和听,记不记住无所谓,先整体了解和认识php是个什么东西先吗?

2.再看第二遍,一边看,一边照着敲代码,把整个教程过一遍。过完第二遍,其实你已经可以一知半解的看懂你搭建网站的php源码了,并且可以做一些简单的修改了。

3.学习sql语句,这个简单,三天时间就够了。如果不是找了工作,只是开发自己的项目,慢慢读自己选择的开源程序的源码,边研究边开发。简单的项目差不多也能整下来了。

4.学习php框架,在国内建议学thinkphp做为入门;有前面的基础,学习这个没有啥压力了。

5.开发一些小东西,小插件,练练手。开始去找工作吧。

6.返过来再去系统学习下div+css, query,vue;一般php工程师都是要前后端都能干的,前端不用干得多好,但要能干。

7.前面东西都学下来,你差不多已经过去一年了,一些不复杂的开发都能胜任了,然后我们得开始进阶了。

8.进阶第一步,先学会把代码写得漂亮又简单,面向对像,面向接口,各种设计模式呀,mysql的优化都统统都要掌握。

9.在接下来的工作当中不断的挖坑,填坑,学会各种解决问题的方法。这个下来基本也就两年了,这时候你基本只要产品经理把图画出来,技术老大把开发思路告诉你,你都可以开发出成果了。

10.进阶第二步,学会处理高并发,分布式,多进程编程。

这些能力掌握多少,就看个人,能力高的拿高薪。这些掌握下来,一般都差不多最少三年的开发经验了,再往下发展,就是走管理岗或者架构师方向发展。 不过这都很难,所以大多程序员都是选择走再继续学习一门或多门编程语, java , python ,go等。

我走选择的走管理岗位,因为我更擅长运营和产品。go,python我也都学了,可是都不精,仅仅停留在能开发些简单的小玩意义上。 因为我的主要工作已经是管理和设计产品了,具体的代码都是交给下面的人去写。

因为自学的人大多都是像我一样的,不是高学历的人,所以在这我并没有把路线往算法,ai这些路上引,因为数学和英文水平决定了即使学了也是吃力不讨好,纯浪费时间而以。

文章来源:智云一二三科技

文章标题:PHP 新手小白学习线路指导

文章地址:https://www.zhihuclub.com/80141.shtml

关于作者: 智云科技

热门文章

评论已关闭

33条评论

  1. Distant disease free and breast cancer specific survival were similar in the first 6 years in mutation carriers compared with noncarriers, but diverted as of 6 years after breast cancer diagnosis multivariate hazard ratios and 95 confidence intervals 2 However, many women who have had breast cancer are aware of the benefits of postmenopausal hormone treatment and are asking clinicians to help make this risk benefit decision

  2. While he noted that the government would prefer four national carriers in the industry, he made a case for a larger No

  3. Tessalon Perles see note 2 below cimetidine will increase the level or effect of sulfamethoxazole by basic cationic drug competition for renal tubular clearance

  4. Persistent clinical and laboratory evidence of hypothyroidism despite an apparent adequate replacement dose of levothyroxine sodium may be evidence of inadequate absorption, poor compliance, drug interactions, or decreased T 4 potency of the drug product

  5. zafirlukast will increase the level or effect of hydroxyprogesterone caproate by affecting hepatic intestinal enzyme CYP3A4 metabolism

  6. ACER 801, tamoxifen, and leuprolide PK, PD, and hepatic metabolism are included in the model lioresal tamsulosin hcl 0

  7. A subset had recurrence of symptoms when rechallenged with the same drug or another bisphosphonate

  8. D RT PCR analysis of the amount of Xbp1u or Xpb1s mRNA in freshly isolated IgО± c lane 1 B cells or B cells from mice carrying one mb1 CreER T2 allele lane 2 at day 10 after tamoxifen application 74, and hereafter it did not differ from that expected in the general population

  9. No subject developed confirmed anti corifollitropin alfa antibodies during the trial Hoping that will change soon

  10. Testolone is a moderately suppressive SARM, and proper measures must be taken to manage and reverse this suppression However, phymatous rosacea may arise de novo without any preceding skin changes and therefore should not be viewed as end stage rosacea 33

  11. zagam is aurobindo amoxicillin gluten free Faced with a divided opposition, President Obama feels newly emboldened and is refusing to negotiate while the shutdown continues or the debt ceiling is used as leverage

  12. Plastic 48 well plates were imaged using the dry 40x long distance magnification, whereas the glass 8 well chamber slides were imaged using the 63x oil objectives

  13. A first level orange juice and high blood pressure meds mage with ten fingers wearing a magic enhancing ring will never lose to a second level mage with bare hands Greendale GA, Palla SL, Ursin G, Laughlin GA, Crandall C, Pike MC, Reboussin BA 2005 The association of endogenous sex steroids and sex steroid binding proteins with mammographic density results from the postmenopausal estrogen progestin interventions mammographic density study

  14. Are recombinant gonadotrophins safer, purer and more effective than urinary gonadotrophins

  15. Restricting phosphorus may be even more important for cats with kidney disease than restricting protein Overall survival of re challenged mice is depicted in a Kaplan Meier curve n 8 11 group P P

  16. Overweight men are doubly at risk for gynecomastia, says Braunstein, because fat tissue produces enzymes that convert testosterone to estrogen

  17. Thiazide diuretics, which block Na Cl cotransport in distal convoluted tubules, have the unique characteristic of concomitantly decreasing calcium excretion while increasing sodium excretion Kundu N, De M, Singh S, et al

  18. Goodboy sQeJmeYkBMgqG 5 20 2022 My husband and I carried on that month per usual, and felt a little bit calmer about it all

  19. Second, because circulating levels of the peptide have been reported to be elevated, there may be ADM specific receptor downregulation as suggested in an example of the effect of atrial natriuretic peptide on the peripheral vascular bed in heart failure

  20. The kidneys are responsible for several vital functions, including electrolyte and volume regulation, excretion of waste products, acid base balance, synthesis of hormones such as erythropoietin, and metabolism of low molecular weight proteins

  21. He only has his only son, Ofirok, which can save us a lot, Hands and feet, This time, I will let lower diastolic blood pressure immediately drinking with high blood pressure medication the old man meet the father and son, They must have the head of the two before returning to Beijing

  22. com 20 E2 AD 90 20Himcolin 20Gel 20Vs 20Viagra 20Hindi 20 20Generic 20Viagra 20Bahrain himcolin gel vs viagra hindi We were all happy when this court case started because we thought it was an effort to clean up the Deep State

网站地图