My Open Source Codebase

Source Code

This section is all about my adventures in coding in the Open Source world. Check out the following sections


  • Amexio Colors 
  • Functional Reactive Programming (Rx Java 2)
  • Domain Driven Design

Amexio Colors

Amexio Colors an open source API based on Apache 2 License released by MetaMagic. It was great fun writing this piece of code in two weeks. 


It was fun writing all those code for the conversion of colors based on different algorithms like RGB to HSL to CYMK etc.

A Color profile establishes the boundaries of the RGB or CMYK gamut, without a color profile, the numbers expressed as RGB or CMYK has no meaning. While RGB is mainly used for electronic displays CMYK is used for print medium.


When all the colors of RGB combines you will get white similar to the convergence of the Rainbow colors resulting in white light.


At the same time when all the colors of CMYK combines you will get Black as it represents the absorption of light resulting in Darkness. 


RGB and CMYK are "device dependent", meaning that you can get different colors with the same set of numbers. Checkout the Java Source code. 

Amexio

Amexio Colors is part of the Amexio Suite of products from MetaMagic Global Inc

Amexio API Consists of

  • 100+ UI Components
  • Maps, Charts and Dashboards
  • Gauges and Layouts
  • Responsive Design
  • Material Design Themes (50+)
  • Free and Open Source 
  • Apache 2 License

Find out more

Functional Reactive Programming

Additional Information

ReactiveX is a combination of the best ideas from 


  1. The Observer pattern,  
  2. The Iterator pattern, 
  3. and functional programming  

4 Building Blocks of Rx Java


  1. Observer - Listens for emitted values (Receiver)
  2. Observable - Source of Data Stream (Sender)
  3. Schedulers - Manage the Concurrency
  4. Operators

Checkout the Java Source Code

Sample Code

Checkout the Sample Code which explains the Observer and Observable concepts with Entities, Repositories, Domain Services etc. Checkout source code in GitHub


Source Code Folders


  1. pojos (Entities)
  2. core (Observables and Repositories)
  3. run (Example code to run)

Checkout the Code