We imagine how an El Dorado clone could be implemented in Mech talking directly to Neo4j. api
We've gone deeper in the ruby code open-sourced from New Relic before I presented my experience at the Denver DDD conference.
With the ruby code in short-term memory we imagine how the same logic might fit into Mech.
CONNECT el-dorado CLICK QUERY project match (proj:Project {name:$project}) -[:Supports]-> dep return proj, dep GROUP proj.name CLICK SOLO WHEN proj:Project ADD query proj.name
New blocks and what they might do.
CONNECT — Open a persistent connection to a database after prompting and saving for details.
QUERY — Issue a parameterized query to the open connection. Return results a as discrete graphs.
GROUP — Merge small results into aspects for selective viewing in SOLO.
WHEN — Add a click handler to type Project nodes.
ADD — Issue the above query with a new parameter. Add the result as an additional aspect.