Architectures

Scalable

@jdjuan

@luchillo17

Google Developer Expert

@jdjuan

You might not need anything of what you are about to talk about. And you might as well define your very own standards

@jdjuan

Problem

@luchillo17

@jdjuan

1. Complexity

2. Requirements

3. Size Increase

@luchillo17

@jdjuan

INTERVIEW

@jdjuan

How do I make my architecture scalable?

@luchillo17

@jdjuan

@luchillo17

How do I make my architecture scalable?

@jdjuan

@luchillo17

  • Folder Structure
  • Modularization
  • Code Patterns
  • State Management

How do I make my architecture scalable?

@jdjuan

@luchillo17

@jdjuan

How do I keep my folder structure scalable?

@luchillo17

@jdjuan

@luchillo17

How do I keep my folder structure scalable?

@jdjuan

@luchillo17

@jdjuan

How do I keep my folder structure scalable?

@luchillo17

LIFT

Locate

Identify

Flat

Try DRY

@jdjuan

How to deal with team size growth?

@luchillo17

@jdjuan

How to deal with team size growth?

@luchillo17

How to deal with team size growth?

How to deal with team size growth?

How to deal with team size growth?

@jdjuan

Name 5 good practices of scalable architectures

@luchillo17

@jdjuan

Name some good practices of scalable architectures?

@luchillo17

@jdjuan

Name some good practices of scalable architectures?

@luchillo17

@jdjuan

Name some good practices of scalable architectures?

@luchillo17

  • Use camel case for variables, keebab-case for files and folders and title case for class names
  • Use const instead of let
  • Small Functions
  • Unit testing
  • TDD (Test Driven Development)

@jdjuan

Name some bad practices of scalable architectures?

@luchillo17

@jdjuan

Name some bad practices of scalable architectures?

@luchillo17

  • Global variables
  • Component selector names
  • Using underscore to prefix private variable
  • Services with more than one responsibility
  • Forgetting to catch errors

@jdjuan

How should I manage state to scale?

@luchillo17

@jdjuan

How should I manage state to scale?

@luchillo17

@jdjuan

YOU ARE HIRED

@luchillo17

@jdjuan

@luchillo17

@jdjuan

THANK YOU!

@luchillo17

NG-SHOW

By Juan Herrera

NG-SHOW

  • 1,196