<div dir="auto">Awesome, thanks Loïc!</div><div><br><div class="gmail_quote"><div>On Mon, 1 Jan 2018 at 20:58, Loïc Hoguin <<a href="mailto:essen@ninenines.eu">essen@ninenines.eu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 01/01/2018 08:43 PM, Xavier Noria wrote:<br>
> Trying to get the vocabulary right for OTP applications without a<br>
> callback module.<br>
><br>
> Does the application controller spawn an application master process for<br>
> applications without callback modules? If yes, with what purpose? Do you<br>
> still call that "starting" the application even though there is no<br>
> `start/2` callback to invoke?<br>
<br>
All applications can be started.<br>
<br>
> Are applications without callback modules also "stopped" in some sense?<br>
> I mean, do you use the verb "stop" for them even though there is no<br>
> `stop/1` callback to invoke? And if yes, what does "stopping" do?<br>
<br>
All applications can also be stopped.<br>
<br>
For library applications (those without a callback module) it doesn't do<br>
a whole lot, just registers the application as being started (or not)<br>
and triggers some events for SASL and other.<br>
<br>
> Is there an official or common term to refer to "application without a<br>
> callback module", and "application with a callback module"?<br>
<br>
Library application and application, I don't think the latter has a<br>
specific name.<br>
<br>
All details are in this chapter:<br>
<a href="http://erlang.org/doc/design_principles/applications.html" rel="noreferrer" target="_blank">http://erlang.org/doc/design_principles/applications.html</a><br>
<br>
--<br>
Loïc Hoguin<br>
<a href="https://ninenines.eu" rel="noreferrer" target="_blank">https://ninenines.eu</a><br>
</blockquote></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature">Sent from Gmail Mobile</div>