$w is the selector syntax you use to select elements in code (for example, $w('#myButton')). After selecting an element, use APIs to work with its properties and functions.
Wix Blocks allows you to build apps, and reuse your code across multiple Wix sites.
Together with collection permissions, CMS roles give you control over which visitors are allowed to interact with the data in your collections and what they're allowed to do. Every person that visits your site falls into one of 4 roles: admin, site member author, site member, and anyone. You can assign specific permissions to each role.
A database collection is a table used on a Wix site. Each row is an item, and each column is a field, including:
You can connect elements in your site to fields in your collection using connecting to data and datasets.
Permissions control which site roles (Anyone, Site member, Site member author, Admin) can create, read, update, and delete items in a collection. Permissions apply to the collection, not individual fields, and work together with the dataset's mode.
A database schema is the definition of a database's structure. The schema defines which fields are in each of your collections and their type. However, in some cases, your collections can contain fields that aren't part of the schema.
A dataset is a component that connects page elements to your collections. It selects the collection and controls sorting, filtering, and what elements can do via the dataset's mode (Read & Write, Read-only, Write-only). Works on regular and dynamic pages and isn't displayed on the live site.
A dynamic page uses a single layout to display different items from a collection. Content is determined by the page URL - its prefix and dynamic segments are saved on each item as a calculated field. There are 2 types of dynamic pages: dynamic item page and dynamic list page.
A dynamic page dataset is a component that's added to your page automatically when you create a dynamic page. Like a regular dataset, it enables you to connect the elements on your page to your collections. It also allows you to add more filters and to sort the content on your page.
With functional testing, you can easily and quickly test and debug your backend code directly in the code editor. Functional Testing saves you the time and effort of building your own system for triggering and testing your backend functions.
An HTTP function allows you to expose your site's functionality as an HTTP endpoint. Call these endpoints from external services or apps to integrate with your Wix site.
A hook runs code before or after certain operations. Use data hooks to intercept collection operations, or router hooks to customize dynamic page data binding.
The live database is your published site's data storage. It appears on the live site and stores data collected there. You can sync between sandbox and live (copy sandbox to live, or overwrite sandbox with live) from the sandbox.
Sandbox and live aren't always enabled for your collections. Learn more about sandbox, live collections and syncing.
Use the monitoring dashboard to track site performance, especially for backend code and data requests. Access it from Developer Tools in the Code sidebar. You can also use Wix Logs to monitor the site's performance.
Use the properties panel to configure elements, add event handlers and set default behavior on page load.
The remote Wix Editor for editing and previewing your site's UI and code, as opposed to the local editor when using Git Integration & Wix CLI.
Use the Release Manager to view the current published version and test site, and to create, edit, or delete test versions.
A repeater reuses a single layout for multiple items, where each item has the same layout with different content. Use static content set in the Editor, or connect to the data in a collection to display data-bound lists.
Every time you manually save or publish your site following a change, a new revision of your site is created. You can view and manage your revisions in your Site History. You can also create a test site or monitor Wix Logs for a specific revision of your site.
A router lets you control how your site handles incoming requests and SEO. Customize routing logic and the content returned for specific paths.
The sandbox database is your development data storage. Its data doesn't appear on the published site unless you sync to the live database. Preview mode updates sandbox data.
Sandbox and live aren't always enabled for your collections. Learn more here.
A scope defines which elements you can select with a selector function, such as $w( ), and how those elements behave when they're selected. Depending on which context you received a selector function from, it will either select from the global scope or the repeated item scope.
Service plugins allow you to extend and customize your site's functionality. You can use service plugins to inject your own custom logic into a part of an existing, out-of-the-box app's flow. You can also use service plugins to integrate with 3rd-party services so that your Wix site and the external services can communicate seamlessly.
The Code sidebar shows all of the files that make up your site, including pages, popups, files, routers, and database collections. Working in the sidebar, you can perform a variety of actions that affect your site.
Sync allows you to move your data between your sandbox and live databases. You can copy selected or all items in a collection from a sandbox collection to the live version of that collection. You can also overwrite a sandbox collection with all the data from the live version, or overwrite all your sandbox collections with the data from their live versions. You can only initiate sync operations from the sandbox database.
Sandbox and live aren't always enabled for your collections. Learn more about sandbox and live collections.
A test site is a version of your site released to a percentage of visitors so you can validate changes before publishing. Manage test sites in the Release Manager.
User input elements capture and store user data in a collection. Connect them to a dataset with mode set to Write-only or Read & Write.
Validate data entered via user input elements against your criteria, using either the settings panel or code.
Web modules enable you to write functions in the backend and call them from your frontend code. You import functions from backend web modules into your frontend, and the functions execute on the backend. Wix handles all the all the backend-frontend communication required to enable this access.