Express.js Documentation Update – Feb 2015

Since we last checked in, we’ve made a lot of progress both with the Express documentation itself and in the “infrastructure” of the site.  Although developer and author Hage Yaapa and I have been leading the documentation efforts, we’ve been working closely with Express lead maintainer Doug Wilson, and with the community as a whole.


In the last four months, we’ve merged over 50 pull requests (PRs) and closed over 30 issues.  While many of these were small corrections or trivial updates, some were significant improvements, as I’ll outline below. In general, one of our primary goals is to empower the community to help improve and maintain the documentation.

Read more

What’s New in the LoopBack Node.js Framework – Feb 2015

Curious what new developments are happening with the LoopBack project? Here’s a curated selection of the most important changes that have been made to LoopBack in the past four weeks or so.

What’s LoopBack? It’s an open source Node.js framework for creating REST APIs that connect to datasources like Oracle, SQL Server and MongoDB. Learn more…

LoopBack core 

  • New “Operation Hooks” are superseding the old Model hooks. These new Operation hooks provide a simpler and more consistent API while fixing all bugs in the old Model hooks. 
  • Atomic “findOrCreate” allows connector to provide an atomic implementation of this operation when supported by the backing data-source (loopback-datasource-juggler#423). Note that most connectors did not implemented this feature yet, please open a GitHub issue in your favourite connector (or send a pull request!) if you would like to make use of atomic “findOrCreate” in your project. 
  • “Protected properties” allows you to define properties for an object which should not be included when nested. For instance if you have an Author object and a Book object. A book has a relation to with Author, and book is public API. Author will have personal information such as social security number etc, and they can now be “protected” such that anyone looking up the author of the book will not get those information back. See loopback-datasource-juggler#400
  • strong-remoting#172 adds handler for errors thrown by remote hooks and thus prevents the server from crashing due to an unhandled error.
  • loopback-boot was fixed to work with the recent versions of browserify which changed the way how files in node_modules are loaded. See loopback-boot#95 for more details.
  • A new model property option “defaultFn” was added, it configures the property to use the current time or a unique id (UUID/GUID) as the default value. See loopback-datasource-juggler#458 and docs for more details. 
  • The remoting connector (client) now properly supports authentication via a bearer token: strong-remoting#182. 

LoopBack SDK for iOS

The SDK makes it easier to send authenticated requests: the access token is now persisted across app restarts, there is a new helper methods for accessing the currently logged user.

MongoDB connector 

Support for regex flags in like/nlike operators, see loopback-connector-mongodb#86 for more details.

MSSQL connector

Add support for custom column mapping: loopback-connector-mssql#27.

Coming soon 

Support for Promises! We have already landed Promises support in strong-remoting (strong-remoting#180, strong-remoting#179) and support for promise-based Operation hooks in loopback-datasource-juggler (loopback-datasource-juggler#449). Watch the progress in loopback#418.

Check out the complete changelog

You can find the full list of changes at:

Develop APIs Visually with StrongLoop Arc

StrongLoop Arc is a graphical UI for the StrongLoop API Platform, which includes LoopBack, that complements the slc command line tools for developing APIs quickly and getting them connected to data. Arc also includes tools for building, profiling and monitoring Node apps. It takes just a few simple steps to get started!


StrongLoop Node.js Weekly Review: Feb 18, 2015

Here is a recap of the Node.js related content we posted in the last week, upcoming events, plus StrongLoop related articles we came across on the web.

Announcing the Most Complete Process Manager for Node.js Clustering

StrongLoop is excited to announce the immediate availability of StrongLoop Process Manager, the industry’s best deployment and runtime management solution for Node clustering. StrongLoop’s Process Manager improves upon existing community cluster management efforts such as forever and pm2 by adding:

  • A graphical interface via StrongLoop Arc
  • nginx load balancing integration
  • Remote management
  • Automated build and multi-host deploy
  • Integrated monitoring and profiling

Read more…

How the Node Foundation Will Unify Node.js and io.js

Tuesday’s announcement of the creation of the Node Foundation backed by a number of founding sponsors who are all big names left a few folks asking, “is this big companies taking over Node?” “What about io.js?” The Hacker News thread seemed to leave a few folks confused as to what the future holds for node.js and io.js, the two mostly-compatible forks. My prediction: io.js and Node.js will unify.

Read more…

Building Better npm Modules with Travis and Coveralls

Part of what makes Node.js so great is the wide variety of high-quality modules available on npm. But, way too many modules don’t take advantage of testing tools like Travis and Coveralls. Travis is a lightweight continuous integration tool that runs tests on every commit to your GitHub repo, even pull requests. Coveralls is a test coverage reporter that you can integrate with Travis. These tools improve your workflow, make reviewing pull requests easier, and make users more confident in your module’s quality. In this article, you’ll learn how to integrate these tools with mocha and istanbul for a simple Node project.

Read more…

GoDaddy Selects StrongLoop to Power Reseller API Platform

StrongLoop is excited to announce that GoDaddy has selected its solutions to assist in developing both public and private APIs using Node.js. The new GoDaddy API’s make it easier for its business partners to buy and sell domains and associated GoDaddy products. This popular program represents a growing revenue stream for GoDaddy, and is critically important to GoDaddy’s Internet of Things enablement strategy.

Read more…

Node.js is Enterprise Ready: Open Governance, v0.12 and Big Growth Numbers!

It has been an exciting year so far for Node! Not only has there been tremendous adoption by Node in the enterprise, but in the last week we’ve also seen Node v0.12 finally get released plus the Node project officially move into a foundation with an open governance model.

Read more…


Events calendar…

StrongLoop is Hiring!

Love helping developers become successful with Node.js in developing APIs? Join our team!

Develop APIs Visually with StrongLoop Arc

StrongLoop Arc is a graphical UI for the StrongLoop API Platform, which includes LoopBack, that complements the slc command line tools for developing APIs quickly and getting them connected to data. Arc also includes tools for building, profiling and monitoring Node apps. It takes just a few simple steps to get started!


An Update on the LoopBack Roadmap and Backlog

It’s no surprise that here at StrongLoop we develop our software using agile methodologies, most notably scrum.  Building a next-generation API platform means we have to iterate quickly, change direction just as quickly, and re-prioritize accordingly.

As a startup, we are susceptible to whipsawing based on customer demands, changes in Node and the Node ecosystem, plus the success and adoption of our open-source and commercial products.

For a long time, we’ve been trying to figure out a way to share LoopBack’s direction and roadmap while being able to:

  • Ensure that the direction and roadmap is up to date and current.
  • Transparently show what we’re prioritizing and working on at any given time.
  • Maintain confidentiality for features to support commercial products.
  • Solicit feedback in an ongoing, actionable, and structured way.

We  think we’ve solved all but the last of the set of requirements listed above.

Read more

Managing the LoopBack Project with Waffle

[A guest post from our friends at Waffle]

Waffle started off as a work tracking tool for open source repositories on GitHub. Today, Waffle works for software development teams of all kinds, from those managing open source projects to enterprise software teams with dozens of private repositories.

The Waffle team has a special place in our heart for our original audience: the open source community. Waffle offers a free plan for all open source repositories to show our support. One of our favorite open source teams comes from the company Strongloop, a great company that provides the development community with the sponsorship and development of leading Node.js frameworks, Express and Loopback. They are also core contributors to Node itself, and provide support for over 100 npm open source modules.

Screen Shot 2015-02-18 at 8.07.33 AM

We talked with StrongLoop developer Miroslav Bajtoš to learn more about why the Strongloop team chose Waffle for managing their development on Loopback, a Node.js framework, and what they love about it. Here’s what he had to say about their experience…

Read more