Skip to content

Commit 681577c

Browse files
committed
..
1 parent 4620f60 commit 681577c

File tree

3 files changed

+45
-23
lines changed

3 files changed

+45
-23
lines changed

website/docs/packages/overview.md

Lines changed: 38 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ tags={[
1818

1919
<!-- vale on -->
2020

21-
In modern application development, reusability is key to building efficiently and maintaining high standards. Appsmith empowers you to embrace reusability through Packages, a powerful feature set designed to help you create, share, and manage reusable logic and UI components across your applications.
22-
23-
Whether you need to standardize backend operations or ensure a consistent user interface, Packages provide the tools to build faster, reduce redundancy, and improve the overall quality of your Appsmith applications.
21+
Reusability is an integral part of application development, offering various advantages like speeding up the development process, centralizing business logic, and introducing standardization into applications. Appsmith enhances reusability by providing a feature set, which allows you to reuse widgets, queries, and JS logic across your applications.
2422

2523

2624
:::info
@@ -29,18 +27,18 @@ For Appsmith version v1.57 or earlier, refer to the legacy documentation for the
2927

3028
## Packages
3129

32-
A **Package** is a reusable bundle that can be shared across apps in the same workspace. There are two types of packages in Appsmith:
30+
A Package is a reusable bundle that can be shared across apps in the same workspace. There are two types of packages in Appsmith:
3331

3432

3533
### Code Packages
3634

37-
Code Packages are reusable bundles that group multiple logic-based modules, which can be shared across applications within the same workspace.
35+
Code Packages are reusable bundles that group multiple logic-based modules, which can be shared across applications within the same workspace. Inside a Code Package, you can create two types of modules—Query Modules and JavaScript Modules.
3836

39-
Inside a Code Package, you can create two types of modules—Query Modules and JavaScript Modules. These modules allow you to encapsulate backend logic in a reusable, version-controlled way, helping you standardize how data is fetched and processed across your apps.
37+
These modules allow you to encapsulate backend logic in a reusable, version-controlled way, helping you standardize how data is fetched and processed across your apps.
4038

4139

4240
<ZoomImage
43-
src="/img/modules-landing.png"
41+
src="/img/code-package.png"
4442
alt="Modules image"
4543
caption=""
4644
/>
@@ -54,7 +52,8 @@ Inside a Code Package, you can create two types of modules—Query Modules and J
5452

5553
UI Packages are reusable bundles that group user interface components and related logic, which can be shared across applications within the same workspace. Inside a UI Package, you can create one or more UI Modules.
5654

57-
A **UI Module** combines widgets, queries, JavaScript, inputs, and outputs into a self-contained, configurable component. This allows you to build dynamic, branded UI blocks—like login forms or dashboards—that can be reused and customized across different applications without duplicating logic.
55+
A **UI Module** combines widgets, queries, JavaScript, inputs, and outputs into a self-contained, configurable component. This allows you to build dynamic, branded UI blocks such as login forms or dashboards that can be reused and customized across different applications without duplicating logic.
56+
5857

5958

6059

@@ -69,19 +68,36 @@ A **UI Module** combines widgets, queries, JavaScript, inputs, and outputs into
6968
## Getting started
7069

7170

72-
<div className="containerGridSampleApp">
73-
<a className="containerAnchor containerColumnSampleApp columnGrid column-two" href="/packages/tutorial/query-module">
74-
<div className="containerHead">
75-
<div className="containerHeading">
76-
<strong>Tutorial</strong>
77-
</div>
78-
</div>
79-
<hr className="gradient-hr" />
80-
<div className="containerDescription">
81-
Take the quick tutorial to learn the basics of working with packages in Appsmith, including how to create and manage them.
82-
</div>
83-
</a>
84-
</div>
85-
8671

8772

73+
<div className="containerGridSampleApp three-column-layout">
74+
<a className="containerAnchor containerColumnSampleApp columnGrid" href="/packages/tutorial/query-module">
75+
<div className="containerHead">
76+
<div className="containerHeading"><strong>Query Module</strong></div>
77+
</div>
78+
<hr className="gradient-hr" />
79+
<div className="containerDescription">
80+
Learn how to create reusable queries that can be shared across different applications to fetch and manage data.
81+
</div>
82+
</a>
83+
84+
<a className="containerAnchor containerColumnSampleApp columnGrid" href="/packages/tutorial/js-module">
85+
<div className="containerHead">
86+
<div className="containerHeading"><strong>JS Module</strong></div>
87+
</div>
88+
<hr className="gradient-hr" />
89+
<div className="containerDescription">
90+
Understand how to build reusable JavaScript logic to standardize data handling and utilities across your apps.
91+
</div>
92+
</a>
93+
94+
<a className="containerAnchor containerColumnSampleApp columnGrid" href="/packages/tutorial/ui-module">
95+
<div className="containerHead">
96+
<div className="containerHeading"><strong>UI Module</strong></div>
97+
</div>
98+
<hr className="gradient-hr" />
99+
<div className="containerDescription">
100+
Explore how to bundle widgets, logic, and configuration into self-contained UI blocks that work across multiple apps.
101+
</div>
102+
</a>
103+
</div>

website/src/css/custom.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,4 +910,10 @@ h4+.tags {
910910
background: linear-gradient(to right, #f0f4f7, #d3d3d3);
911911
margin: 20px 0;
912912
padding-bottom: 2px;
913-
}
913+
}
914+
915+
.three-column-layout {
916+
display: grid;
917+
grid-template-columns: repeat(3, 1fr);
918+
gap: 1rem;
919+
}
55.5 KB
Loading

0 commit comments

Comments
 (0)