00:00:17  * colinsullivanquit (Quit: Leaving.)
00:01:34  * jsurfagequit (Read error: Connection reset by peer)
00:02:51  * jsurfagejoined
00:03:12  * colinsullivanjoined
00:10:21  * ins0mniajoined
00:40:30  * evangeni_joined
00:45:19  * evangeni_quit (Ping timeout: 260 seconds)
01:13:34  * jxgquit (Quit: jxg)
01:14:33  * jxgjoined
01:34:46  * lluad_joined
01:38:24  * lluadquit (Ping timeout: 276 seconds)
01:38:24  * lluad_changed nick to lluad
01:38:50  * sberrymanquit (Remote host closed the connection)
01:44:47  * joshsmithjoined
02:08:57  * colinsullivanquit (Quit: Leaving.)
02:15:07  * ins0mniaquit (Ping timeout: 260 seconds)
02:58:08  * ArxPoeticaquit (Quit: Leaving.)
02:59:34  * ArxPoeticajoined
03:03:50  * ArxPoeticaquit (Ping timeout: 252 seconds)
03:23:04  * ArxPoeticajoined
03:31:50  <ArxPoetica>mdedetrich you use jade on a regular basis, yes?
03:31:59  <mdedetrich>ArxPoetica: YES
03:32:02  <ArxPoetica>ha
03:32:03  <mdedetrich>woops
03:32:10  <ArxPoetica>do you use it in your templating?
03:32:14  <mdedetrich>yes
03:32:22  <ArxPoetica>do you use ss-clientjade?
03:32:26  <mdedetrich>yes
03:32:31  <ArxPoetica>ok
03:32:35  <ArxPoetica>answers my question :)
03:32:44  <ArxPoetica>I *finally* got that working :P
03:33:11  <mdedetrich>the ideal and most performant thing to do
03:33:15  <mdedetrich>is to make ur html in jade
03:33:21  <mdedetrich>and then use jquery delegate events
03:33:28  <mdedetrich>(or just use something like backbone)
03:34:01  <ArxPoetica>delegate events? as in $.on(...)
03:34:04  <ArxPoetica>?
03:34:30  <mdedetrich>yup
03:34:36  <ArxPoetica>cool
03:34:45  <ArxPoetica>yeah, i use .on regularly
03:34:48  <mdedetrich>backbone does that stuff automatically\
03:34:56  <mdedetrich>you create views out of 'div' blocks
03:35:10  <ArxPoetica>Do you prefer backbone (as opposed to ember or angular?)
03:35:10  <mdedetrich>and then any events you put in backbone are delegated through that div block
03:35:26  <mdedetrich>I prefer backbone because it gives more control, and I would recommend it in the case of SS
03:35:33  <ArxPoetica>hmm...
03:35:46  <mdedetrich>because SS is primary socket based, which makes things less than trivial regarding communication from server and client
03:36:08  <mdedetrich>the thing is, my app is not very MVC based
03:36:16  <mdedetrich>or at least not the MVC that angular/ember use
03:36:19  <ArxPoetica>yeah...
03:36:25  <mdedetrich>BB gives you enough flexibility to deal with that
03:36:35  <ArxPoetica>bb manages pushstate?
03:36:53  <mdedetrich>yup, I have already done that
03:36:57  <ArxPoetica>gotcha
03:37:13  <mdedetrich>the nice thing about BB
03:37:29  <mdedetrich>is you dont have to use BB's router if you don't want to (which handles stuff like pushstate)
03:37:36  <mdedetrich>you also don't have to use BB's models if you don't want to
03:37:43  <mdedetrich>or the auto model refresh
03:37:55  <mdedetrich>it gives you quite a lot of granularity in what you can and can't do
03:37:59  <ArxPoetica>right
03:38:11  <ArxPoetica>for control freaks :P
03:38:16  <ArxPoetica>(which I'm one)
03:39:15  <mdedetrich>I wouldn't really say control freaks, its more of the mindset that if your application doesn't fit the MVC model used in angular/ember
03:39:24  <mdedetrich>than you spend more time trying to mould the framework to suite your needs
03:39:30  <mdedetrich>which defeats the purpouse
03:39:32  <ArxPoetica>right
03:39:33  <mdedetrich>of using the framework
03:39:51  <ArxPoetica>ss isn't exactly mvc in other words
03:40:02  <ArxPoetica>or doesn't have to be
03:40:27  <ArxPoetica>it's more event-based i would say
03:41:42  <mdedetrich>SS is just pure RPC
03:41:47  <mdedetrich>you can make it MVC if you want
04:04:12  * colinsullivanjoined
04:05:03  <ArxPoetica>mdedetrich — still there?
04:05:14  <mdedetrich>ya
04:05:26  <ArxPoetica>So in this example (ss-clientjade) var templateString = JT['templateName'](locals);
04:05:34  <ArxPoetica>what is locals?
04:06:08  <mdedetrich>variables that you feed into jade
04:06:20  <mdedetrich>which you can refer to inside your .jade file with locals
04:06:38  <ArxPoetica>same as Hogan — got it
04:06:48  <mdedetrich>as an example
04:07:08  <ArxPoetica>{ string: 'string', number: 567, etc... }
04:07:18  <mdedetrich>this is a jade from my project
04:07:19  <mdedetrich>https://gist.github.com/eccd4c606c98f7f78100
04:08:04  <mdedetrich>ArxPoetica: and this is how I use it in coffeescript
04:08:05  <ArxPoetica>i see
04:08:05  <mdedetrich>https://gist.github.com/9785b33700d04aed5f0a
04:08:26  <mdedetrich>hmm wait, the indentation for the is screwed
04:09:02  <mdedetrich>ArxPoetica: https://gist.github.com/e8648c0f8c83281d27c7
04:09:47  <ArxPoetica>interesting.
04:09:53  <ArxPoetica>so you pass an array of data
04:10:03  <mdedetrich>also you can write pure javascript in jade
04:10:07  <ArxPoetica>but you could just pass a single variable
04:10:11  <mdedetrich>to do templating logic
04:10:15  <mdedetrich>yup
04:10:23  <ArxPoetica>yeah, okay, makes sense
04:10:31  <ArxPoetica>just like the hogan examples
04:10:36  <mdedetrich>whatever variable you put in the (…)
04:10:41  <mdedetrich>is referred to as locals in jade
04:11:07  <mdedetrich>if that variable happens to be an array
04:11:09  <mdedetrich>then you would do
04:11:17  <mdedetrich>each item in locals
04:11:25  <ArxPoetica>btw, have you tried out .4 yet?
04:11:34  <mdedetrich>nope, dont have time
04:12:20  <ArxPoetica>ha :)
04:13:08  <ArxPoetica>unrelated q: do you share models on back end and front end?
04:13:26  <ArxPoetica>(using backbone, for example?)
04:15:09  <mdedetrich>not exactly
04:15:19  <mdedetrich>well not sure yet, I am getting to that part
04:15:33  <mdedetrich>I have basically recoded an entire website, and done all the frontend
04:15:36  <mdedetrich>doing the backend now
04:16:57  <mdedetrich>I do share validity models though
04:17:09  <mdedetrich>ArxPoetica: I am probably going to share my validity system
04:17:16  <mdedetrich>although I will call it 'slabs' instead of models
04:17:20  <mdedetrich>as to not confuse people
04:17:33  <mdedetrich>since they describe the validity of models, they aren't exactly models
04:26:04  <mdedetrich>kinda an awesome system really, you can combine these 'slabs' or models like sets
04:26:09  <ArxPoetica>very interesting
04:26:13  <mdedetrich>to create different validities
04:26:48  <ArxPoetica>cool idea
04:55:39  * ArxPoeticaquit (Quit: Leaving.)
05:12:55  * lluadquit (Quit: lluad)
05:42:19  * colinsullivan1joined
05:45:01  * colinsullivanquit (Ping timeout: 246 seconds)
05:54:04  * colinsullivan1quit (Quit: Leaving.)
06:06:55  * mike-dquit (Quit: mike-d)
06:07:07  * joshsmithquit (Quit: joshsmith)
06:24:28  * jxgquit (Quit: jxg)
06:55:59  * jxgjoined
07:04:49  * mdedetrichquit (Quit: Computer has gone to sleep.)
07:53:17  * jxgquit (Quit: jxg)
08:49:56  * john3909quit (Quit: Leaving.)
09:13:35  * mdedetrichjoined
09:29:50  * owenbquit (*.net *.split)
09:40:52  * owenbjoined
09:59:32  * owenbquit (*.net *.split)
10:10:01  * owenbjoined
10:29:03  * owenb_joined
10:35:28  * owenbquit (*.net *.split)
10:35:28  * owenb_changed nick to owenb
11:41:54  * mdedetrichquit (Quit: Computer has gone to sleep.)
11:50:36  * mdedetrichjoined
11:51:30  * ins0mniajoined
12:01:15  * ins0mniaquit (Ping timeout: 260 seconds)
12:45:49  * mdedetrichquit (Quit: Computer has gone to sleep.)
13:10:58  * ins0mniajoined
14:03:47  * ins0mniaquit (Ping timeout: 260 seconds)
15:03:09  * ins0mniajoined
15:13:46  * hipertrackerjoined
16:11:46  * hipertrackerquit (Quit: hipertracker)
16:11:58  * ArxPoeticajoined
16:31:13  * lluadjoined
16:37:05  * ins0mniaquit (Ping timeout: 255 seconds)
16:40:37  * evangenieurquit (Remote host closed the connection)
17:44:36  * ins0mniajoined
18:40:33  * ins0mniaquit (Ping timeout: 252 seconds)
18:50:00  * ins0mniajoined
19:02:42  * hipertrackerjoined
19:50:29  * jxgjoined
20:10:18  * ins0mniaquit (Ping timeout: 260 seconds)
20:28:09  * ins0mniajoined
20:53:22  * john3909joined
21:12:44  <ArxPoetica>ss.responders.add <— what does this do?
21:13:03  <ArxPoetica>owenb?
21:15:06  <ArxPoetica>sveisvei — you there? you wrote the clientjade wrapper, yes?
21:18:19  <ArxPoetica>Found the documentation: https://github.com/socketstream/socketstream/blob/master/doc/guide/en/writing_request_responders.md
21:18:32  <ArxPoetica>(so nm :) )
21:49:22  * jxgquit (Quit: jxg)
21:50:49  * ins0mniaquit (Ping timeout: 246 seconds)
22:09:25  * jxgjoined
22:48:50  * joshsmithjoined
23:00:18  * jxgquit (Quit: jxg)
23:16:10  * jxgjoined
23:16:10  * jxgquit (Client Quit)
23:20:27  * jxgjoined
23:33:06  * evangenieurjoined