Dan Appleman
666 posts


Excuse me, @danappleman, but are you the author of this book? (its the book I read when I was 14, and helped spark my inner programmer)
I found a copy of it that can be checked out on Internet Archive! archive.org/details/danapp…
Visual Basic 5.0 Programmer's Guide To The WIN32 API

English

Watch any of my @pluralsight courses free this week at pluralsight.com/authors/dan-ap…
English
Dan Appleman retweetledi

@Dreamforce does @salesforce have a check-splitting app in real-time? 🤣🤣🤣 #DF22 #SalesforceGenie #SalesforceMVPs @LangstonJessica @diminom @NotIsBlank @tigho @techforecastis @DianaJaffeSF @ch_sz_knapp



English
Dan Appleman retweetledi

For my newly updated course, Creating and Leading Effective Teams, I created a @Pluralsight Channel with courses that would be of interest to team leaders. Will update it as I find more. Courses by @danappleman, @SBenhoff, @KevinMillerIT, @stephenhaunts. app.pluralsight.com/channels/detai…
English

@Nads_P07 @danieljpeter @Forcelandia I don't mind sharing with friends and coworkers - you just can't do context in 140 characters.
English

Dan Appleman retweetledi

For those who worry about code performance, I provided a new answer on a @StackSalesforce Q&A that discusses the performance of Schema.getGlobalDescribe when wanting to dynamically get the ID key prefix from an object named by string. #380019" target="_blank" rel="nofollow noopener">salesforce.stackexchange.com/questions/1580…
English

@ca_peterson It's not a tech use-case as much as a business use-case. Guaranteed execution time to meet user experience requirements, or integration requirements.
English

@prateekmathur91 The sample code is provided as a local git repository. Just check out the branch for the chapter you are interested in, and you'll see the folder and sample code for that chapter.
English

Hi @danappleman Just started reading Advanced Apex Programming 5th Edition, and noticed that the sample code directory (desaware.app.box.com/s/zuijauhcxyv2…) is missing the force-app folder 😃 Can you please help to fix that?
English

@scottlee I call it dynamic to distinguish from creating code that is bulk-safe, which is "static". But you can call it anything you want. The whole "I created a new term" part is just for fun :-)
English

Did I really just invent a new term "Dynamic Bulkification"? If you've ever experienced locking errors in Salesforce, you may want to find out more: advancedapex.com/2022/04/09/dyn…
English

@PhilW_SF @ImJohnMDaniel Remember, the approach I describe is one to deal with ill-behaved integrations over which you have no control. If you have control over the integration, obviously you would fix this on the integration side.
English

@danappleman @ImJohnMDaniel Because of the async nature, sure. Seems like a very broken integration in my mind. My sympathy for having to work around this scenario, but I cannot say I would ever recommend to others the approach you have taken. It is too brittle and liable to fail at scale.
English

@PhilW_SF @ImJohnMDaniel That's ok, I'm happy for you that you've never faced this situation. Too many of our customers deal with this every day.
English

@danappleman @ImJohnMDaniel Somewhat shocked on your behalf that S&M can dictate solution. Feel for you.
English

@PhilW_SF @ImJohnMDaniel Not really - as this problem can appear during burst operations over short periods - too short to significantly impact the 24-hour API limit.
English

@danappleman @ImJohnMDaniel Doing this bulkification on-platform will not scale. It must be done off-platform, especially when using an integration user approach (since the number of licenses required, and thus API limit allocation, is unlikely to out-pace the API limit consumption).
English

@PhilW_SF @ImJohnMDaniel Again, real world here. Are they going to put in the work to fix their systems, or just blame Salesforce or your implementation? This is as much a problem of economics and politics as it is technology.
English

@danappleman @ImJohnMDaniel Have they implemented failure callbacks? If not they don't know what they are doing and again you need to switch integrator!
English

@PhilW_SF @ImJohnMDaniel If you have control over the integration, or even the ability to intercept it (and the resources to build middleware) sure. But this is the real world - where often you don't have the ability to address the behavior of the external integration.
English

@danappleman @ImJohnMDaniel In a less flippant way - instead of doing this bulkification on-platform you really need to introduce your own middleware to do it for you. Perhaps heroku-based? Maybe MuleSoft can help?
English

@PhilW_SF @ImJohnMDaniel Nice in theory, but when the integration is a managed package that your sales team or marketing department insists on using, you don't have that luxury.
English

@danappleman @ImJohnMDaniel Switch integrator! If they cannot integrate in a scalable way with the platform they shouldn't be doing the job.
English

@PhilW_SF @ImJohnMDaniel Again, I agree that API limits are a concern - but each integration tends to only be concerned about their own usage - so as far as they're concerned, it's not their problem. And yes, the integration is asynchronous - which reflect the real-world experience we've seen.
English

@danappleman @ImJohnMDaniel Two issues here: API limits and the assumption that the external integration is inherently multi-threaded or that the record processing in triggers/automation is async.
English

And to add to the endless list of Black Friday deals - 40% off on your @pluralsight Subscription today only! pluralsight.pxf.io/c/1191789/1194…
English



