学生如何提高PHP编程能力?
我是一名大二学生,明年4月份就出来实习了,加上来学校的一年时间,一共学PHP两年了,做个一些简单的项目!这是我最近做的一个项目http://www.sunsmarty.com !会JS/CSS/都会,已学过一些简单的框架,如TP/JQ等,都不是很深入,问我现在要如何提高自己的专业能力,出来才能找到一份稍好的工作?因为重头到尾都是我自学的,没人指导有种病急乱投医的感觉
回复内容:
我是从大一下学期开始接触PHP的,现在刚上大四,师兄也是带我入门,其他都靠自己学习。关于编程能力的提高:
1、建议学一下设计模式Header first这本不错;
2、深入理解下PHP的内核https://github.com/reeze/tipi。不过新的PHP引擎(PHP NG)出来后,底层实现会有一些变动了;
3、编码规范PHP-FIG — PHP Framework Interop Group;
对于PHP框架的话,不建议深入去看框架的每个部分,但要能够理解框架的整体设计,一些细节性或感兴趣的东西可以看下框架代码是如何实现的,比如视图渲染。
PHP的包管理器可以去用用:composer。
另外光会PHP是不够的,对一些web安全的知识、Linux操作系统、LNMP/LAMP的搭建、MySQL还有网站架构(《构建高性能WEB站点》)都应该学习下。
我现在也还在实习,分享点找实习经验吧,在找实习方面,记得时刻关注各大公司(招PHP的)的招牌,不要只上官网,也要去各个网络招聘平台(大街网等等)上面看看,投下简历。还有就是要争取每一个机会,不要懈怠。

淘宝 php记忆卡 对于如何提高编程类的问题,@vczh 轮子哥的专栏文章
如何成为牛逼的程序员 - vczh的日常 - 知乎专栏
为什么我们需要学习(设计)模式 - vczh的日常 - 知乎专栏
写得很有意思。
特别是第一篇,有点《诛仙》 里天书总纲的味道。不管使用的是什么语言,也不管从事什么编程工作,都很有启发性。
具体到 PHP 语言,知乎上也有一些回答可以参考,如
自学 PHP,如何不走弯路?
想自学PHP, 请问有什么书籍和教程吗?
怎样深入学习php,成为php高手?
不过我觉得,对于题主来说,计算机的基础课程比 PHP 更重要。 对于学生党来说,最大的瓶颈不是会不会某个东西,而是根本不知道有这么个东西…回答完毕… https://www.douban.com/doubanapp/dispatch?uri=/book/6559267/ 看看Java Python C艹 然后再回头看看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



The default style of the Bootstrap list can be removed with CSS override. Use more specific CSS rules and selectors, follow the "proximity principle" and "weight principle", overriding the Bootstrap default style. To avoid style conflicts, more targeted selectors can be used. If the override is unsuccessful, adjust the weight of the custom CSS. At the same time, pay attention to performance optimization, avoid overuse of !important, and write concise and efficient CSS code.

To use Bootstrap to layout a website, you need to use a grid system to divide the page into containers, rows, and columns. First add the container, then add the rows in it, add the columns within the row, and finally add the content in the column. Bootstrap's responsive layout function automatically adjusts the layout according to breakpoints (xs, sm, md, lg, xl). Different layouts under different screen sizes can be achieved by using responsive classes.

To create a Bootstrap framework, follow these steps: Install Bootstrap via CDN or install a local copy. Create an HTML document and link Bootstrap CSS to the <head> section. Add Bootstrap JavaScript file to the <body> section. Use the Bootstrap component and customize the stylesheet to suit your needs.

How to use the Bootstrap button? Introduce Bootstrap CSS to create button elements and add Bootstrap button class to add button text

Bootstrap provides a simple guide to setting up navigation bars: Introducing the Bootstrap library to create navigation bar containers Add brand identity Create navigation links Add other elements (optional) Adjust styles (optional)

There are several ways to insert images in Bootstrap: insert images directly, using the HTML img tag. With the Bootstrap image component, you can provide responsive images and more styles. Set the image size, use the img-fluid class to make the image adaptable. Set the border, using the img-bordered class. Set the rounded corners and use the img-rounded class. Set the shadow, use the shadow class. Resize and position the image, using CSS style. Using the background image, use the background-image CSS property.

The file upload function can be implemented through Bootstrap. The steps are as follows: introduce Bootstrap CSS and JavaScript files; create file input fields; create file upload buttons; handle file uploads (using FormData to collect data and then send to the server); custom style (optional).

Answer: You can use the date picker component of Bootstrap to view dates in the page. Steps: Introduce the Bootstrap framework. Create a date selector input box in HTML. Bootstrap will automatically add styles to the selector. Use JavaScript to get the selected date.
