1 Introduction to Oracle Backend for Firebase
Oracle Backend for Firebase is a self-managed toolkit that helps you build web and mobile apps on top of your existing Oracle AI Database. With Oracle Backend for Firebase, you can use platform SDKs, a command-line tool, and a web console to connect your apps to the database, manage application users, set security rules, and handle file storage. However, you are responsible for deploying and managing Oracle AI Database itself, whether it’s on-premises or running in the cloud on IaaS.
- What is Oracle Backend for Firebase?
- Integration with Oracle AI Database
- Advantages of Using Oracle Backend for Firebase
Parent topic: Introduction
1.1 What is Oracle Backend for Firebase?
Oracle Backend for Firebase is a self-managed toolkit for developing web and mobile apps on Oracle AI Database. It provides client SDKs, a command-line interface (CLI), and a web console to help you easily connect your app to backend services for authentication, data storage, file management, and access control. Developers can leverage Oracle Backend for Firebase to simplify and accelerate app development.
With Oracle Backend for Firebase, you configure your backend using a web console, enable only the services you need, and define security rules for your data. You then add the appropriate SDK to your project. Supported options include JavaScript for web, Android, iOS, and Flutter, or you can integrate directly using the REST API. These interfaces provide simple ways to implement user sign-in, read and write application data, and manage file uploads and downloads.
Key features include:
-
User authentication (registration, login, session management)
-
Simple APIs for accessing and updating data in your Oracle AI Database
-
File storage management for handling uploads and downloads
-
Fine-grained security rules for controlling data access
Oracle Backend for Firebase includes:
-
SDKs for JavaScript (web), Android, iOS, and Flutter (Dart)
-
Direct access to REST APIs for integrating with other environment
-
ORDS (Oracle REST Data Services) for providing REST endpoints to the SDK
-
A web console for managing projects, users, data, files, and rules
-
A command line interface for managing Oracle Backend for Firebase Projects
Parent topic: Introduction to Oracle Backend for Firebase
1.2 Integration with Oracle AI Database
Oracle Backend for Firebase implements APIs to run against Oracle AI Database and wraps these APIs into client-side SDKs for simplifying application development. Its integration with Oracle AI Database enables developers to leverage the backend functionality that is embedded into Oracle AI Database, such as authentication, storage, and database operations.
-
In addition to its relational data model, Oracle AI Database supports the document data model (JSON), which is the collection-based hierarchical model. Oracle Backend for Firebase leverages these features to provide data storage in both the document model and relational model.
-
Oracle Backend for Firebase runs wherever your database resides - whether on-premises, in Oracle Cloud, in containers, or on the cloud provider of your choice with IaaS. With Oracle Backend for Firebase, you gain true multi-cloud and hybrid deployment flexibility, empowering you to meet evolving business needs while ensuring compliance with regulatory requirements.
-
ORDS provides the REST interface to Oracle AI Database. Oracle Backend for Firebase creates ORDS REST endpoints as a bridge between the database and the clients, and implements all SDK APIs (from web and mobile clients). These are secure API endpoints that enforce authentication and authorization for accessing the services. All client-side SDKs would be oblivious to the underlying data store and thereby interact with the backend using HTTP.
-
All SDK operations are translated into structured payloads, which the backend parses for you. Rule enforcement, authentication, and query construction are handled automatically, allowing developers to focus on application logic.
Parent topic: Introduction to Oracle Backend for Firebase
1.3 Advantages of Using Oracle Backend for Firebase
Faster App Development
-
Pre-built services with ready-to-use SDKs and APIs for authentication, database, and storage help save time compared to building custom backend implementations
-
Developers can build and connect their apps with just a few commands and minimal boilerplate
-
The web console speeds up service configuration and project setup
Familiar API Design
-
Firebase-like API structure reduces learning curve
-
Developers can quickly adopt and integrate without extensive training
Enterprise-Grade Backend
-
Running on Oracle AI Database offers industry-standard reliability, performance, security features, and scalability
-
Oracle AI Database supports compliance, auditing, and operational capabilities expected in enterprise deployments
Flexible Data Models
-
Supports both relational and document/collection models, letting developers choose the model that best fits their use case
-
Leverages Oracle AI Database’s mature support for both JSON document and traditional relational data, ensuring consistent security and scalability across any data model
Cross-Platform SDKs
-
SDKs available for Web (JavaScript), Android, iOS, and Flutter
-
Ensures broad platform support for diverse application needs
Scalability and Performance
-
Services are designed to scale and support high workloads
-
Optimized database queries and storage handling to ensure low-latency responses and integrated authentication
-
Multiple authentication options: Basic, LDAP, Oracle IDCS, and social logins (Google, Facebook, GitHub)
-
Built-in token and session management
Self-Managed and Deploy-Anywhere Architecture
-
Can be deployed on-premises or on IaaS, so you control where data is stored and processed
-
No lock-in to a single infrastructure; integrates with your existing enterprise authentication and storage systems
Application Security
-
User-defined security rules to secure database and object storage data from unauthorized access
-
Security rules leverage authentication to grant user-based permissions
Parent topic: Introduction to Oracle Backend for Firebase