Free Sample
+ Collection

Visualforce Developer’s guide

Chamil Madusanka

Learn the latest developments in SalesForce with this hands-on pocket guide
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782179818
Paperback120 pages

About This Book

  • Build Visualforce pages for mobile applications
  • Learn the best practices and security tips for Visualforce and Apex development
  • Build custom controllers with controller extensions

Who This Book Is For

This book is for Visualforce developers who are looking for a pocket guide that will resolve their most frequently faced issues.

Table of Contents

Chapter 1: Getting Started with Visualforce
The MVC model
Understanding Visualforce
The Visualforce architecture
Advantages of Visualforce
Visualforce development tools
Chapter 2: Controllers and Extensions
Standard controllers
Standard list controllers
Custom controllers and controller extensions
Working with large sets of data on the Visualforce page
Order of execution of a Visualforce page
Validation rules and standard controllers/custom controllers
Using the transient keyword
Considerations for creating custom controllers and controller extensions
Chapter 3: Visualforce and Standard Web Development Technologies
Styling Visualforce pages
Using JavaScript in Visualforce pages
Using jQuery in Visualforce pages
HTML5 and Visualforce pages
Chapter 4: Visualforce Custom Components
Understanding Visualforce custom components
Creating and using a custom component
Custom attributes and custom controllers
Chapter 5: Dynamic Visualforce Bindings
Using dynamic references with standard objects and custom objects
Referencing Apex Maps and Lists
Working with field sets
Chapter 6: Visualforce Charting
Limitations and considerations of Visualforce charting
How does Visualforce charting work
A complex chart with Visualforce charting
Chapter 7: Visualforce for Mobile
Understanding Salesforce Mobile
Developing and mobilizing Visualforce pages
Chapter 8: Best Practices for Visualforce Developments
Accessing component IDs
Page block components
Controllers and controller extensions
Improving Visualforce's performance
Static resources
Rendering PDFs
Using component facets

What You Will Learn

  • Understand the MVC model and architecture of Visualforce
  • Learn standard controllers and Standard List Controllers
  • Get to grips with dynamic references to global variables
  • Build custom charts with Visualforce charting
  • Develop Visualforce pages for mobile devices

In Detail

Visualforce allows you to build sophisticated, custom user interfaces that can be hosted natively on the 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.

"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.

"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.


Read More