We just completed a project where a client needed a custom visualforce page that worked with multiple objects at the same time, and also had the ability for the user to easily change what fields were displayed. We were able to accomplish this by leveraging custom settings in salesforce.com. All a user needs to do is populate the API names separated by a comma into the custom setting, and the visualforce will be dynamically generated for you. Have a watch below!
Interested in having us work with you to write visualforce or need help with anything salesforce related? Let us know in the form below!