by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Niall O'Brien
    @niallobrien
    Postgres can do json fields now anyways
    As can MariaDB afaik
    So the best of both worlds :)
    James Lee
    @uptownhr
    let me take a look at their db docs
    Niall O'Brien
    @niallobrien
    Have you used a fullstack framework before?
    James Lee
    @uptownhr
    example?
    Niall O'Brien
    @niallobrien
    Rails, Laravel, Django etc.?
    James Lee
    @uptownhr
    all but django
    Niall O'Brien
    @niallobrien
    Ah so you’re well familiar so
    James Lee
    @uptownhr
    yea
    Niall O'Brien
    @niallobrien
    Code’s pretty clean too, here’s the example I’m working on atm https://github.com/niallobrien/adonis-auth-example/blob/master/app/Http/Controllers/AuthController.js#L16
    James Lee
    @uptownhr
    im actually workin with laravel on a project right now
    Niall O'Brien
    @niallobrien
    Lol, no way! :)
    I was deep in the community back in the day, I did the very first Laravel.io podcast with Shawn McCool and Taylor
    James Lee
    @uptownhr
    i like the class style
    cleaner
    nice
    Niall O'Brien
    @niallobrien
    That’s some sexy javascript right there, lol
    You should take a good look, would be great to have another experienced dev within the community.
    There will be a big v3 push soon
    James Lee
    @uptownhr
    definitly will
    Dipesh Bhardwaj
    @Dev-Dipesh
    woah that's some pretty healthy conversation :thumbsup:
    Niall O'Brien
    @niallobrien
    lol
    Dipesh Bhardwaj
    @Dev-Dipesh
    I've to go all the way to up to follow ha
    @uptownhr I'm currently working on the stack in our company in house, once I'm done with minimalistic, with all the docs then I will release a open source version of it. So then I will provide you the link.
    Niall O'Brien
    @niallobrien
    What stack is this?
    Dipesh Bhardwaj
    @Dev-Dipesh
    today just finished setting up DCOS, marathon load balancer and couchbase on our aws cluster
    @niallobrien I;m talking about the CEAN or rather say CEN stack
    I've removed angular as you said, I rather want to keep it simple with templating engines
    James Lee
    @uptownhr
    @Dev-Dipesh awesome man. Looking forward to it
    James Lee
    @uptownhr
    how is couch btw?
    Dipesh Bhardwaj
    @Dev-Dipesh

    mm... well that question has a pretty big scope, so for now I will leave the research to you, but in short when compared to mongo, it's lot faster.

    It uses ForestDB as its storage engine which outperforms mongo WiredTiger.

    It has better flexible architecture which understands elastic scale from its core (index engine, query engine, data engine)
    N1QL language, which it provides is also good to have.
    When considering TCO for support it's 50 times cheaper than mongo. For mongo enterprise its $10,000 per node however for couch it's $5700 per node.
    Unlike mongo it provides db management and monitoring panel for free as open source in community edition.
    Dipesh Bhardwaj
    @Dev-Dipesh
    And offcourse not to tell it's a fully production grade battle tested db used by some of the biggest vendors.
    The only downfall it has is it's lack of community and resources. Which prevents startups from adopting it.
    FYI - If you have a write intensive application you can optimize it even further from both DB using RocksDB as there storage engine by replacing there batteries ;)
    James Lee
    @uptownhr
    gotcha
    i've followed it in the past actually
    can you link me to a mongoose like odm for couch?
    Dipesh Bhardwaj
    @Dev-Dipesh
    Yup, you can go with Ottoman
    James Lee
    @uptownhr
    do you know if Ottoman or couch supports something like, http://mongoosejs.com/docs/populate.html
    Dipesh Bhardwaj
    @Dev-Dipesh

    Let say you have two documents, for people and auction then to get the buyer name you have lots of options. Here are a few of them:

    • Assume you need only the name for a rather small subset of people. Create a view that outputs the PersonId as key and Name as value, then query the view for a specific name each time you need it.

    • Assume you need many people joined to many auctions. Download the full contents of the basic index from #1 and execute the join using linq.

    • Assume you need many properties of the person, not just the name. Download the Person document for each auction item.

    • Assume you need a small subset from both Auction and People. Index the fields from each that you need, include a type field, and emit all of them under the key of the Person. You will be able to query the view for all items belonging to the person.

    So using both either Ottoman or Couchbase n1ql you can achieve similar option as populate
    James Lee
    @uptownhr
    hmm, i'm trying to look up docs on Ottoman for linq
    is couchbase couchdb?
    Dipesh Bhardwaj
    @Dev-Dipesh
    No it's evolved from membase + memcache
    James Lee
    @uptownhr