php - 如何在开始编写代码之前规划我的基于 Web 的项目?

标签 php project-management web

<分区>

我和我的 friend 开始作为合作伙伴一起工作,我们决定一个接一个地制作 Kick-as* 网站。 我们有大约 100 个想法被写下来(是的,我们首先从中选择最好和最容易的)。

我的 friend 负责布局设计和安排,我负责编码和服务器管理。

我面临的小问题是缺乏规划项目的经验。我所做的是,我直接开始编写代码,并连同我制作数据库的代码,就像当我需要一张表时我就制作它一样。

我知道这对于中型项目来说是非常糟糕的方法。

在 stackoverflow,我看到了很多经验丰富的程序员。需要向你们学习很多东西:)。

那么你能帮我了解一下如何规划项目以及使用什么编码标准/结构/框架吗(我做的是 PHP 代码)。

提前致谢。

最佳答案

首先定义范围。在页面上写一段并尝试描述您的网站。自上而下的方法是开始考虑您想要实现的功能,并通过添加更多细节来完善它。

A top-down approach (is also known as step-wise design) is essentially the breaking down of a system to gain insight into its compositional sub-systems. In a top-down approach an overview of the system is first formulated, specifying but not detailing any first-level subsystems. Each subsystem is then refined in yet greater detail, sometimes in many additional subsystem levels, until the entire specification is reduced to base elements. A top-down model is often specified with the assistance of "black boxes", these make it easier to manipulate. However, black boxes may fail to elucidate elementary mechanisms or be detailed enough to realistically validate the model. http://en.wikipedia.org/wiki/Top-down_and_bottom-up_design.

然而,还有许多其他方法。

http://en.wikipedia.org/wiki/Software_project_management#Software_development_process

同样,最重要的一步是能够用语言表达您的想法;在您能够充分做到这一点之前,我什至不会考虑开始编写一行代码

关于php - 如何在开始编写代码之前规划我的基于 Web 的项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2983916/

相关文章:

JavaScript 不使用其他 JS 文件中的变量

css - IE 8 网站兼容性问题

mysql - 如何编写递归 MySQL 查询来连续跟踪项目管理任务记录

php - Laravel存储链接不适用于生产

php 和 mysql 数据库土耳其字符

php - 当我将其设置为不显示时,数据库仍然显示较旧的条目

php - 您如何避免忘记增加项目的版本号?

git - 我应该如何设置一个包含许多静态 Assets 的 git 存储库?

Angularjs 在 $routeProvider 的 resolve 之后添加 $scope.$watch

php - 从 file_get_contents 获取 POST 数据