Author’s Note: Twilio “Geo-text” Plug-In (a PHP Uber-style Geotracker Add-on)


– Data Ninja 10/1/2017

Cooking has come a long way from when I was growing up. Back then, there were very strict rules about the “proper” way to cook well-defined dishes/recipes. Access to ingredients was limited (usually by country/regional/geographic borders) and restaurants had to fall into strict, well defined categories (ethnic cuisines – italian, french, japanese, chinese or food categories – burgers, bbq, seafood, etc) to be “understood” by their customers and critics and be successful.

Today, because of globalization, internet and better transportation infrastructure that gives chefs <24 hour access to ingredients from anywhere around the world, cooking and food has changed. Dishes are now made using a vastly wider selection of ingredients and sourced anywhere around the world. Tastes have changed, and chefs are free to “mash-up” cuisines so you can have a dish that takes the best from the different cuisines around the world (e.g. an italian dish using best chinese ingredients using cooking techniques from france, etc).

Programming NOW is changing and no different to what’s happened to cooking!

Back in the day, if you were a Apple mac programmer, that’s what you were. Windows programmer, same thing. iPhone…same and so on. A database programmer situated themselves on the backend layer of the tech stack and focused on data based (database) programming. A front end programmer did so in the front end, focusing on the user experience and technologies like HTML, CSS, javascript and jquery, to serve up information from the back-end. Back then, “roles” were well defined and obeyed because it was much more difficult to develop the expertise to build in the different layers of the tech stack. Developers needed to specialize.

But now…with the social media and the internet…everything has changed. The barriers to learning HAVE COME DOWN!

Nowadays, the “ingredients” for writing applications are much more easily accessible. With open source, youtube, google, wikipedia, jsfiddle, stack overflow, etc. It is so much easier for someone who knows how to code (“a developer”) to learn and master any technology and incorporate into their applications.

This Twilio Geo-texting Plug-in, I am about to release, is an example of the changing landscape of programming and what’s possible!

“Coding Chefs” (a.k.a. developers) now have easy access to a lot more “ingredients”. Someone like me that primarily programs in javascript and PHP can learn geolocation technologies available from JS frameworks such as mapbox and leaflet, and mash them up with SMS texting technologies from companies like Twilio and master the expertise in a few days in order to create a new generation of applications – such as the Twilio Geo-text Plug-In. All using PHP/Javascript/MySQL as the glue!

This plug-in is an example of what’s possible in the future! Let me know what you think of it and if you have any other ideas of how best to mash up different technologies.

The Twilio Geo-text Plug-In will be available NOW at! Click here!

Tanoshinde (‘Have fun!’),
Data Ninja
my email:
my codecanyon portfolio: click here

Author’s Note: PHP Daytrader’s Candlestick Hunter


A question many including the largest software companies are still trying to figure out. IBM, for instance, resorts to using a talking box in its commercials to represent “Watson” its analytics offering.

Example: IBM Watson Advertisements
What does “analytics” look like? Is it a talking box?

Analytics in essence are algorithms / formulas / processing logic / pattern recognition rules that are applied to different types of data (transactional, time series/sensor, geospatial data, BIG data) which results in “insights” that are consumed by its users/customers. But if your job were develop an analytics “application”, what will it look like?.

Truth be told, despite all the talk about analytics, the standard form in which an analytics app is used by its users is still a work in progress.

No surprise. After all, it took years before the market decided what a search engine site was (google, yahoo), or ecommerce site was (online stores, amazon), or a social networking site (facebook, linkedin), because these were all new paradigms when they first came out.

…it may take years before the market and technology fully develop and “lands” on a standard way analytics applications take shape.

– Data Ninja
September 6, 2017

SAN FRANCISCO, CA – I decided to write this latest script – Daytrader’s Candlestick Pattern Hunter (and my previous script Uber-Style Geotracker) to continue to develop ways to “productize” analytics and answer the question above.

I believe part of the answer begins with making “smarter widgets” mainstream (which is why I took time off from PHP dashboard development to develop the Geotracker and Candlestick Hunter scripts). I intend to incorporate them into a social visualization mash up tool (like my PHP Dashboard series – especially version 4.x – here at codecanyon).

