GraphQL and NodeJS [architect]

posted in: API, JavaScript, NodeJS | 0 GraphQL is a query language created by Facebook in 2012 which provides a common interface between the client and the server for data fetching and manipulations. The client asks for various data from the GraphQL server via queries. The … Continued

Node Restify [team]

posted in: API, NodeJS | 0 Why use restify and not express? I get asked this more than anything else, so I’ll just get it out of the way up front. Express’ use case is targeted at browser applications and contains a lot of functionality, … Continued

Restful API – Handling large amounts of data

posted in: API, Data | 0

Summary: You can change your API to include additional parameters to limit the scope of data returned by your application. You could add limit and offset parameters to fetch just a little part. Another way to decrease the payload would … Continued

Industry Heavy Hitters Establish Node.js Foundation with Joyent [standards] Industry heavy hitters IBM, Paypal, Microsoft and The Linux Foundation have joined with Node.js stewards Joyent to set up the Node.js Foundation. The independent foundation is intended to oversee the production and development of Node.js. The announcement follows the release of … Continued

CORS headers [team]

posted in: AngularJS, API | 0

The CORS headers which worked for me on PHP Apache and Chrome are: header(“Access-Control-Allow-Origin: {$_SERVER[‘HTTP_ORIGIN’]}”); header(‘Access-Control-Allow-Credentials: true’); header(‘Access-Control-Max-Age: 0’); header(“Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS”); header(“Access-Control-Allow-Headers: {$_SERVER[‘HTTP_ACCESS_CONTROL_REQUEST_HEADERS’]}”); For every POST, PUT, DELETE there are 2 requests (if you don’t cache … Continued

Loopback – Sync local and remote data [team]

posted in: AngularJS, API, Architecture, MongoDB, SQL | 0 Introducing Loopback LoopBack  is an open source Node.js API framework from StrongLoop that provides out of box offline synchronization using isomorphic JavaScript. For data replication it uses model-based data persistence. This functionality is available for client side Angularjs and … Continued

1 2