Hi,

I'm just starting with Rife and I have a 'good practise' question.
I have a html page in which I can identify different 'modules' like the menu and the content piece. I'm implementing it like this :
- I use two includes in my main page to include 'menu' and 'content'
- I have an element (Home)that refers to this main page
- I have two classes (also extending 'Element') that each fill 'menu.html' and 'content.html' in the 'processElement' method - the Home class instantiates these two classses, sets the template in each of these classes (main page) and calls the processElement method in each one of them
That way the template gets filled.
Now I'm wondering if this is the way to do it. It's not difficult or something, but Rife has such a rich feature set that maybe there is another way.

Thanks

Henk
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to