for having all the control and configuration at the same place i do in myapp :<br><br>application:start(yaws);<br>yaws_api:setconf/2<br><br><div><span class="gmail_quote">On 5/4/07, <b class="gmail_sendername">Robert Raschke
</b> <<a href="mailto:rrerlang@tombob.com">rrerlang@tombob.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>I'm looking into creating myself a release of a little Erlang program.<br>This uses Yaws to expose a web interface. What are the<br>recommendations on how to assemble the applications? Also what are<br>the tradeoffs between these three approaches?
<br><br>1. Use completely separate applications for yaws and myapp and have<br> myapp call something like myapp:ensure_yaws_started/0 (which<br> starts and configure yaws if needed) when it starts.<br><br>2. Use the applications entry in the
myapp.app file to list yaws and<br> that "just" call yaws_api:setconf/2 in myapp.<br><br>3. Use the included_applications in the myapp.app file to list yaws<br> and then call yaws:start_embedded/3 inside myapp_supervisor.
<br><br>Thanks for any advice,<br>Robby<br><br>--<br>r dot raschke at tombob dot com<br><br><br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">
erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br><br clear="all"><br>-- <br>Roberto Saccon