Code Monkey home page Code Monkey logo

designing-and-implementing's Introduction

Designing and Implementing a Software System

Overview

This repository has the notes of my learning and thinking in how to design and implement a software system in a systematic method. I focus on software systems because I am a software developer, not having too much experience in dealing with hardware. However, because software runs on top of hardware, hardware will inevitably get involved into the discussion to some extent.

Why is this topic important, at least to me? My answer is: because I want to reproduce success in every piece of software development task. Based on my personal experience, I have realized that, without a systematic method or process, I oftentimes solve the tasks at hand on an ad hoc basis: I may solve it for this particular task well enough, but I'm not sure if I can solve the next task the same well enough or even better.

Key ideas

  • Model the target software system as a state machine. Related:
    • "Write-ahead logs (WAL)" or similar technologies might be important to implement correct state transition.
    • Exception safety.
  • Design the architecture.
  • Define the scope of the target software system in order to distinguish the errors that can be handled and the errors that can't be handled.
  • Report and handle errors correctly. See the sub-folder Error-Handling.
  • Information security.
  • Performance (or the so-called "non-functional requirements").
  • Operation: We can't simply look at the software system itself. We must consider its upstream (i.e., how to get the needed material in order to reconstruct the software system automatically) and downstream (i.e., once the software system is upgraded, how to deploy it to the field automatically).

State machine

Every Computer System is a State Machine (or see the discussion on HN).

TODOs:

designing-and-implementing's People

Contributors

yaobinwen avatar

Watchers

 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.