Initial impressions of yaws
Orbitz - orbitz - September 11, 2005If any of this post is incorrect, please feel free to post a comment and correct me.
I have recently installed yaws and I am looking at it to create a small website. It will be fairly simple. My previous web experience has been using Nevow with Twisted. Nevow allows you to create xml files and then the template engine extracts information from the xml file which is translated to function calls on an object representing the page. I like this solution. It keeps the code seperate from presentation which many people seem to suggest is a good idea. I see it as a positive purely based on working with webdesigners. I dislike doing web frontends so allowing someone to make that and giving them the bare minimum needed to let them call functions in my code seems rather nice. From my experiences with yaws, it seems to use a style that reminds me more of PHP. The major difference being that you can use Erlang terms to be transformed to HTML. Nevow has something similar to this called stan. Even with this though, the .yaws file is still not purely Erlang code, but requires escaping html with a
I do think Erlang would make a fairly good web development language. The applications could easily be distributed over several nodes, not requiring one to use some sort of load balancer. A web app could scale quite well. But what can be done about the interface for programming? Some sort of XML system might work but I’m not convinced of that. There must be some more intuitive means of mixing code and presentation. I wouldn’t be sirprised if someone has attempted to tackle this already, maybe something exists on google about it.
Categories: Blogs Orbitz
Erlang on Twitter
» karl_grz (Karl Grzeszczak): Heading to #Chicago #Erlang meetup with @bryanmurphy and @davidkotas to go nerd it up!
» nicholasf (Nicholas Faiz): This is pretty interesting to watch: http://t.co/pOINDC1zFO . /cc @fredwu #elixir
» willhsiung (Will Hsiung): Taking Metra to the Loop for the 3rd straight day of Meetups, this time with Chicago Erlang Group. #erlang #programming #functional
» Tiarandella12 (Tiara Randella): @erlang_qomara yakk om koo
» erlang_qomara (ES☀): Hhaha, klo ga mau di duakan lbih baik jngn mendua :x 3-|
» bostonou (Jonathan Boston): @NashFP @nashdotnet is Erlang School going to be part of the monthly NashFP meeting or a separate meeting? cc @dougselph
» livelock (antoinette algorithm): 0:00 /usr/local/hoss/lib/erlang/erts-5.7.3/bin/beam.smp -k true—-root /usr/local/ #ChurchOfMars
» Muh_Erlang (M. Erlangga Pangestu): @evlinkohar ngpo vlin
» defnull (Defnull): Hmm.. #erlang https://t.co/d2ser8cQL7
» developerlondon (London IT jobs): Erlang OTP Developer - http://t.co/a7HtO5i7qm
#jobs #london #dev #it
Statistics
Number of aggregated posts: 10650
Most recent article: May 20, 2013
Latest comments
» Moraru on This is Why You Spent All that Time Learning to Program: It is true that computer science was a pain in the back at time that i’ve had to learn it…
» Commercial hand dryers on Couchbase Meetup at new HQ: Buy online from here where you will get so much of variety in Commercial hand dryers for people. If you…
» Fort McMurray Homes on Motivated Reasoning and Erlang vs Python vs Node: I don’t really understand why this post is motivational? I don’t even see a post, just a title. Fort McMurray…