[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-703158-105":59,"doc-detail-703158-en":130,"doc-similar-703158":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","salesforce-apex-design-patterns-architecting-salesforce-solutions-with-apex-design-patterns","Salesforce Apex Design Patterns - Architecting Salesforce solutions with Apex design patterns","","Salesforce Apex Design Patterns focuses on architecting Salesforce solutions using established Apex design patterns to improve maintainability, scalability, and long-term evolution. The material is framed around practical engineering concerns such as building robust Apex code, supporting integrations, and enabling end-to-end solution delivery. It also presents author and reviewer backgrounds that emphasize real-world Salesforce architecture, automation of business processes, and experience across multiple Salesforce clouds and implementation projects.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/salesforce-apex-design-patterns-architecting-salesforce-solutions-with-apex-design-patterns/703158/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/salesforce-apex-design-patterns-architecting-salesforce-solutions-with-apex-design-patterns/703158.png","ImageObject",300,407,{"name":92,"@type":93},"LangkahRina","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-30","2026-11-13",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the book about?","Question",{"text":112,"@type":113},"The book explains how to architect Salesforce solutions using Apex design patterns, with an emphasis on building robust, scalable Apex-based implementations.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Who is the author, Chamil Madusanka?",{"text":117,"@type":113},"Chamil Madusanka is a Salesforce MVP and a certified Salesforce Professional. He has worked across Salesforce roles and has authored multiple Salesforce-related books.",{"name":119,"@type":110,"acceptedAnswer":120},"What expertise do the reviewers bring?",{"text":121,"@type":113},"The reviewers are Salesforce architects and technical professionals with experience in Salesforce core platform work, automation, integrations, and delivering end-to-end solutions across multiple industries.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},703158,1794561732,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},962090893776,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Salesforce Apex Design Patterns  \nArchitecting Salesforce solutions with Apex design patterns  \nChamil Madusanka  \n[www.bpbonline.com](www.bpbonline.com)  \nFirst Edition 2025  \nCopyright © BPB Publications, India ISBN: 978-93-65896-138  \nAll Rights Reserved. No part of this publication maybe reproduced, distributed or transmitted in any form or by any means or stored in a database or retrieval system, without the prior written permission of the publisher with the exception to the program listings which may be entered, stored and executed in a computer system, but they can not be reproduced by the means of publication, photocopy, recording, or by any electronic and mechanical means.  \nLIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY  \nThe information contained in this book is true and correct to thebest of author’s and publisher’s knowledge. The author has made every effort to ensure the accuracy of these publications, but the publisher cannot be held responsible for any loss or damage arising from any information in this book.  \nAll trademarks referred to in the book are acknowledged as properties of their respective owners but BPB Publications cannot guarantee the accuracy of this information.  \n[www.bpbonline.com](www.bpbonline.com)  \nDedicated to  \nMy baby girl  \nAbhima Sanaya Wickramaarachchi  \nMy wife  \nDr Prarthana Liyanaarachchi  \nMy mom  \nK.L.A Swarnalatha  \nAbout the Author  \nChamil Madusanka holds the distinction of being the very first Sri Lankan Salesforce MVP, a title he has proudly held since 2019. A certified [Salesforce.com](Salesforce.com) Professional, Chamil embarked on his Salesforce journey in 2011. In 2012, he took the pioneering step of founding the Sri Lankan Salesforce Ohana, a community-driven initiative. He is leading the Colombo Developer Community Group under Sri Lankan Salesforce Ohana. Chamil's vision is to elevate Salesforce competency within Sri Lanka, fostering a nurturing environment for Salesforce professionals and students to flourish within the Salesforce ecosystem.  \nAt present, Chamil assumes the roles of Head of Salesforce Practice and Salesforce Architect at iTelasoft Pvt. Ltd. His professional trajectory includes notable tenures at Dazeworks Technologies Pvt. Ltd., Rizing (formerly known as attune Lanka Pvt. Ltd., and Sabre Technologies Pvt. Ltd. (where he started Salesforce Journey) . He serves as a visiting lecturer at the University of Moratuwa, Sri Lanka, offering his expertise in subjects such as Innovation Management and Multidisciplinary Design.  \nChamil's remarkable contributions extend beyond his roles, as evidenced by his authorship of two impactful works: Visualforce Developer's Guide and Learning Force.comApplication Development. His invaluable expertise has been instrumental as a technical reviewer for four distinct books focusing on Salesforce technologies. These publications stand as a testament to his commitment to knowledge sharing and his dedication to enhancing the Salesforce landscape.  \nEducationally, Chamil secured a BSc in computer science from the University of Colombo, School of Computing, Sri Lanka (UCSC) and MBA in Management of Technology from the University of Moratuwa, Sri Lanka. His academic journey kindled his fascination with cloud computing, semantic web technologies, Ontology-based systems, Innovation Management, Knowledge Management, Innovation Performance and Market Orientation  \nGeographically, hailing from the ancient city of Polonnaruwa in Sri Lanka, Chamil currently resides in Colombo, within the Western province of the country. Beyond his tech pursuits, he finds solace in consuming technology literature and playing and watching cricket.  \nAbout the Reviewers  \nv Subramani Kumarasamy is a Certified Salesforce Application Architect with a strong focus on automating critical business processes and delivering endto-end solutions. Known for managing complex projects with precision, he is committed to building scalable, technical debt-free systems. Hi","cbCailW90CsteiWX","https://ap.wps.com/l/cbCailW90CsteiWX","pdf",545386,27,"English","# About the Author\n## About the Reviewers","[{\"question\":\"What is the book about?\",\"answer\":\"The book explains how to architect Salesforce solutions using Apex design patterns, with an emphasis on building robust, scalable Apex-based implementations.\"},{\"question\":\"Who is the author, Chamil Madusanka?\",\"answer\":\"Chamil Madusanka is a Salesforce MVP and a certified Salesforce Professional. He has worked across Salesforce roles and has authored multiple Salesforce-related books.\"},{\"question\":\"What expertise do the reviewers bring?\",\"answer\":\"The reviewers are Salesforce architects and technical professionals with experience in Salesforce core platform work, automation, integrations, and delivering end-to-end solutions across multiple industries.\"}]","Salesforce Apex Design Patterns - Architecting Salesforce solutions with Apex design patterns | PDF",68,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/9d6e705906d95bd7d710b76fed6ca75c.webp",983,1212,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/50cbb35c1035a03637929fe9cf222a39.webp",982,1211,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/f321608b65bb6aaa55a7465f29942cf8.webp",981,1209,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/466a9d6dd6b9e467b9a154b959d29f50.webp",980,1208,{"list":163,"token":66},[164,170,177,184,190,196,202,208,215,221],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":81,"category_name":30,"create_tm":169},703159,"How to Subscribe to Google Pub/Sub Topic from Salesforce using Pull Mechanism with Apex","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012253751/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=vXicsX7%2FpTXvA8pBJ%2F7Zal8USvw%3D","how-to-subscribe-to-google-pubsub-topic-from-salesforce-using-pull-mechanism-with-apex",1794561733,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":30,"create_tm":176},115271,"Advanced Blazor Architecture with .NET 10 and Azure OpenAI - Enterprise-Grade Design Patterns, AI Integration, and Cloud-Ready Solutions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831889218/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=NzRb%2Bjov1oT4%2FwuD63mQgfGDt2A%3D","advanced-blazor-architecture-with-net-10-and-azure-openai-enterprise-grade-design-patterns-ai-integration-and-cloud-ready-solutions",56,1785471994,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":30,"create_tm":183},656406,"Apex Developer Guide - Version 68.0 - Winter ’27","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975308709/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=Z7UMxPiJ%2Biz3DEB1X8dFmvn%2BTG8%3D","apex-developer-guide-version-680-winter-27",22,1792968277,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":44,"category_name":30,"create_tm":189},672791,"Cisco Live APJC - Transform your Network Automation Apps with GenAI","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229989872459/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=a%2BjgOs4Ar8cdvdWKu2alZTUvmDE%3D","cisco-live-apjc-transform-your-network-automation-apps-with-genai",1793608164,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":24,"category_name":30,"create_tm":195},655848,"Object Oriented Analysis and Design (OOAD) - Overview - Key Concepts and Benefits","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975291936/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=gB8JY8kh%2B5hkhtxpIdPV6ozXEB4%3D","object-oriented-analysis-and-design-ooad-overview-key-concepts-and-benefits",1792964305,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":81,"category_name":30,"create_tm":201},703155,"Salesforce Knowledge Developer Guide - Chapter 1 Developing with Salesforce Knowledge","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013421037/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=G8Rmj9GQEngBcVBIMArQUes85f0%3D","salesforce-knowledge-developer-guide-chapter-1-developing-with-salesforce-knowledge",1794561727,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":19,"category_name":30,"create_tm":207},686701,"Salesforce Integration For Dummies - Informatica Special Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001081346/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=kdTHUWudpvRKU9xMF4QMsoM6bD8%3D","salesforce-integration-for-dummies-informatica-special-edition",1794060891,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":30,"create_tm":214},391767,"Salesforce Services eBook - Jade Global","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917406091/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=hobMrBzJUftzCyZUqwWjaIAipsQ%3D","salesforce-services-ebook-jade-global",17,1790358562,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":44,"category_name":30,"create_tm":220},656062,"Cloud Data Management Reference Architecture - Informatica Platform Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975298612/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=sf5rlq36Q1Ma9CahNv8JK7qfSuA%3D","cloud-data-management-reference-architecture-informatica-platform-overview",1792965971,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":19,"category_name":30,"create_tm":226},693260,"SecOps For Dummies - BMC Special Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230004272352/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=o5adN8%2Bya6D5Gi7dKur%2BySauToo%3D","secops-for-dummies-bmc-special-edition",1794253827]