Hackers Gonna Hack: Virtual Fitting Room With Xbox Kinect
Every year, Elastic Path-ers take part in a 24-hour, pizza-and-Red-Bull fuelled fiesta of coding we call the Hack and Mash-a-thon.
This year, teams had a chance to hack on DCAPI (dih-cap-ee), Elastic Path's Digital Commerce API. From QR code shopping, to t-commerce and mobile, this year's Hack n' Mash didn't disappoint. Here are the highlights:
The Winner: O'SHIrT
O'SHIrT is a simple Windows WPF application with UI elements that a user interacts with through the Kinect. On start up, it loads the shirt catalog by calling into DCAPI.
When a user selects a shirt, he or she can log in as an existing customer by holding their QR code in front of the Kinect. The user name and password are read from the QR code image and sent to DCAPI for authentication. When the user decides to checkout, it makes the appropriate calls to DCAPI to submit the cart and create a purchase. For all of the above calls to DCAPI, we used a combination of RESTSharp and JSON.Net to create the requests and deserialize the response.
2nd Place: Couch Potato
T-commerce is poised to shake things up, whether on a television or through streaming video. Couch Potato uses DCAPI and HTML5 to embed commerce into any video stream. With some additional work, it would also allow true synchronized second-screen experience a la Microsoft SmartGlass, but with commerce. Offers might be contextual based on metadata, manual merchandising, subtitle track etc. with not much additional effort.
Honorable mention: Project FTW!
As mobile device usage is peaking, online sellers are increasingly concerned about their mobile storefronts. Project FTW! is an automated testing tool for mobile devices which runs Selenium (today's leading web automation tool) on iPhones, iPads, Android phones and Android tablets.
The Selenium webdriver captures screenshots when a test fails, storing the images in a target/screenshots folder.
This tool helps online sellers increase user satisfaction with apps, which translates to more engagement, better app reviews and more good vibes about the brand.