Force.com Design Patterns - Part 2
Pluralsight
Course Summary
Learn about common (and not-so-common) design patterns on the Force.com platform, with in-depth tutorials of actual applications
-
+
Course Description
Part 2 of this course covers test design patterns, Visualforce architecture and JavaScript Remoting using Knockout.js to demonstrate real-time data binding from DOM to SObject. It concludes with a unique Apex design pattern that's tailor made for the Force.com platform called the Flow Factory. This stateful pattern organizes the business logic of a conceptual flow chart by leveraging both the Strategy and the Factory Method design patterns while adding a few twists of its own.
-
+
Course Syllabus
Test Design Patterns- 34m 15s
—Introduction 0m 44s
—Unit Test Benefits 1m 20s
—General Recommendations 2m 33s
—Centralize Data Creation 1m 58s
—Demo: Centralized Test Data Creation 0m 58s
—Apex System Methods 1m 19s
—System.Test.loadData 1m 7s
—Demo: Loading Test Data From Static Resources 1m 26s
—Testing Callouts 1m 8s
—Mock Callouts 2m 15s
—Demo: HttpCalloutMock 2m 15s
—Demo: StaticResourceCalloutMock 1m 18s
—Demo: MultiStaticResourceCalloutMock 1m 55s
—Deploying to Production 1m 47s
—Soft Assert 1m 20s
—Instructive Static Resources 2m 43s
—Soft Assert Code 0m 57s
—Static Resource Code 1m 57s
—Calling getItemEntry() 0m 52s
—Demo: Soft Assert and Disable Tests 4m 23sVisualforce Architecture- 38m 53s
—Introduction 0m 31s
—Visualforce Overview 0m 37s
—MVC Architecture 2m 56s
—Page Requests 1m 45s
—Get Requests 2m 53s
—Postback Requests 1m 52s
—Anatomy of a Page 2m 52s
—Visualforce VS HTML 2m 41s
—Component IDs 2m 42s
—Iterating Component IDs 1m 21s
—Custom Components 1m 31s
—JavaScript Remoting 3m 5s
—Knockout.js (MVVM) 1m 42s
—Membership Levels 1m 8s
—Demo: Membership Levels 1m 44s
—Demo: Code Walkthrough 9m 33sFlow Factory Design Pattern- 32m 12s