Whats the approach for this simple module?

Topics: Writing modules
May 1, 2011 at 7:37 AM

Hi, im burning my head with this right now so i proceed to ask you all.

Im trying to write a simple module that displays a random string each time it is loaded in the site. Strings are randomly picked from the database. It must work as a widget and end-user should be able to add/delete strings from the admin's panel.

I have thought of creating a module and then having a field String to map another class, String. This class holds the required string. But im unsure about how would the user approach then to add/delete strings from the administration. Any suggestions for the general idea? Thanks.