1 / 26

5 Lifehacks for the Apex Development environment

5 Lifehacks for the Apex Development environment. Five frameworks you should use for every Apex business application. Koen Lostrie Developer, Curriculum Development Oracle Corporation March 8 th , 2016 koen.lostrie@oracle.com @koenlostrie. Introduction. The idea.

Download Presentation

5 Lifehacks for the Apex Development environment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 5 Lifehacks for the Apex Development environment Five frameworks you should use for every Apex business application Koen Lostrie Developer, Curriculum Development Oracle Corporation March 8th, 2016 koen.lostrie@oracle.com @koenlostrie

  2. Introduction The idea • “Things I do in every project” • Requirement “assumptions” • Save time later • Standards

  3. And the lifehacks are Parameters Logger Mail wrapper Audit Security 1 2 3 4 5

  4. Parameters Lets start with a simple one... • Business problem: How to make xxx “Configurable” • No hardcoding of any data that can change or can be different in dev and prod

  5. Logger The most used one • Business problem: log errors, information, debug. • What tools are available ? • Always: PRAGMA AUTONOMOUS TRANSACTION !

  6. Logger Use it for • Code instrumentation • Debugging… in both apex & pl/sql • All exception handling in pl/sql, in jobs

  7. Logger Why ? Because it has such cool features • Open source • Does basic logging • Easy install • Can be configured • Great for Apex

  8. Logger Make it even better • Apex front end • Alerts

  9. Logger But... • Limitation: logger schema needs CREATE ANY CONTEXT database priv

  10. Mail Wrapper The lifesaver • Business problem: Test mails • Tools available: none.Options: don’t use apex_mail (instead utl_mail) or wrap around apex_mail

  11. Mail Wrapper There is an app for that • Features: Test and Toggle on/off • Procs/functions with same signature as apex_mail procs/functions

  12. Basic Audit Solution I know what you did • Basic • Who/when/what • Not up to scale with Oracle products • Limitations

  13. Security App Lock it. • Central “hub” app. • Group / Users data model • Roles and Responsibilities • Data security

  14. Demo

  15. Questions ?

More Related