How to write a simple component that updates the database and loads in the users home page?

Bhuvanesh Arasu Posted in Component Development 8 years ago

Hey guys can someoen show me how to write a simple component that updates database ? I have seen an example im just stuck please show me an example of how to write a simple component that updates the database and then I want to see that data loading in the home page of the user.

I have already seen this: https://www.opensource-socialnetwork.org/wiki/view/737/how-to-write-a-simple-component-for-ossn

I want a fresh tutorial on how to write a component that updates the database and loads the same data back in users page.