Tag Archives: node

IoT Roundup: Philips Hue, Staples Easy Button, XMLStreamReader & Real Time Data

I’ve been talking about Internet Of Things related topics (and more) over on ReidCarlberg.com, and I wanted to highlight a couple of the posts here. Continue reading

Build Mobile Web Apps with Backbone.js and the Salesforce Platform

bockbone

The new set of Mobile Packs for the Salesforce Platform provides sample apps for a range of frameworks. In this blog entry, I’ll explain some of the motivation for using a client-side JavaScript framework, focusing on the Mobile Pack for Backbone.js in particular. Continue reading

Build Mobile Web Apps with AngularJS and the Salesforce Platform

AngularJS-large

Salesforce Platform Mobile services make it easier and faster for you to create mobile apps on the Salesforce platform. I had the distinct pleasure of helping with the Angular JS Mobile Pack, and today I’m going to walk you through how that sample app works. If you haven’t touched Javascript in a while, you will be pleasantly surprised at how easy it is to use this framework once you get the hang of it. And, it’s a great introduction to Twitter’s Bootstrap at the same time. Continue reading

Real-time push notifications from Force.com to Heroku using WebSockets

Picture3

Third and final installment in a series that explores the design and code for Social Web-to-Lead, a Node.js application running on Heroku that allows Facebook users to save their contact information in Salesforce via a ‘Contact Me’ link. This post reviews how the application implemented real-time push notifications from Force.com to the Heroku application using WebSockets. Continue reading

Optimized Heroku-Force.com Integration Using Redis and Apex REST

Asynchronous/Batch (After)

Second part of a series that explores the design and code for Social Web-to-Lead, a Node.js application running on Heroku that allows Facebook users to save their contact information in Salesforce via a ‘Contact Me’ link. This post reviews how the application uses a Redis database and a custom Apex REST service to implement a more efficient design that consumes fewer Force.com API calls. Continue reading

Creating a Force.com-Backed Facebook App on Heroku

Synchronous/Real-time (Before)

This post describes the design and architecture of Social Web-to-Lead, a Node.js Facebook application running on Heroku that allows Facebook users to enter their contact information via a ‘Contact Me’ link. That information is then captured as a Lead record in Salesforce. Continue reading

Using Passport for OAuth with Force.com

Passport is a great Node.js middleware module for handling OAuth strategies with Express or Connect based applications. It maintains a basic concept of building out strategies which makes it easy for providers to add new strategies, as well as a small footprint of code for developers to utilize the strategy.  One of the great things about interacting with the Force.com platform is that by leveraging open technologies like OAuth2 and REST – you can choose the tools that you like to get the job done.

While tinkering with Passport, my only real problem was that there wasn’t a handy… Continue reading