JavaScript for Li...
Follow
Find tag "FireBase"
377.5K views | +9 today
JavaScript for Line of Business Applications
Keeping track of current JavaScript Frameworks that help design your clientside Business Logic Layers.
Curated by Jan Hesse
Beam to my Inbox:
Your new post is loading...
Your new post is loading...
Scoop.it!

Building Multi-platform Real-time Mobile Applications using Ionic and Firebase

Building Multi-platform Real-time Mobile Applications using Ionic and Firebase | JavaScript for Line of Business Applications | Scoop.it

This article introduces the capabilities of these tools and how to use them, and even provides some code examples.


The first thing we need to do is install Ionic. Follow the installation instructions provided on the Ionic Getting Started page. (Note that Ionic has a dependency on NodeJS, so the instructions will require you to install that as well if you don’t already have it on your machine).

The AngularFire 5 minute tutorial is a great place to begin getting familiar with Firebase. And if you’re a “tinkerer” or a tactile learner like me you may want to pull my implementation from GitHub and start playing with the code.

more...
No comment yet.
Scoop.it!

Node Webkit, Firebase and Ionic Framework - A one to one chat client

Node Webkit, Firebase and Ionic Framework - A one to one chat client | JavaScript for Line of Business Applications | Scoop.it

In this post, we are going to build a desktop application that is like your typical one to one chat client. Where, a user logs in, sees a list of other users. And can chat with any of them. This app is called Chatter.

As you can see from the above demo, we have used Firebase as our data store to manage the user’s presence and their chat messages. And also, if you did notice, when User B sent a new message to User A, a new chat window opened automatically, like a typical chat app.

We will take a look at how all the above can be achieved. So, let us get started on building Chatter.

more...
No comment yet.
Scoop.it!

Real-time Web Applications with Kendo UI and Firebase

Real-time Web Applications with Kendo UI and Firebase | JavaScript for Line of Business Applications | Scoop.it

As a fan of both Firebase and Kendo UI, I was compelled to build my peanut butter and chocolate scenario; two great tastes together as one. The end result was kendo-fire, a set of bindings for building applications that utilize Kendo UI and Firebase at the same time.

The Q1 2014 release of Kendo UI added support for real-time data through the introduction of a set of push callbacks to the kendo.data.RemoteTransport. Currently, Kendo UI supports WebSockets and SignalR out-of-the-box. However, this functionality can easily be extended to other protocols and providers, like Firebase, through a custom RemoteTransport.

more...
No comment yet.
Scoop.it!

node-webkit and Firebase - Simple and Social Authentication

node-webkit and Firebase - Simple and Social Authentication | JavaScript for Line of Business Applications | Scoop.it

In this post, we will take a look at the Integration between Firebase Simple Authentication and node-webkit. We are going to use slush generators to scaffold basic apps for us. Then we will create and configure a Firebase account to manage Simple Authentication i.e. Email and Password and Social Authentication using Twitter, Google and Facebook services.

more...
No comment yet.
Scoop.it!

How to build a realtime chatting app with Firebase and EmberJS from Scratch

How to build a realtime chatting app with Firebase and EmberJS from Scratch | JavaScript for Line of Business Applications | Scoop.it

Things to know before doing this:

* Basic EmberJS
* Javascript


Things I’ll be covering:
* How firebase works (their reference system etc)
* How to build a custom EmberJS array proxy
* How to sync data to firebase using said emberJS array proxy


We are going to start with the Ember App Kit. I found it to be the easiest way to get started writing real EmberJS applications. In this tutorial, I’ll be using my App Kit Repository that I’ve set up to support Stylus out of the box as well as it has all of the html and styles for our Mr. Chat application all ready build. 

more...
No comment yet.
Scoop.it!

Using Firebase to sync data with a webpage

Using Firebase to sync data with a webpage | JavaScript for Line of Business Applications | Scoop.it

Firebase really seems to fix one of the pain points that I currently have in client-server development, which is how to send/synchronise data across multiple clients (including the server).

I first heard about Firebase from the Wire up a Backend example that can be found at http://angularjs.org, and today I was able to give it a test drive.

1) Creating an Firebase account

2) Firebase tour

3) Creating a simple Html/Javascript page to test it out

4) Setting and Pushing data

5) receiving events

5) Consuming and Sending events using REST API

6) Programatically add new items to the Chat window

6) What about XSS

more...
No comment yet.
Scoop.it!

Easily Add a Back End to Your Angular App With Firebase

Easily Add a Back End to Your Angular App With Firebase | JavaScript for Line of Business Applications | Scoop.it

As a client-side framework, Angular alone is not enough to build a full back-end webapp. Often times, it’s difficult to know when to sync our data with the back-end, and how to handle the changes and potential conflicts of data between versions of modified content.

Using Firebase we can easily add a backend to our Angular app. Featured on the Angular.js home page, Firebase is quickly becoming the standard for Angular persistence.

Firebase is a real-time back-end for building collaborative, modern applications. Rather than requiring us to focus on building custom request-response models with a server-side component where we manually worry about data-synchronization, Firebase lets us get our app up and running in minutes. We can build a data-backed webapp entirely in Angular that can scale out-of-the-box and update all clients in real-time.

Even more, data stored in Firebase is standard schema-less JSON, which makes it incredibly easy to save data models of any type into Firebase. If a device loses network connection, Firebase continues to allow access to locally cached data and seamlessly synchronizes changes with the cloud when the device comes back online.

more...
No comment yet.
Scoop.it!

emberFire - EmberJS bindings for Firebase

emberFire - EmberJS bindings for Firebase | JavaScript for Line of Business Applications | Scoop.it

EmberFire is an experimental, officially supported EmberJS binding for Firebase. EmberFire lets you bind Firebase data as models in EmberJS, and will automatically synchronize changes to and from Firebase.


By freeing developers from the constraints of the backend, Firebase unlocks a whole new category of sophisticated, client-side JavaScript applications. Now, with first-class support for Ember.js, those developers can continue pushing the boundaries of what’s possible in the browser by leaning on the strong architectural features of Ember that lead your app towards clean separation of concerns instead of messy spaghetti. (Let’s also not forget terrific support for URLs out of the box.) Ember’s always been about building ambitious web applications, and this collaboration with Firebase only strengthens that idea.

Jan Hesse's insight:

Announcement: https://www.firebase.com/blog/2013-10-22-firebase-bindings-for-ember.html

more...
No comment yet.
Scoop.it!

AngularFire - A real-time backend for AngularJS from Firebase

AngularFire - A real-time backend for AngularJS from Firebase | JavaScript for Line of Business Applications | Scoop.it
AngularFire is an officially supported AngularJS binding for Firebase. Firebase is a full backend so you don't need servers to build your Angular app!

* Rapid Development
AngularFire is built to make sure you can write your app as quickly as possible. There's no backend code to write or servers to set up, just start writing your frontend code and focus on building a great experience.

* Flexible API
Choose between an easy to use implicit sync API that will automatically keep all your Angular models persisted and updated, or a more powerful explicit sync API that gives you control over when data gets synchronized.

* 3-way Data Binding
Synchronizing and persisting user or app data in realtime is a breeze with AngularFire's 3-way data binding. It's never been easier to extend Angular's quintessential 2-way data binding concept to the server.

more...
No comment yet.
Scoop.it!

Using Firebase and AngularJS with AngularFire

Using Firebase and AngularJS with AngularFire | JavaScript for Line of Business Applications | Scoop.it
An initial look at using the AngularFire library to link up Firebase and AngularJS by creating a simple client-side search app.

This past week I been taking a closer look at Firebase. In particular I have been looking at using AngularJS in combination with it in order to create web apps which don’t require any significant back-end code. This has been made a bit easier with the recent(ish) release of AngularFire which is probably the easiest way to connect the two technologies up.

more...
No comment yet.
Scoop.it!

FireBase, AngularJS, Plone: Part 1

FireBase, AngularJS, Plone: Part 1 | JavaScript for Line of Business Applications | Scoop.it

An interesting way for building responsive web apps quickly

FireBase is a cloud database service, that allows developers to "power real time collaborative applications". What does this mean for you? It means that with FireBase you can easily build applications that allow users to interact via your website. FireBase provides your front-end with persistent and shared real-time data out of the box, letting you focus on your application itself. Developing applications with FireBase can be refreshingly easy, as I will try do demonstrate in this article. I will show this in combination with the AngularJS MVC framework, on an existing Plone CMS back-end.

more...
No comment yet.
Scoop.it!

Building a Q&A System With Polymer and Firebase

Building a Q&A System With Polymer and Firebase | JavaScript for Line of Business Applications | Scoop.it

We’re going to build a Q&A system from scratch starting off with setting up your project using Yeoman and outlining the structure. Along the way we’ll talk about custom elements, material design, routing, authentication, security rules, and record priority. Users will be able to write questions, answers, and comments. Both questions and answers can be upvoted. Using security rules, we’ll make sure that users can only manage their own content within Firebase.

This is an ambitious blog post with a lot of code. If you find an error or aren’t sure how to continue, leave a comment in the post and I’ll make improvements. Walking through this entire series (in progress) could take an hour or two, but by the end you’ll have a thorough understanding of how to build a basic Polymer app.

more...
No comment yet.
Scoop.it!

My First Look At Using The Firebase Backend-As-A-Service (BaaS) In AngularJS

My First Look At Using The Firebase Backend-As-A-Service (BaaS) In AngularJS | JavaScript for Line of Business Applications | Scoop.it

The biggest hurdle in this experiment was understanding the timing of various events and callbacks. Unlike Deferred values in the Q library ($q in AngularJS), not everything in Firebase is asynchronous. And, those things that are asynchronous aren't necessarily asynchronous all of the time. A lot of the timing depends on the state of the local cache and type of request being made (ex, transactional).

This made it very hard to determine when and if an AngularJS digest needed to be triggered.

more...
No comment yet.
Scoop.it!

Building a Chat App with node-webkit, Firebase, and AngularJS

Building a Chat App with node-webkit, Firebase, and AngularJS | JavaScript for Line of Business Applications | Scoop.it

In this post we are going to build a desktop based chat application named vTak. We will use node-webkit to power the core desktop app and Firebase as our realtime data store. We will be using a slush generator namedslush-wean to scaffold a basic node-webkit/Express/Angular app. The final product will look something like the following figure.

more...
No comment yet.
Scoop.it!

Using Firebase with ReactJS

Using Firebase with ReactJS | JavaScript for Line of Business Applications | Scoop.it

ReactJS is a JavaScript library built by Facebook and Instagram which makes it easy to build large, complex user interfaces. It is intended to be used in combination with another framework which provides the backend. While Angular, Ember, and Backbone are popular choices for that, Firebase provides the easiest and quickest integration of a persistent, realtime backend into a React app - and it takes only a few lines of JavaScript.

Firebase is a natural complement to React as it provides React apps with a persistent, realtime backend. The first thing we need to do is add Firebase to the project...

more...
No comment yet.
Scoop.it!

Creating Three Way Data Binding with FireBase and AngularJS

Creating Three Way Data Binding with FireBase and AngularJS | JavaScript for Line of Business Applications | Scoop.it
This article explores how FireBase can be used to create a three way data binding, building on Angular's existing two way binding.

As you may know, FireBase acts as a realtime backend for your apps. Well, we all know how awesome this is. But you know what’s more awesome? It’s AngularJS+FireBase. FireBase has an officially released binding calledAngularFire that brings all the fun and joy of FireBase to AngularJS. As AngularJS developers we love data binding so much that we even dream about it! With AngularFire we can create some seriously awesome stuff by taking advantage of a three way data binding as opposed to the traditional two way data binding in AngularJS. This tutorial will give you an overview of three way binding while creating a simple realtime app using AngularFire. This article assumes that the reader is already aware of FireBase and has done some prior development in AngularJS.

more...
No comment yet.
Scoop.it!

Ember.js + Firebase = <3

Ember.js + Firebase = <3 | JavaScript for Line of Business Applications | Scoop.it

There are some really exciting technologies emerging these days for building powerful applications on the web. Two of the most interesting to me are Ember.js, a powerful MVC stack for JavaScript, and Firebase, a real-time database.

Both technologies are incredibly powerful and give developers a lot of leverage when building ambitious web apps. But combining them is the real sweet spot.

Today, I’m open sourcing ember-firebase, a stable, thoroughly-tested set of Firebasebindings for Ember.js. The code is available on GitHub.

Let’s talk a little about what it can do.

more...
No comment yet.
Scoop.it!

Build an Ember.js app with Firebase

Build an Ember.js app with Firebase | JavaScript for Line of Business Applications | Scoop.it

Ember.js is an outstanding client-side framework for building single-page applications. To make your application truly come to life, Firebase, being a real-time backend, is a natural choice as the server-side component.

Sending data between the server and the client is a task all web applications have to address. However, if one uses the Firebase-Ember.js stack, this problem is largely abstracted away by these wonderful frameworks.

To make them work together, the Firebase team released their official Ember.js bindings, emberFire.

more...
No comment yet.
Scoop.it!

Simple Signup and Login with Firebase and Knockoutjs

Simple Signup and Login with Firebase and Knockoutjs | JavaScript for Line of Business Applications | Scoop.it

In this tutorial you will learn how to set up an effective registration and authentication process for your web app using Firebase, knockoutjs and Twitter Bootstrap.... and..... that's it. No backend mysql database, apache web server, ubuntu linux or ruby scripting is required. You just need to know javascript. You don't even need to know nodejs, npm or requirejs. There really is no back end and it is simple to build.

Knockout uses a MVVM (Model-View-ViewModel) pattern. We are starting with the view which is the body of the index.html file. This is quite straight forward. Twitter Bootstrap is called in through the class attribute of our input and div tags to make our page look nice. Knockout is called in through the data-bind attribute of our input tags and buttons. When the user keys in her user name and password, we want this data to go into application memory (the Model of MVC) and then on to the Firebase servers. Our View gives is the basic entry points that are required.

The View Model is the magic wiring between the View and application memory. We need to wire 3 things to start with ...

more...
No comment yet.
Scoop.it!

Open source service like Parse or Firebase?

Is there a open source / standalone / self hosted service like Parse or Firebase, preferably using Node.js. I really like the concept of a systems that manages data synchronization between all my apps (mobile, web, desktop). I think these are great services, but I'd really like to have full control over my backend stack and data.

more...
jaredwilli's comment, July 23, 2013 6:32 PM
I find Firebase to be great myself, however they have much work to do still to make it really seamless and pain free.
Scoop.it!

FireBase, AngularJS, Plone: Part 2

FireBase, AngularJS, Plone: Part 2 | JavaScript for Line of Business Applications | Scoop.it

In my last article, I introduced Firebase and presented too simple demos, a poll and a chat application, integrated to a Python based Plone CMS website. To continue, I would like to show the details on how this works. This time, prepare for a longer reading, or ...

more...
No comment yet.