Are you about to have a job interview?

Are you about to have a job interview?

Uncategorized
Are you about to have a job interview for Demandware (SFCC) developer? Salesforce Commerce Cloud Digital B2C API uses a dialect of ECMAScript 5.1 called DemandwareScript. DemandwareScript is used to customize the backend while on the frontend you can use whatever you want. Modern websites use frontend libraries like React and view.js, babel, and webpack. With this in mind and given my experience as a programmer, I have prepared a shortlist of topics most often covered in job interviews for Demandware developers. To be a successful applicant you should have at least a basic understanding of them. (more…)
Read More
Most often violated quotas in Demandware (SFCC) – explained

Most often violated quotas in Demandware (SFCC) – explained

SFCC Backend
Demandware makes it relatively easy to build a web-based e-commerce system without the need to care about the database, caching, scalability, and availability, which is much of the reason for its popularity among the enterprises. But its ease of use notwithstanding, Demandware has its nuances and subtleties that can bite developers, leading to hours of hair-pulling debugging. This article highlights some of the more common quota violations that need to beware of. (more…)
Read More

Extract most common errors from Demandware error log

Uncategorized
Recently I got into a situation where I had to analyze the error logs on production instance and list top 20 most often thrown errors. Demandware Log Center was my first bet, but sadly it does not provide such as statistics. I assumed that the errors we get are pretty much the same every day, so I just downloaded all error logs from the recent few days and I wrote this small bash scripts to analyze them. It basically extracts the first line of every error stack trace, sort, removes duplicates and aggregates the results. (more…)
Read More
4 ways to sync your code with the sandbox

4 ways to sync your code with the sandbox

Environment
One of most annoying problems with Demandware I had is the code deployment. In order to execute your code on а sandbox, you have to upload it using... WebDav! I have spent thousand of hours debugging issues that turned out to be caused by corrupted uploads and/or old code version being deployed on the sandbox. Also, pipeline "building" process before upload took hours of UX Studio to complete. Unfortunately there are many possible solutions for code synchronization over WebDav, but each of them has some downsides. Which one to use? Read the list bellow and choose the one that best suits to your needs! UX Studio UX Studio is IDE based on Eclipse, provided for free by Salesforce. It is the officially recommended tool for code edit and deployment. It…
Read More
Demandware Editors

Demandware Editors

Environment
While there are plenty of code editors and integrated development environments (IDEs) for working with JavaScript, due to the custom nature of Demandware (Salesforce Commerce Cloud), the available options are pretty limited. There are two main problems: Pipelines. If you have to work on legacy project featuring pipelines, you have only one option available to edit them - UX Studio plugin for Eclipse. The pipelines are just XML files, but editing them as plain text is pain in the ass - you need to visualize them so you can rearrange the pipelet blocks.Deployment. The code you write is executed on sandbox, i.e. virtual machine that is able to run Demandware script. You have to upload the code to the server using WebDav - there is no other way to access…
Read More