search
HomeBackend DevelopmentPHP Tutorial【铮铮誓言】做一个PHP网站真不容易。吐槽一下

【感言】做一个PHP网站真不容易。。。。吐槽一下
以前,很久很久以前
那个时候我还是刚入行的PHP新人,一说到做PHP网站,就觉得太简单了。不就是CURD嘛,连接数据库操作就可以了。。。

现在,搞PHP 搞了五六年之后的现在
越来越不敢保证多久可以完成一个网站了。这阵子从0写开始重新写一个网站平台,原先是dede上做的(呵呵,确实是dede提取出来的)现在在THINKPHP上面写(重构)。麻雀虽小五脏俱全,会员后台功能不多不小,该有的必须有注册邮件验证,写完了前面的信息发布,现在终于写到会员后台了。写了一个多礼拜了,做界面真的很折磨人。DIV CSS,真的太折磨人了。自己写,界面丑陋,没有一张图片,界面丑陋的网站发布出来功能再刚需都没有人愿意用。改别人的,里面的JS CSS全都乱七八糟的混乱不堪。。感觉做个网站其实真不容易。。密码找回,邮件验证,防灌水,防敏感内容,数据验证,注册页面,登录页面,做个网站真不容易,如果什么时候有一种DIV CSS模板框架出来就好了

。。。
记得我有一次面试,拿着自己已经运作了很久的一个完整作品(一分类信息)去面试,那个面试官一看上面的描述:会员注册登录改密、积分消费功能、邀请码……,然后说这个太简单了,太、非常初级。。。我当场很无语。回想我没有做那个平台之前,也是那么觉得,觉得不就是CURD吗,太初级了。当我自己亲手制作一个人完成一整个的时候,才发现真的很累,麻雀虽小五脏俱全,多一个表就多很多操作。。。

很多时候一个程序看上去功能很简单,却要花费很多时间精力人力,尤其是时间,因为你知道流程,但是你写出这些代码、测试这些流程也是需要时间的。欢迎交流 by default7#zbphp.com 



------解决方案--------------------
最难的不是做,而是怎么转化成收益?
做的再精致,内容泛泛,点击率还是上不去。
要么就是垃圾网站,弹出广告,黑帽,但也非长久之计。
------解决方案--------------------
同感,开始做PHP的时候也是一位很简单,但是越做越发现还有很多不懂的地方要学习。。。没有想象中那么容易。。
------解决方案--------------------
php 很简单,并不表示他做的网站很简单
所以说,积累是很重要的

如果你不去了解人家在想什么、做什么,人家的网站上有什么
那么注定只能感慨了

------解决方案--------------------
做网站营销很重要,技术再怎么牛,网站关键要有人欣赏。
------解决方案--------------------
我也是一个人写网站,前端借助Bootstrap,后端用thinkphp,每天抽3个小时到现在一个多月了,基本功能都出来了,其实最麻烦还是写前端,有些比较复杂的jquery特效找不到只能hold一下
------解决方案--------------------
语言无非一个工具而已,学是学不完的,至于人家说你的功能简单,可能是你的功能真的很简单,也可能是面试官这个人。。。,反正就给你压价的借口。不得不说写程序真的很辛苦。
------解决方案--------------------
或许只有自己懂得这个过程是辛苦的
------解决方案--------------------
我越寫程序,越覺得自己不懂寫程序。
因為能力提升了,眼界開闊了,考慮的東西就多。很多東西想做好就不簡單的。
對比之前,是理解不同,所以覺得簡單。
------解决方案--------------------
说明楼主的知识又成长了
------解决方案--------------------
以前在学校的时候,老师就和我们说,他希望我们的目标不是一个会敲多少万行或是一个掌握过多少种语言的程序员,而是一个懂得从整体出发的系统架构师。   前者太多,后者太少。 我们有这样的感想,也许说明我们在慢慢转变。
------解决方案--------------------
有些看似简单的东西,但一去做,就要花不少时间和精力了
------解决方案--------------------

------解决方案--------------------
一个人包打天下,当然是“不容易”。要分工协作啊。写代码的写代码,做美工的做美工,搞安全的搞安全,搞系统优化做系统优化。
说实话,一个人做出来的东西,怕是怎么着别人都觉得相对“简单”。
------解决方案--------------------
真的很累!!!全部都是一个人!!
------解决方案--------------------
我这里,做网站最难就是如何选用空间和备案啊。特别是备案,累死人了。为什么要备案呢。不备案能死吗?

国外网站不备案,也没见死人。
------解决方案--------------------
赞同。。。。

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
The Continued Use of PHP: Reasons for Its EnduranceThe Continued Use of PHP: Reasons for Its EnduranceApr 19, 2025 am 12:23 AM

What’s still popular is the ease of use, flexibility and a strong ecosystem. 1) Ease of use and simple syntax make it the first choice for beginners. 2) Closely integrated with web development, excellent interaction with HTTP requests and database. 3) The huge ecosystem provides a wealth of tools and libraries. 4) Active community and open source nature adapts them to new needs and technology trends.

PHP and Python: Exploring Their Similarities and DifferencesPHP and Python: Exploring Their Similarities and DifferencesApr 19, 2025 am 12:21 AM

PHP and Python are both high-level programming languages ​​that are widely used in web development, data processing and automation tasks. 1.PHP is often used to build dynamic websites and content management systems, while Python is often used to build web frameworks and data science. 2.PHP uses echo to output content, Python uses print. 3. Both support object-oriented programming, but the syntax and keywords are different. 4. PHP supports weak type conversion, while Python is more stringent. 5. PHP performance optimization includes using OPcache and asynchronous programming, while Python uses cProfile and asynchronous programming.

PHP and Python: Different Paradigms ExplainedPHP and Python: Different Paradigms ExplainedApr 18, 2025 am 12:26 AM

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP and Python: A Deep Dive into Their HistoryPHP and Python: A Deep Dive into Their HistoryApr 18, 2025 am 12:25 AM

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.

Choosing Between PHP and Python: A GuideChoosing Between PHP and Python: A GuideApr 18, 2025 am 12:24 AM

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

PHP and Frameworks: Modernizing the LanguagePHP and Frameworks: Modernizing the LanguageApr 18, 2025 am 12:14 AM

PHP remains important in the modernization process because it supports a large number of websites and applications and adapts to development needs through frameworks. 1.PHP7 improves performance and introduces new features. 2. Modern frameworks such as Laravel, Symfony and CodeIgniter simplify development and improve code quality. 3. Performance optimization and best practices further improve application efficiency.

PHP's Impact: Web Development and BeyondPHP's Impact: Web Development and BeyondApr 18, 2025 am 12:10 AM

PHPhassignificantlyimpactedwebdevelopmentandextendsbeyondit.1)ItpowersmajorplatformslikeWordPressandexcelsindatabaseinteractions.2)PHP'sadaptabilityallowsittoscaleforlargeapplicationsusingframeworkslikeLaravel.3)Beyondweb,PHPisusedincommand-linescrip

How does PHP type hinting work, including scalar types, return types, union types, and nullable types?How does PHP type hinting work, including scalar types, return types, union types, and nullable types?Apr 17, 2025 am 12:25 AM

PHP type prompts to improve code quality and readability. 1) Scalar type tips: Since PHP7.0, basic data types are allowed to be specified in function parameters, such as int, float, etc. 2) Return type prompt: Ensure the consistency of the function return value type. 3) Union type prompt: Since PHP8.0, multiple types are allowed to be specified in function parameters or return values. 4) Nullable type prompt: Allows to include null values ​​and handle functions that may return null values.

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 Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment