Get in touch Contact icon Contact icon Contact icon Request a demo

Digital Commerce Insights

Preparing Brands for Exponential Growth

Allen-Michael Grobelny

Use Express.js and the Mozu Node SDK to Capture and Work with Mozu Events, Part Four

Use Express.js and the Mozu Node SDK to Capture and Work with Mozu Events, Part Four

By Allen-Michael Grobelny | February 22, 2016

Categories: Mozu Developers & Users

We’ve come a long way through this series. You’ve created a server that can intercept Mozu events, validate those events using tools within the Mozu Node SDK, and create an ApiContext object based on the data presented by the events you capture. Now, we need to create a way to handle each event type that Mozu may present to our application. For that, I’ve built you a Dispatcher.

Use Express.js and the Mozu Node SDK to Capture and Work with Mozu Events, Part Three

Use Express.js and the Mozu Node SDK to Capture and Work with Mozu Events, Part Three

By Allen-Michael Grobelny | January 22, 2016

Categories: Mozu Developers & Users

By now, you should have added the Mozu Node SDK to your Express.js application, and you should be utilizing the SDK to validate all the requests you’re receiving from the Mozu event service. You can see instructions on this step in the previous blog post in this series, or you can start at the beginning of this series here.

Tags: Express.js Developer

Use Express.js and the Mozu Node SDK to Capture and Work with Mozu Events, Part Two

Use Express.js and the Mozu Node SDK to Capture and Work with Mozu Events, Part Two

By Allen-Michael Grobelny | January 7, 2016

Categories: Mozu Developers & Users

Before we continue in this series, I’ll summarize where you should currently stand with your Mozu event capturing application. If you haven’t yet read the previous post in this series, you can find the first post here. You should have a basic Express.js generated server with a route enabled for capturing application events. You should also have a Mozu application created in Dev Center in which you enabled this application to send events to a public URL exposing your localhost generated by ngrok.

Tags: Developer Express.js

Use Express.js and the Mozu Node SDK to Capture and Work with Mozu Events, Part One

Use Express.js and the Mozu Node SDK to Capture and Work with Mozu Events, Part One

By Allen-Michael Grobelny | December 17, 2015

Categories: Mozu Developers & Users

When working with events in Mozu, you’ll need a web server to capture a POST request sent from Mozu. Express.js offers a quick and easy framework for creating web services and applications with Node.js. When paired with the Mozu Node SDK, you can leverage a simple server in Express.js to catch and handle events from Mozu. In this first post, you’ll get a base Express.js server configured to work with Mozu events. In future blog posts, I’ll explain how to better handle all Mozu events through a single route, how to make API calls to Mozu using event data and the Mozu Node SDK, and how to use Express middleware to validate that requests you receive actually originate from Mozu.

Tags: Developer Mozu

Configure Logging Options in Arc.js

Configure Logging Options in Arc.js

By Allen-Michael Grobelny | November 12, 2015

Categories: Mozu Developers & Users

Arc.js is a powerful development framework Mozu offers in which you can inject your custom logic before and after targeted actions that occur within Mozu's runtime. One of the most common needs for learning a new piece of technology is the ability to utilize logging. For instance, you may want to dump values into a digestible console-like environment to inspect values. Typically, some kind of logging feature is a necessity when evaluating your code.

Tags: Developer Mozu Arc.js

Migrations to Mozu: the isImport Field

Migrations to Mozu: the isImport Field

By Allen-Michael Grobelny | October 9, 2015

Categories: Mozu Developers & Users

A large part of transitioning to a new platform is the potentially arduous task of migrating existing data. Often, you may need to massage the data into something that plays nicely with your shiny, new platform. Or, you may encounter headaches with datasets in various formats, with differing levels of completeness in your data, or with possible inconsistencies throughout the entire dataset. As a developer assisting with a migration, knowing the options around import can position you for a smoother ride.

Tags: Mozu Developer