Visualforce Developer’s guide

Visualforce Developer’s guide
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Build Visualforce pages for mobile applications
  • Learn the best practices and security tips for Visualforce and Apex development
  • Build custom controllers with controller extensions

Book Details

Language : English
Paperback : 120 pages [ 235mm x 191mm ]
Release Date : October 2013
ISBN : 178217981X
ISBN 13 : 9781782179818
Author(s) : W.A.Chamil Madusanka
Topics and Technologies : All Books, Application Development, Enterprise

Table of Contents

Chapter 1: Getting Started with Visualforce
Chapter 2: Controllers and Extensions
Chapter 3: Visualforce and Standard Web Development Technologies
Chapter 4: Visualforce Custom Components
Chapter 5: Dynamic Visualforce Bindings
Chapter 6: Visualforce Charting
Chapter 7: Visualforce for Mobile
Chapter 8: Best Practices for Visualforce Developments
Appendix: Security Tips for Apex and Visualforce Development
    • Chapter 2: Controllers and Extensions
      • Standard controllers
        • How to use a standard controller with a Visualforce page
        • Standard controller actions
      • Standard list controllers
        • How to use a standard list controller with Visualforce
        • Standard list controller actions
      • Custom controllers and controller extensions
        • Understanding custom controllers
        • Building a custom controller
        • Understanding controller extension
        • Building a controller extension
        • Controller methods
          • Getter methods
          • Setter methods
          • Action methods
      • Working with large sets of data on the Visualforce page
      • Order of execution of a Visualforce page
        • Order of execution for a Visualforce page's get requests
        • Order of execution for a Visualforce page's postback requests
      • Validation rules and standard controllers/custom controllers
      • Using the transient keyword
      • Considerations for creating custom controllers and controller extensions
      • Summary
            • Chapter 6: Visualforce Charting
              • Limitations and considerations of Visualforce charting
              • How does Visualforce charting work
                • Providing chart data
                  • Using the controller method
                  • Using a JavaScript function
                  • Using a JavaScript array
              • A complex chart with Visualforce charting
              • Summary
              • Chapter 7: Visualforce for Mobile
                • Understanding Salesforce Mobile
                  • Salesforce Mobile and Visualforce Mobile supporting devices
                  • Capabilities and limitations of the mobile application
                  • Using Visualforce Mobile
                • Developing and mobilizing Visualforce pages
                  • Best practices for building Visualforce Mobile pages for iPhone and BlackBerry
                  • iPhone considerations
                  • BlackBerry considerations
                  • Developing cross-platform compatible pages
                  • Using the JavaScript library
                  • Building a mobile-ready Visualforce tab
                  • Creating the mobile configuration
                • Summary

                    W.A.Chamil Madusanka

                    W.A.Chamil Madusanka is a certified developer. He has been working on projects since 2011. He is working as a developer for many custom applications built on and has also trained end users and new Salesforce developers in his current company (Attune Lanka (pvt) Ltd.) and former company (Sabre Technologies (pvt) Ltd.) He has won the Salesforce New Year Resolution 2013 challenge which was rolled out by Salesforce. He is an active member of the community and he has been contributing to the community through various channels. He is avid about and shares his knowledge on technologies through his blog ( He is a super-contributor on the discussion board and shares his knowledge and experience on by providing effective solutions to developer questions. He is the initiator and the group leader of the Sri Lanka Salesforce Platform Developer User Group. His contribution to the Sri Lanka Salesforce community has led to an increase in Salesforce competency in Sri Lanka. He completed his B.Sc in Computer Science from the University of Colombo School of Computing, Sri Lanka (UCSC). His areas of interest include Cloud computing, semantic web technologies, and Ontology-based systems. Hailing from Polonnaruwa, which is an ancient city in Sri Lanka, he currently resides in Gampaha which is located in the Western province of Sri Lanka. His interests include reading technology books and technology blog posts, and playing cricket. Chamil can be reached via Twitter (@chamilmadusanka), Skype (chamilmadusanka), and e-mail (
                    Sorry, we don't have any reviews for this title yet.

                    Code Downloads

                    Download the code and support files for this book.

                    Submit Errata

                    Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                    Sample chapters

                    You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                    Frequently bought together

                    Visualforce Developer’s guide +    Mastering Web Application Development with AngularJS =
                    50% Off
                    the second eBook
                    Price for both: ₨314.00

                    Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                    What you will learn from this book

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


                    This is a mini tutorial guide that discusses the most important and the most frequently used technical aspects of Visualforce development, thereby making it a perfect companion for Visualforce developers.

                    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.

                    Code Download and Errata
                    Packt Anytime, Anywhere
                    Register Books
                    Print Upgrades
                    eBook Downloads
                    Video Support
                    Contact Us
                    Awards Voting Nominations Previous Winners
                    Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                    Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software