I created a module that takes an SQL query for search and then displays user avatars as a MySpace-like matrix. In the backend, the admin can specify which of 16 preprogrammed SQL queries to govern the search. The queries can do things like display the top profiles, display the newest members, or display random members (just like the MamboMe modules, except this combines their functionality into a single module).
The module is nice, and it works, but modules want to appear across many pages, they don't take parameters from a URL, and the search results are already set by the admin.
So...the module needs to be rewritten as a component.
Unfortunately, this is my first PHP program, so I'm not up to speed on any of this. As I understand it...every component needs a minimum of three files:
1) admin.my-new-component.php, which contains task-information.
2) admin.my-new-component.html.php, a preprocessor for final presentation.
3) tmpl/my-new-component.html, which contains output that will be displayed.