Giter Site home page Giter Site logo

architecture-checklist's Introduction

☑️ Designing iOS architecture: Checklist

List of questions one should ask while designing an architecture.

The article explaining the motivation is here.

📈Is it scalable?

  • Does it handle changing business requirements efficiently?
  • Does it support gradual adoption in existing projects?
  • Does it allow replacing third-party components easily?
  • Does is encourage composition of small independent components?
  • Does it allow adding UI to features later?
  • Does it support breaking of retain cycles on integration rather than component level?
  • Does it support people working simultaneously on different parts of a feature?
  • Does it limit the use of event/notification systems to specific layers?
  • Does it provide a strategy for cutting corners and tech debt?

🚧Is it maintainable?

  • Does it provide a tactic for fighting massive objects?
  • Does it limit the number of dependencies for an object?
  • Does it try to reduce the amount of boilerplate code?
  • Does it minimize the number of different roles of components?
  • Does it suggest project structure tolerant to changes?
  • Does it feel right?

🔱Is it prepared for navigation?

  • Does it explain how to pass data between components?
  • Does it allow describing and discovering app flow naturally?
  • Does it avoid transient dependencies?
  • Does it define how to store state?
  • Does it minimize the amount of global state?
  • Does it allow opening a stack of screens?
  • Does it handle opening of a screen from a push notification?

🌟Is it promoting quality?

  • Does it maximize the amount of testable code?
  • Does it encourages compile-time decisions over runtime decisions?
  • Does it avoid force casting and unwrapping?
  • Does it allow stubbing asynchronous code to run tests synchronously?
  • Does it support testing of UI?
  • Does it forgive mistakes?

🤝 How to contribute

Feel free to make a pull request if something is missing!

📃 License

License: CC BY 4.0

architecture-checklist's People

Contributors

bohdanorlov avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.