Recommendations for good SDK / API wrapper repos


Recommendations for good SDK / API wrapper repos

Hello everyone,

Does anyone have recommendations for good examples of clean, well written SDKs or api wrappers? I’m looking for best practices, good patterns and whatnot. I have some ideas as a consumer of various libraries myself in that I want a clean api surface, sane configuration options, etc but I would love input on what other people look for, want, and in general have opinions on when designing these things. I have to create a library for consumers of our api/services and would love to glean what I can from great examples.

Submitted September 17, 2016 at 11:12PM by dfcarpenter
via reddit http://ift.tt/2d8GzEr

How to tell stack to search inside a different folder for Libraries


How to tell stack to search inside a different folder for Libraries

I was thus far working with Haskell out of a folder called "Project 1". It was the default folder created by stack when I initialized that project. All the libraries like diagrams, lenses, reactive-banana that I have downloaded and used are in there.

I now want to create a new and independent Haskell project folder called Project 2. Requiring stack to download a copy of all those libraries again inside this new folder, is wasteful, and will end up taking more of my Dropbox memory quota.

So how do I tell Stack to search inside Project 1 for the libraries while building my Haskell source code for Project 2. Do I need to edit the Project2.cabal or stack.yaml filers created for me in project 2?

I am using stack Version 1.1.2 x86_64 hpack-0.14.0, with ghc v 7.10.3 on an Ubuntu 14.04 machine.

Submitted September 17, 2016 at 10:56PM by gaurish108
via reddit http://ift.tt/2d6fwGA

Should I learn Backbone or React? Short on time. Learning Laravel along.


Should I learn Backbone or React? Short on time. Learning Laravel along.

Hello

I am just a plain PHP, JQuery, HTML, CSS guy. Worked on MVC and has an understanding. Started learning Laravel last week only. But, I also want to learn a JS framework. I know backbone is easy and quick to learn. How is it if I instead opt for React? How much time will it take to learn and get started? Will it go well with Laravel? I work in a company which wants to start making SAAS products, so need to upgrade the knowledge in shortest possible time (2-3 weeks).

Thanks

Submitted September 17, 2016 at 10:21PM by trk779
via reddit http://ift.tt/2d68uSr