Database application development with Force.com

An application isn’t worth much unless it has data to work with. And to do anything meaningful with serious quantities of information, you need a database for storage. That’s where database application development comes in: Whether an application is off-the-shelf or custom, database development is part of the process of building it. Force.com makes database application development simple: Intuitive wizards guide you through creating fields, relationships, and objects.

The foundation for database customization on Force.com is database services, which provides you with database application development power way beyond mere information warehousing. Database services lets you define data-storage objects to handle the complexities of keeping your data secure and always available.

The database application development functionality of database services can be used with any Force.com app, whether it’s built with the declarative application framework, enhanced through Force.com code (Apex) and Force.com pages (Visualforce), or merely accessing data through the Force.com Web services API.

Read more

 

Custom database development in the cloud

Before diving more deeply into database application development with Force.com, it’s useful to review the platform’s advantages at the highest level. Force.com is cloud-based, which means you don’t need server hardware or a data center to perform database customization or any other aspect of database application development. With just a notebook and a Web browser, custom database development power is literally at your fingertips.

You also don’t need a Ph.D. in programming for database application development on Force.com. If you’re at home with intuitive point-and-click tools―and these days, who isn’t?―you can easily create custom objects and fields for dates, numbers, text, currency, pick lists, checklists, and more.

Database customization with the greatest of ease

Similarly, it takes just clicks to add relationships, formula fields, validation rules, reporting, tagging, auditing, and searches using your choice of Force.com’s Web-based custom database development environment or Eclipse-based IDE. All database application development services are tightly integrated with the Java-like Force.com code, Apex, which includes a dedicated syntax for invoking searches and iterating over results.

When you use Force.com for database application development, you don’t need to be concerned about performance tuning, backup and recovery strategies, and archive logging. Just perform your database customization and we’ll handle everything else securely in the cloud.

Let’s not overlook another advantage of Force.com for database application development: With your data model as a guide, the platform automatically creates a rich user interface. Force.com makes individually tailoring this UI as easy as it makes database customization: Just use our drag-and-drop page layout editor.

Exploring database application development with Force.com

The function of “data persistence” is central to many applications, and the Force.com database makes up the platform’s persistence layer. The process of database application development involves creating persistent objects using the Web-based Force.com Setup menu environment. The platform then automatically generates a user interface (UI) around these objects. In addition to custom database development, Force.com lets you build tagging, reporting, and a host of other related functions into your apps. As mentioned previously, database customization services are closely tied to Force.com’s native code (Apex).

Before undertaking database application development, it’s helpful to understand the basic structure of the Force.com database, the many data types supported, and the terminology used.

The fundamentals of hands-on database application development

In addition to automatic UI generation and point-and-click tools, Force.com has another database application development capability that’s especially noteworthy: Instead of performing custom database development using foreign keys, you work with meaningful and more abstract relationships.

When you’re doing database application development with a relational database, you store data in tables, each of which contains a number of columns of a specific data type. Information resides in the rows of each table. As part of the database application development process, you can create relationships among various tables by means of primary and foreign keys. For example, you can map the rows in one table to rows in another.

In contrast, the Force.com database uses objects to store data. Although objects have all the functionality of tables and more, there are differences that bear directly on custom database development. Objects are made up of fields. When you perform database application development, you associate or relate objects to other objects using relationship fields that map records in one object to records in another. Metadata defines an object’s attributes, and information gets stored in records of the object. When you create an object using Force.com code during the course of database application development, it’s called an sObject to distinguish it from instances of Apex classes.

Field types and their role in database application development

  • Non-relational field types. In database application development with Force.com, all fields inside an object need to be defined as a specific data type. These include Auto Number, Checkbox, Date or Date/Time, Number, Email, Phone and URL, Picklist and Multi-Select Picklists, Text and Text Areas, Currency, and Formula.

    If you already know your way around database application development, most of these fields will be familiar―many relational databases use Auto Number, Text, and Number. The Formula data type is somewhat different: In database application development with Force.com, it gets its value from a supplied formula expression. Whenever any source fields undergo change, the Formula field is updated. And when your application displays Checkbox, Email, URL, and Phone fields within the automatically generated UI, some automatic formatting capabilities are included to simply database customization.

  • Relational field types. As already described, in database application development with Force.com, you implement record relationships differently than with relational databases. Rather than use keys to define relationships, you perform custom database development with relationship fields. A relationship field stores the ID of the parent record and gives you the option of supplying user interface representations in both the parent and child records.

Database customization using relationship fields

You can define two kinds of relationship fields in database application development:

  • To associate one object with another, you create a Lookup Relationship that lets you visually and programmatically navigate from records in one object to the related records in another.
  • The other type of relationship field used in Force.com database application development is the Master-Detail Relationship. This field defines a specific kind of relationship between one object (the child or “detail”) and another object (the parent or “master”).

For more information on database application development with Force.com, please visit our wiki page on Database Services. You’ll find overviews, articles, and presentations on custom database development plus reference material on the finer details of database customization.

Collapse

Related Searches

Application DevelopmentDevelop enterprise applications in the cloud and eliminate the hassles of server maintenance or software upgrades.
Application Integration Use cloud computing to integrate diverse business applications in your CRM & ERP systems with Force.com.
Cloud Computing Infrastructure Force.com's cloud computing infrastructure and architecture powers over 60,000 businesses and 100,000 applications.
Cloud Computing Platform Using Force.com's cloud computing platform, you can build business applications 5 times faster, at ½ the cost.
CRM Salesforce CRM fosters better customer relationships, helping you save money and increase profits.
CRM Customization Customize your business applications so that your CRM runs the way your business does.
CRM Integration CRM & ERP integration is easy when you can use over 800 pre-integrated Salesforce business apps to support your enterprise.
Database Application Development Force.com includes a powerful, yet easy-to-use, customizable database. Use Force.com to build custom database applications for your business.
Free Application Builder Force.com Free Edition account includes everything you need to start building apps today. Free online training, videos and application templates.
Mobile Application Development Salesforce.com’s mobile capabilities makes it easier than ever to build and deploy customized mobile applications - in the cloud.
What Is Cloud Computing? “Cloud computing” is the new, hot buzz word. What is it, and what does it mean for your business?
Workflow Software Automate workflows, business rules and easily manage your complex business processes with Force.com Visual Process Manager

 

Database.com

 

 

Store and share data securely

The leading cloud database for building social and mobile applications

Free trial & pricing

Social

Profiles, groups, and social graph to enable collaboration

Mobile

Custom APIs and data feeds for building efficient, robust mobile apps

Open

Standards-based access from any language, platform, or device

 
Deliver innovation. Now. Free trial & pricing
Follow Database.com
Loading social-sharing widget