I want to develop the content datasource webpart, which should fetch the data from SPLists and provide it to other requesting webparts. how to build this content datasource web part ? What i need basics ?
You can use an existing "Content Query Webpart". Just add an xsl file in your webpart settings to change the layout. To use data from other webparts, you should look at this msdn-tutorial, how to connect webparts.