liveBook · Manning

Continuous improvement

As explained in Build Python Web Apps with Streamlit

Iterative development is a software-development technique that repeatedly cycles through implementation, testing, evaluation, and revision.

Iterative development improves software through repeated cycles of implementation, testing, evaluation, and revision. For an app, inspect what it does, compare the result with expectations, and change the code or earlier plans as needed. section 2.4 section 3.1

A practical app-development cycle can include:

  • State the concept, define requirements, and visualize the user experience. section 3.1
  • Consider implementation choices and trade-offs, then write the code. section 3.1
  • Run the app, try its interactions, and check whether its output matches expectations. section 2.4
  • Revise the code or earlier decisions, save changes, and test again. section 2.4 section 3.1

Testing a Streamlit app

Run the Python file with `streamlit run <filename>`, then enter values and click buttons in the browser. If the output differs from expectations, edit and save the code, rerun the app, and check the result again. section 2.4

Figure 3.1 The six-step app development workflow

Use the six-step workflow to see how iteration follows coding and can send you back to revise earlier planning decisions. section 3.1

How Build Python Web Apps with Streamlit covers it

How deep it goes
Details a repeatable coding-and-testing loop and a six-step process, while leaving each project's implementation choices open.
Examples
Uses a Streamlit app tested by entering values, clicking buttons, and checking browser output.
What it assumes
Assumes a Python file and terminal for the Streamlit workflow, while scaling planning steps to suit small apps.
What you can do after
Apply it by running a Streamlit app, testing browser interactions, and revising code or earlier project decisions.
How it connects
Connects software development with requirements, user experience, implementation, and testing.

Also explained in

Compare how 30 books explain continuous improvement →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Python Web Apps with Streamlit. The section links point to the parts of the book it draws on.