Cooking with Code: Yummy Apex Utility Classes

Apex Utility ClassesWelcome back to Cooking with Code. Today we are going to take a deeper dive into the ins and outs of apex classes.

We looked at this in my intro to Object Oriented Programming (OOP) post, but today we’re going to go over what are commonly called Utility Classes. I know, right?! Who doesn’t love a little utility in their lives?

Continue Reading

Women Code Hero of the Month – Ashima Saigal

Women Code Hero of the Month: Ashima SaigalWelcome to the second in a new monthly column profiling Women Code Heroes in our Salesforce community!

I have been working with some amazing women through the RAD Women coding program, and today’s Hero is one of my fabulous co-founders!

The amazing, inspiring, peace-bringing Ashima Saigal

Continue Reading

Dreamforce 2015 Recap

Those white clouds looked so sad and plain!

Those white clouds looked so sad and plain!

I’m writing this on a plane heading to the 2015 Grace Hopper Celebration of Women in Computing, and it seemed a fitting time to recap some of the amazing experiences I had at this year’s Dreamforce (#DF15).

It’s been a while since my last post, and I have to say that I’ve been in a bit of Dreamforce withdrawal for the past month and a bit. That and catching up with the work that actually pays the bills (love ya ETR!).

Continue Reading

Cooking with Code: A Tasty Trigger Treat (Apex Triggers)

blog-triggers-woahWell! Here we are … facing one of the “big topics” in Apex coding. I have to say that I’m pretty darn excited (and yes, it’s true, I am easily excited). We’re finally getting to run some actual code … like … for realz!  It’s Apex trigger time!

Today, in Cooking with Code, we’re going to tackle the triggers. I think you’ll be amazed to see how that, for all the hype, they aren’t all that complicated. Really, you’ve done most of the hard stuff.

Continue Reading

Cooking With Code: Conditional Statements in Apex (and Java)

blog-conditional-IntroLately I’ve covered some pretty dense topics (SOQL, For Loops, Apex Collections), so I wanted to lighten up our code batter.

Today, we’ll tackle something on the more airy side and also something super fun to work with (and really handy for all Awesome Admins to know). Welcome to code kitchen, where we’ll whip up a batch of conditional statements!

Continue Reading

Cooking with Code: Oh … for the Love of FOR Loops

For Loops in ApexNow that we’ve got our head around how to work with SOQL to pull data sets out of our Salesforce org, it’s time to circle back to loops.

In a previous post, we walked through While and Do-While Loops (and we learned to make Pavlova, which I seem to be obsessed with these days). I mentioned that there was another type of loop; a For loop. That’s the topic of today’s blog post; a fantastically flavor-filled foray into For loops.

Continue Reading

Cooking with Code: A Sweet Intro to SOQL (Part Three)

I LIKE SOQLWelcome back to another episode of “Cooking with Code” where I introduce delectable bite-sized topics related to coding in Salesforce.

Today, we are concluding our satisfying sampler of Salesforce Object Query Language (SOQL) with Part Three of this three part series.

My first post introduced the basics of SOQL statements, including the following concepts and keywords: SELECT, FROM, LIMIT, ORDER BY, basic WHERE conditions, and basic operators. My second post showed how to pull data from related standard and custom objects.

Continue Reading

Cooking with Code: A Sweet Intro to SOQL (Part Two)

Working with Related Objects in SOQL.Welcome back to another episode of “Cooking with Code” where I introduce delectable bite-sized topics related to coding in Salesforce.

Today, we are continuing our satisfying sampler of SOQL with Part Two of this three part series.

My first post introduced the basics of SOQL statements, including these concepts and keywords: SELECT, FROM, LIMIT, ORDER BY, basic WHERE conditions, and basic operators.

Continue Reading

Cooking With Code: A Sweet Intro to SOQL (Part One)

SOQL is used to query Salesforce objects and return record setsWelcome back to another episode of “Cooking with Code” where I introduce delectable bite-sized topics related to coding in Salesforce.

Today we are getting into a sweet subject that I can’t wait to share with you! This is the first of three posts where together we’ll tackle the basics of SOQL, or Salesforce Object Query Language. SOQL is used to pull data sets from Salesforce and can be used in both Apex and Visualforce. Fantastic stuff for Salesforce Admins to learn, because we’re all Data Geeks at heart. (Data Nerds Unite!)

Continue Reading

Cooking with Code: A Satisfying Introduction to Apex sObjects

Working with sObjects in ApexWelcome back to Cooking with Code (CWC), where today you’ll enter a place that should feel pretty familiar to my fellow Awesome Admins (can I get a “hell yeah!”?).

I’m talking about working with records in Salesforce objects (e.g., Accounts, Contacts, Opportunities). When we work with these in Apex, we have a fancy new way to talk about them, as sObjects.

Continue Reading