Control, Present, Model

5 отговора 0 прегледа
#1

Control, Present, Model


#!/bin/cat
# This is a cat file, say meeeow!
Hi.

CPM stands for (C)ontrol, (P)resentation, (M)odel.

Each and every aspect of dealing with your machine (programs) is logically
represented by:

* Control:
Control{s} the application in a certain way loading Persentation{s}
according to it's calling parameters

* Presentation:
Presents the Model of the application in a readable format for the user
Presentation* -> Model

* Model:
The inner part of the application that user doesn't see or have access to.
The Presentation is loaded by the Control, and the user controls the
application through Control + a given presentation (or more) selected
by the application of Control.

User has access to a certain Model{'s} Presentation through a given
Control:
Presentation ->> Model -> Control: how?
(Control: how? ~ Model ~ Presentation)

Also it has some action statement associated with it:
Control: how?
~ Model ~ Presentation =>
Action -> statement

! * Actions are callbacks which are rendered by how? statements after
succesful Interpretation. They are not part of the core.
(detail)

! * Interpretation:
Interpretation is the part of your Control ~ Presentation which
renders an action in a specific Context -of an> Action
(detail)

! * Context:
Each Action is interpeted in a given Context which modifies the way
it renders.

! * Infrastructure:
Infrastructure is a special portion of a Model which has no associated
Control{s} with it.

For instance, your application's model might have OS specific functions
which only the general part *knows:* how to manipulate and execute.

Infrastructure (Model)* -> Model :=
{? Class -> Object: how? ->> model ?}

Enjoy!


Karmic ~ slap! <: your ears ~ pierce:.
Отговор
в отговор на Dekaroffskye #2

Re: Control, Present, Model

Бате, не се компилира нещо! Помагай!

Отговор
в отговор на rabin #3

Re: Control, Present, Model

Бацка, само мозъкът ти трябва да компилира от тва като идея. Сещаш ли се? Това е concept не код
На базата на тоя текст, можеш да си направиш имплементация ако желаеш.

Karmic ~ slap! <: your ears ~ pierce:.
Отговор
в отговор на Dekaroffskye #4

Re: Control, Present, Model

а ово е рабин. рабин го поема в дупарата. на базата на тая информация може да го онодиш.

Отговор
в отговор на jeffty #5

Re: Control, Present, Model

Браво, моето момче! Сега на английски! Юнак Жюфти!

Отговор
в отговор на Dekaroffskye #6

Re: Control, Present, Model

Оф, бъзикам те, бе човек! При наличие на sourceforge и милиарди тонове фрий код - не се сдържах просто!

Отговор