程序PHP页面的图? [英] A diagram for Procedural PHP pages?

查看:53
本文介绍了程序PHP页面的图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用php制作的应用程序。它不是面向对象的。但是页面之间存在逻辑。
示例:如果已连接,请转到页面A,否则请转到页面B

I have an application made with php. It is not object oriented. But there is a logic between pages. Example: if connected go to page A , else go to page B

在php页面之间是否有任何图来表示此逻辑?
在这种情况下,即使没有POO,我也可以使用UML序列图吗?

Is there any diagram to represent this logic between php pages? Can I use UML sequence diagram in this case even without POO ?

推荐答案

历史上,此模型由状态机:状态是一个屏幕和转换模型,如何将状态切换到另一个状态。

"historically", this is modeled by state machine : a state is a screen and transition model how to go to on state to another one.

此状态机的事件是UI的事件。效果可能是由ui元素完成的调用,但这并不完全符合规范。

The events of this states machine are those of the UI. The effect could be the call done by ui element but this is not exactly conform to the norm.

请参见上一个问题

这篇关于程序PHP页面的图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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