More StrongLoop & IBM Sessions at IBM InterConnect 2017

IBM InterConnect is in one week! Last week, we shared a rundown of what our StrongLoop evangelist team would be talking about at the event. Now, we’re excited to share more StrongLoop and IBM Sessions at IBM InterConnect 2017. This is by no means a complete list of the InterConnect sessions, so be sure to get an overview of the event with Week at A Glance and use Watson get information on InterConnect sessions.

InterConnect 2017 March 19-23 in Las Vegas, NV

Read more

Listen and Learn: StrongLoop Evangelist Team Talking at IBM InterConnect 2017

Last week, we announced that we would be at IBM InterConnect. We told you then that we were looking forward to helping people discover and learn about options for the Cloud, the Internet of Things, Watson, and more. Today we’re happy to share what the StrongLoop Evangelist team will be talking about at IBM InterConnect 2017. Get full details on what they will be talking about below. And remember, this is just a summary of the Evangelist team – there are lots of other speakers and sessions.

InterConnect 2017 March 19-23 in Las Vegas, NV

Read more

Let’s Code It: Static Site Generator with Rx.js

Last post, we went over building a Static Site Generator (SSG) in Node.js. We used Promises for flow control, and that worked for reading each Markdown input file, transforming it into HTML, and writing that to disk, once per file. What if instead of running this build process once per input file, we want it to run once per input file every time that input file is created or changed?

If our goal is to map a sequence of events over time (file creation or modification) to one or more operations (building Markdown to HTML and writing to disk), it’s very likely Observables are a good fit! In this blog post, we’ll look at how to use Observables and RX.js to create a SSG with built-in, incremental watch rebuilds, and with with multiple output streams (individual posts and blog index page).
Read more

Let’s Code It: Static Site Generator

Traditionally, if you wanted to create a blog or website that you can update easily without having to directly edit HTML, you’d use a tool like WordPress. The basic flow for serving a website from a CMS like WordPress is as follows:

  1. Store content (e.g. “posts”) in a database
  2. Store display configuration (templates, CSS, etc.) separately
  3. When a visitor requests a page, run a script to…
    1. Pull the content from the database
    2. Read the appropriate template
    3. Put them together to build page HTML
    4. Send HTML to the user

Read more

Working with LoopBack Authentication and Authorization

One of LoopBack’s core features is the ability to lock down access to your APIs and define exactly who can do what with your data. LoopBack provides multiple tools to make this easy, but it’s helpful to see a real (although simple) application demonstrating the complete process of securing your APIs.

In this post I’ll demonstrate how to:

* Add support for users to your application.
* Add user registration and login/logout.
* Create rules for your API that follow common patterns, for example, only a logged in user can create content and only the owner of content can modify it.
Read more