Rule Definition
Direct access to database Table does not respect the multi-layer architecture principles. Pages must communicate with the business layer which in turn will communicate to the data layer through a data access layer.
Furthermore, accessing Tables prevents the control at the database level of accesses. E.g.: use of non-optimized query against the database, use query that don't follow the data logic and that create inconsistency.
Remediation
Use business layer and data layer instead
Related Technologies
ASP
JEE
Technical Criterion
Architecture - Multi-Layers and Data Access
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.