[erlang-questions] newbie web-development advice / guidance

Icarus Alive icarus.alive@REDACTED
Wed Aug 3 20:00:35 CEST 2011


Sure Benson, will do so, although I've got a really long way to go.

On Wed, Aug 3, 2011 at 9:17 PM, Benson Wong <mostlygeek@REDACTED> wrote:
> Hi Icarus,
> I would appreciate it if you would share your experience with this when you
> get deeper into Erlang, Chicago Boss web development. I'm just learning the
> other side of the coin so highly interested in how it is. In particular, how
> to structure a larger erlang system that coordinates front end / backend
> jobs as you've mentioned.
> Just for you benefit, with the traditional approach (PHP, Ruby, etc),
> background jobs are usually done with tools like:
> - Gearman
> - beanstalkd (my preference)
> - cron (archiving / periodic)
> Sometimes I like to hack together my own simple event loop daemon using:
> - PHP
> - daemontools
> - beanstalkd
> The web server PHP jams a job into beanstalkd, the daemonized PHP pops the
> job off the stack, does it, asks for another one. You can scale this out
> over several machines quite easily.
> Ben.
>
> On Tue, Aug 2, 2011 at 10:31 PM, Icarus Alive <icarus.alive@REDACTED>
> wrote:
>>
>> Hi Benson,
>>
>> Really appreciate your descriptive & informative response, especially
>> so for the part on security.
>>
>> My inclination towards Erlang stems from the fact that I was intending
>> to do much of the backend in Erlang as well. The backend does lot of
>> other things than just bridging between FE client request/responses
>> and a DB, s.a. converting content format, managing archival policies,
>> do some data analysis for reporting etc. Maybe some of that via ports.
>>
>> I wish I'd seen your mail few days back, because having tried both
>> Nitrogen and Zotonic, which are I am sure excellent products, I think
>> I've found peace in settling for ChicagoBoss. I found it lot easier to
>> work with, as a beginner, maybe because the FP guts are almost hidden
>> away from sight, and much of the developer/user coding is done in an
>> imperative fashion. Also, I found it's documentation (although quite
>> light) to be simple & just-enough to get me started and get me going.
>>
>> However, I might have to come back to PHP unless I am able to train my
>> team on Erlang. Being a beginner, I find it hard to imagine being a
>> good teacher / coach for rest of the team.
>>
>> Thanks again, everyone, for responding on this thread.
>>
>> Icarus.
>
>



More information about the erlang-questions mailing list