00:01:41  * csurapjoined
00:22:06  * bmacquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:23:35  * bmacjoined
00:24:55  * csurapquit (Quit: csurap)
00:28:34  * bmacquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:47:23  * occultusquit (Quit: Leaving)
00:51:23  * stagasquit (Ping timeout: 240 seconds)
01:05:23  * ramitos_joined
01:08:09  * ramitosquit (Ping timeout: 245 seconds)
01:21:52  * Foxandxssquit (Quit: Textual IRC Client: www.textualapp.com)
01:27:10  * Hestilquit (Remote host closed the connection)
03:27:07  * tunnckoCorequit (Quit: Leaving)
05:01:03  * TheAceOfHeartsquit (Quit: Leaving.)
05:03:12  * bmacjoined
05:07:19  * bmacquit (Ping timeout: 245 seconds)
05:21:59  * TheAceOfHeartsjoined
05:37:04  * raboidjoined
05:37:11  * TheAceOfHeartsquit (Quit: Leaving.)
06:01:48  * TheAceOfHeartsjoined
06:42:20  * raboidquit (Remote host closed the connection)
06:45:09  * hmsimhajoined
06:49:26  <hmsimha>I'm trying to get up to speed in a codebase that uses Koa with Mongoose as quickly as possible. I've read over the Koa docs (and played with ES6 generators) and I've noticed that Koa doesn't really have a model component (which is new to me since rails is the only web framework I have experience with). This is my first time using node also. Does anyone have any practical examples of how the two are used together?
06:50:13  <TheAceOfHearts>umm, mongoose and koa?
06:50:22  <TheAceOfHearts>koa is just a really small framework
06:50:37  <hmsimha>All the Mongoose examples I've found show it being used with express, which I haven't used
06:50:43  <hmsimha>TheAceOfHearts: yes
06:50:55  <TheAceOfHearts>I dunno, I wouldn't use mongo for anything
06:51:08  <hmsimha>I'd like to learn about how Mongoose fits into the app without also having to learn express
06:51:08  <TheAceOfHearts>I use sequelizejs
06:51:17  <TheAceOfHearts>express is pretty small too
06:51:25  <TheAceOfHearts>mongoose is just like a shitty ORM
06:51:30  <TheAceOfHearts>not at all like ActiveRecord
06:51:31  <TheAceOfHearts>AR is awesome
06:51:55  <TheAceOfHearts>mongoose handles your model layer, and your queries
06:51:59  <TheAceOfHearts>so it's just an ORM like ActiveRecord
06:52:09  <hmsimha>Thanks TheAceOfHearts; Mongo is already in use though so I need to roll with it as quickly as possible (I have some knowedge of MongoDB from a 10gen class from a while ago)
06:53:03  <TheAceOfHearts>but yeah
06:53:08  <TheAceOfHearts>no models like AR
06:53:14  <TheAceOfHearts>koa is a LOT lower level
06:53:45  <hmsimha>ok.. yeah I've picked up on that and I like it (I actually dislike all the magic and convention-over-configuration in rails)
06:54:01  <TheAceOfHearts>I think if you read your company code you'll see how everything is being initialized
06:54:08  <TheAceOfHearts>I don't think there's any conventional examples
06:54:19  <TheAceOfHearts>koa is too young/immature to have that many examples online
06:55:49  <hmsimha>But I'm just trying to get an idea of how the pieces fit together; I guess... is express similar in that it doesn't have an ORM baked in? So if I can just understand the Mongoose parts of the express+mongoose examples it will give me a good idea of how mongoose works?
06:56:06  <TheAceOfHearts>yeah
06:56:14  <TheAceOfHearts>express is a bit higher level than koa
06:56:17  <hmsimha>ok, awesome! Thanks!
06:56:23  <TheAceOfHearts>it includes liek a router and some other middleware
06:56:31  <TheAceOfHearts>but no models in express
06:56:36  <TheAceOfHearts>the ORM is 100% mongoose
06:56:43  <hmsimha>ok awesome
10:46:40  * stagasjoined
11:09:36  * Foxandxssjoined
11:14:14  * TheAceOfHeartsquit (Quit: Leaving.)
12:11:18  * HairAndBeardGuy_joined
12:14:20  * HairAndBeardGuyquit (Ping timeout: 244 seconds)
12:15:56  * HairAndBeardGuyjoined
12:18:34  * HairAndBeardGuy_quit (Ping timeout: 245 seconds)
12:29:08  * xintoxquit (Ping timeout: 250 seconds)
12:46:18  * Hestiljoined
12:46:28  * xintoxjoined
13:01:37  <hipsterslapfight>06:56 <TheAceOfHearts> it includes liek a router and some other middleware
13:01:41  <hipsterslapfight>for the moment
13:01:43  <hipsterslapfight>less and less now
13:01:51  <hipsterslapfight>and come 5.0 you'll plug in your own router
13:12:03  * bmacjoined
13:16:32  * bmacquit (Ping timeout: 244 seconds)
14:12:53  * bmacjoined
14:17:19  * bmacquit (Ping timeout: 245 seconds)
15:13:41  * bmacjoined
15:18:13  * bmacquit (Ping timeout: 258 seconds)
17:30:24  * Celrenheitjoined
18:15:38  * hmsimhaquit (Quit: Leaving)
19:02:46  * HairAndBeardGuy_joined
19:06:27  * HairAndBeardGuyquit (Ping timeout: 256 seconds)
19:07:29  * HairAndBeardGuyjoined
19:09:57  * HairAndBeardGuy_quit (Ping timeout: 240 seconds)
19:14:43  * EvanCarrolljoined
19:59:36  * mhernandez1joined
20:11:53  * mhernandez1quit (Remote host closed the connection)
20:12:30  * mhernandez1joined
20:15:54  * mhernandez1quit (Remote host closed the connection)
20:16:51  * csurapjoined
20:19:06  * tunnckoCorejoined
20:20:23  * Celrenheitquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20:20:40  * tunnckoCorepart
20:31:05  * tunnckoCorejoined
20:37:23  * tunnckoCorequit (Quit: Leaving.)
20:47:29  * csurap_joined
20:47:53  * csurapquit (Ping timeout: 256 seconds)
20:47:53  * csurap_changed nick to csurap
21:33:48  * csurap_joined
21:36:09  * csurapquit (Ping timeout: 265 seconds)
21:36:09  * csurap_changed nick to csurap
21:47:26  * csurap_joined
21:48:55  * csurap_quit (Client Quit)
21:49:39  * csurapquit (Ping timeout: 256 seconds)
22:25:24  * bmacjoined
22:30:08  * bmacquit (Client Quit)
22:32:50  * bmacjoined
22:36:26  * bmacquit (Client Quit)
22:37:27  * bmacjoined
22:37:40  * Hestilquit (Remote host closed the connection)
22:39:53  * bmacquit (Client Quit)
22:44:41  * bmacjoined
22:54:24  * tunnckoCorejoined
22:54:50  * tunnckoCorepart
23:06:06  * tunnckoCorejoined
23:06:35  * bmacquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
23:16:43  * tunnckoCorequit (Quit: Leaving.)
23:17:13  * tunnckoCorejoined
23:20:44  * tunnckoCorequit (Remote host closed the connection)
23:22:32  * tunnckoCorejoined