called the sandbox . Finally, the tested changes can be deployed to a live production environment edition. The production environment is the live environment that is used by the users and contains live data. The production instance does not allow developers to code in them directly; this ensures that only debugged and tested code reaches the live organization. Online page editor and the Eclipse Force.com IDE Force.com provides a built-in online editor that helps edit Visualforce pages in real time. The online editor can be enabled by checking the Development Mode checkbox on the user pro fi le, as shown in the following screenshot:
Getting Started with Force.com [ 14 ] The online page editor splits the screen into two parts with live code in the bottom half and the fi nal page output in the top half. Force.com also provides an inline editor for editing the Apex code in the browser itself. Force.com IDE is an IDE built over Eclipse. It provides an easy environment to write code and of fl ine saving. It also comes with a schema browser and a query generator, which helps in generating simple queries ( select statements) by selecting fi elds and objects. The code is auto-synced with the organization. Sandboxes Force.com provides a real-time environment to develop, test, and train people in the organization. It is a safe and isolated environment where any changes made will not affect the production data or application. These sandboxes are used to experiment on new features without disturbing live production in the organization. Separating the test and dev instances also ensures that only the tested and veri fi ed code reaches the production organization.
Chapter 1 [ 15 ] There are four types of sandbox: • Developer sandbox : This environment is specially used to code and test the environment by a single developer. As with the configuration-only sandbox, this also copies the entire customization of the production organization, excluding the data. An added feature of a developer sandbox is that it allows Apex and Visualforce coding. • Developer pro sandbox : Developer pro sandboxes are similar to developer sandboxes but with larger storage. This sandbox is mostly used to handle more developer and quality-assurance tasks. With a larger sandbox, we can store more data and run more efficient tasks. • Partial copy sandbox : This is used as a testing environment. This environment copies the full metadata of the production environment and a subset of production data that can be set using a template. • Full copy sandbox : This copies the entire production organization and all its data records, documents, and attachments. This is usually used to develop and test a new application until it is ready to be shared with users. Full copy sandbox has the same IDs of the records as that of production only when it has been freshly created.
Getting Started with Force.com [ 16 ] Force.com application types There are some common types of applications that are required to automate an enterprise process. They are as follows: •
You've reached the end of your free preview.
Want to read all 31 pages?
- Winter '17