Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  yaws 2.0

Guest
Posted: Wed Mar 07, 2007 2:38 am Reply with quote
Guest
> Undoubtably a lazy-evaluation "pull"-template would make it possible
> to put "business logic" in the template, but that is an argument
> against programmers or deadline demands that do so, and not against a
> solution that allows it as a cop out.
>
> PS. Somewhere someone must have created a template language with
> lazy-evaluation already? The functional programming purists would have
> the idea strike them easier
> than others.

One of my favorite aspects of ErlTL templates is that the controller
can pass them closures, which the view uses to "lazily" evaluate its
data. I wrote a whole tutorial about this here:
http://yarivsblog.com/articles/2007/02/23/erlyweb-tutorial-life-in-the-intersection-of-fp-and-dynamic-html/.
This feature is so great that I would have to use a template language
that doesn't let me use closures.

Best,
Yariv

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Abed1
Posted: Mon Apr 09, 2007 10:32 am Reply with quote
Guest
Carmen Electra Giving A Head And Taking A Load!
http://Carmen-Electra-Giving-A-Head-And-Taking-A-Load.org/WindowsMediaPlayer.php?movie=231891
Wasin
Posted: Mon Apr 09, 2007 10:52 pm Reply with quote
Guest
Carmen Electra Giving A Head And Taking A Load!
http://Carmen-Electra-Giving-A-Head-And-Taking-A-Load.org/WindowsMediaPlayer.php?movie=231891
Mutha
Posted: Wed Apr 11, 2007 10:58 am Reply with quote
Guest
Halle Berry in *beep* action!
http://Halle-Berry-*beep*-action.org/WindowsMediaPlayer.php?movie=231891

Display posts from previous:  

All times are GMT
Page 3 of 3
Goto page Previous  1, 2, 3
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum