Anvil apps are made up of:
- Server Packages
- Server Modules
Your app can be organised using Packages . Packages can contain Forms, Modules, and other Packages.
Forms can contain things
Server Modules and Server Packages
There are also Server Modules and Server Packages. These are just like ordinary Modules and Packages, but they can only be run or imported on the server.
They are found in the ‘Server Code’ section of the App Browser.
To add a new Form, Module or Package, click the
+ next to Client Code:
Or use the dropdown menu next to a Form or Package to add things inside it:
You can create new Server Modules and Server Packages in the same way:
Drag-and-drop existing Forms, Packages and Modules to put them in a new place within your app structure: