开发者

How to build an architecture of any Programming Project? [closed]

开发者 https://www.devze.com 2023-01-26 09:50 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_JAVA百科 Closed 12 years ago.

I am a PHP Programmer and willing design my own architecture to work on please suggest me what do i need to design the architecture for any project in PHP? Project is a shopping cart,WIndows or Linux would be the OS Db has to be Mysql. PHP is the scripting language to be used for development


Understand the requirements, both functional (the behaviour of the application) and non-functional e.g. performance, security, reliability etc.

Understand the constraints you're working within (e.g. technologies available, cost constraints, servers to run on etc.)

Understand the context - what other systems you might need to integrate with, who your users are, where they are based, what they need to do etc.

Then you need to produce a 'component' model showing what kind of functionality needs to be encapsulated together in which software components and what interfaces they present. This allows you to map out both the static structure of the inter-relationships e.g. inheritence / class design and also the dynamic behaviour (what talks to what when - e.g. using sequence diagrams).

Then you can move to designing the deployment architecture of which software components would sit on which hardware nodes, and hence map out network connectivity etc.

Much more, but there's a starter...

0

精彩评论

暂无评论...
验证码 换一张
取 消