Alex W. wrote:
Damaris F. wrote:
Hi you all,
I’m starting an application with some internal functionalities such as
“converters” and “analyzers”. Basically, my app is a wiki, but
semantically enhanced (I’ve already said that in this forum :D). The
semantic annotations are kind of “parsed” with converters and analysers
of my own, but I don’t really know where do I have to set these conv.
and analy. on my architectural design. Should they be at the model
layer? Or are they kind of controllers?
(BTW, I don’t wanna put this stuff in the lib/ directory. Or even though
I did that, I would like to “draw” them somewhere in my pretty
architectural design diagram :D)
Models represent data. They might be global helpers if they are only
used in the view.
But most likely, they are libraries or plugins.
um…but I thought in MVC, model layer represented the persistent data
AND the business logic…
Anyway, you are right about the helpers, cause I will use data stored in
models, and I will render them somehow.
Buut… I also have the other way round; I have some annotations in the
view (plain text), and I want to transform these ann. into RDF
statements, and then stored them in the repository (the model). Where
should I put this transformer? Cause even though I put this transformer
as a plugin or lib, where do I do the transformation? At the controller,
Lots of thanks.