This candlestick pattern hunting script, for instance, consumes a live real time data stream of stock prices and performs instantaneous predictive analytics (candlestick pattern hunting) and creates a visualization for customers(daytraders) to consume insight (in this case forecasting future behavior of a stock). The consumption of data, application of analytics and presentation via visualization is a repeatable pattern for any type of analytics (e.g. not limited to the stock market).

Though, the primary goal of this script is to cater to Daytraders’ needs, a secondary goal is to test whether it can be used as a template for productizing analytics.

Whether you are a daytrader, data scientist or application developer, let me know what you think of this pattern and how it can potentially be used as a template for developing analytics applications.

PHP Dashboard v4.0 – available NOW at! Click here!

Tanoshinde (‘Have fun!’),
Data Ninja
my email:
my codecanyon portfolio: click here

Author’s Note: PHP Uber-style Geotracker


“WEB 3.0 IS HERE!!! Now that “everyone” (well…80% of adults in the U.S., for instance) has at least one smartphone, we find ourselves able to detect where anyone is at anytime and exchange data/information easily, instanteously and inexpensively, thru the standard GPS technologies built into these devices. Nothing since internet and mobile connectivity, will be able to redefine day to day life as we know it, as this! It’s Web 3.0. Uber and Waze have just scratched the surface…just wait and see, it won’t take long. Our world is a changing!”

– Data Ninja (July 11, 2017)


Everyday as I work, eat, sleep, shop for clothes, shop for food, watch TV/movies, commute, fly, vacation, find dates, go out on dates, etc. (yep! Ninjas date!), I think of yet another new NEXT GENERATION GPS app that will REDEFINES the way we live life today! No other technology will have as big an impact to our daily lives as this. I promise!!!

I wrote my latest script (released July 2017) – Uber-style GeoTracker – as my attempt to show everyone how “accessible” this technology is (e.g. forget iOS and Android…vanilla HTML5/Javascript/PHP/MySQL can be used to create applications that are just as functionally robust as Uber and Waze) and to create a foundational framework to base your next GPS app on.

The technology used here is called ‘HTML5 Geolocation’ and is built into HTML5 and all the browsers that render webpages on mobile phones, tablets and desktops. Tracking begins when a user brings up a “geolocated/geotracked” webpage and continues until the browser is closed or navigates to a new web page. Tracking restarts (e.g. reusable getlocated webpages) again by bringing up the same webpage.

To use this GeoTracker, simply go to the home page and invite everyone you want tracked in a your own private geomap. Check your inbox for your link, click on it an geotracking begins. This tool allows you to customize your market or upload a phone as a marker.

Check it out! Hope this script helps you get a jumpstart in changing the world!

PHP Uber-style Geotracker – available NOW at! Click here!

Tanoshinde (‘Have fun!’),
Data Ninja
my email:
my codecanyon portfolio: click here

Author’s Note: PHP Dashboard v4.0

“Dark data is defined as the inforamtion assets (terrabytes…even petabytes of data) organizations collect, process and store in the course of regular business activity, that accumulates but is never used.

Organizations run without fully leveraging their dark data is like a horseman riding on a dangerous mountainous road, on a dark and stormy night, blindfolded.”

– Data Ninja

I believe one of the key reasons why dark data continues to proliferate in organizations is that tools available today are inadequate in enabling every person in a large organization with a browser and network access to work with and present this data (for good…obviously…for sake of this discussion let’s assume sensitive data is protected against inappropriate use…identity theft, etc.).

The current generation of leading data access/visualization tools only allows certain qualified people in an organization to work with data.

A NEW generation of data access/visualization tools has yet to be invented that ‘democratizes’ access, analysis and presentation in a social, collaborative, ‘sharing’ platform.

