4D Blog

Home Guest Post An ORDA Cheat Sheet

An ORDA Cheat Sheet

September 11, 2019

Guest Post

Blog post by guest author Cannon Smith, a 4D developer from southern Alberta, Canada: 

The introduction of collections and entities has dramatically changed the landscape in 4D, giving developers new ways to map business rules to code. Just recently I refactored several thousand lines of code that were central to the business rules of our application, resulting in a significant speed improvement (5xs faster) which our users are very happy about. This refactoring was largely about moving from old code constructs to objects, collections, and ORDA.

I was surprised where the largest optimizations came from. Certainly moving to ORDA increased the speed of these methods to a degree, but it was after I refactored the code that the idea for the real speed increase came to me. Why? Because using objects and collections with dot notation made the code simpler to read, giving me the opportunity to think about it in new and different ways.

With new tools comes a learning curve and collections and entity selections are no different. To help me make sense of all the new functions, I created a couple of cheat sheets. I keep them next to my computer and use them often as I work with ORDA-related code to ensure I’m doing things in the most efficient way.  Feel free to download the Entity Selection Cheat Sheet and the Collection Cheat Sheet and put them next to your computer as well.

While it takes time to learn to use ORDA in 4D, doing so has already paid back large dividends for me and I look forward to further improvements that are now possible thanks of ORDA.

Discuss

Tags ORDA, Programming, v17

Latest related posts

  • August 17, 2021

    4D v19 performance on Apple M1

  • February 18, 2021

    Apply naming conventions with Form macros

  • August 20, 2020

    How to create a simple “TimeStamp” class in 4D

Cannon Smith
Cannon Smith
Cannon has spent the last several years developing a commercial cattle feedlot application and is currently getting a similar application for the ranching industry going. Living in rural southern Alberta, Canada, where he grew up, Cannon has been a 4D developer since version 6.5 and remains an active member of the 4D community. You can find other tools for the community on his website .
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • AI
  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor
Subscribe to 4D Newsletter

© 2025 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy