Dear Toby,<div><br></div><div>IMHO, PHP is a proper subset of Erlang, when it comes to solving real world problems. You are right in saying "benchmark the parts for performance", but we are not only about performance, but also about reusing the tools that are already available in the domain, which are written in C/C++.</div>
<div><br></div><div>Kind Regards,</div><div>Kannan.<br><br><div class="gmail_quote">On Thu, Apr 5, 2012 at 5:27 PM, Toby Thain <span dir="ltr"><<a href="mailto:toby@telegraphics.com.au">toby@telegraphics.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 05/04/12 3:17 AM, Kannan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks guys, that is a lot of input.<br>
<br>
How is the support of OTP for multimedia content manipulation,<br>
transcoding etc? Or you advice to do it at the C level and communicate<br>
it to Erlang?<br>
<br>
Also, if someone has already invented the wheel of how good Erlang is<br>
compared to PHP, please share it with us.<br>
</blockquote>
<br>
<br></div>
Erlang and PHP cannot really be directly compared; they solve different problems.<br>
<br>
PHP is a basic web templating system with OO bolted on.<br>
<br>
Erlang is a sophisticated modern language and runtime with extraordinary scaling capability, and built-in distribution mechanisms.<br>
<br>
Their sweet spots barely overlap, so if you *need* Erlang, you are unlikely to be satisfied with PHP.<br>
<br>
As for which parts of your system might need to be in C - benchmarking on your actual application will answer that.<br>
<br>
--Toby<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
We would like to have a mega site purely on Erlang and C.<br>
<br>
Thank you.<br>
<br>
<br>
<br>
On Wed, Apr 4, 2012 at 10:21 PM, Tristan Sloughter<br></div><div class="im">
<<a href="mailto:tristan.sloughter@gmail.com" target="_blank">tristan.sloughter@gmail.com</a> <mailto:<a href="mailto:tristan.sloughter@gmail.com" target="_blank">tristan.sloughter@<u></u>gmail.com</a>>> wrote:<br>

<br>
    My suggestion is Webmachine or Cowboy speaking only JSON with a<br>
    heavy Javascript frontend, like Backbone.js, Spine.js or my favorite<br>
    Batman.js<br>
<br>
    This provides a lot of advantages, especially if you have people on<br>
    the frontend who know html/css/javascript but don't want to deal<br>
    with Erlang. Now they simply have a RESTful API to deal with and can<br>
    develop on ahead using fixtures or a basic backend in any quick tool<br>
    that can build REST apps like Sinatra or Node.js returning stock<br>
    responses. Plus, you then are already ready to develop other<br>
    interfaces besides a web frontend for you backend with no changes.<br>
<br>
    And while I've fallen behind on keeping it going, I'm creating apps<br>
    for using with Webmachine to make things faster when you know you<br>
    are just dealing with JSON->Erlang <a href="https://github.com/tsloughter/maru" target="_blank">https://github.com/tsloughter/<u></u>maru</a><br>
<br>
    Tristan<br>
<br>
    On Wed, Apr 4, 2012 at 4:56 AM, Zabrane Mickael <<a href="mailto:zabrane3@gmail.com" target="_blank">zabrane3@gmail.com</a><br></div><div><div class="h5">
    <mailto:<a href="mailto:zabrane3@gmail.com" target="_blank">zabrane3@gmail.com</a>>> wrote:<br>
<br>
        <a href="http://lenary.co.uk/erlang/2011/08/erlang-web-libraries/" target="_blank">http://lenary.co.uk/erlang/<u></u>2011/08/erlang-web-libraries/</a><br>
<br>
        Regards,<br>
        Zabrane<br>
<br>
<br>
        On Apr 4, 2012, at 1:46 PM, Roberto Aloi wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
        Hi Marc,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        That comparison is behind regarding Zotonic.<br>
        And I guess also regarding the other projects, as the last<br>
        update was 5 months ago.<br>
</blockquote>
<br>
        True. I couldn't find any other so-detailed comparison,<br>
        thought. It<br>
        would probably be worth to update that page with the latest<br>
        changes in<br>
        the other frameworks.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        And it is more a comparison of the features of Chicago Boss<br>
        to the others, not the other way around.<br>
        Some extra categories could be considered.<br>
</blockquote>
<br>
        Well, that page belongs to the Chicago Boss project, so no big<br>
        surprise about that. It's good that you made that point clear,<br>
        though.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        But then, no comparison is ever complete.<br>
</blockquote>
<br>
        I guess we should have a third-party one. Suggestion for a<br>
        talk at the<br>
        next Erlang Factory? ;)<br>
<br>
        --<br>
        Roberto Aloi<br>
        ---<br>
        Website: <a href="http://roberto-aloi.com" target="_blank">http://roberto-aloi.com</a><br>
        Twitter: @robertoaloi<br>
        ______________________________<u></u>_________________<br>
        erlang-questions mailing list<br></div></div>
        <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a> <mailto:<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@<u></u>erlang.org</a>><br>
        <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</blockquote>
<br>
<br>
<br>
        ______________________________<u></u>_________________<br>
        erlang-questions mailing list<br>
        <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a> <mailto:<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@<u></u>erlang.org</a>><div class="im">
<br>
        <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
<br>
<br>
<br>
    ______________________________<u></u>_________________<br>
    erlang-questions mailing list<br></div>
    <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a> <mailto:<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@<u></u>erlang.org</a>><div class="im">
<br>
    <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>