Layering Packages for Modularity
Layer PL/SQL packages so pages and REST APIs share checks while handlers stay simple.
Layer your PL/SQL packages with care. This keeps ORDS handlers simple and lets pages and REST APIs run the same checks, no matter who sends the data.