Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在一个 php 文件中完成整个过程。例如; crud 操作,编写表单,发布/获取数据。那是错的吗?或者导致性能损失?
您的代码没有分隔或结构化,很难找到一些配置来快速更改它。这对您来说可能很好,但对于将来支持或修复您的代码的其他开发人员来说很难。