Open tgriesser opened 10 years ago
Looks pretty nice. I just gotta finally block out the time to sit down and do like one or two functions. Once I actually have to do examples I think it'll be clear how it should work. Also trying to flesh out a structure for generated SQL. I remember you mentioning somewhere that you thought the knex refactor would support easily generating queries in-browser. A browserify-ed knex and eval-ed methods from the doc structure would be awesome. I'll make time this week to make some progress and at least have something to discuss.
Yep, it'll generate sql - https://github.com/tgriesser/knex/blob/refactor/test/unit/query/builder.js
Also, if you want to just hang out in IRC, we're all typically there all day, usually not much gets said but I find it's generally easier then tickets/emails. Limechat is my preferred osx client (assuming you're a mac guy) but I'm sure there's plenty of other good ones, just incase you were looking.
Yup, still using Colloquy. Signing on now.
Yeah this might be cool - this seems to be kind of what you wanted to do, right @bendrucker ?
Roughly yes. The question is just whether it's easier to tweak an existing solution or start from scratch. Really excited to run knex/bookshelf in browser for the docs. It'll be really cool to be able to generate queries, relations, and things like that directly in browser alongside the examples.
@bendrucker & @johanneslumpe - https://github.com/joshuacc/grunt-tocdoc
It's generating http://documentcloud.github.io/underscore-contrib/
from
https://github.com/documentcloud/underscore-contrib/tree/master/docs
Might be worth looking into.