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

GMT+2
[02:59:54] jeff.5nines leaves the room
[03:01:57] jeff.5nines joins the room
[07:56:03] arcusfelis joins the room
[08:12:58] arcusfelis leaves the room
[08:54:09] cillian.deroiste joins the room
[08:56:39] arcusfelis joins the room
[08:57:25] cillian.deroiste leaves the room
[10:09:02] arjan joins the room
[10:18:23] arjan leaves the room
[10:21:06] arjan joins the room
[10:21:51] arjan leaves the room
[10:29:24] Maas joins the room
[11:31:05] Piotr Nosek joins the room
[11:32:02] <Piotr Nosek> Hi everyone. I have a question: does Zotonic have an option to generate default model modules based on existing DB schema?
[11:52:39] arjan joins the room
[11:53:01] <arjan> hi Piotr
[11:53:08] <arjan> I don't know of such a module
[11:53:11] <arjan> it would be nice to have though :)
[11:53:29] <arjan> z_db:select, insert, update are already quite convenience methods
[11:54:12] <arjan> something different, I just created a script to automatically create a varnish config for multiple simultaneous running zotonic instances
[11:54:21] <arjan> for dispatching the request host to the correct Zotonic
[11:54:25] <arjan> https://gist.github.com/arjan/6172711
[12:05:03] <Piotr Nosek> Thanks arjan, perhaps I'll think of writing such extension for Zotonic
[12:05:04] <Piotr Nosek> :)
[12:05:15] <arjan> cool
[12:05:18] <arjan> it should not be too hard
[12:06:21] <Piotr Nosek> Where should I put it? As one of 'modules' or rather somewhere in src/ directory?
[12:08:11] <arjan> is it more a utility to generate code?
[12:08:20] <arjan> in that case it should maybe be a subcommand of the CLI?
[12:08:29] <arjan> zotonic gen-model <tablename>
[12:08:30] <arjan> or something?
[12:13:47] <Piotr Nosek> Hmm, yes, it would be probably most logical
[12:18:02] Maas leaves the room
[13:31:05] Maas joins the room
[14:41:40] Piotr Nosek leaves the room: Replaced by new connection
[14:41:40] Piotr Nosek joins the room
[14:49:55] mawuli.ypa joins the room
[14:54:26] Maas leaves the room
[14:56:21] Maas joins the room
[15:08:56] mawuli.ypa leaves the room
[15:12:00] mawuli.ypa joins the room
[15:13:11] mawuli.ypa leaves the room
[15:35:35] jeff.5nines leaves the room
[15:56:36] Piotr Nosek leaves the room
[17:23:35] Maas leaves the room
[17:52:05] arjan leaves the room
[21:20:34] arcusfelis leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!