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