Making Visualforce RemoteAction Bulletproof with TypeScript
Making Visualforce RemoteAction Bulletproof with TypeScript
RemoteAction Apex methods have helped make Visualforce pages more responsive by allowing us to use more JavaScript and still connect easily to our Apex business logic. But with this power comes the brittleness of JavaScript's untyped nature and the disconnect between JavaScript and Apex methods. The errors caused by these issues are runtime errors, which can slow development down. To catch these errors at compile time, the Tooling API can be used to generate TypeScript proxies for RemoteActions. Join us to learn what TypeScript is, how to use it in Visualforce, and see concrete examples of how to generate proxies for Apex RemoteActions.