There are some common types of applications that are required to automate an enterprise process. They are as follows:
There are two ways of development on Force.com, one way is using point-and-click without a single line of coding, called the declarative development. The other way is developing application using code, which is called programmatic development. Let us look at the two types of development in detail.
Declarative development is done by point-and-click using a browser. We use ready-to-use components and modify their configuration to build applications. We can add new objects, define their standard views, and create input forms with simple point-and-link with no coding knowledge. The declarative framework allows rapid development and deployment of applications.
The declarative development also follows the MVC architecture in development. The MVC components in declarative development using Force.com are:
Model |
View |
Controller |
---|---|---|
Objects Fields Relationships |
Applications Tabs Page layouts Record types |
Workflow rules Validation rules Assignment rules |
Programmatic development requires prior coding knowledge. This method allows us to extend the Force.com platform beyond the declarative capabilities. This method gives us control and flexibility over the application we build.
Programmatic development also uses the MVC architecture.
Model |
View |
Controller |
---|---|---|
Web services API Metadata API |
Visualforce pages Sites |
Visualforce controllers Apex triggers Web service API |
The best practice is always to use both declarative and programmatic solutions to build complete applications. Declarative solutions have ease of development and maintenance. They are automatically upgraded with new releases of Salesforce. However, they do not provide complete flexibility to build robust solutions. Programmatic solutions can extend beyond the limitations of a declarative framework.
The easiest way to get your hands on Salesforce is to login through a developer account. If you already have one, login to it now or perform the following steps to create one: