Programmatic Development using Apex and Visualforce Training in Canada

  • Learn via: Classroom / Virtual Classroom / Online
  • Duration: 5 Days
  • Price: Please contact for booking options
We can host this training at your preferred location. Contact us!

In this course, you will learn the core of the Apex programming language and Visualforce markup in order to customize your applications. You will get hands-on experience building data objects (sObjects) and programmatically retrieving, manipulating, and storing the data associated with those objects. You will write custom logic using Apex triggers and classes, and test that logic using the built-in testing framework. You will explore how Apex code interacts with declarative customizations on the platform, and the nuances of working on a multi-tenant platform. You'll then examine common techniques for designing solutions in Apex. These activities will culminate in an exercise building a complex trigger that takes advantage of the declarative aspects of the platform. You will get hands-on experience writing Visualforce pages to customize your user interface and Visualforce controllers (in Apex) to modify the controller behavior behind the interface. You'll also explore design techniques and the built-in testing framework around Visualforce.

There are no prerequisites for this course.

This course is designed for programmatic developers who are new to the Force.com platform, who need to be able to write programmatic customizations to both the business logic and user interface layers using Apex and Visualforce.

  • Create and modify objects using the declarative interface
  • Write business logic customizations using Apex triggers and classes (those customizations will use SOQL and DML)
  • Design programmatic solutions that take advantage of declarative customizations
  • Describe how your trigger code works within the basics of the Save Order of Execution
  • Describe some of the fundamental aspects of designing programs on a multi-tenant platform
  • Write Visualforce markup and code to customize the user interface
  • Use the built-in testing framework to test Apex and Visualforce

Objects and Fields

  • Describe the capabilities of objects on the Force.com platform
  • Create a custom object
  • Create custom fields
  • Create relationship fields

Work Effectively with Custom Objects and Fields

  • Create formula fields
  • Create roll-up summary fields
  • Describe the capabilities of record types

Programming with Apex

  • Describe key aspects of Apex that differentiate it from other languages, such as Java and C#
  • Describe why Apex transactions and governor limits must be considered when writing Apex
  • Execute simple Apex
  • Use the sObject data type, the primitive data types, and basic control statements in Apex
  • Use SOQL to Query Your Org's Data

Write a basic query using Salesforce's query language, SOQL

  • Process the result of a query in Apex
  • Create a query dynamically at run-time

Use SOQL to Query Parent-Child Relationships

Describe a relationship query

  • Write a query that traverses a child-to-parent relationship
  • Write a query that traverses a parent-to-child relationship

DML Essentials

  • List the differences between the ways you can invoke DML operations
  • Write Apex to invoke DML operations and handle DML errors

Trigger Essentials

  • Describe what a trigger is used for
  • Describe the syntax of a trigger definition
  • Use trigger context variables

Classes

  • Describe how Apex classes are used
  • Define an Apex class
  • Determine what data an Apex class can access
  • The Save Order of Execution and Apex Transactions
  • Describe key points in the Order of Execution
  • Describe how triggers fit into and can be impacted by the Order of Execution
  • Describe the lifecycle of an Apex Transaction
  • Describe the memory lifecycle for static variables

Testing Essentials

  • Describe Apex's testing framework
  • Create test data
  • Write and run an Apex test

Testing Strategies

  • Describe practices for writing code that is easy to maintain and extend
  • Write triggers and classes that assume batches of data as input
  • Write code that works efficiently with the database, both in querying and using DML

Strategies for Designing Efficient Apex Solutions

  • Determine your code coverage percentages
  • Create tests using best practices

Trigger Design Strategies

  • List declarative mechanisms you can use to implement complex business logic, for what types of problems they are best used, and their limitations
  • Describe ways in which you can use declarative functionality to improve your programmatic solutions
  • Creating Visualforce Pages
  • Create a Visualforce page
  • Reference a standard controller
  • Launch a Visualforce page using a custom button
  • Display data from a record in a Visualforce page

Exploring the View and Controller Layers of Visualforce

  • Create a Visualforce page
  • Display related data
  • Invoke standard controller actions

Working with Custom Controllers and Controller Extensions

  • Create controller extensions
  • Create a custom controller
  • Work with properties
  • Use PageReferences
  • Invoke custom methods in Visualforce pages

Working with List Controllers and SOSL Queries

  • Use a standard list controller in a Visualforce page
  • Create a SOSL query
  • Create a custom list controller

Visualforce Development Considerations

  • Determine whether a declarative solution exists for your requirements
  • Describe common governor limit issues and security concerns
  • Describe Visualforce strategies

Testing Visualforce Controllers

  • Describe how a Visualforce controller interacts with the view
  • Write tests for controller constructors
  • Write tests for action methods, getters, setters, and properties


Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Canada facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

08 January 2025 (5 Days)
Toronto, Montreal, Calgary
Classroom / Virtual Classroom
25 January 2025 (5 Days)
Toronto, Montreal, Calgary
Classroom / Virtual Classroom
08 January 2025 (5 Days)
Toronto, Montreal, Calgary
Classroom / Virtual Classroom
15 February 2025 (5 Days)
Toronto, Montreal, Calgary
Classroom / Virtual Classroom
25 January 2025 (5 Days)
Toronto, Montreal, Calgary
Classroom / Virtual Classroom
15 February 2025 (5 Days)
Toronto, Montreal, Calgary
Classroom / Virtual Classroom
22 March 2025 (5 Days)
Toronto, Montreal, Calgary
Classroom / Virtual Classroom
09 April 2025 (5 Days)
Toronto, Montreal, Calgary
Classroom / Virtual Classroom
Programmatic Development using Apex and Visualforce Training Course in Canada

Canada is a North American country. Known as the second-largest country of the world, Canada’s capital city is Ottawa. Toronto, Vancouver and Montreal are the biggest and most popular cities of this country. The 8,891-kilometer southern and western border between Canada and the United States is the world's longest intergovernmental land border. This country also has the longest coastline in the world.

Canada is a constitutional monarchy. The country was originally a British Empire colony and is now a part of the British Commonwealth. Both French and English are Canada’s official languages. Canada’s national animal is a beaver and the its flag design is a vertical triband of red and white with a red maple leaf charged in the centre. Some of the top-rated tourist attractions in Canada are Niagara Falls, Banff National Park and Rocky Mountains, CN Tower in Toronto City, Bay of Fundy, Old Quebec (Vieux-Quebec in French), the ski resort of Whistler, Ottawa's Parliament Hill and Vancouver Island.

Choose from our extensive selection of IT courses, covering programming, data analytics, software development, business skills, cloud computing, cybersecurity, project management. Our highly skilled instructors will deliver hands-on training and valuable insights at a location of your choice within Canada.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.