
I recently watched an episode of John Collison’s Cheeky Pint podcast with Sam Altman. One topic that caught my attention was what the “global software upgrade” might look like. This discussion starts 12 seconds into the podcast and relates to the recent PHP security vulnerabilities and whether we should reassess how we architect and build software to make it more resilient to AI-based attacks.
If AI makes it easier to generate code and find vulnerabilities, should that change how we build applications? I think it raises another question: how much code should we be generating in the first place?
As an APEX developer, I have often marveled at the complexity of some software architectures and wondered how teams keep them maintained and secure. It turns out it is very difficult.
Opportunities for APEX
I think this presents several opportunities for APEX. APEX runs in the Oracle Database, with ORDS routing browser requests to the APEX engine. This reduces the amount of application-specific code and infrastructure a team must secure and maintain.
This benefit also applies to upgrades and patching. APEX applications use a shared engine that renders pages and processes requests from metadata stored in the database. When Oracle fixes a vulnerability in that engine, applications using the affected functionality can benefit from the same platform fix.
That does not remove our responsibility for application security. We still need to review authorization, custom code, integrations, and configuration, and test our applications after upgrades.
Note: There is a tradeoff here. A vulnerability in a shared runtime can affect many applications, just as a fix can benefit many applications. Centralizing those responsibilities makes disciplined platform maintenance essential.
Reducing the amount of application-specific code results in less software to secure and maintain.
At AI World this year, Scott Spendolini demonstrated what a React app looks like compared to an app developed using APEXlang. What stood out to me was how much of the implementation APEX handles for the developer, and what that could mean for maintaining the app after it is built.
APEXlang makes the AI connection more concrete. It represents an APEX application definition as readable text that developers and AI agents can generate, inspect, version, secure, and validate. The APEX engine uses application metadata stored in the database at runtime. Applications may still include custom SQL, PL/SQL, and JavaScript.
As AI allows us to build more applications faster, maintenance and security matter even more. For me, that makes APEX’s approach (less application-specific code, backed by a shared engine) more compelling than ever.
About the author
- I’m Jon Dixon, an Oracle APEX developer and consultant at Cloud Nueva. I write about APEX, ORDS, the Oracle Database, and how AI is changing the way we build software. This blog is where I share practical examples, lessons learned, and ideas from my work.
Comments
Join the discussionThis raises an interesting question about how much software architecture needs to evolve as AI becomes part of everyday development. With AI making implementation faster and easier, the way we approach design decisions, system boundaries, and long-term maintainability deserves even more attention.
One thing I find particularly important is that generating code faster doesn't automatically mean building better systems. Good architectural decisions still require experience, critical thinking, and an understanding of the bigger picture. AI may change how software is built, but the need for thoughtful engineering certainly isn't going away.
I agree that generating code faster doesn’t automatically mean building better systems. I do wonder, though, whether we’re thinking about AI too much in terms of what it can do today.
If it continues improving at this pace, I think it could eventually outperform even the best human solution architects. That raises bigger questions: how much architectural decision-making should we delegate, where should human oversight remain, and who is accountable when something goes wrong?
Thank you John. As always, I learned from you.
The shared engine point cuts both ways and I like that you called that out yourself. What I keep wondering is where AI-written custom PL/SQL and JS lands. If agents end up generating a lot of that inside APEX apps, doesn't a chunk of the attack surface come right back? Curious how APEXlang validation would treat agent-written definitions vs hand-written ones.
Excellent point on the custom PL/SQL and JavaScript. That code remains our responsibility to secure and maintain, whether we write it ourselves or an AI agent generates it. Running PL/SQL inside the database does not make it immune to SQL injection or other application security issues.
For me, the benefit is how much custom code we can avoid writing by using APEX’s built-in capabilities. If we use AI to generate large amounts of custom code instead, we give back some of that advantage.
APEXlang also gives us an opportunity here. Having the application definition in text files makes it easier to inspect with AI and build linting tools to flag potentially unsafe patterns. Those checks should apply equally to agent-written and hand-written definitions. That does not guarantee security, but it gives us another way to review the application before deployment.





