Sample Capabilities for XFabric
This repository contains list of sample capabilities that are intended to serve as examples for any developers who wish to write capabilities for the X.commerce platform.
You can find more details about the individual capabilities by navigating to the respective folders.
Comparison shopping engine
- Written in PHP. Utilizes the message contract from https://github.com/xcommerce/X.commerce-Contracts/blob/master/comparisonshoppingengine/src/main/avro/ComparisonShoppingEngine.avdl to simulate a comparison shopping engine. This code uses Google's commerce search API to publish a feed to a comparison shopping engine registered with X.commerce.
- This example is written in Java and was part of the Innovate 2011 workshop and illustrates an auctionhouse. The XFabric message flow is illustrated using bidding messages for any particular item.
Innovate developer demo
- This was presented as the "From code to capability session" at Innovate 2011. It's a combination of a Magento extension that listens to inventory updates and publishes them to the Fabric, plus a Ruby on Rails application that receives the updates and posts to a user's Facebook wall with a "deal of the day".
- Fork it.
- Add your capability. Commit your changes (
git commit -am "Added Awesomeness")
- Submit a pull request
- Create an [Issue] with a link to your branch