Getting Started‎ > ‎Downloads‎ > ‎

Tour

The video below introduces ABL operations: how to define business logic, and debug it using the console log and debugger. It presumes you have watched the short video on the home page, and read the 2-page Technical Summary.

It is intended to be viewed after download/verification - use BusLogicDemo/Intro to perform these steps on your machine.  But even if you haven't downloaded anything yet, it is also a good way to understand the product.  

The following topics are discussed, which you can learn more about by clicking the links below:
  • Business Logic Components: these are the classes in which you place your Logic Annotations

    BusLogicIntro

    Here we move from BusLogicDemo (a very simple database) to BusLogicIntro, the basis of the Tutorial.

    We chose the example of making an order ready (like a shopping cart checkout).

    This illustrates two key elements of Forward Chaining: adjustment to a parent, and cascade to Children.

    These are the core of multi-table transaction automation.


  • Logging and Debugging: Logic Engine operation is transparent - you can employ familiar services for logging and debugging to understand and debug your logic

  • Forward Chaining: logic can chain from objects you update to related objects (automating complex, multi-table transactions), as can be seen in the log


Click the video below.  



Experiment

It's a great idea to repeat these steps on your own install; to experiment with debugging, please:
  1. Download the attached CustomerLogic.java or CustomerLogic.groovy (at the bottom of this page)

  2. Under BusLogicDemo/src/buslogicdemo/businesslogic,
    1. Delete CustomerLogic.java
    2. Place the attached file in this location

Other Operations

Be aware that ABL supports advanced services for administering your logic, including
  • Dynamic Logic enables you to reload changed logic without restarting your JVM

  • Recompute services enable you to verify whether your existing data conforms to your logic annotations, and (where possible) to recompute your data per the logic annotations

  • Logicdoc to capture requirements transparently for sharing with Business Users, with full traceability into the underlying logic

Next Steps

Please see here to read more about business logic, and if haven't already done so, download a free copy.
ċ
CustomerLogic.groovy
(1k)
Val Huber,
Feb 2, 2012, 11:37 AM
ċ
CustomerLogic.java
(1k)
Val Huber,
Feb 2, 2012, 11:32 AM
Comments