Wednesday, July 23, 2014

Creating a simple Neo4J Graph with Cypher



Create Nodes AND Releationships



CREATE

(sept:Release { name: "September 2014", date: "2014-09-13"}),

(co:Application { name: "App1"}),
(cs:Application { name: "App2"}),
(mcs:Application { name: "App3}),

(sept)-[:INCLUDES]->(co),
(sept)-[:INCLUDES]->(cs),
(sept)-[:INCLUDES]->(mcs);


MATCH ALL APPLICATIONS INCLUDED IN A RELEASE 


MATCH (release:Release)-[:INCLUDES]-(application)
RETURN release, application;

MATCH ALL RELEASES THAT INCLUDE A SPECIFIED APPLICATION 


MATCH (release:Release)-[:INCLUDES]-(application)
WHERE application.name = "App1"

RETURN release, application;

Tuesday, July 8, 2014

How To Use RxJava · Netflix/RxJava Wiki · GitHub

How To Use RxJava · Netflix/RxJava Wiki · GitHub: "How to Design Using RxJava
To use RxJava you create Observables (which emit data items), transform those Observables in various ways to get the precise data items that interest you (by using Observable operators), and then observe and react to these sequences of interesting items (by implementing Observers or Subscribers and then subscribing them to the resulting transformed Observables)."



'via Blog this'

Event Sourcing Basics · EventStore/EventStore Wiki · GitHub

Event Sourcing Basics · EventStore/EventStore Wiki · GitHub: "What is an Event Store?
The Event Store is a database for supporting the concept of [Event Sourcing]. Event Sourcing is a very old idea that has become popular again over recent years. As we will see there are many interesting opportunities that can become available when a problem is looked at through an Event Sourcing perspective."



'via Blog this'