How to Use a Business Rules Engine to Your Advantage | LANSA Blog

Dive Deeper into Visual LANSA 15 & Up Your Low-Code Game Live Demo

Low-Code Mobile App Development and Data Integration - LANSA

Low-Code >> High Control

Build web and mobile apps faster, easier and more affordably

"We wouldn’t have considered making this online reservation solution ourselves without LANSA."

-VP, Software & Services, Agilysys

Learn More About How Agilysys Powers Vegas Bookings With LANSA >

Business Innovation Without Limitation

Low-Code Platform

LANSA's low-code development platform accelerates and simplifies the creation of enterprise apps while making your development team more productive. LANSA puts you back in control.

IBM i Modernization

LANSA is the only low-code development platform to natively support IBM i. You can build new apps and modernize existing ones - with native web and mobile support

Mobile Development

LANSA makes it easier than ever to take your apps mobile. Build mobile-first apps as easily as web apps using a single platform.

Enterprise Integration

LANSA offers powerful integration choices for your web and mobile apps. We support a range of options to make integration fast and easy.

Digital Transformation Through New Apps

LANSA’s low-code development platform impacts every area of the business, delivering company-wide innovation, productivity and control.

For IT Managers

LANSA lets your team create apps up to 10x faster than usual, reducing the time- to- market for new apps and helping clear your application backlog.

For CxOs

LANSA equips your IT team to innovate and deliver new apps in the time frame the business needs. Your team becomes more productive and responsive.

For Developers

LANSA’s low-code platform allows you to become a full-stack developer delivering web and mobile apps faster and easier than ever before.

For ISVs/SIs

LANSA’s low-code platform helps build easy-to-maintain apps for your customers, reduces time-to-market, and makes your team more productive.

“With LANSA we can help our customers be more agile and responsive to new business requirements. That's extremely important in the transportation industry. Enhancements and customization are now simple and fast, meaning that we can respond quicker to customer requests.”

“With LANSA we can help our customers be more agile and responsive to new business requirements. That's extremely important in the transportation industry. Enhancements and customization are now simple and fast, meaning that we can respond quicker to customer requests.”

“With LANSA we can help our customers be more agile and responsive to new business requirements. That's extremely important in the transportation industry. Enhancements and customization are now simple and fast, meaning that we can respond quicker to customer requests.”

Glenn Gundermann, Application Development Manager, Nulogx

“Our ERP system happens to run on IBM i, which is often and mistakenly earmarked as a legacy platform. Using LANSA and with a renewed focus on our existing ERP system, we have proven to be more flexible and productive than a packaged ERP like SAP ever could be.”

“Our ERP system happens to run on IBM i, which is often and mistakenly earmarked as a legacy platform. Using LANSA and with a renewed focus on our existing ERP system, we have proven to be more flexible and productive than a packaged ERP like SAP ever could be.”

“Our ERP system happens to run on IBM i, which is often and mistakenly earmarked as a legacy platform. Using LANSA and with a renewed focus on our existing ERP system, we have proven to be more flexible and productive than a packaged ERP like SAP ever could be.”

Arnold Hendriks, Application Development Manager, Bidfood

“The LANSA portal is a crucial part of our digital strategy and plays an important role in remaining competitive. It offers a new way to add value to our services, above and beyond just selling a product.”

Michael Hall, Head of Digital, Elders Rural

previous arrow
next arrow
Slider

Trusted by thousands of organizations worldwide

Go Faster with LANSA

LANSA has been speeding the productivity of professional developers for over 30 years. We help you deliver enterprise-grade applications faster than before because you can build mobile, web, cloud, and desktop apps from one powerful platform.

How to Use a Business Rules Engine to Your Advantage

In this “key considerations” installment, I’ll cover why a Business Rules Engine should be a key consideration when choosing a low-code platform. In my prior blog entries (first, second, third), I mention other helpful tips and considerations.

Business Rules Engine

Maintaining table definitions, connections and business rules is an ongoing challenge. Hard coding them in every program increases your maintenance burden and introduces potential inconsistencies by residing in multiple places. There is great architectural advantage in storing all your definitions, connections and rules in a centralized Business Rules Engine rather than in your applications.

Why? When a business rule’s definition and enforcement is the sole responsibility of one entity – the Business Rules Engine – instead of a team of different front-end and back-end developers, then the execution of the rule will be guaranteed. You can define a rule once knowing it will be enforced everywhere.

The high-end low-code platforms include a Business Rules Engine as part of its solution. If the low-code platform your evaluating has a Business Rules Engine, here are some features to look for:

Are you able to create, store and maintain definitions in a single repository?

The fundamental tenet of a Business Rules Engine is to keep data definitions separated from the applications and databases with which they work. Every developer must be able to easily see and access the repository.

Are the definitions stored at the database or application level?

If definitions are stored at the database level, that is not the ideal deployment model. The downside of deploying rules at the database level is that all database vendors have their own proprietary ways to implement triggers and stored procedures, effectively locking you into a specific database. Some Business Rules Engines avoid database lock-in by injecting the rules at the application layer, but then every program has duplicate source code which can lead to inconsistencies and difficulty managing code.

The ideal deployment model is through an independent data services layer where the Business Rules Engine is loosely coupled from the database and the applications layers. This architectural benefit allows changes made within the Business Rules Engine to be automatically enforced without changes or recompiling.

For example, imagine you need to update the postal code’s validation rule on the customer table to call a RESTful service instead of performing a table look-up. After making the change in the Business Rules Engine, utilizing a data services layer will allow every program that inserts or updates data in the customer file to immediately use the new postal code rule without recompiling any of those programs that interact with the customer table.

Can you import existing data schemas?

Most projects must extend existing applications with existing databases. Make sure developers can import existing data, schema and stored procedure definitions from sources outside the low-code platform for use within the Business Rules Engine.

Are the business rules accessible from programs outside the Low-code platform?

Be sure the Business Rules Engine can be leveraged from any application, regardless of the development environment used e.g. low-code, Java, C#, PHP, VB, JavaScript, etc. The net result is that all of your applications – irrespective of their age or technology – use a common set of business rules to govern all database I/O and greatly improve your data accuracy.

If they cannot be used outside the low-code platform, you’re back in the duplication game again. Duplicate rules mean duplicate maintenance. And duplicate maintenance opens the door to potential business rule inconsistencies.

Can the Business Rules Engine store more than just business rules and validation logic?

Some Business Rules Engines allow you to store more than just database definitions, connections and validation rules.

In my last post on the key considerations when selecting a low-code platform, I’ll discuss what cross-platform support means and why it makes a difference to your end-users.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.