-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Learning Force.com Application Development
By :

Before you start development on the Force.com platform, you have to do some ground work and have to learn about the data orientation of the Force.com platform, suitability of the application for the Force.com platform, the nature of the data underlying that application, and design the application for the Force.com application.
The Force.com platform provides the development environments, tools, resources, and documentation, which can be used to develop applications. The Force.com tools will be described in Appendix A, Force.com tools. When we talk about development environments, free developer edition (DE) environment is the best option to develop with the latest technologies such as the Apex programming language, Visualforce markup language, and web services API.
DE is free, and you can use it for learning purposes, although it comes with certain limitations.
Follow the steps to create a free developer account:
The developerforce web page
The registration page
Select a unique username in the form of an e-mail by which you will access your developer edition account. Salesforce allows you to select a unique name by default. If you select any pre-existing username, you will get an error.
When we design and build an application on the Force.com platform, we need to be aware of the data that we are going to process underneath the application. Good data design and good development practices can produce flexible and efficient applications.
We cannot use the Force.com platform for any kind of application development. Therefore, we need to understand the apps that are better suited for the Force.com platform. There are four types of applications that are required to automate an enterprise process, which are as follows:
Data and process-centric apps are the most suitable application types for the Force.com platform. The following two figures explain to us how the data-centric and process-centric apps are the most suitable apps for the Force.com platform:
Types of apps that are a good fit for the Force.com platform
Types of apps suitable for the Force.com platform
When we develop a system on the Force.com platform, we need to consider some facts about the design phase. As in traditional software development, identifying your stakeholders and business partners is the first thing you need to do. Then, you need to capture the business requirement from your stakeholders. By analyzing the captured requirement, you can identify the users of the applications and the security model of the application. The security model is the most important part of designing a Force.com application.
Do not keep the defining of the security model of the Force.com application to the end. It will only increase the rework required of the application's designing and development.
In the design phase, we can consider the development method, which can be used to develop the particular application. There are two development methods on the Force.com platform. They are as follows:
The following screenshot shows the Force.com development model. It illustrates the deviation development methods with the skills of the developer.
Force.com development model
Most complete and robust solutions actually use a combination of declarative and programmatic solutions. Developers should understand how to develop using both declarative and programmatic features. The following table shows the advantages of declarative and programmatic customizations:
Declarative customizations |
Programmatic customizations |
---|---|
Ease of development (more visual and quicker to do) |
Can extend the capabilities of an application beyond standard functionalities |
Ease of upgrade |
More control and flexibility over the application |
Ease of maintenance |
Change the font size
Change margin width
Change background colour