Chapter 10. Internals internally

In this chapter, we are going to cover :

0. Introduction

Now you are experienced with ups and downs of Vue Storefront. You know how to tweak themes and modules to your liking. You are confident of the platform for unpredictable challenges with your hands already ready to kill them all. You are, however, still thirsty for something behind a curtain, in search of knowledge of who made what for whatever reason particularly for this particular spot.

In this cookbook, we will decipher the glyphs and the cryptics of core code base from a launch to retire.

1. Following the entrance

Ever wonder what happens when you enter into Vue Storefront shop? From gateway and pathway to all the magics inside a black box so that you get the hang of the whole concept of flow from browser request to server response. In this recipe, we will follow a processing of server/client from the beginning when you make a request to the shop.

1. Preparation

2. Recipe

  1. Go to Vue Storefront root path and run the following :
npm run dev
  1. Open your browser and go to your development Vue Storefront store, for example, http://localhost:3000 if you run it by default.

3. Peep into the kitchen (what happens internally)

4. Chef's secret (protip)



2. How they are inter-dependent

1. Preparation

2. Recipe

3. Peep into the kitchen (what happens internally)

4. Chef's secret (protip)



3. After connection to server retired

1. Preparation

2. Recipe

3. Peep into the kitchen (what happens internally)

4. Chef's secret (protip)



4. Building your own with reflection over the design

1. Preparation

2. Recipe

3. Peep into the kitchen (what happens internally)

4. Chef's secret (protip)



5. Benchmarking for every corner

1. Preparation

2. Recipe

3. Peep into the kitchen (what happens internally)

4. Chef's secret (protip)



6. Improvement idea from thought experiment

1. Preparation

2. Recipe

3. Peep into the kitchen (what happens internally)

4. Chef's secret (protip)



7. Sources for further learning

1. Preparation

2. Recipe

3. Peep into the kitchen (what happens internally)

4. Chef's secret (protip)