Opened 17 years ago
Closed 17 years ago
#297 closed task (fixed)
Move all sql from .aspx pages to dataviews
| Reported by: | bweaver | Owned by: | dbmulg |
|---|---|---|---|
| Priority: | major | Milestone: | Beta 3 |
| Component: | Public Website App. | Version: | 1.5.915 |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
To begin supporting all the database engines, we need to have as little hardcoded sql as possible in source code. A vast majority of it should be in the dataviews, so the proper per-engine sql can be pulled at runtime.
Specifically, the following pages need to have their sql moved out of the code-behind file and into one or more dataviews (or possibly baked into the SecureData class, if it is sql that is completely cross-db-engine compliant and possibly reused by several other classes, such as the sql in Search.aspx):
Browse.aspx CartView.aspx Literature.aspx Search.aspx TaxonomyDetail.aspx
Some of those pages may be orphaned (i.e. not linked to by anything). If they are, we shouldn't change them but we might want to remove them.
Change History (4)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Status: | new → addressed |
|---|
comment:3 by , 17 years ago
| Status: | addressed → released |
|---|
comment:4 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | released → closed |

(In [958]) - Several fixes for postgresql installer code