liveBook · Manning

Web application

As explained in Build Applications with Local AI Models on a Mac

An application whose user interface and functionality are delivered through a web browser.

A web application is an interactive application presented in a web browser. Streamlit lets you create one with Python: calls such as st.title() and st.text_input() generate page elements without requiring you to write HTML, CSS, or JavaScript directly. section 8.0 section 8.1

Streamlit suits data apps, dashboards, and tools, including an AI chatbot interface. It is not intended for products such as social media or e-commerce sites that need more specialized infrastructure. section 8.1

Figure 8.1 How Streamlit converts Python function calls into web page elements. Your Python script runs on the server, and Streamlit generates the HTML, CSS, and JavaScript that the browser displays.

See how Python calls become page elements displayed in the browser. section 8.1

How Build Applications with Local AI Models on a Mac covers it

How deep it goes
Explains how Python calls generate browser elements, using title and text-input examples.
Examples
Uses a Hello World app, title and name-input widgets, and an AI chatbot interface.
What it assumes
Assumes the ability to write Python and avoids requiring direct HTML, CSS, or JavaScript authoring.
What you can do after
Build it from scratch by writing Python calls for an interactive browser interface.
How it connects
Connects Streamlit and Python with web browsers, HTML, CSS, and JavaScript.

Also explained in

Compare how 8 books explain web application →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Applications with Local AI Models on a Mac. The section links point to the parts of the book it draws on.