EEcommerce Coffee Break
← All frameworks
InnovationMohammad Hashemi

Bricks, Not Sand Development Model

Start with integrated building blocks and spend developer time on unique logic

Difficulty
Moderate
Time to result
~weeks to results
Steps
6
Confidence
96%

The model compares conventional software development to arriving at a construction site with sand instead of ready-made bricks. Developers repeatedly assemble databases, backends, frontends, integrations, security controls, and reliability mechanisms before addressing the merchant’s unique requirement. A domain-aware platform converts those recurring tasks into pre-integrated building blocks. The team creates an application environment, selects the commerce data it needs, and receives synchronized data and operational safeguards as defaults. Developers then focus on what the application should do with that data rather than how to acquire, store, reconcile, and scale it. The result is a shorter development cycle, lower maintenance burden, and fewer reliability gaps, especially when orders, payments, or other consequential ecommerce events are involved.

Origin

Mohammad Hashemi explained the model on Ecommerce Coffee Break while contrasting repetitive web-development setup with construction teams making bricks from sand at every job site.

Core principles

  • 01Developer time should fund differentiated logic rather than repetitive setup.
  • 02Frequently repeated infrastructure belongs in reusable, integrated components.
  • 03The application stack should understand the domain in which it operates.
  • 04Reliability requirements must be embedded in the platform rather than added later.
  • 05Standard integrations should deliver usable data before custom development begins.

How to run it

  1. 1

    Map the repeated groundwork

    List the databases, interfaces, backends, integrations, authentication controls, and deployment infrastructure developers recreate for each application. Separate standard groundwork from the business requirement that makes the project unique.

    Pro tip Review several completed projects to find recurring work rather than relying on estimates from one build.

    Watch out Do not classify genuinely merchant-specific rules as generic infrastructure.

  2. 2

    Choose domain-aware building blocks

    Adopt components that already understand the target ecosystem and connect correctly by default. Prefer a stack that includes the domain’s expected data models, integration patterns, and operational safeguards.

    Pro tip Evaluate whether the platform handles commerce-specific failure modes, not merely whether it can host JavaScript.

    Watch out A generic collection of tools can reproduce the same integration burden under a different label.

  3. 3

    Automate setup and synchronization

    Provision infrastructure automatically and select the platform data the application needs. Delegate acquisition, synchronization, and storage of that data to the reusable platform layer.

    Pro tip Test with a high-volume dataset to expose hidden synchronization limits early.

    Watch out Initial synchronization is insufficient if updates or missed events cannot be reconciled.

  4. 4

    Embed consequential reliability

    Add automatic checks for events that cannot safely be missed, such as orders requiring fulfillment. Design recovery for upstream outages and failed notifications as part of the baseline.

    Pro tip Define reliability in business terms, such as never missing an order, rather than using an abstract uptime target alone.

    Watch out Being 99 percent accurate can still create costly failures when money or fulfillment is involved.

  5. 5

    Build only the differentiating layer

    Write custom code for the merchant’s processing rules, workflows, and user experience. Avoid rebuilding capabilities already supplied by the platform.

    Pro tip Ask repeatedly whether each task creates merchant-specific value or merely reconstructs a standard component.

    Watch out Unnecessary customization weakens the cost and maintenance benefits of the model.

  6. 6

    Validate scaling and maintenance

    Exercise the application at expected peak volume and confirm that infrastructure scales up and down appropriately. Measure both build-time savings and ongoing maintenance effort.

    Pro tip Include seasonal traffic patterns when calculating operating costs.

    Watch out A fast initial build is not a success if the resulting application requires manual scaling or frequent repairs.

In the wild

Synchronizing ten million orders

A Shopify Plus merchant needs to process a very large order history. Instead of paying developers to construct the infrastructure for retrieving and storing the orders, the platform supplies synchronized order data. The team concentrates on its unique processing logic after the data is available.

→ The expensive data-acquisition groundwork becomes a reusable platform responsibility rather than a custom project.

Recovering orders after an outage

Shopify temporarily fails to notify an application about new orders. An automated reconciliation system checks for missing events after service resumes, preventing the application from silently overlooking orders that require fulfillment.

→ The application preserves commerce-grade reliability without every development team independently building reconciliation logic.

Common mistakes

Rebuilding the integration layer

Developers waste time teaching independently built tools to communicate on every project instead of using an integrated starting point.

Treating 99 percent as sufficient

A small failure rate can still cause chargebacks or unfulfilled orders when the application handles consequential commerce events.

Customizing before standardizing

Writing custom code for solved infrastructure problems increases both project cost and long-term maintenance.

Is it for you?

Best for

It is best for teams that repeatedly build Shopify or ecommerce applications with similar infrastructure and integration requirements.

Not ideal for

It is less valuable for projects dominated by bespoke visual design with little backend data, integration, or reliability work.

From the transcript

“we know we're building a brick building every day, and yet we show up with a bunch of tools that are sand and fire, and…”

Mohammad Hashemi · 03:00

“You decide what to do with them, not how do I get them in my database in the first place.”

Mohammad Hashemi · 07:00

“And that's what I mean by bricks and not sand. These are like higher level starting points that they can use to kind of compose…”

Mohammad Hashemi · 09:00

From the episode

How To Customize Your Store Using Apps Without Breaking The Bank

Mohammad Hashemi

→