A base for a WordPress plugin settings page, using the Settings API.

http://kovshenin.com/2012/the-wordpress-settings-api/
http://codex.wordpress.org/Settings_API