When coding with Apex, you must write and test it in a sandbox environment and then deploy it to a production environment.

There are three tools available for developing with Apex:

  1. Force.com developer console 
  2. Force.com integrated development environment 
  3. Code editor in the Salesforce user interface

Here are some of the things you can do in the developer console:

  • Write and compile code (code is automatically compiled when you save the trigger or class)
  • Debugging
  • Testing
  • Checking performance (test classes?)
  • SOQL queries
  • Colour coding and auto-complete

As per instructions I executed the following snippet of code using Open Execute Annonymous window:

String myString = 'MyString';
System.debug('Value of String Variable'+myString);

This had the effect of printing out a line on the debug log.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s