Book Image

Visualforce Developer's guide

By : Chamil Madusanka
Book Image

Visualforce Developer's guide

By: Chamil Madusanka

Overview of this book

<p>Visualforce allows you to build sophisticated, custom user interfaces that can be hosted natively on the Force.com platform. Visualforce achieves this with the help of a tag-based language which is similar to HTML. This book aims to introduce you to Visualforce development tools to develop a better perspective towards UI development with Visualforce, and take your expertise in UI development to the next level.</p> <p>"Visualforce Developer's Guide" is a hands-on guide aimed towards developing a custom UI interface. As you read through the content, you will notice that this book focuses on a single real-world example. This book builds upon this example to help you understand and use Visualforce development tools in your custom UI interfaces.</p> <p>"Visualforce Developer's Guide" begins with an introduction to Visualforce to give you an understanding of the MVC model and the Visualforce architecture. Special emphasis is given to building a rich user interface by leveraging JavaScript, jQuery, CSS, and HTML with Visualforce. Through the course of the book, you will learn how to reuse the code with the help of custom components, and minimize the Visualforce and Apex code through Visualforce dynamic binding. The later sections of the book focus on building Visualforce pages for mobile devices. By the end of the book, you will learn the best practices and security tips for Apex and Visualforce development.</p>
Table of Contents (17 chapters)
Visualforce Developer's Guide
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Visualforce Custom Components

Salesforce has a large collection of standard Visualforce components such as <apex:detail>, <apex:pageBlock>, <apex:pageBlockTable>, and <apex:relatedList>. They are ready to be used in Visualforce pages, and the Force.com platform allows us to build our own Visualforce components which can be used in Visualforce pages.

This chapter serves as an overview of Visualforce custom components and further explains how to create a custom component. This chapter covers the following topics:

  • Understanding Visualforce custom components

  • How to create and use a custom component in a Visualforce page

  • Custom attributes and custom controllers

Let's build our own Visualforce custom components.