Architectures
Scalable
+2100
Google Developer Expert
Google Developer Expert
Ask me how to become a:
⭐️ Google Developer Expert ⭐️
@jdjuan
@luchillo17
You might not need anything of what I am about to talk about and you might as well define your very own standards
Problem
INTERVIEW
How do I define a scalable
architecture?
How do I make my architecture scalable?
How do I make my architecture scalable?
How do I make my architecture scalable?
How do I keep my folder structure scalable?
LIFT
Locate
Identify
Flat
Try DRY
How do I keep my folder structure scalable?
LOCATE
How do I keep my folder structure scalable?
IDENTIFY
How do I keep my folder structure scalable?
How do I keep my folder structure scalable?
FLAT
How do I keep my folder structure scalable?
How do I keep my folder structure scalable?
How do I keep my folder structure scalable?
How do I keep my folder structure scalable?
How do I keep my folder structure scalable?
How do I keep my folder structure scalable?
7 files per folder
TRY DRY
How do I keep my folder structure scalable?
How do I keep my folder structure scalable?
How do I modularize my code?
The Abstraction Analogy
"An artifact belongs to the same folder level where it is required"
The Abstraction Analogy
If a variable in only used within the scope of a function
it belongs to the function
The Abstraction Analogy
If the variable is used by several functions
it belongs to the class
The Abstraction Analogy
If the variable is used by several components
it belongs to a service
The Abstraction Analogy
If the service is used by several modules
it belongs to a shared module
The Abstraction Analogy
If the service is used by several applications
it belongs to its own repository
The Abstraction Analogy
"An artifact belongs to the same folder level where it is required"
How to deal with team size growth?
How to deal with team size growth?
What standard should I follow for naming?
What standard should I follow for naming?
Be clear
Don't add meta data
Consider the context
What standard should I follow for naming?
Name a variable that store the maximum inactivity time allowed for a transaction in an online store
What standard should I follow for naming?
transactionTime
transactionInactivityTimeValue
transactionInactivityTimePurchaseProduct
What standard should I follow for naming?
transactionMaxInactivityTime
Name 5 code patterns for scalable architectures
Camel case for variables and functions
Title case for classes and interfaces
Dash case for files and folders
Name 5 code patterns for scalable architectures
camelCaseForVariablesAndFunctions
dash-case-for-files-and-folders
TitleCaseForClassesAndInterfaces
Name 5 code patterns for scalable architectures
Name 5 code patterns for scalable architectures
tinyurl.com/my-vscode
How would you do state management?
How would you do state management?
How would you do state management?
YOU ARE HIRED
THANK YOU!
@jdjuan