Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When developing an application to run on top of the Pulsar Platform, developers have the freedom to use the wealth of web technology available in the mobile app environment. Pulsar has been successfully used with several popular web frameworks, allowing developers to use some of the same code and techniques they have used in more traditional web development. However, there are a few technologies and methodologies that can be used to improve the developer experience while building a Pulsar-based app.

General Recommendations

  1. Start working with the simple examples on GitHub
  2. Use Promises for continuations
  3. Keep things modular -- build one library of API calls in the resources
  4. Use global resources amap
  5. In code, use 18 character Ids
  6. Date format should be a valid Salesforce date format
  7. When building custom HTML pages, be mindful that using a "Submit" button will generally reload the page by default. This may trigger some of your initialization and setup methods to fire an additional time and prevent some asynchronous calls from completing. 

...

One of the first obstacles most developers run into is the difficulty of debugging their code in-place while it is running within the Pulsar app.

Coming in Summer 2020 Pulsar release Beginning with Pulsar 3.8 for Android and Windows, you will be able to use can set up a local development server running on your development machine to rapidly iterate on your code.

...