Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1 Move all queries to model file

open
Michael Flynn
None
5
2010-03-11
2010-03-09
Rob J
No

Move all the queries into one file (serving as a model in MVC), eliminate redundant ones, and call the and get the results via functions.

Right now, some pages just create and execute queries ad hoc. I think it is better design to separate the data gathering functions from the view and controller code.

Right now, a simple first step is secure the queries and move them to one place.

Discussion

  • Michael Flynn
    Michael Flynn
    2010-03-11

    • assigned_to: nobody --> flynnmj