tag:blogger.com,1999:blog-16940011.post2731910614520897818..comments2023-05-18T07:00:11.972-07:00Comments on Yariv's Blog: Introducing ErlyWeb: The Erlang Twist on Web FrameworksYarivhttp://www.blogger.com/profile/01787159103926738266noreply@blogger.comBlogger26125tag:blogger.com,1999:blog-16940011.post-17125638730349286172006-11-23T17:07:18.000-08:002006-11-23T17:07:18.000-08:00Great, I template syntax and controller code looks...Great, I template syntax and controller code looks a little bit spooky :PGaspar Chilingarovhttp://zanazan.am/erlang/noreply@blogger.comtag:blogger.com,1999:blog-16940011.post-88858138455731142402006-12-01T12:46:45.000-08:002006-12-01T12:46:45.000-08:00I have started to look into erlyweb and like what ...I have started to look into erlyweb and like what I see. I might even convert www.erlware.org over to it. Have you thought about name clashes, I can imagine a time when I might have music_view in two applications both running in the same vm - prefixes perhaps? Anyhow, nice work, and if you need a standard OTP build system to support your development I would be glad to help you with erlware - OTP Base :-)<br><br>Cheers,<br>MartinMartin Loganhttp://www.erlware.orgnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-55301091408955204022006-12-03T08:40:23.000-08:002006-12-03T08:40:23.000-08:00Martin -- I think ErlHive might be able to help wi...Martin -- I think ErlHive might be able to help with name collisions across apps running in the same VM, but I haven't experimented with ErlHive yet so I can't say for certain. Thanks for offering the build system -- maybe I'll take you up on it :)Yarivnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-29479746574578326532006-12-06T09:26:45.000-08:002006-12-06T09:26:45.000-08:00I'd love to see an ErlyWeb adaption to ErlHive...I'd love to see an ErlyWeb adaption to ErlHive. You're right in that it should solve the name clash problem. Just let me know when you want to play, and I'll do my best to assist.Ulf Wigerhttp://ulf.wiger.net/weblog/noreply@blogger.comtag:blogger.com,1999:blog-16940011.post-76684307298321609392007-01-07T19:28:08.000-08:002007-01-07T19:28:08.000-08:00Hi! i'm CPUG--ChinaPythonUserGroup 's admi...Hi! i'm CPUG--ChinaPythonUserGroup 's admin.<br>very like ErlyWeb's gola -- simplicity, productivity and fun.<br><br>just like Pythonic!<br><br>hope get us some good example for ErlyWeb with Mnesia;<br>or can usage Python as view ...<br><br>i dream,can usage Python quickly develop Web Interface,and base Yaws to hold high concurrency capacity。。。Zoom.Quiethttp://zoomquiet.org/noreply@blogger.comtag:blogger.com,1999:blog-16940011.post-24719363521538810412007-02-13T03:29:54.000-08:002007-02-13T03:29:54.000-08:00Going in DHH's way!Going in DHH's way!Anilhttp://anildigital.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-60196526782787663192007-02-19T16:29:10.000-08:002007-02-19T16:29:10.000-08:00When I follow this instruction, I met some error a...When I follow this instruction, I met some error at the initial step.<br>I run erlyweb:create_app("music", "/home/myid/apps")., and set the yaws.conf as follow:<br><br>docroot = /home/myid/apps/music/www<br>appmods = <br><br> appname = music<br><br><br>After I run yaws and when i put the url below in my browser, an error occurred. Here's the error. What's the matter??<br><br>Internal error, yaws code crashed<br><br>ERROR erlang code crashed:<br> File: appmod:0<br>Reason: {no_application_data,"Did you forget to call erlyweb:compile(AppDir) or add the app's previously compiled .beam files to the Erlang code path?"}<br>Req: {http_request,'GET',{abs_path,"/music"},{1,1}}<br><br><br>p.s. when i put the url as http://localhost:8000/, then it works well.davidnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-15295337296817267132007-02-20T15:40:11.000-08:002007-02-20T15:40:11.000-08:00Yariv,Your ErlyWeb is pure genius. I will test it ...Yariv,<br><br>Your ErlyWeb is pure genius. I will test it out with a project of mine, and measure performance vs. a (good?) old LAMP version of the same app.David Bergmanhttp://blog.davber.comnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-43215631137628318202007-03-11T11:59:32.000-07:002007-03-11T11:59:32.000-07:00I think Yaws/Erlang could be used to make a great ...I think Yaws/Erlang could be used to make a great reverse proxy/load balancer -- it would most certainly scale better than ones written in other languages. An Erlang load balancer combined with a Python app server sounds like a plausible setup for many webapps (although I doubt it would scale as well as an app written entirely in Erlang). But ErlyWeb for me is less about "selling" Erlang than having a blast using all its wonderful concurrent and distributed programming capabilities and functional semantics. As a developer, I find those traits more appealing than what Python has to offer, but this is to a large degree a matter of taste :)Yarivnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-5898330446001537652007-03-11T10:10:26.000-07:002007-03-11T10:10:26.000-07:00YAWS as container.Is anybody thinking about ways t...YAWS as container.<br>Is anybody thinking about ways to make YAWS work as a container for other web app servers? I was playing around with Turbogears/Pylons and friends for a while, and eventually got a little irked about the scalability issues. It seems like some people are resolving this by making use of nginx as a load balancer, but it would seem to me like a bridge between YAWS and python(WSGI or what have you) might make for a nice web framework.<br>(I think python is an easier sell to most webdevs then erlang, but I haven't really learned erlang yet so my opinion is of course near worthless).Alexander Fairleynoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-2608308277874526602007-05-03T10:02:53.000-07:002007-05-03T10:02:53.000-07:00I'm getting the following error when I try you...I'm getting the following error when I try your example:<br><br>ERROR erlang code crashed:<br> File: appmod:0<br>Reason: {no_such_function,{"musician",<br> "index",<br> 1,<br> "You tried to invoke a controller function that doesn't exist or that isn't exported"}}<br>Req: {http_request,'GET',{abs_path,"/music/musician"},{1,1}}Tony Perriehttp://involution.comnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-67244731215602038782007-05-17T01:42:09.000-07:002007-05-17T01:42:09.000-07:00I am getting the same problem as Tony. Referring t...I am getting the same problem as Tony. Referring to his post here: http://thread.gmane.org/gmane.comp.lang.erlang.general/21225<br>I have the same setup, and everything is compiling OK, but when I try the example, it crashes with the same message. It almost seems like the erlyweb_controller.erl is nowhere to be found at runtime.<br><br>Please, any fixes?Bjorn Cintranoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-3231520664470101162007-03-23T00:08:08.000-07:002007-03-23T00:08:08.000-07:00Hey Yariv, are you planning to release the framewo...Hey Yariv, are you planning to release the framework into the open source world? How would you like it to be extended? And do you see erlyweb as a framework to create ruby on rails type applications?David Haddadnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-60112450631824318652007-04-21T03:41:04.000-07:002007-04-21T03:41:04.000-07:00[...] 21st, 2007 Inspired by Yariv’s Blog, where...[...] 21st, 2007 Inspired by Yariv’s Blog, where he talks about a framework for building web applications in Erlang, and my so far abortive [...]Building YAWS For Windows « :: (Bloggable a) => a -> IO ()http://bloggablea.wordpress.com/2007/04/21/building-yaws-for-windows/noreply@blogger.comtag:blogger.com,1999:blog-16940011.post-8216870384405338722007-12-09T15:08:12.000-08:002007-12-09T15:08:12.000-08:00[...] are some new hot web server frameworks: Ruby...[...] are some new hot web server frameworks: Ruby on Rails (Ruby), Yaws+ErlyWeb (Erlang) and HAppS [...]davber does IT » Web server performance shoot out - simple pageshttp://blog.davber.com/2007/12/10/web-server-performance-shoot-out-simple-pages/noreply@blogger.comtag:blogger.com,1999:blog-16940011.post-34470599551826279822008-01-23T14:02:49.000-08:002008-01-23T14:02:49.000-08:00Why MySQL and not Mnesia?Why MySQL and not Mnesia?Toddnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-11303690985463339492007-10-29T08:27:30.000-07:002007-10-29T08:27:30.000-07:00fyi: for osx, the path would typically only be /us...fyi: for osx, the path would typically only be /usr/local if you installed from source. but the most popular means are either macports (/opt/local/) or fink (/sw/).smittynoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-9616295712237898912008-06-03T06:11:58.000-07:002008-06-03T06:11:58.000-07:00[...] language, I hope that ErlyWeb does. In fact,...[...] language, I hope that ErlyWeb does. In fact, I don??t know of any other language that has ...http://yarivsblog.com/articles/2006/10/27/introducing-erlyweb-the-erlang-twist-on-web-framworks/What does EPMD stand for? Acronym Attic search resultWhat does EPMD stand for? abbreviation to [...]what does erlang stand forhttp://nicholaslocalnews.phreesite.com/whatdoeserlangstandfor.htmlnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-21151660588143110552008-04-14T10:29:02.000-07:002008-04-14T10:29:02.000-07:00correct me if I'm wrong, but you might need to...correct me if I'm wrong, but you might need to run <br>sudo yaws -i <br>?yudihttp://yudionrails.comnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-67519247273026448412008-06-26T22:34:47.000-07:002008-06-26T22:34:47.000-07:00Hi YarivWhat if my MySQL base did not requests pas...Hi Yariv<br><br>What if my MySQL base did not requests password:<br><br>bazil@f3t ~ $ mysql -u root<br>Welcome to the MySQL monitor. Commands end with ; or \g.<br>Your MySQL connection id is 19<br>Server version: 5.0.44-log Gentoo Linux mysql-5.0.44-r1<br><br>Type 'help;' or '\h' for help. Type '\c' to clear the buffer.<br><br>mysql> \q<br>Bye<br>bazil@f3t ~ $<br><br>Erlydb can't connect to MySQL without password, but also can't with empty password:<br><br>(yaws_am_ua@f3t.dev)3> erlydb:start(mysql, [{hostname, "localhost"}, {username, "root"}, {password, ""}, {database, "music"}]).<br>mysql_conn:620: greeting version "5.0.44-log" (protocol 10) salt "/tz+c3tm" caps 41516 serverchar <>salt2 "Ic7(_)JyG2d#"<br>mysql_auth:187: mysql_auth send packet 1: <><br>mysql_conn:594: init error 1045: "#28000Access denied for user 'root'@'localhost' (using password: YES)"<br>mysql:502: failed starting first MySQL connection handler, exiting<br>ok<br>mysql_recv:143: mysql_recv: Socket #Port closed<br>(yaws_am_ua@f3t.dev)4> <br><br><br>Could you fix it ?<br><br>Thanks.Dmitriynoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-90845500621868260822008-07-14T13:27:40.000-07:002008-07-14T13:27:40.000-07:00when using yaws-1.77everything works as far as ......when using yaws-1.77<br>everything works as far as ... <br> erlyweb:create_component("musician","/home/arthur/waps/music"). <br>erlydb:start(mysql, [{hostname, "localhost"}, {username, "username"}, {password, "triltrom2081"}, {database, "music"}]).<br> erlyweb:compile("/home/arthur/waps/music",[{erlydb_driver, mysql}]). <br>then: <br>http://localhost:8000/music/musician, http://localhost:8000/musician etc all give 404<br><br>ps: the root of the app ends up localhost:800/ instead of localhost:8000/music?arthurnoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-68290952471498374692008-12-12T09:21:56.000-08:002008-12-12T09:21:56.000-08:00This blog is dead! ;0((This blog is dead! ;0((tumikoshanoreply@blogger.comtag:blogger.com,1999:blog-16940011.post-34172132219681239732009-05-01T00:19:53.000-07:002009-05-01T00:19:53.000-07:00[...] 接下来建立一个测试的站点,这个按照erlyweb作者blog上的教程,在用户的home目...[...] 接下来建立一个测试的站点,这个按照erlyweb作者blog上的教程,在用户的home目录里建立webapp文件夹,用来存放站点文件. 按照官方说法,是在yaws shell 里输入,但是我失败了,不过我在erl里成功了,按ctrl+q后,安a确认,之后输入erl进入erlang,输入: erlyweb:create_app(”test”, “/home/kmlzkma/webapp”). [...]ubuntu下安装yaws,erlyweb成功 at 无人喝彩Betahttp://kmlzkma.com/index.php/2009/05/01/ubuntu%e4%b8%8b%e5%ae%89%e8%a3%85yawserlyweb%e6%88%90%e5%8a%9f/noreply@blogger.comtag:blogger.com,1999:blog-16940011.post-12311043799517381952009-06-01T05:43:27.000-07:002009-06-01T05:43:27.000-07:00[...] N’ayant pas MySQL d’installé sur ma machine,...[...] N’ayant pas MySQL d’installé sur ma machine, mais ayant PostgreSQL, je décide de faire tourner l’application de ce tutorial de Yariv, l’auteur d’erlyweb. [...]ErlyWeb et Postgres « c* and codehttp://cestari.wordpress.com/2007/07/25/erlyweb-et-postgres/noreply@blogger.comtag:blogger.com,1999:blog-16940011.post-29713613689465751502008-12-03T03:15:27.000-08:002008-12-03T03:15:27.000-08:00Is it possible to use Erliweb with YAWS in embedde...Is it possible to use Erliweb with YAWS in embedded mode?<br>Because YAWS don't want to work on my WindowsXP in normal mode.tumikoshahttp://dirs.infonoreply@blogger.com