be friends with Oracle and APEX. Commenting your code is crucial!
By Peter Raganitsch
Oh kid, exactly exactly what occurred?
Yesterday I delivered a psychological tweet after reviewing a bit of (open supply) rule, that wasn’t documented well and didn’t consist of inline commentary:
From then on we switched far from Twitter, went along to rest, got up once more, and had an awesome time with your family. Until we looked at my Twitter reactions and mentions.
Here are a few examples:
This discussion steered a way that is wrong partly painted a wrong image and wasn’t the things I was after. I’D LIKE remarks. I REALLY BELIEVE these are typically vital and good.
Simply because some remarks are wrong or unnecessary, doesn’t suggest you shouldn’t comment after all.
The contrary does work: should anyone ever stumble across a comment that is wrong some code, allows change it out. Lets improve it. Lets fix it.
In spite of how smart you think you might be. Regardless of how “self explanatory” you imagine your genius rule is. Responses are vital. Responses exist to spell out the thinking behind your (crappy? ) rule to OTHER PEOPLE. They could never be because smart they might not have the same information level while you as you.
Heck, for many we all know they could not be developers that are#orclAPEX all. I’ve seen Java guys (no offense) tempering with APEX applications. Mostly we see regular database designers, or former Forms designers diving into APEX. They want guidance and a little more explanation of one’s “oh so smart code”.
Now get the individual emotions apart and do your task. Correctly! And create the absolute most code that is beautiful ever!
P.S.: I Am Aware, I Am Aware. Life is hard, there’s no time. No body would like to spend you for additional time. But commenting your rule isn’t more time. Composing documents about implementation details is not more time. Its an essentialPART of pc pc pc software development.
If you’re in work that doesn’t supply you with the time for you to comment your rule, think about a big change.
Expanding Oracle APEX – real time event in Vienna. AOP Introduction in Vienna
Quick Note: this Friday, October 4th 2019, will likely be a early morning occasion about expanding Oracle APEX with Single Page Applications, Master-Detail, and Drag&Drop. In Vienna during the Oracle workplace.
Take a look at occasion details and join!
Reserve a totally free spot in our AOP Introduction training, on November 8th 2019 in Vienna/Austria.
We invited Sunil Tandan through the APEX Office Print Team, to provide a halfday intro training to any or all who’s interested (and fits the space).
You should definitely book this if you are in the area.
Accelerating APEX Static Application and Workspace Data
A years that are few it had been deemed state-of-the-art to keep any type of additional resources (pictures, css/js-files) entirely on the webserver.
Needless to say this is simply the best-practice, left with several who have been unable to follow as a result of business limitations: no usage of web host, maybe perhaps not permitted to keep files, way too many laws, and so forth.
Fortunately APEX 5++ gave us nicely working Static Application data and Static Workspace data. Now many people are utilizing those to store additional files.
Tomcat with ORDS APEX that is running behind reverse proxy
Not long ago we posted helpful information how exactly to put up nginx as a reverse proxy in the front of tomcat to operate ORDS and APEX. Begin to see the post right right right here.
An available issue had been that APEX had been nevertheless thinking it operates on slot 80 with http, while nginx had been running https on port 443.
As a huge fan of russian brides club APEX Packaged Applications i usually wished to have life that is real for the Survey Builder.
Make use of a directory framework as Image Prefix in APEX
Often the APEX images live in a directory in your server called /i/, which may be changed on application or instance degree.
In 95per cent of most full cases i saw, the image prefix is /i/, frequently it’s extended by way of a variation quantity like /i501/ or /i181/. Maintain reading >
The Oracle APEX Reverse Proxy Gu published on 08.10.2018 by Peter Raganitsch
Just lately I discussed changing the /ords URL to something different, now I would like to show another method to manipulate the URL.
I usually disliked deploying multiple ORDS circumstances, merely to offer various paths to exactly the same DB. This occurred away from SEO or legacy purposes up to now.
Now let’s put up a easy reverse proxy to accomplish any URL framework you need for the APEX host.
Deploy ORDS on tomcat in a subdirectory
Frequently ORDS is implemented on Tomcat simply as /ords, appropriate?
What now?, you would like to see “bruce” in the URL? Simple solution: just rename ords. War to bruce. War if you want a different name than ords, let’s say before deploying to Tomcat.
But exactly what should you want to have “mod/plsql“, like in http: //myserver. Tld: 8080/mod/plsql?
Why the Trim Spaces environment on APEX items is very important
Oracle APEX provides a declarative environment for Text and Textarea what to “Trim Spaces”, which may eliminate leading/trailing spaces through the individual input prior to saving the value towards the database.