A framework is simply a code structure that utilizes data driven techniques to execute your tests. Rather than having atomic tests where one function = one test (or a keyword test for every test case), you create a set of coded routines and units that work together to execute a set of tests dictated by an outside data source.
Here's an article I wrote a short while back describing the framework I use:
http://blog.smartbear.com/post/11-07-11/automation-framework---a-new-table-driven-technique-using-testcomplete/This one, written by Boris Eligulashvili, is a bit more complex bit it is essentially the same idea:
http://blog.smartbear.com/post/11-08-11/improving-gui-automated-testing/Hope these give you some ideas of where to start.