Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
The officially supported adapter for using Firebase with Ember
EmberFire is the officially supported adapter for using Firebase with Ember
Join the Firebase Google Group
to ask technical questions, share apps you've built, and chat with other developers in the community. You can also find us in the Firebase Community Slack (look for the #ember
room) or Stack Overflow.
WARNING: Master branch is the work in progress for version 3 of Emberfire. You can find version 2 here, if you're looking for documentation or to contribute to stable. Learn more about the rewrite effort here.
firebase
and firebase-app
services allow direct access to the underlying Firebase SDK instancerealtime-listener
service or the RealtimeRouteMixin
FirestoreAdapter
$ ember install emberfire@next
// app/adapters/application.js
import FirestoreAdapter from 'emberfire/adapters/firestore';
export default FirestoreAdapter.extend({
enablePersistence: true,
persistenceSettings: { synchronizeTabs: true }
});
// app/models/article.js
import DS from 'ember-data';
const { attr, belongsTo, hasMany } = DS;
export default DS.Model.extend({
title: attr('string'),
body: attr('string'),
publishedAt: attr('date'),
author: belongsTo('user'),
comments: hasMany('comments', { subcollection: true }),
});
// app/routes/articles.js
import Route from '@ember/routing/route';
import RealtimeRouteMixin from 'emberfire/mixins/realtime-route';
export default Route.extend(RealtimeRouteMixin, {
model() {
return this.store.query('article', { orderBy: 'publishedAt' });
}
})
Please consult this table when selecting your version of EmberFire and Firebase SDK:
Ember Data | EmberFire | Firebase SDK |
---|---|---|
3.0+ | 3.x | 5.x |
2.3+ | 2.x | 3.x |
2.0 - 2.2 | 1.6.x | 2.x |
1.13 | 1.5.x | 2.x |
If you'd like to contribute to EmberFire, please first read through our contribution guidelines. Local setup instructions are available here.
FAQs
The officially supported Ember binding for Firebase
We found that emberfire demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.