Deliver toUnited Arab Emirates
Clean Apex Code: Software Design for Salesforce Developers

Description:

Many developers excel at building solutions in Apex but lack formal training in the core principles of professional software engineering. This book changes that and provides a no-nonsense guide for experienced Salesforce developers ready to master the art of software design.

Pragmatic, approachable, and to the point, this book focuses on essential practices like modularity, coupling, cohesion, and testing—not just to write better code, but to improve how teams deliver software. By emphasizing object-oriented programming, dependency injection, and boundaries, it equips you to design systems that are easier to maintain, test, and scale. With fast, reliable tests as a cornerstone, you’ll learn how great design enables true continuous integration and high-performance software delivery.

Through actionable examples and clear explanations, you’ll learn how to design better systems, reduce complexity, and create codebases that stand the test of time. If you’re serious about your craft, Clean Apex Code will give you the tools and mindset to think like a professional software engineer and deliver software at a higher level.

What You Will Learn

  • Use better names in all software constructs to improve readability and maintainability
  • Apply core software design principles to Apex development
  • Embrace modularity, abstraction, and boundaries to simplify complex systems
  • Leverage dependency injection, and mocking to write fast, modular tests
  • Practice real continuous integration with reliable, high-speed testing

Who This Book Is For

Experienced Salesforce developers and professional software engineers


From the Back Cover

Many developers excel at building solutions in Apex but lack formal training in the core principles of professional software engineering. This book changes that and provides a no-nonsense guide for experienced Salesforce developers ready to master the art of software design.

Pragmatic, approachable, and to the point, this book focuses on essential practices like modularity, coupling, cohesion, and testing—not just to write better code, but to improve how teams deliver software. By emphasizing object-oriented programming, dependency injection, and boundaries, it equips you to design systems that are easier to maintain, test, and scale. With fast, reliable tests as a cornerstone, you’ll learn how great design enables true continuous integration and high-performance software delivery.

Through actionable examples and clear explanations, you’ll learn how to design better systems, reduce complexity, and create codebases that stand the test of time. If you’re serious about your craft, Clean Apex Code will give you the tools and mindset to think like a professional software engineer and deliver software at a higher level.

You will:

  • Use better names in all software constructs to improve readability and maintainability
  • Apply core software design principles to Apex development
  • Embrace modularity, abstraction, and boundaries to simplify complex systems
Leverage dependency injection, and mocking to write fast, modular tests
  • Practice real continuous integration with reliable, high-speed testing

About the Author

Pablo Gonzalez started his career as a Salesforce developer and later moved into product management, where he focuses on building tools that make life easier for developers. He’s worked on Salesforce DevOps products like HappySoup, Salto, and AutoRABIT, blending his technical skills with his love for solving practical problems.

He’s passionate about good software engineering practices and believes the best way to get the most out of Salesforce is to approach it with an engineering mindset. Pablo’s goal is to give Salesforce engineering teams the tools and knowledge they need to succeed — and enjoy their work more.

Originally from Costa Rica, Pablo now lives in Ireland with his wife and daughter. He loves trying new foods and sharing good meals with family and friends.

Reviews:

5.0 out of 5 stars Excellent. Comprehensive, clearly-written and practical.

D.C. · 20 July 2025

