Question on application and module interaction

Hi,

Is there any tutorial or example on how to interact with module from the main application, something like showing latest posts from a forum module on the homepage of the main application?

Assuming this is written as a widget named LatestPosts, you can insert it in your main application's view using:



<?php $this->widget('forum.components.LatestPosts'); ?>


Thanks, will look into components development thenĀ  ;D