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

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

how to create your own DSL(Domain Specific Language) in python

https://enotuniq.org/ – Python as DSL

Optimization Algorithms

DROOLS Expert Page with DSL

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:



Nice article on Event Discovery:


#event-api, #events

UI Validations

Irrespective of projects for rest of the life we need to
-Validate data in UI
-Need to define respective data types in code
-Need to design DB Columns

Never assume that business name is 25 char length.
Also search for standards.
A Common Schema for the Internet White Pages Service:

For more information please refer http://www.rfc-base.org/

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


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/


The LYME software bundle

ErLang Programming Language: http://en.wikipedia.org/wiki/Erlang_(programming_language)




Tutorials: http://www.sbarjatiya.com/website/video_tutorials.php


Data center classification

Now a days everybody claiming that they have their own data center.

Question: What is data center? What are the types of data centers?

Check this links.




Search in google for “Data Center Tier_Classification.pdf”



Serena Business Mashups

Problem Statement: How to setup quickly simple work flow application in organization?

One quick solution is Serena Business Mashups Product

Check this link: http://www.serena.com/mashup-eval/guide/eval_mashup.htm

or check http://www.serena.com/index.html


Complex event processing (CEP)

It is nice concept to explore and get benefit out it.

Simple Notes: http://en.wikipedia.org/wiki/Complex_event_processing

More Advanced Information:  http://www.thecepblog.com/what-is-complex-event-processing/

Open Source product for implementation: http://www.espertech.com/index.php


Unknowingly all of us do Complex Event Processing in our day to day life.

Question 1: Whey today lot of people are driving from north to center of Atlanta?

We are trying to analyse many events and trying to understand. We find that there is a game in town.

Question 2: Why stock x sold at very high volume today?

Digging into news will tell the details of it.


#complex-event-processing, #esper

Credit Card Processing / Payment Gateways

How payment gateway works?


Nice video presentation https://www.mastercardpaymentgateway.com/mpgpublic/howItWorksIndex.do?

Credit Card Processing is part of every business. We need to choose wisely while going to sign contract with any payment gateway vendor. Here are the few points from my side.
1. They should have 99.99% up time. (Generally this is only on papers. They go down at least once in a month. or They take more time to process if one of their servers goes down.)
2. Never try to tie your fields tightly with payment gateway. This increases the coupling. Reduce coupling by different adapters or mapping.
3. They confuse end user (developer) by providing too much information in return. Be cautious while depending on it.

4. We need to maintain PCI Standards. https://www.pcisecuritystandards.org/

The rest we can read at http://www.sitepoint.com/print/money-where-mouse-is-gateways/

Few Payment gateway vendors





Note: These projects can be done in java technologies ranging from one day to one year. Based on project complexity.


#credit-card-processing, #payment-gateway