What technology to use in creating DSL for rules engine?

What technology would you recommend to create a DSL for a Business Rules and Validation Application Block for .NET? And why? The architecture of the framework is established and proof-tested by a...

Space-based architecture?

One chapter in Pragmatic Programmer recommends looking at a blackboard/space-based architecture + a rules engine as a more flexible alternative to a traditional workflow system. The project I'm...

Problems with DeploymentItem attribute

I'm currently maintaining an "old" system written in C#.net, removing some obsolete features and doing some refactoring. Thanks god, the previous guy wrote some unit tests (MSTests). I quite...

Getting rid of hard coded values when dealing with lookup tables and related business logic

Example case: We're building a renting service, using SQL Server. Information about items that can be rented is stored in a table. Each item has a state that can be either "Available", "Rented" or...

Rules Engines User Interface Design

At work, we have optimization engines, and one of the inputs used by these engines are business rules, which we create and edit with a proprietary rule editor. These rules are of our own...

Daylight saving time and time zone best practices

I am hoping to make this question and the answers to it the definitive guide to dealing with daylight saving time, in particular for dealing with the actual change overs. If you have anything to...

REST Complex/Composite/Nested Resources

I'm trying to wrap my head around the best way to address concepts in a REST based API. Flat resources that don't contain other resources are no problem. Where I'm running into trouble are the...

What is the difference between scalability and elasticity?

I've heard many people using both terms interchangeably. However, in my opinion there is difference between them: SCALABILITY - ability of a software system to process higher amount of workload on...

iOS/Android store and buy credits from outside respective stores (No in app purchases)

I am in the middle of developing a game, which is targeted for Android, iOS, Web. User's has to create an account to play the game, and he can use that account in any of the 3 above mentioned...

Oracle SQL Developer - Adding Constraints on Foreign Key

I'm new to Oracle SQL and I am having a hard time adding a constraint. I am trying to add constraints on my table to enforce specific business rules that only allows students only to take 4...

Access Control in Domain Driven Design

I read about DDD and Access Control, and I found some contradiction between the following two opinions: "security concerns should be handled outside the domain" "access control requirements are...

Can Domain Services access Repositories?

Can Domain Services access Repositories? Or they should work on Aggregates/Entities passed to them by Application Services? Consider two code samples of the same business operation - money...

application logic vs business logic

While I am trying to discerned the difference between the application logic and business logic I have found set of articles but unfortunately there is a contradiction between them. Here they say...

How to use a dynamically generated object as the data source of CodeEffects generator

We are using this component www.codeeffects.com which allows us to create business rules based on the object properties. The html of the view is like this: @{ ViewBag.Title = "Post Example"; ...

how to make a list after comparing two Lists

I'm trying to collect some objects in drools using this code: rule "Evalua Anexo 10" salience 300 when jul: ArchJuliano() reg551: Registro551( fraccAne10 : getFraccion() ) from...

c# A better way to Copy/Merge multiple arrays into one array

Would anyone be able to advise if there's a better way to copy multiple arrays into a single array? The resulting array must have the elements in the same order such as arrayOne values first then...

CRM 365 Business Rules Deactivated but still running on forms?

I am in the process of re-writing the Business rules for our CRM Installing on Office 365. The problem is, the old ones I have decided to turn off due too the changes that are taking place on the...

How to pass ViewController Reference to Router in VIPER design pattern?

P.S: This is not a opinionated question. Its a legitimate doubt on wiring various modules in VIPER. Its a theoretical question so no code attached. I just need to know how do we wire up...

The optimal way to decouple business logic from controller

The rule is that controllers shouldn't have business logic, instead they should delegate it to the services. But when we do that, we can't handle all possible cases and return appropriate HTTP...

Why rules engine instead of easily comprehensible one line property?

I am a newbie with the rules engine, so bear with me if this question is very basic. All the tutorials for rules engines have been saying that you can move your business logic outside your code...

How to disable a linting rule inline in flutter

Is there a way to disable a linting rule for a line in flutter? I have a specific use case where I want to disable linting for two lines. I have a lot of business logic already written so I...

Clean Architecture - Should simple view logic be on Presenter or on View?

I have a simple example: A user selects a Date from a Calendar, then that date is set in a label. When there is no date or an invalid date is selected, a placeholder must be placed instead. My...

Need help debugging CRM Web Resoruce code -- getting error message "Web Resource Method Does Not Exist"

I am trying to make the Manufacturer field on a CRM Opportunity form become required when a user opens the form. (I cannot simply use a business rule to do this because the Manufacturer field will...

Programmatically check a DataGridView CheckBox that was just unchecked

I am aware that similar questions have been asked before, but none of the solutions are helping me. I have a DataGridViewCheckBoxColumn in an unbound DataGridView. In the CellContentClick event,...

How to detect if an iOS app is running on an M1 mac?

I offer an iOS app on the App Store. With the launch of Apple's M1 Macs it's possible to run iOS apps on macOS. I want to prevent that my app is used on macOS, for example by throwing an exception...

Clean Architecture: Where to make API calls

I am currently creating a microservices project in which I implement the Clean Architecture pattern coined by Bob Martin. While my code works perfectly, I have a question about the clean...

How to attach a logo to a leaflet map?

I have a leaflet map with some interactivity on it, and i just want to add a fixed logo on the top left corner of the map. Here is my code: https://codepen.io/paul-k/pen/OJWYaxw I have try to use...

How to use ExternalCatalog.listPartitions() with Java

I'm new in Java. I want to drop partition in hiveTable. I want to use SparkSession.ExternalCatalog().listPartitions and SparkSession.ExternalCatalog().dropPartitions. I saw this methods on scala...

Why is the registered user not Authenticated in Firebase? Why can't the user add products to the database Firebase?

What should I add to my project so that the owner who is authenticated can add products or modify them? What should I do so that the registered user can add products to the catalog from the...

Is Drools Business Rules Management impacted by CVE-2021-44228

We are using Drools for our business rules. Is Drools impacted/expose to the CVE-2021-44228 (Log4Shell or Log4J/Apache/Java vulnerability