Try searching the forums and the devnet site as a whole. This has been posted about numerous times and there was a GearUp presentation about 4 years back that is still available if you search the Tech Articles."Building a Reusable FormAPI Framework" - Jeff Bonifaci & Jonathon Gulbrandsen