Advanced Apex Programming for Salesforce.com and Force.com


Book Description

Note: The third edition of this book is now available ISBN: 978-1936754106 in both paperback and eBook formats Beyond the Force.com documentation - Second edition Advanced Apex Programming for Salesforce.com and Force.com is neither a tutorial nor a book for beginners. Intended for developers who are already familiar with the Apex language, and experienced Java and C# developers who are moving to Apex, this book starts where the Force.com documentation leaves off. Instead of trying to cover all of the features of the platform, Advanced Apex programming focuses entirely on the Apex language and core design patterns. You'll learn how to truly think in Apex - to embrace limits and bulk patterns. You'll see how to develop architectures for efficient and reliable trigger handling, and for asynchronous operations. You'll discover that best practices differ radically depending on whether you are building software for a specific organization or for a managed package. And you'll find approaches for incorporating testing and diagnostic code that can dramatically improve the reliability and deployment of Apex software, and reduce your lifecycle and support costs. Based on his experience as a consultant, Force.com MVP and architect of a major AppExchange package, Dan Appleman focuses on the real-world problems and issues that are faced by Apex developers every day, along with the obscure problems and surprises that can sneak up on you if you are unprepared. This second edition contains updates through Winter 14 (API 29) along with significant new content on triggers, asynchronous design patterns, concurrency and more




Advanced Apex Programming in Salesforce


Book Description

Advanced Apex Programming focuses entirely on the Apex language and core design patterns. You'll learn how to truly think in Apex - to embrace limits and bulk patterns. You'll see how to develop architectures for efficient and reliable trigger handling, and for asynchronous operations. You'll discover that best practices differ radically depending on whether you are building software for a specific organization or for a managed package. And you'll find approaches for incorporating testing and diagnostic code that can dramatically improve the reliability and deployment of Apex software, and reduce your lifecycle and support costs.Based on his experience as a consultant, Salesforce MVP, and architect of major AppExchange packages, Dan Appleman focuses on the real-world problems and issues that are faced by Apex developers every day, along with the obscure problems and surprises that can sneak up on you if you are unprepared.




Force.com Enterprise Architecture


Book Description

Architect and deliver packaged Force.com applications that cater to enterprise business needs About This Book Explore the lightning framework, advanced application life cycle processes, and testing Use the Force.com platform to build truly integrated, scalable, and robustly engineered applications focused on enterprise-level customer demands Using the Lightning technology to deliver modern and responsive user experiences targeting multiple devices through Lightning Experience and Salesforce1 Mobile. Step-by-step, work on examples to get you building your own ready-to-install packaged application Who This Book Is For This book is for advanced Force.com developers and architects who need to understand the Salesforce platform from the perspective of enterprise-level requirements. A prior understanding of Apex and Visualforce is a must. Those familiar with other enterprise software ecosystems will also find this book ideal as they adopt Force.com. What You Will Learn Package, install, test, and upgrade an application Define architecture-aligning data storage and functional requirements Develop Apex code that is easy to navigate, self-documenting, testable, robust, and organic Leverage your application's clientagnostic Service layer backbone to support numerous platform areas Get the most from hosting your application within the Lightning Experience and Salesforce1 Mobile clients Apply querying, indexing, and asynchronous best practices Leverage mocking and dependency injection in your Apex tests Explore tips for developing advanced applications In Detail Companies of all sizes have seen the need for Force.com's architectural strategy focused on enabling their business objectives. Successful enterprise applications require planning, commitment, and investment in the best tools, processes, and features available. This book will teach you how to architect and support enduring applications for enterprise clients with Salesforce by exploring how to identify architecture needs and design solutions based on industry standard patterns. There are several ways to build solutions on Force.com, and this book will guide you through a logical path and show you the steps and considerations required to build packaged solutions from start to finish. It covers all aspects, from engineering to getting your application into the hands of your customers, and ensuring that they get the best value possible from your Force.com application. You will get acquainted with extending tools such as Lightning App Builder, Process Builder, and Flow with your own application logic. In addition to building your own application API, you will learn the techniques required to leverage the latest Lightning technologies on desktop and mobile platforms. Style and approach The book takes a straightforward approach, taking apart the Force.com architecture for you to gain a deep understanding of how you can implement the Salesforce platform based on enterprise-level requirements.




Advanced Apex Programming for Salesforce. Com and Force. Com


Book Description

