如何在开始编写代码之前规划基于 Web 的项目? [英] How to plan my web based project before starting code?

查看:41
本文介绍了如何在开始编写代码之前规划基于 Web 的项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我和我的朋友开始作为合作伙伴一起工作,我们决定制作一个又一个网站的 Kick-as* 网站.我们已经写下了 100 个想法(是的,我们首先从其中选择了最好和最简单的).

Me and my friend started working together as partners , we have decided to make Kick-as* website after website. We have the ideas written down like 100's of them (yes we are choosing best and easy among them first).

我的朋友做布局设计和整理,我的部分是编码和服务器管理.

My friend does the layout design and arranging things , and my part is coding and server management.

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

The little problem i am facing is lack of experience in planing a project. What i do is, I just start the code straight away and along with code I make DB, like when i need a table i make it.

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

I know this is very bad approach for a medium sized project.

在stackoverflow,我看到了很多有经验的程序员.需要向你们学习很多:) .

Here at stackoverflow i saw lots of experienced coders. Need to learn a lot from you guys :) .

那么你能帮助我如何规划一个项目以及使用什么编码标准/结构/框架(我做 PHP 代码).

So can you plese help me on how to plan a project and what coding standard/structure/frameworks to be used (I do PHP code).

提前致谢.

推荐答案

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

Start by defining the scope. Write a paragraph to a page and try to describe your website. A top-down approach would be to start thinking of functionality you'd like to implement and refining it by adding more detail.

自上而下的方法(也称为逐步设计)本质上是分解系统以深入了解其组成子系统.在自上而下的方法中,首先制定系统的概述,指定但不详细说明任何第一级子系统.然后对每个子系统进行更详细的细化,有时会在许多附加的子系统级别中进行细化,直到将整个规范简化为基本元素.自上而下的模型通常在黑匣子"的帮助下指定,这使得操作更容易.然而,黑匣子可能无法阐明基本机制或足够详细以实际验证模型.http://en.wikipedia.org/wiki/Top-down_and_bottom-up_design.

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.

不过,还有许多其他方法.

There are many other approaches, however.

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

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

这篇关于如何在开始编写代码之前规划基于 Web 的项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