在选择方法时需要建议 [英] Need advices in choosing approach

查看:58
本文介绍了在选择方法时需要建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是学生,需要建立一个提供

服务的网站(客户服务器)。


我在选择方法时需要建议或确切地说,这种开发方法适合于b / b
。我仍然是新设计和

分析,因此非常感谢任何额外的信息。对了现在,
,这是初始阶段,计划。所以我需要决定哪些是b
适应。我已经阅读了一些开源项目代码,并且

多数似乎正在调整程序编程,因为它们大多数是

,因为它们是在PHP5之前构建的,无论如何,是这是一个明智的决定

以对象为导向吗?

I am a student and are required to build a website that provide
services (client-server).

I need advice in choosing approach or to be exact the methodology that
appropriate for such development. I am still new in design and
analysis, so any extra informations are greatly appreciated. Right
now, it is the initial phase, planning. So I need to decide which to
adapt. I had been read some of the open source projects code, and
majority seems to be adapting procedural programming, althought mostly
because they were build prior to PHP5, anyhow, is it a bright decision
to do it object-oriented way?

推荐答案

Leah写道:
Leah wrote:

我是学生,需要建立一个提供

服务的网站(客户服务器)。


我在选择方法时需要建议,或者确切地说是适合这种开发的方法。我仍然是新设计和

分析,因此非常感谢任何额外的信息。对了现在,
,这是初始阶段,计划。所以我需要决定哪些是b
适应。我已经阅读了一些开源项目代码,并且

多数似乎正在调整程序编程,因为它们大多数是

,因为它们是在PHP5之前构建的,无论如何,是这是一个明智的决定

以对象为导向吗?
I am a student and are required to build a website that provide
services (client-server).

I need advice in choosing approach or to be exact the methodology that
appropriate for such development. I am still new in design and
analysis, so any extra informations are greatly appreciated. Right
now, it is the initial phase, planning. So I need to decide which to
adapt. I had been read some of the open source projects code, and
majority seems to be adapting procedural programming, althought mostly
because they were build prior to PHP5, anyhow, is it a bright decision
to do it object-oriented way?



不一定。


使用OOP,您需要花费大量时间来分析问题

编码以正确定义对象。


在许多情况下,这比编写程序要花费更长的时间,并且在出现问题时稍微修改它b / b $。 br />

除非你熟悉并喜欢编写OOP,否则我会保持清楚

吧。除非问题再次自然地落入对象中。不要
强迫问题符合一种看待它或另一种方式的方式..看待

哪种方法适合问题 - 以及程序员的技能组合

你将使用。

Not necessarily.

With OOP you need to spend a lot of time analysing the problem before
coding to get the objects correctly defined.

In many cases this takes longer than writing procedural, and fixing it
slightly as issues arise.

Unless you are familiar with and like coding OOP, I would stay clear of
it. Unless again the problem falls naturally into objects..i.e. don''t
force the problem to conform to one way of looking at it or another..see
which approach suits the problems - and the skill set of the programmers
you will be using.


Leah写道:
Leah wrote:

我是学生,需要建立一个提供

服务的网站(客户服务器)。


我在选择方法或需要时需要建议确定适合此类开发的方法

。我仍然是新设计和

分析,因此非常感谢任何额外的信息。对了现在,
,这是初始阶段,计划。所以我需要决定哪些是b
适应。我已经阅读了一些开源项目代码,并且

多数似乎正在调整程序编程,因为它们大多数是

,因为它们是在PHP5之前构建的,无论如何,是这是一个明智的决定

这样做是面向对象的吗?
I am a student and are required to build a website that provide
services (client-server).

I need advice in choosing approach or to be exact the methodology that
appropriate for such development. I am still new in design and
analysis, so any extra informations are greatly appreciated. Right
now, it is the initial phase, planning. So I need to decide which to
adapt. I had been read some of the open source projects code, and
majority seems to be adapting procedural programming, althought mostly
because they were build prior to PHP5, anyhow, is it a bright decision
to do it object-oriented way?



我想你已经把马推到了前面,这里。您应该首先计划您的网站,以找出您需要的网站。然后根据这些需求选择您的方法。

。 IOW,为这份工作选择合适的

工具。不要让这个工具推动工作。


与其他声称相反,我已经做了OOAD近20年b
年 - 在Booch之前,Rumbaugh和其他人开始受欢迎。不,它没有花费更多的时间来构建OO设计而不是编写
程序代码。事实上,我发现几乎每个项目都是你经验丰富的OO设计师和程序员,整个项目从

设计到最终测试花费的时间更少,而且更少错误比

在程序上完成的类似项目。


但是,当然,学习如何正确地完成OO需要时间和精力

并提高效率。


-

================== br />
删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================

I think you''re getting the cart ahead of the horse, here. You should
have your site planned first, to find out what you need. Then make a
selection of your methodology based on those needs. IOW, pick the right
tool for the job. Don''t let the tool drive the job.

And contrary to other claims here, I''ve been doing OOAD for almost 20
years - before Booch, Rumbaugh and the rest became popular. And no, it
does not take more time to build an OO design than it takes to write
procedural code. In fact, I''ve found virtually every project where you
have experienced OO designers and programmers, the entire project from
design through final test takes less time and has fewer bugs than than
similar projects done procedurally.

But, of course, it takes time and energy to learn how to do OO properly
and become efficient at it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


Jerry Stuckle写道:
Jerry Stuckle wrote:

事实上,我发现几乎每个项目都在哪里

有经验丰富的OO设计师和程序员,整个项目从

设计到最终测试花费的时间更少,并且比在步骤上完成的类似项目更少的错误。 br />

但是,当然,要花好时间和精力学习如何正确地完成OO并使其变得高效。
In fact, I''ve found virtually every project where you
have experienced OO designers and programmers, the entire project from
design through final test takes less time and has fewer bugs than than
similar projects done procedurally.

But, of course, it takes time and energy to learn how to do OO properly
and become efficient at it.



这两个陈述似乎是相互排斥的,杰里。

The two statements would appear to be mutually exclusive, Jerry.


这篇关于在选择方法时需要建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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