Home >Backend Development >PHP Tutorial >Website development stuff
After learning the basics of HTML and PHP, I have been writing this project for a while. In the process of writing, it can be said that some of the things I have learned have been more systematic, and some of the so-called accumulation of experience have been deepened. When I was learning basic knowledge before, I felt that I could still control these relatively simple knowledge. When I was writing a project, I could more deeply feel the lack of understanding of knowledge and proficiency. It can even be said that some details of knowledge are still needed. Only by slowly accumulating in the long work in the future can you gradually become more powerful.
The summary of each project is a period of accumulation. Through this, I can summarize some of my subtle growth and the prototype of my thoughts in the process of typing code by hand. The following will briefly describe some thoughts and conclusions regarding the work I wrote this time.
First of all, for a website, the front desk is undoubtedly the part that has direct contact with users, so the beautiful interface and reasonable layout here directly affect the user experience and require more careful consideration. Some basic layouts are still not easy, but compared to those front-end interface artists who are more proficient in various special effects, my knowledge base is really empty. Many styles that look relatively simple often require a lot of work. There are piles of CSS codes and other scripts to complete, and there is no good plan for organizing and planning CSS. The interface effects are all time-consuming and labor-intensive. It is precisely in this way that I realized how powerful a professional artist is. Of course, I also need to pay attention to make some accumulation in this area so that I can write a more friendly interface faster in the future.
Secondly, this is a forum, and the functional logic of the site must be clear and reasonable, otherwise it will be difficult to write functional code. After these days of continuous integration and sorting, I have a simple understanding of the functional logic of the site:
1. All site codes have a process logic. This is a very programmed logic, that is, it meets certain requirements. Conditions to perform certain functions.
2. When sorting out functions, you can analyze them step by step from coarse to fine, and when writing code, you can also go from simple to comprehensive. Not everything needs to be thought of comprehensively at the beginning, but a clear adjustment It is still needed and very beneficial.
3. Code is dead, but expressions are alive. You can use text, pictures, etc. to sort out the presentation logic, and rewrite it into executable code bit by bit.
Then, when the logic is detailed enough to be written into code, there will be new contradictions, or choices. There is not necessarily only one way to implement each small function, and different methods must have different advantages and disadvantages. Therefore, the degree of fit between small functions and programming statements determines the quality of the code written, and redundancy should be avoided as much as possible.
Finally, similarity, because many things are the same, it is particularly important to be able to draw inferences from one example. Most of the knowledge learned in the forum needs to be transformed into the cornerstone of other projects in the future. As the cornerstone, it should be as much as possible It is solid, which means that it requires constant practice to master it.
Because there are still some contents that are still being sorted out, I will write some specific code implementations and related thinking logic for the sub-functions in the project later. I hope I can continue to work hard.
Receive LAMP Brothers’ original PHP video tutorial CD/"Essential PHP in Details" for free. For details, please contact the official website customer service:
http://www.lampbrother.net
PHPCMSSecondary developmenthttp ://yun.itxdl.cn/online/phpcms/index.php?u=5
WeChat development Mobile Internet Server Side Development http://yun.itxdl.cn/online/server/index.php?u=5
JavascriptCourse http://yun.itxdl.cn/online/js/index.php ?u=5
CTOTraining Camp http://yun.itxdl.cn/online/cto/index.php?u=5 |