Sara Has No Limits

Good Programmers Evaluate, Simplify, Automate and Document

More about Unit Testing

TestLoadData

Even though you can create a valid unit test just using the testMethod keyword, Salesforce recommends that you also use the @isTest annotation at the class level and encapsulate multiple unit tests in a test class. By doing this, all your unit test code will not count against the 3MB code limit, which limits the total amount of code your org can produce. Additionally, all your code will be compliant […]

Continue Reading →

Dynamic Visualforce Components and Tips

DynamicComponents

Dynamic Visualforce Components Instead of markup, these components are designed in Apex Allows you to create pages that render based on a variety of states, such as user’s: Permissions Behavior Organization preferences Data attributes This can be useful when you need two users to view the same page, but customized for their needs. However, this should not be the main way a developer creates pages. These should only be used […]

Continue Reading →

Advanced VisualForce Controllers – Create a Wizard

ColtrollerExtension

Custom Apex Objects Developers can create their own Apex objects by defining them in Apex classes. Apex classes are helpful in creating wrapper classes for sObjects Other Controller Considerations Controller methods are generally defined as public. However, if you want to use a method as a webService, you must define it as global. Use Apex collection data types, such as “list” and “Set” when returning data from the database for […]

Continue Reading →

Updated Podcasts of Apex Training

UPDATE: According to Chris Barry , the instructor in these pod casts, Salesforce has removed them because they are now focusing on new/better low cost training. As soon as I learn more about what that is, I will post about it here. For anyone studying for the Salesforce Advanced Developer Certification, I strongly suggest you check out the following recently refreshed series of Podcasts posted on ITunes. They are recorded […]

Continue Reading →

Visualforce Custom Controllers

ControllerMethods

Custom Controller Code Used when there is a need to: Override existing functionality Make new actions available to a page Customize navigation Use HTTP callouts or web services Provide greater data access control on a page Custom Controller vs. Controller Extension – Custom controllers are used when the developer wants to start with a clean slate and have complete control over the functionality. Extensions inherit the functionality of the controller […]

Continue Reading →

Overview of Visualforce Controllers

StdControllers

An Overview of Visualforce Controllers Controllers define different types of methods: Data Methods such as getter and setter methods Action methods, such as specialized methods or navigation methods Three types: Standard Controllers – provided by Salesforce and provide access to standard Salesforce data and actions Controller Extensions – Created by extending an existing controller. They use the data and methods from the controllers they extend. Custom Controllers – require the […]

Continue Reading →

Force.com IDE and Version Control

Development with the Force.com Platform Your development environment should consist of the following two tools: At least one dedicated Sandbox – Allows you to use the Setup menu to customize applications, modify metadata and synchronize changes Force.com IDE – Used to develop code, customize and create metadata in Bulk, deploy metadata, support version control and synchronize file changes Eclipse Eclipse is an extendable integrated development environment that supports a variety […]

Continue Reading →

Manage Sandbox Environments

SandboxComparisonChart

Sandboxes Sandboxes are a clone of an entire production environment that allows developers to develop and test without risking production data. There are three types: Full – copies the entire prod org (although you can choose to omit some data and have it load faster) Configuration-only – copies only the configurations and does not copy any data. But, you can load up to 500MB of data Developer – Similar to […]

Continue Reading →

Follow

Get every new post delivered to your Inbox.

Join 57 other followers