Beyond the Force.com documentation - Third edition Advanced Apex Programming for Salesforce.com and Force.com is neither a tutorial nor a book for beginners. Intended for developers who are already familiar with the Apex language, and experienced Java and C# developers who are moving to Apex, this book starts where the Force.com documentation leaves off. Instead of trying to cover all of the features of the platform, Advanced Apex programming focuses entirely on the Apex language and core design patterns. You'll learn how to truly think in Apex - to embrace limits and bulk patterns. You'll see how to develop architectures for efficient and reliable trigger handling, and for asynchronous operations. You'll discover that best practices differ radically depending on whether you are building software for a specific organization or for a managed package. And you'll find approaches for incorporating testing and diagnostic code that can dramatically improve the reliability and deployment of Apex software, and reduce your lifecycle and support costs. Based on his experience as a consultant, Salesforce MVP and architect of major AppExchange packages, Dan Appleman focuses on the real-world problems and issues that are faced by Apex developers every day, along with the obscure problems and surprises that can sneak up on you if you are unprepared. This third edition contains updates through Summer 15 (API 34) along with significant new content on asynchronous design patterns, optimization and maintaining Apex applications.




Apex Design Patterns


Book Description

Harness the power of Apex design patterns to build robust and scalable code architectures on the Force.com platform About This Book Apply Creational, Structural and behavioural patterns in Apex to fix governor limit issues. Have a grasp of the anti patterns to be taken care in Apex which could have adverse effect on the application. The authors, Jitendra Zaa is a salesforce MVP and Anshul Verma has 12+ years of experience in the area of application development. Who This Book Is For If you are a competent developer with working knowledge of Apex, and now want to deep dive into the world of Apex design patterns to optimize the application performance, then this book is for you. Prior knowledge of Salesforce and Force.com platform is recommended. What You Will Learn Apply OOPs principal in Apex to design a robust and efficient solution to address various facets to a business problem Get to grips with the benefits and applicability of using different design patterns in Apex Solve problems while instantiating, structuring and giving dynamic behavior to Apex classes Understand the implementation of creational, structural, behavioral, concurrency and anti-patterns in your application Follow the Apex best practices to resolve governor limit issues Get clued up about the Inheritance, abstract classes, polymorphism in Apex to deal with the object mechanism Master various design patterns and determine the best out of them Explore the anti patterns that could not be applied to Apex and their appropriate solutions In Detail Apex is an on-demand programming language providing a complete set of features for building business applications – including data models and objects to manage data. Apex being a proprietor programming language from Salesforce to be worked with multi tenant environment is a lot different than traditional OOPs languages like Java and C#. It acts as a workflow engine for managing collaboration of the data between users, a user interface model to handle forms and other interactions, and a SOAP API for programmatic access and integration. Apex Design Patterns gives you an insight to several problematic situations that can arise while developing on Force.com platform and the usage of Design patterns to solve them. Packed with real life examples, it gives you a walkthrough from learning design patterns that Apex can offer us, to implementing the appropriate ones in your own application. Furthermore, we learn about the creational patterns that deal with object creation mechanism and structural patterns that helps to identify the relationship between entities. Also, the behavioural and concurrency patterns are put forward explaining the communication between objects and multi-threaded programming paradigm respectively. We later on, deal with the issues regarding structuring of classes, instantiating or how to give a dynamic behaviour at a runtime, with the help of anti-patterns. We learn the basic OOPs principal in polymorphic and modular way to enhance its capability. Also, best practices of writing Apex code are explained to differentiate between the implementation of appropriate patterns. This book will also explain some unique patterns that could be applied to get around governor limits. By the end of this book, you will be a maestro in developing your applications on Force.com for Salesforce Style and approach This book is a step-by-step guide, complete with well-tested programs and real world situations to solve your common occurring problems in Apex design by using the anti-patterns. It gets crackling from exploring every appropriate solution to comparing the best one as per OOps principal.




Learning Salesforce Development with Apex


Book Description

Learn to harness the power of the Apex language to build Salesforce applications Ê KEY FEATURESÊÊ - Learn how to work with the Apex language. - Learn how to develop Apex Triggers. - Learn how to use SOQL and SOSL to retrieve data. - Learn how to write Object-Oriented SalesforceÊ code. - Explore the best practices to deliver scalable and maintainable code. Ê DESCRIPTIONÊ This book covers the fundamentals of the Salesforce Apex programming language used by developers to build powerful applications in the cloud.Ê In this book, you will learn how to work with the Apex language to build scalable applications that can interact with and update data from your users. We cover the language from the ground up, introducing programming concepts such as variables and control statements alongside clear and concise examples to help you understand the key concepts and features. Platform-specific features such as Apex triggers, SOQL and SOSL are covered in detail to help ensure you deliver robust and scalable solutions. Nuances and best practices for development are discussed along with how to effectively test your code to ensure that you can deploy it to users with confidence. Object-oriented programming in Apex is also covered in-depth to ensure that you can develop dynamic solutions and build for the future. The book also discusses and shows developers how to integrate with third-party solutions using REST APIs in Apex.Ê By the end of the book, the reader will know how to start developing applications using Apex with confidence. Ê WHAT WILL YOU LEARNÊÊ - Learn how to declare variables in Apex. - Understand how to work with collections in Apex. - Use different control statements within Apex to control program flow. - Learn how to use the built-in tools to test in Apex. - Understand how to make callouts to external applications and data sources. WHO THIS BOOK IS FORÊÊ This book is intended for those starting out with Apex, whether existing Salesforce Admins or those joining the Salesforce ecosystem with little professional prior programming experience, such as students. The reader is expected to have some basic familiarity with Salesforce as a platform, although key concepts are reviewed. TABLE OF CONTENTS 0. Introduction 1. An Introduction to the Salesforce Platform 2. What is Apex? 3. Variables in Apex 4. Collections 5. Control Statements 6. Apex Triggers 7. SOQL 8. SOSL 9. Defining Apex Classes 10. Apex Class Inheritance 11. Testing Apex 12. Callouts in Apex 13. Epilogue




