For all of the widget creation work that we have done so far, our new creation does not display any content on the website yet. When displaying an area that contains widgets, WordPress tries to call a method named widget for each user-selected widget to output the desired content to the browser.
This recipe shows how to implement a widget method to display a list of recent book reviews when the widget is instantiated in a sidebar.