Application or Sandbox? Which to use?

As I look through the examples sometimes I see the Application trait being used and sometimes I see the Sandbox. What is the difference and what factors should determine which trait I use in my project?

If you are a just getting started with the library, this trait offers a simpler interface than Application.

Unlike an Application, a Sandbox cannot run any asynchronous actions or be initialized with some external flags. However, both traits are very similar and upgrading from a Sandbox is very straightforward.

Therefore, it is recommended to always start by implementing this trait and upgrade only once necessary.

Thanks, @hecrj. That answers my question. BTW I’ve started, very slowly, working my way through your video on building a text editor. Hopefully, that will help get me up to speed on using Ice.

1 Like