Zotonic
Zotonic
zotonic@conference.zotonic.com
Sunday, 5 August 2012< ^ >
arjan has set the subject to: Zotonic - the Erlang CMS
Room Configuration

GMT+2
[02:38:05] Ilya Rezvov joins the room
[08:47:06] arjan joins the room
[09:06:21] arjan leaves the room
[09:07:24] arjan joins the room
[10:32:12] arjan leaves the room
[10:35:01] arjan joins the room
[10:48:32] Ilya Rezvov leaves the room
[10:48:48] Ilya Rezvov joins the room
[11:13:16] <Ilya Rezvov> hi
[11:14:47] <Ilya Rezvov> why search module don't export util functions like add_join_edge ?
[11:15:09] <Ilya Rezvov> it is very usefull if i want search by custom rules
[11:15:24] <Ilya Rezvov> different with built-in
[11:15:39] <Ilya Rezvov> or i do something wrong?
[12:58:38] <arjan> hi
[12:58:58] <arjan> might indeed be handy
[13:05:17] <Ilya Rezvov> i make many magic
[13:05:28] <Ilya Rezvov> for working with my custom pivot
[13:05:44] <Ilya Rezvov> and copy many utils functions from parse_query
[13:06:01] <Ilya Rezvov> i think abstract layer needed
[13:06:15] <Ilya Rezvov> for building search_sql
[13:06:26] <Ilya Rezvov> or another structure for search
[13:11:31] <arjan> yes
[13:11:47] <arjan> I think exposing functions to manipulate search_sql is a good idea
[13:11:51] <arjan> in a separate module
[13:12:00] <Ilya Rezvov> yeah
[17:07:59] <Ilya Rezvov> how i can create test context?
[17:08:30] <Ilya Rezvov> z_context:new_test(). or z_context:new(test). rise exception
[17:08:40] <Ilya Rezvov> ** exception exit: {noproc,{gen_server,call,['z_trans_server$tester',table]}}
in function gen_server:call/2 (gen_server.erl, line 180)
in call from z_trans_server:table/1 (src/i18n/z_trans_server.erl, line 71)
in call from z_context:set_server_names/1 (src/support/z_context.erl, line 206)
in call from z_context:new/1 (src/support/z_context.erl, line 152)
[17:10:18] <Ilya Rezvov> z_context:new(undefined) works fine, thx :)
[17:20:23] <Ilya Rezvov> what do you think about this method http://gar1t.com/blog/2012/06/10/solving-embarrassingly-obvious-problems-in-erlang/ ?
[19:25:28] <arjan> nice
[19:32:55] <Ilya Rezvov> i ecountered with very long functions
[19:33:02] <Ilya Rezvov> in my zotonic research
[19:33:17] <Ilya Rezvov> when i read this article
[19:33:25] <Ilya Rezvov> i remember zotonic :)
[19:34:55] <arjan> I know
[19:35:07] <arjan> zotonic is not always the prime example of how to write clean erlang code
[19:35:17] <arjan> :p
[19:36:09] <Ilya Rezvov> but i very like it architecture
[19:39:06] <Ilya Rezvov> adding edge execute in sync way?
[19:39:16] <Ilya Rezvov> i mean m_edge:insert
[20:22:05] <arjan> yes, I think so
[20:22:15] <arjan> all data modification is sync unless you make it async yourself
[20:36:59] arjan leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!