Topic: Playing with the model
Is it possible to work with data at an abstract level in your methods?
Ie: have an object passed in and itterate through all it's variables to display them in a table. (Get the Model for TableA with columns A,B,C and display them in a table, and can do the same for TableB with columns P,Q,R,S.)
Also, is there a way to generate a model that would work with the data returned by a query like:
SELECT c.ID, c.name, a.address
FROM Companies c, Addresses a
WHERE a.company_id = c.id
AND a.type = "main"