Table of Contents Previous Section
Web Components
A component is a web page, or a portion of one, that has both content and behavior. Usually a component represents an entire page, so the word "page" is used interchangeably with the word "component." Components don't always represent an entire page, however. For example, a component might represent only a header or footer of a page; you can nest it inside of a component that represents the rest of the page.Components are made up of:
- A template that specifies how the component looks
- Code that specifies how the component acts
- Bindings that associate the component's template with its code
Note that the various parts of a component are actually located in various Project Builder suitcases: the template and bindings files are located under WebComponents, the code files are located under Classes, and API files (if you have any) wind up under a suitcase named Resources.
Table of Contents Next Section