Zotonic
Zotonic
zotonic@conference.zotonic.com
Friday, 21 June 2013< ^ >
Arjan has set the subject to: Zotonic - The Erlang Web Framework & CMS
Room Configuration

GMT+2
[00:07:34] Arjan leaves the room
[00:10:25] cillian.deroiste leaves the room
[00:51:05] mawuli.ypa leaves the room
[00:53:53] mawuli.ypa joins the room
[02:04:36] mawuli.ypa leaves the room
[02:09:09] mawuli.ypa joins the room
[09:01:32] Arjan joins the room
[10:44:39] mawuli.ypa leaves the room
[10:44:52] mawuli.ypa joins the room
[11:05:43] Maas joins the room
[11:15:00] arcusfelis joins the room
[12:38:11] Arjan leaves the room
[13:14:11] Arjan joins the room
[13:27:35] mawuli.ypa leaves the room
[13:35:32] <Arjan> looking at the zotonic m_edge model
[13:35:40] <Arjan> did not know a construct like this was allowed:
[13:35:44] <Arjan> m_find_value(s, #m{value=undefined}, _Context) ->
fun(Id, _IdContext) ->
fun(Pred, PredContext) ->
subject_edge_ids(Id, Pred, PredContext)
end
end;
[13:35:47] <Arjan> that is very neat :)
[13:36:26] <Arjan> more readable than recursively augmenting the #m.value
[13:43:12] <Maas> Cool, when are the functions evaluated then? When the model is referenced?
[13:43:30] <Maas> in the template I mean.
[13:46:41] <Arjan> I guess :)
[13:46:52] <Arjan> marc will know
[13:47:13] <Maas> Haha :-)
[13:54:35] mawuli.ypa joins the room
[13:59:14] mawuli.ypa leaves the room
[14:09:13] <Marc Worrell> @maas - yes, when referenced in the template
[14:10:12] mawuli.ypa joins the room
[14:10:32] <Marc Worrell> You can just return (almost) anything and erlydtl runtime will handle the find_value on that something for you. Those functions to understand /1 and /2 functions.
[15:16:27] Arjan leaves the room
[15:20:42] Arjan joins the room
[15:33:00] Arjan leaves the room
[15:34:11] Arjan joins the room
[17:15:19] Arjan leaves the room
[17:40:46] Maas leaves the room
[17:48:41] Arjan joins the room
[17:49:18] Arjan leaves the room
[19:23:10] Arjan joins the room
[20:01:00] cillian.deroiste joins the room
[20:50:57] Arjan leaves the room
[21:39:51] mawuli.ypa leaves the room
[21:40:22] mawuli.ypa joins the room
[21:52:09] arcusfelis leaves the room
[22:02:17] Arjan joins the room
[22:04:24] Arjan leaves the room
[22:05:25] mawuli.ypa leaves the room
[22:11:35] Arjan joins the room
[22:38:29] mawuli.ypa joins the room
[23:00:27] cillian.deroiste leaves the room
[23:08:58] mawuli.ypa leaves the room
[23:10:16] mawuli.ypa joins the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!