I am working in Joomla 1.5 and have developed a component, that component have 2 view having same part in both views. I am repeating code, as I have used same code in 2 different views. So I want to know that is there some way that I write it once and use in both views and can remove repetitions? Is there some thing like standalone view or partial e.t.c in Joomla? That part have show some data that come from db. So view render a template by sending it some data from DB.
I hope my question is quite clear. I am not sure that module is some thing that I should use here. I am a good developer but don't know every thing so please some quick and better way.
thanks in advance to all developers.