Learn how Corticon.js can make running complex business logic absolutely seamless.
As my colleague Thierry Ciot has blogged about comprehensively, Corticon.js provides for codeless authoring of business logic ready to plug and play as AWS Lambda functions, Azure functions, Google Cloud and Kinvey Flex functions.
Those platforms are a perfect fit for organizations shifting their applications’ business logic onto the cloud with an eye towards minimal effort spent on cloud server provisioning and tuning. But running serverless functions on cloud platforms isn’t inherently cheaper, safer or more reliable than other architectural options. Moreover, cloud vendor-specific architectures mean cloud vendor-specific dependencies accumulating across an enterprise architecture.
Before you know it, an organization’s successful migration from burdensome, monolithic legacy applications tech stack can quickly replace the headaches from maintaining the monolithic applications with headaches from managing monolithic cloud spend bill from hosting providers.
In the CodeSandbox embedded above, you’ll find KendoReact components to enter inputs that will calculate the future value of a deposit into a bank account based upon variables a user submits. When you hit calculate, you’ll see a rapid response (thanks to client-side decision logic), which will return the JSON that comes back as a response from the decision service, and a ‘rule message’ that summarizes the calculation performed.
When a decision service is invoked, Corticon maps the JSON payload to the internal data model of the Corticon rule vocabulary, allowing the external service to pass in canonically formatted JSON into enable rules to execute the decision.
In your Corticon vocabulary, you can define properties on entities, attributes, and associations to provide guidance for Corticon when mapping a JSON payload to the vocabulary. In Corticon.js Studio, you can also set the JSON Path property on entities and the JSON Element Name property on attributes and associations. JSON Path syntax can be complex, but fortunately Corticon.js can set it for you by populating a vocabulary from a JSON file.
Want to see how the business logic was created in Corticon.js Studio? Just click ‘Open Sandbox’ in the calculator widget above, download the exported rule project called ‘interest on savings.zip’ and import it into Corticon.js Studio. If you don’t already have Corticon.js Studio installed, you can get a free copy here.
Seth Meldon is a Pre-Sales Engineer with a primary product focus area of Progress Corticon Business Rules Engine. His work is focused on educating and demoing Corticon’s expansive functionalities, use cases, and architectural strategies to internal and external audiences. You can follow Seth on LinkedIn.
Let our experts teach you how to use Sitefinity's best-in-class features to deliver compelling digital experiences.Learn More
Subscribe to get all the news, info and tutorials you need to build better business apps and sites
You can also ask us not to share your Personal Information to third parties here: Do Not Sell or Share My Info
We see that you have already chosen to receive marketing materials from us. If you wish to change this at any time you may do so by clicking here.
Thank you for your continued interest in Progress. Based on either your previous activity on our websites or our ongoing relationship, we will keep you updated on our products, solutions, services, company news and events. If you decide that you want to be removed from our mailing lists at any time, you can change your contact preferences by clicking here.