search for: monthlyreport

Displaying 1 result from an estimated 1 matches for "monthlyreport".

Did you mean: monthly_reports
2006 Apr 23
2
models and views
...: 1) Create the same database views as before. Access these views directly using the Job.connection object and raw SQL. Coupling the database structure to the controller seems like a bad thing though. 2) Create the same database views as before. Create new models for each database view, e.g., a MonthlyReport model for accessing the monthly aggregate view. The models should be read-only by nature. Jobs are more complicated than I''ve explained, and the result is that the database has a lot of views and therefore a lot of models, but this should be manageable if I''m thoughtful of the nam...