Hi folks,

I was in need of better reusable components in my web applications, so I sat down and wrote a Tiles extension to Turbine. It consists of the necessary loaders, assembler brokers, screen classes etc. It is sitting here on my hard disk and waiting to see the light of day.

How does it work? The approach of Turbine is that an application has layouts, navigations and a screen. This works well for many applications but is difficult to handle if your application consists of a lot of screen elements. So what I did was to introduce a sub-screen module type which can be plugged into the screen using a pull tool. In Velocity-speak usage is like

        <div id="calendar">$tile.setTemplate("CalendarTile.vm")</div>

Could that be a useful feature in Turbine? Do you consider this worth contributing? Your comments will be appreciated.

One more thing. While I went through the Turbine code to find all the places where modules are referenced I found that even though all these elements are meant to be pluggable, the structure is somehow hard-wired. See TurbineAssemblerBrokerService#init() for an example.

Wouldn't it be useful/desirable to refactor this in a way that additional modules could be plugged in more easily? I admit that this would mean a lot of refactoring and some changes might even break applications but I think it's worth it in the long run. Again your comments will be appreciated.

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to