Tutorial request: settings dialog and storage.

Hi,
I was wondering what is the common approach to storing and providing UI for settings?
I did a little bit of digging and found out that what people do is they create a html web view for the UI part and use "persistent variables" for storage.
That's what I got.
I'd appreciate someone to share some tips, tricks and approaches (libraries?) that proved to be useful. I am sure I can come up with a solution but wouldn't want to reinvent the wheel.

Cheers,