on 12/8/2000 2:12 PM, "Will Stranathan" <[EMAIL PROTECTED]> wrote:
> I agree with the Pull v. Push document, in that page developers should
> A) be able to copy and paste information from template to template
> without asking the developer to rewrite the Java code, and B) to move a
> template to another directory, or rename a template, what have you,
> without having to ask the programmer to program.
Good.
> However, if my understanding is correct, then this "global set of
> objects" is housed under a single object in the Context, correct? In
> essence, another Controller.
Yes.
> So, rather than Pull model, isn't this more like MVCC? Or is putting
> all the data into the global set of objects another Model? Is that
> MVCCM? I guess, these could also be called 1195 and 1995 models.
> (Unless I totally forget how roman numerals work. But the second one
> would be better written as MVM).
>
> Anyhow, all this to say, am I misunderstanding the model?
>
> Model - My Data
> View - The templates
> Controller(1) - Turbine
> Controller(2) - The global area for templates to pull data from.
> Model(2) - My Data in a global (non-template-specific) context
Uh. Ok. :-) I guess if you want to get that technical in terminology.
Or you can write the picture to simply group C(1) and C(2) into the same
bubble.
As for M(2), I'm not sure I get it. For M(1), are you talking about the
content that happens to reside within the template and M(2) being the data
in the database?
Lastly, one more dimension that we need to start thinking about is adding in
some sort of workflow system to Turbine so that we can control the
application workflow business logic outside of the templates such that you
can define things like this: (for example, with Scarab:)
An issue begins with a status of "open"
The next status is "accepted" and you can't do that unless you also add a
comment to the issue telling why you accept it.
For Scarab 1.0, I will probably just hard code this "logic" into the
template. For 1.1, it needs to be defined in a more easily customizable
fashion. However, I would like to start people thinking and working on
solutions for this now because it is some functionality that we will all
need.
thanks,
-jon
--
Honk if you love peace and quiet.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]