Tips for Working in a Caja Environment

Developers who are working with Caja for the first time usually have one of two mindsets:

  • The JavaScript I write is secure and will pass through Caja without a problem.

  • Caja is going to prevent any of my code from working.

Caja can seem daunting, but with an understanding of working with JavaScript in an application environment and a few tips on building in this environment, you’ll find the process much easier.

Get Programming Social Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.