As an author at codecanyon, I continue to write scripts that help develop on an idea of a NEXT GENERATION, MORE ‘DEMOCARATIC’ visulization tool that:

  • is extensible and designed to leverage all the popular open source visaulization scripts available (highcharts, d3js, mapbox, leaflet, etc)
  • is easy to access and lightweight – AS EASY AND LIGHT AS A WEBPAGE – and use by ANYONE to create sophisticated dashboards (drag and drop user interface on a web page accessible on any internet browser)
  • is foundationally designed for collaboration and sharing with other people (js-fiddle style collaboration and sharing) – making data sharing and analyzing more mainstream.

This next version of PHP Dashboard version 4.0 is an extension of my popular HTML5 Dashboard Designer script that continues to leverage PHP and MySQL to create a multi-tenant environment for the designer that allows js-fiddle type sharing of dashboards. For users of HTML5 Dashboard Designer, you’ll see the familiar interface but what’s new is in the enhanced menu on the top right that allows you to save, share, email dashboards. You can invite collaborators and sign in / sign up to create your own accounts.

Let me know what you think of the enhancements. I have a multi-year roadmap for this tool so look out for more enhancements. Contact me if you have any ideas. (Also, looking for a sponsor for this tool – see ‘Looking for a sponsor – menu option’)

PHP Dashboard v4.0 – available NOW at! Click here!

Tanoshinde (‘Have fun!’),
Data Ninja
my email:
my codecanyon portfolio: click here

Author’s Note: PHP Streetmaps

“A backend developer trying to do front end programming well is like right hander trying to write left handed well. With enough work, it can be done…but it does not come naturally.”
– Data Ninja

LEFT VS. RIGHT SIDE OF THE BRAIN – The left side of the human brain focuses on logical thinking, analysis, and accuracy. The right side of the brain, on the other hand, focus on aesthetics, feeling, and creativity. Front end developers, generally speaking, have “right handed” brains and backend “left handed”. It’s possible for each to do the other’s type of programming, but it doesn’t come naturally.

This is why I wrote PHP Streetmaps. It allows a PHP/MySQL backend developer an easy way to create sophisticated streetmaps (with directions, heatmaps, markers, image markers, complicated popups, video popups, etc) without learning mapbox/leaflet.js which are written in javascript, a language primarily by front end developers.

The technique used here is I created a PHP wrapper class called PhpStreetmaps that wraps around my HTML5 script (also sold seperately at but included when you purchase this PHP script). I also added methods to connect and interact with a MySQL database directly to feed map markers from a database.

To use, simply instantiate the class and use it’s setter methods to set the properties and the markers for the streetmap.

So, attention PHP backend developers..sophisticated streetmaps in your sleep! No javascript necessary! Check it out!

PHP Streetmaps – available NOW at! Click here!

Tanoshinde (‘Have fun!’),
Data Ninja
my email:
my codecanyon portfolio: click here

Author’s Note: HTML5 Streetmaps

“A good programmer looks for ways to create ‘layers of abstraction’ that hide the complexity of the lower layers of a given software language or library…a better programmer eliminates the need for programming altogether.”

– Data Ninja 10/1/2016

I wrote HTML5 to give web designers who know HTML/CSS (but not not jquery and javascript) an easy way to create sophisticated leaflet/mapbox streetmaps for their web pages, without writing a single line of javascript code.

The technique used in this script is to leverage jquery’s class selector functionality – e.g. $(‘.myclass’)… – to create custom tags. By eliminating the dot ‘.’ in the class selector search string, jquery grabs any tag with a tag name that matches what is specified in a ‘dot-less’ class selector entry.

For instance, to create the custom tag, this script starts by using the following code – ‘$(“streetmap”)… that finds every instance of the streetmap tag on a web page, reads its attributes – ‘data-…’ – and renders the streetmap accordingly.

Now, with a single javascript declaration at the top of any webpage, streetmaps leveraging leaflet/mapbox advanced features – including markers, heatmaps, markerclusters, polygons and other shapes – can be rendered with straight HTML.

Eliminating the need for programming altogether!

I hope non-programmers and programmers alike find this script useful. Drop me a note if you have any questions.

HTML5 Streetmaps – available NOW at! Click here!

Tanoshinde (‘Have fun!’),
Data Ninja
my email:
my codecanyon portfolio: click here