Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 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,
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Introduction “Things I do in every project” Requirement “assumptions” Save time later Standards The idea
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
And the lifehacks are Parameters Logger Mail wrapper Audit Security
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Parameters Business problem: How to make xxx “Configurable” No hardcoding of any data that can change or can be different in dev and prod Lets start with a simple one...
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Logger Business problem: log errors, information, debug. What tools are available ? Always: PRAGMA AUTONOMOUS TRANSACTION ! The most used one
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Logger Code instrumentation Debugging… in both apex & pl/sql All exception handling in pl/sql, in jobs Use it for
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Logger Open source Does basic logging Easy install Can be configured Great for Apex Why ? Because it has such cool features
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Logger Apex front end Alerts Make it even better
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Logger Limitation: logger schema needs CREATE ANY CONTEXT database priv But...
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Mail Wrapper Business problem: Test mails Tools available: none.Options: don’t use apex_mail (instead utl_mail) or wrap around apex_mail The lifesaver
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Mail Wrapper Features: Test and Toggle on/off Procs/functions with same signature as apex_mail procs/functions There is an app for that
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Basic Audit Solution Basic Who/when/what Not up to scale with Oracle products Limitations I know what you did
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Security App Central “hub” app. Group / Users data model Roles and Responsibilities Data security Lock it.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Demo
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Questions ?