程序PHP页面的图?

程序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.

请参见上一个问题