This fills a major gap; there are some great books on software engineering and principles and there are some great 'how to' books on working with Apex and the Salesforce Platform (e.g. Paul Battisson's two volumes). But this is the first book I've seen that explicitly illustrates how to apply engineering principles and patterns to typical Apex code. It also addresses some of the intricacies of Apex (where do database-aware SObjects fit into an Object Oriented Programming approach for example).I particularly valued the writing style - setting out recommended approaches, the reasons for them and some discussion of the pros and cons (rather than a rigid set of rules). As a self-taught developer working largely independently the book felt like having a broader team to draw ideas from. It gave me a real insight into why developers use particular Apex patterns (and when they might not be suitable).I've already applied some of the thinking to current projects.

5.0 out of 5 stars The best book for Salesforce developers

L. · 27 September 2025

Easily the best Salesforce book for any serious Apex developer

5.0 out of 5 stars One to have

M. · 27 July 2025

Brilliant book

5.0 out of 5 stars Well thought out and structured. Will keep on my desk

O.P. · 24 June 2025

This will really help me grow as a developer. Many thanks

5.0 out of 5 stars Excellent guide to writing better Apex code

J.D. · 24 June 2025

This book will be very useful to Salesforce developers who are looking for guidance and inspiration to write better Apex. It is a rare combination of detailed technical guidance and pragmatism. Clearly the author has much experience of writing and maintaining Apex in the real world and this comes through with the examples and the discussions. I would love for everyone writing Apex to read this book (I have seen so much 'dirty' Apex it's not funny) but it's going to be most beneficial for those with some experience already, it's not a beginner's guide.

5.0 out of 5 stars A much-needed guide to writing better Apex

A.M.G.V. · 7 June 2025

Clean Apex Code does a fantastic job of bringing core software engineering principles into the Salesforce world, something this ecosystem has sorely needed.It’s clear, practical, and grounded in real-world Apex development. Pablo González manages to adapt professional software concepts in a way that actually works within the unique constraints of Salesforce. And importantly, he does it without overcomplicating things.If you’ve ever struggled with unmaintainable trigger logic, unclear service layers, or just code that “works” but feels messy, this book provides a clear path forward. It’s not just about writing cleaner code, it’s about writing Apex in a more thoughtful, professional, and scalable way.Highly recommend it to any Salesforce developer who wants to grow beyond just getting things to work and start building solutions that last.

An outstanding guide to becoming a better Salesforce Developer

R.P. · 14 September 2025

This is one of the best books available for Salesforce developers. It’s highly practical, filled with examples that help you write and recognize high-quality code on the Salesforce platform. The book also walks through fundamental principles of software engineering and object-oriented programming, making it valuable even beyond Salesforce.

Salesforce developer’s #1 book

C.J. · 20 September 2025

It’s practical, clear, and rooted in real-world experience — exactly what we need more of in this space.

Must-Have for Every Respectable Salesforce Developer

A.v.D. · 19 June 2025

“Clean Apex Code” by Pablo Gonzalez is an instant classic — a book that should be on the shelf (and desk) of every serious Salesforce developer. For those who swear by fflib and enterprise design patterns, this book is the natural successor you’ve been waiting for.Gonzalez manages to translate clean code principles into the unique context of Apex with clarity, depth, and plenty of real-world examples. Whether you’re refactoring legacy code or designing scalable systems from scratch, the book provides concrete guidance on writing maintainable, testable, and elegant Apex.What stands out most is how it bridges the gap between abstract best practices and practical implementation — especially for developers working in multi-team or long-lived orgs. If you’re aiming to raise the bar on your code quality and team architecture, this is the book.

Great book for mid level and above

A.C. · 18 June 2025

Great content with easy to read examples.

Clean Apex Code: Software Design for Salesforce Developers

Product ID: KO0QIYEPD3U
Condition: New

4.9

AED36778

Price includes VAT & Import Duties
Type: Paperback
Availability: In Stock

Quantity:

|

Order today to get by 7-14 business days

This item qualifies for free delivery

Returns & Warranty policies

Imported From: United Kingdom

At BOLO, we work hard to ensure the products you receive are new, genuine, and sourced from reputable suppliers.

BOLO is not an authorized or official retailer for most brands, nor are we affiliated with manufacturers unless specifically stated on a product page. Instead, we source verified sellers, authorized distributors or directly from the manufacturer.

Each product undergoes thorough inspection and verification at our consolidation and fulfilment centers to ensure it meets our strict authenticity and quality standards before being shipped and delivered to you.

If you ever have concerns regarding the authenticity of a product purchased from us, please contact Bolo Support. We will review your inquiry promptly and, if necessary, provide documentation verifying authenticity or offer a suitable resolution.

Your trust is our top priority, and we are committed to maintaining transparency and integrity in every transaction.

All product information, images, descriptions, and reviews originate from the manufacturer or from trusted sellers overseas. BOLO is not affiliated with, endorsed by, or an authorized retailer for most brands listed on our website unless stated otherwise.

While we strive to display accurate information, variations in packaging, labeling, instructions, or formulation may occasionally occur due to regional differences or supplier updates. For detailed or manufacturer-specific information, please contact the brand directly or reach out to BOLO Support for assistance.

Unless otherwise stated, all prices displayed on the product page include applicable taxes and import duties.

BOLO operates in accordance with the laws and regulations of United Arab Emirates. Any items found to be restricted or prohibited for sale within the UAE will be cancelled prior to shipment. We take proactive measures to ensure that only products permitted for sale in United Arab Emirates are listed on our website.

All items are shipped by air, and any products classified as “Dangerous Goods (DG)” under IATA regulations will be removed from the order and cancelled.

All orders are processed manually, and we make every effort to process them promptly once confirmed. Products cancelled due to the above reasons will be permanently removed from listings across the website.

More from this brand

Similar items from “Software Design”

Clean Apex Code: Software Design for Salesforce Developers

Product ID: KO0QIYEPD3U
Condition: New

4.9

Clean Apex Code: Software Design for Salesforce Developers-0
Type: Paperback

AED36778

Price includes VAT & Import Duties
Availability: In Stock

Quantity:

|

Order today to get by 7-14 business days

This item qualifies for free delivery

Returns & Warranty policies

Imported From: United Kingdom

At BOLO, we work hard to ensure the products you receive are new, genuine, and sourced from reputable suppliers.

BOLO is not an authorized or official retailer for most brands, nor are we affiliated with manufacturers unless specifically stated on a product page. Instead, we source verified sellers, authorized distributors or directly from the manufacturer.

Each product undergoes thorough inspection and verification at our consolidation and fulfilment centers to ensure it meets our strict authenticity and quality standards before being shipped and delivered to you.

If you ever have concerns regarding the authenticity of a product purchased from us, please contact Bolo Support. We will review your inquiry promptly and, if necessary, provide documentation verifying authenticity or offer a suitable resolution.

Your trust is our top priority, and we are committed to maintaining transparency and integrity in every transaction.

All product information, images, descriptions, and reviews originate from the manufacturer or from trusted sellers overseas. BOLO is not affiliated with, endorsed by, or an authorized retailer for most brands listed on our website unless stated otherwise.

While we strive to display accurate information, variations in packaging, labeling, instructions, or formulation may occasionally occur due to regional differences or supplier updates. For detailed or manufacturer-specific information, please contact the brand directly or reach out to BOLO Support for assistance.

Unless otherwise stated, all prices displayed on the product page include applicable taxes and import duties.

BOLO operates in accordance with the laws and regulations of United Arab Emirates. Any items found to be restricted or prohibited for sale within the UAE will be cancelled prior to shipment. We take proactive measures to ensure that only products permitted for sale in United Arab Emirates are listed on our website.

All items are shipped by air, and any products classified as “Dangerous Goods (DG)” under IATA regulations will be removed from the order and cancelled.

All orders are processed manually, and we make every effort to process them promptly once confirmed. Products cancelled due to the above reasons will be permanently removed from listings across the website.

Description:

Many developers excel at building solutions in Apex but lack formal training in the core principles of professional software engineering. This book changes that and provides a no-nonsense guide for experienced Salesforce developers ready to master the art of software design.

Pragmatic, approachable, and to the point, this book focuses on essential practices like modularity, coupling, cohesion, and testing—not just to write better code, but to improve how teams deliver software. By emphasizing object-oriented programming, dependency injection, and boundaries, it equips you to design systems that are easier to maintain, test, and scale. With fast, reliable tests as a cornerstone, you’ll learn how great design enables true continuous integration and high-performance software delivery.

Through actionable examples and clear explanations, you’ll learn how to design better systems, reduce complexity, and create codebases that stand the test of time. If you’re serious about your craft, Clean Apex Code will give you the tools and mindset to think like a professional software engineer and deliver software at a higher level.

What You Will Learn

  • Use better names in all software constructs to improve readability and maintainability
  • Apply core software design principles to Apex development
  • Embrace modularity, abstraction, and boundaries to simplify complex systems
  • Leverage dependency injection, and mocking to write fast, modular tests
  • Practice real continuous integration with reliable, high-speed testing

Who This Book Is For

Experienced Salesforce developers and professional software engineers


From the Back Cover

Many developers excel at building solutions in Apex but lack formal training in the core principles of professional software engineering. This book changes that and provides a no-nonsense guide for experienced Salesforce developers ready to master the art of software design.

Pragmatic, approachable, and to the point, this book focuses on essential practices like modularity, coupling, cohesion, and testing—not just to write better code, but to improve how teams deliver software. By emphasizing object-oriented programming, dependency injection, and boundaries, it equips you to design systems that are easier to maintain, test, and scale. With fast, reliable tests as a cornerstone, you’ll learn how great design enables true continuous integration and high-performance software delivery.

Through actionable examples and clear explanations, you’ll learn how to design better systems, reduce complexity, and create codebases that stand the test of time. If you’re serious about your craft, Clean Apex Code will give you the tools and mindset to think like a professional software engineer and deliver software at a higher level.

You will:

  • Use better names in all software constructs to improve readability and maintainability
  • Apply core software design principles to Apex development
  • Embrace modularity, abstraction, and boundaries to simplify complex systems
Leverage dependency injection, and mocking to write fast, modular tests
  • Practice real continuous integration with reliable, high-speed testing

About the Author

Pablo Gonzalez started his career as a Salesforce developer and later moved into product management, where he focuses on building tools that make life easier for developers. He’s worked on Salesforce DevOps products like HappySoup, Salto, and AutoRABIT, blending his technical skills with his love for solving practical problems.

He’s passionate about good software engineering practices and believes the best way to get the most out of Salesforce is to approach it with an engineering mindset. Pablo’s goal is to give Salesforce engineering teams the tools and knowledge they need to succeed — and enjoy their work more.

Originally from Costa Rica, Pablo now lives in Ireland with his wife and daughter. He loves trying new foods and sharing good meals with family and friends.

Reviews:

5.0 out of 5 stars Excellent. Comprehensive, clearly-written and practical.

D.C. · 20 July 2025

This fills a major gap; there are some great books on software engineering and principles and there are some great 'how to' books on working with Apex and the Salesforce Platform (e.g. Paul Battisson's two volumes). But this is the first book I've seen that explicitly illustrates how to apply engineering principles and patterns to typical Apex code. It also addresses some of the intricacies of Apex (where do database-aware SObjects fit into an Object Oriented Programming approach for example).I particularly valued the writing style - setting out recommended approaches, the reasons for them and some discussion of the pros and cons (rather than a rigid set of rules). As a self-taught developer working largely independently the book felt like having a broader team to draw ideas from. It gave me a real insight into why developers use particular Apex patterns (and when they might not be suitable).I've already applied some of the thinking to current projects.

5.0 out of 5 stars The best book for Salesforce developers

L. · 27 September 2025

Easily the best Salesforce book for any serious Apex developer

5.0 out of 5 stars One to have

M. · 27 July 2025

Brilliant book

5.0 out of 5 stars Well thought out and structured. Will keep on my desk

O.P. · 24 June 2025

This will really help me grow as a developer. Many thanks

5.0 out of 5 stars Excellent guide to writing better Apex code

J.D. · 24 June 2025

This book will be very useful to Salesforce developers who are looking for guidance and inspiration to write better Apex. It is a rare combination of detailed technical guidance and pragmatism. Clearly the author has much experience of writing and maintaining Apex in the real world and this comes through with the examples and the discussions. I would love for everyone writing Apex to read this book (I have seen so much 'dirty' Apex it's not funny) but it's going to be most beneficial for those with some experience already, it's not a beginner's guide.

5.0 out of 5 stars A much-needed guide to writing better Apex

A.M.G.V. · 7 June 2025

Clean Apex Code does a fantastic job of bringing core software engineering principles into the Salesforce world, something this ecosystem has sorely needed.It’s clear, practical, and grounded in real-world Apex development. Pablo González manages to adapt professional software concepts in a way that actually works within the unique constraints of Salesforce. And importantly, he does it without overcomplicating things.If you’ve ever struggled with unmaintainable trigger logic, unclear service layers, or just code that “works” but feels messy, this book provides a clear path forward. It’s not just about writing cleaner code, it’s about writing Apex in a more thoughtful, professional, and scalable way.Highly recommend it to any Salesforce developer who wants to grow beyond just getting things to work and start building solutions that last.

An outstanding guide to becoming a better Salesforce Developer

R.P. · 14 September 2025

This is one of the best books available for Salesforce developers. It’s highly practical, filled with examples that help you write and recognize high-quality code on the Salesforce platform. The book also walks through fundamental principles of software engineering and object-oriented programming, making it valuable even beyond Salesforce.

Salesforce developer’s #1 book

C.J. · 20 September 2025

It’s practical, clear, and rooted in real-world experience — exactly what we need more of in this space.

Must-Have for Every Respectable Salesforce Developer

A.v.D. · 19 June 2025

“Clean Apex Code” by Pablo Gonzalez is an instant classic — a book that should be on the shelf (and desk) of every serious Salesforce developer. For those who swear by fflib and enterprise design patterns, this book is the natural successor you’ve been waiting for.Gonzalez manages to translate clean code principles into the unique context of Apex with clarity, depth, and plenty of real-world examples. Whether you’re refactoring legacy code or designing scalable systems from scratch, the book provides concrete guidance on writing maintainable, testable, and elegant Apex.What stands out most is how it bridges the gap between abstract best practices and practical implementation — especially for developers working in multi-team or long-lived orgs. If you’re aiming to raise the bar on your code quality and team architecture, this is the book.

Great book for mid level and above

A.C. · 18 June 2025

Great content with easy to read examples.

More from this brand

Similar items from “Software Design”