Mastering Apex Programming


Book Description

Get to grips with the advanced features of Apex programming for Salesforce developers using this comprehensive guide Key FeaturesDiscover how to build reliable applications with Apex by avoiding common mistakes and pitfallsLearn how to use the different asynchronous programming tools in ApexProfile and improve the performance of your Apex codeBook Description As applications built on the Salesforce platform are now a key part of many organizations, developers are shifting focus to Apex, Salesforce's proprietary programming language. As a Salesforce developer, it is important to understand the range of tools at your disposal, how and when to use them, and best practices for working with Apex. Mastering Apex Programming will help you explore the advanced features of Apex programming and guide you in delivering robust solutions that scale. This book starts by taking you through common Apex mistakes, debugging, exception handling, and testing. You'll then discover different asynchronous Apex programming options and develop custom Apex REST web services. The book shows you how to define and utilize Batch Apex, Queueable Apex, and Scheduled Apex using common scenarios before teaching you how to define, publish, and consume platform events and RESTful endpoints with Apex. Finally, you'll learn how to profile and improve the performance of your Apex application, including architecture trade-offs. With code examples used to facilitate discussion throughout, by the end of the book, you'll have developed the skills needed to build robust and scalable applications in Apex. What you will learnUnderstand common coding mistakes in Apex and how to avoid them using best practicesFind out how to debug a Salesforce Apex application effectivelyExplore different asynchronous Apex options and their common use casesDiscover tips to work effectively with platform eventsDevelop custom Apex REST services to allow inbound integrationsBuild complex logic and processes on the Salesforce platformWho this book is for This book is for Salesforce developers who are interested in mastering Apex programming skills. You'll also find this book helpful if you're an experienced Java or C# developer looking to switch to Apex programming for developing apps on the Salesforce platform. Basic Apex programming knowledge is essential to understand the concepts covered.




Learning Apex Programming


Book Description

If you are a developer who has some object-oriented programming experience, Learning Apex Programming is the perfect book for you. This book is most appropriate for developers who wish to gain an understanding of the Force.com platform and how to use Apex to create business applications.




Mastering Salesforce CRM Administration


Book Description

Learn about the Advanced Administration Certification Examination and build a successful career in Salesforce administration About This Book Build your skills and knowledge to crack the Advanced Admin Certification Examination Leverage the advanced administration capabilities of Salesforce and Salesforce1 Optimize and extend Sales Cloud and Service Cloud applications Who This Book Is For This book is written for Salesforce admins who are looking to gain an in-depth knowledge of the Salesforce platform and grow their value in their organization. It will teach them to implement and design advanced business process automation for the benefit of their organization. What You Will Learn Adopt Lightning Experience to improve the productivity of your organization's sales team Create and maintain service entitlements and entitlement processes Process Builder basic and advanced concepts Different ways to deploy applications between environments Best practices for improving and enriching data quality In Detail The book starts by refreshing your knowledge of common admin tasks. You will go over Lightning Experience and various security aspects. You will be shown how to implement territory management in your organization and make use of custom objects. From here, the book progresses to advanced configuration, data management, and data analytics before swiftly moving on to setting up advanced organization-wide features that affect the look and feel of the application. Extend the capabilities of your organization's Salesforce implementation by optimizing and extending Sales Cloud, Salesforce1, and Service Cloud applications. This guide will equip you with the tools you need to build a successful career in Salesforce. Style and approach The book takes a straightforward, no-nonsense approach to working with the Salesforce CRM platform. It is filled with examples, advanced use cases, and all the resources you need to be a Salesforce Jedi.




Salesforce Handbook


Book Description

This book is not intended to be a deep-dive on security, programming, reporting, configuration, etc. but more of a high-level overview on salesforce.com, Force.com development, tools, methodology and other resources. We will not cover all aspects of salesforce.com. We wrote this book to (hopefully) become an invaluable resource for anyone new or inexperienced with the Force.com platform. For new administrators and developers coming on to the platform, we see a gaping hole in existing reference books. This book is not intended for end users or advanced developers. This book is for people somewhere in the middle; let's say a business analyst or a new Java or .NET developer. We would like this to be the first book you pick up after your boss walks in and says, "Let's take a look at salesforce.com and see if we can build some applications in the cloud."This book contains the information that we wish we had when we started developing applications on Force.com.