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/)

how to create your own DSL(Domain 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

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-

#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:
http://www.rfc-base.org/txt/rfc-2218.txt

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

-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-

The LYME software bundle

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

http://www.erlang.org/about.html

https://www.centos.org/download/

LYME_software_bundle

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

-o-

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.

http://www.dntp.com/news/pdfs/Data%20Center%20Tier_Classification.pdf

http://en.wikipedia.org/wiki/Data_center

http://uptimeinstitute.org/

Search in google for “Data Center Tier_Classification.pdf”

-o-

#data-center

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
-o-

#business-apps

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

-o-

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.

-o-

#complex-event-processing, #esper

Credit Card Processing / Payment Gateways

How payment gateway works?

http://en.wikipedia.org/wiki/Payment_gateway

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

http://www.chasepaymentech.com/

http://www.authorize.net

http://www.firstdata.com/

http://www.fiserv.com

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

-o-

#credit-card-processing, #payment-gateway