Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# gedw99 7/20/2007 2:15 PM
I have side feature request that is very related to this.


Basically i would like to have the idea of a Presentation Module and a Data Module incorporated.



Why?
well say you model a bunch of articles in a sections in a placeholder.
Great, but what if you want to have a front page that shows the latest top 5 articles on the front page, but you want to keep the section on page 3, because you want all the articles there. Well tough luck fred...


My example is just the tip of the ice berg too. I have seen a ton of similar question where people get stuck and end up having to have all the GUI in the one module.

How?
I don't mean to open a can of worms but i really think if this was done properly AND the idea of a Data Module and a Presentation Module was clearly defined it would work without causing problems later down the line.

As you can see its essentially breaking the encapsulation of Modules in terms of data, but makes it much easier to share information between different pages.

I don't think it would be a bad architecture as the linkage between the sections can be described in the DB, and so if you do delete a section that another section depends upon, you will have to delete the parent section too. Or you can always detach the section without break stuff.

It also of course lends itself to Ajax and web services being cleanly separated too, as each other these would be a Presentation Module essentially.


I cant help but think this would be a real killer feature and expand the framework very nicely.
# tigermain 7/20/2007 3:04 PM
I thought this kind of functionality was already in place with the section connections objects. I could be wrong as I have not yet worked with them myself yet, and am going on previous conversations I've had with members of my team, but I believe it may offer the functionality you are looking for.

An an articles module to a page and you will find options for Connections.
# mgaerber 7/20/2007 3:38 PM
I am very close to finishing the new content abstraction stuff. I've also integrated a category management, so you can for example mark those articles as "hot news" and display them on the frontpage, while displaying all articles on the original page.

Regards,

Max
# gedw99 7/25/2007 10:01 AM
Wow Max,

Sounds like this content abstraction thing is quite an architecural nirvanna.

If you need any help with any bits i can probably spare some time.

Tigermann,

Maybe you are right, i thought you coudl only use section actions to do very basic command calls between modules. If you need data to can back to the caller i think it might not work, because i thing the call is serialized into the Path Info. Maybe Martin of someone can clarify this for us.

For example the searhc input module redirects search outputs to the search module.
But i am kinda curious just how much you can do with these actions?