@@ -15,23 +15,24 @@ Creating Interfaces
15
15
16
16
.. grid :: 2
17
17
18
- .. grid-item-card :: :octicon:`mortar-board ` HTML with IDOM
18
+ .. grid-item-card :: :octicon:`code-square ` HTML with IDOM
19
19
:link: html-with-idom
20
20
:link-type: doc
21
21
22
- Construct HTML layouts with IDOM .
22
+ Construct HTML layouts from the basic units of user interface functionality .
23
23
24
24
.. grid-item-card :: :octicon:`package` Your First Components
25
25
:link: your-first-components
26
26
:link-type: doc
27
27
28
- Define and use components.
28
+ Define reusable building blocks that it easier to construct complex
29
+ interfaces.
29
30
30
- .. grid-item-card :: :octicon:`versions ` Rendering Data
31
+ .. grid-item-card :: :octicon:`database ` Rendering Data
31
32
:link: rendering-data
32
33
:link-type: doc
33
34
34
- Render HTML elements and components from raw data
35
+ Use data to organize and render HTML elements and components.
35
36
36
37
IDOM is a Python package for making user interfaces (UI). These interfaces are built
37
38
from small elements of functionality like buttons text and images. IDOM allows you to
@@ -80,8 +81,7 @@ To recreate the same thing in IDOM you would write:
80
81
:octicon: `book ` Read More
81
82
^^^^^^^^^^^^^^^^^^^^^^^^^
82
83
83
- Learn how to construct HTML layouts with IDOM and the underlying data structure we
84
- use to represent them.
84
+ Construct HTML layouts from the basic units of user interface functionality.
85
85
86
86
87
87
Section 2: Your First Components
@@ -97,6 +97,34 @@ practice we'll quickly make a ``Photo`` component:
97
97
.. example :: creating_interfaces.simple_photo
98
98
:activate-result:
99
99
100
+ .. card ::
101
+ :link: your-first-components
102
+ :link-type: doc
103
+
104
+ :octicon: `book ` Read More
105
+ ^^^^^^^^^^^^^^^^^^^^^^^^^
106
+
107
+ Define reusable building blocks that it easier to construct complex interfaces.
108
+
100
109
101
110
Section 3: Rendering Data
102
111
-------------------------
112
+
113
+ The last pillar of knowledge you need before you can start making :ref: `interactive
114
+ interfaces <adding interactivity>` is the ability to render sections of the UI given a
115
+ collection of data. This will require you to understand how elements which are derived
116
+ from data in this way must be orgnized with :ref: `"keys" <Organizing Items With Keys >`.
117
+ One case where we might want to do this is if items in a todo list come from a list of
118
+ data that we want to sort and filter:
119
+
120
+ .. example :: creating_interfaces.todo_list_with_keys
121
+ :activate-result:
122
+
123
+ .. card ::
124
+ :link: rendering-data
125
+ :link-type: doc
126
+
127
+ :octicon: `book ` Read More
128
+ ^^^^^^^^^^^^^^^^^^^^^^^^^
129
+
130
+ Use data to organize and render HTML elements and components.
0 commit comments