DSL – Domain Specific Language – for business analysts

How to provide a tool for business analysts to write logic in simple English? So that it can be used by underlying software without any changes or rewriting.
Answer: DSL – Domain Specific Language

If required we need to develop DSL from scratch for a given domain.
So that BAs can write rules and that should be easy to integrate with code.

wiki: https://en.wikipedia.org/wiki/Domain-specific_language
DZone: https://dzone.com/articles/domain-specific-languages-for-business-application

https://tomassetti.me/domain-specific-languages/
DSL
(Image from https://tomassetti.me/domain-specific-languages/)

https://www.pythonmembers.club/2018/09/03/how-to-create-your-own-dsldomain-specific-language-in-python/
https://www.braintreepayments.com/blog/a-dsl-in-5-languages/
https://dbader.org/blog/writing-a-dsl-with-python
https://enotuniq.org/ – Python as DSL

—-
Optimization Algorithms
https://developers.google.com/optimization/


DROOLS Expert Page with DSL
https://docs.jboss.org/drools/release/5.2.0.Final/drools-expert-docs/html/ch05.html

Advertisements

Events – Impact on Industries

Events are closely tracked by different groups.
1. Airlines/Hotels – As input to their pricing engine.
2. Street Artists / Street Shops – to get advantage of crowd
3. Police department – To provide protection to public
4. Government – To accommodate crowds, travel, transport, safety, utilities,….etc

Examples of Events APIs:
https://www.eventbrite.com/developer/v3/

https://developer.predicthq.com
https://www.predicthq.com

http://api.eventful.com

Nice article on Event Discovery:
http://www.hughmalkin.com/blogwriter/2015/9/23/why-no-one-has-solved-event-discovery

-o-

USA Address Standards

USPS – https://www.usps.com/business/web-tools-apis/address-information-api.htm

FedEx – http://www.fedex.com/us/software/pdf/FedEx_Ship_Manager_User_Guide_v.2350_(English)6.pdf

UPS – http://www.ups.com/worldshiphelp/WS12/ENU/AppHelp/CONNECT/Shipment_Data_Field_Descriptions.htm

-o-

All must need to consider this for DB Design, UI Validations.

Otherwise calling 3rd party API to deliver postal mail may fail.

Also address normalization should be done.

Example: http://smartystreets.com/

-o-