I want to develop a web application with a database using Django/Grails/Express
I want to use Firebase just for sending Push Notifications to an Iphone. Do i need develop the webapplication (including the database) in firebase or can i develop the web application using Django/Grails/Express and use Firebase just for sending Push Notifications?
Do all web frameworks (Django/Grails/Express) support Firebase? Will Firebase be free to use in my case?
EDIT: How to i use Firebase with Django/Grails/Express? Is there an API or library i need to download?
Thank you in advance!
You can pick and choose which Firebase products you wish to use in your app. You may use as many or as few as you want. There is no obligation to use anything that you don't want to use. There is no charge for using Firebase Cloud Messaging in your app.
In this url https://cloud.google.com/community/tutorials/grails3-send-push-notification-using-firebase-cloud-messaging you can read about the process for sending push notifications using grails as backend
Related
Am Exploring Amazon Honeycode Beta version for web/Mobile app development. Am able to develop an app in Amazon Honeycode Portal. Am trying to understand that is there any possibility to move the honeycode app to Android Play store or Amazon restrict only to Team members who has installed Honeycode app ?
You can invite users to the app however are you asking for an Android Native app?
It depends how easy it is to jump out of the walled garden. If your app is a fully fledged website then you're good to go directly to the app and use a thin wrapper like electron. However based on the documentation you're app is making api calls, the HoneyCode app is doing the heavy lifting for the frontend.
To build your own you would need a frontend to make the same api calls and render it.
The api only has two apis. Probably check if you can get the data you want working first before building the frontend.
Something like amplify handles the frontend better.
Hello I'm building a RESTfull application using Django Rest Framework.
The clients are android application and react application.
I need to send a time based notification to users.
To send push notifications you can use the well supported https://github.com/jazzband/django-push-notifications app
It is not necessary to use FCM for android. I personally like to use Firebase Cloud Messaging (FCM). If you want to give it a try i suggest to use the pyfcm library https://pypi.org/project/pyfcm/
.
It's pretty straight forward and well documented. As for the authentication problems in the django-rest-framework, please be more specific.
how to use AWS RDS in flutter dart code?
I went through - this post
It says -
I work on the AWS SDK team. I am not aware of any plans to support Flutter at this point. I will take this to my team as a feature request and will post back
Should I do as suggested here?
Build your own service layer using HTTP, gRPC that talks to some backend service that provides access to a data store. You can do this with Express, Rails, CloudFunctions, etc.
You can either use dart code to do HTTP/gRPC, or use Platform channel to wrap dart code around native iOS and Android code of AWS official SDK.
On another note, I'm highly concerned when you connect directly from mobile (Flutter) to database (AWS RDS). Please be aware that anything on mobile app can be reversed engineer, and your database connection credential is not safe. It's recommended to have only backend proxy, or at least severless (such as AWS lambda function) connect directly to database (not mobile or web frontend). The only exception is with Firebase Realtime Database because it has seamless integration with Firebase Authentication
I want to develop an app with mirror api for the novel google glasses. Is it possible to call an external web service from the glassware? I have to use this web service to obtain the informations to display in the timeline cards.
If it is possible, how I can do it?
You need to provide a web service that interacts with the user's timeline to insert cards, but you can interact with whatever other web services you want from within yours in order to get the data that you push. Something like this:
insert timeline get 3rd party
cards data response
User's <-------------- Your Mirror <------------- Third party
Glass --------------> web service -------------> web service
subscribed make request
notifications for 3rd party
(menu items, data
location)
The simple answer is YES.
You'll probably want to develop your Glassware using the Google Mirror API as a server-based web application. (This doesn't require you to run any code on Glass, instead your application is written in PHP, Java, Python, .NET or one of the other languages supported by the Mirror API and resides on a web/cloud server.)
Your web-based application can then make any sorts of web-based API calls to other external web services or APIs, retrieve data or information and then format and send this information to your Google Glass device. How you consume these 3rd party web-services depends on your choice of programming language, but pretty much all of these languages have support for consuming external web service via XML, REST, JSON or SOAP.
I'm using Backbone.js and Python Django Combo.
For checking user is authenticated or not, I'm using setTime out method and call a method which make ajax call to the server.
I heard SignalR from my friend who is interested in .Net Technologies. This can emiting signal from server to client. So he say there is no need to poll periodically with signalR.
Any help or idea will be appreciated.
Possible data flow diagram:
.
If you want to control the data that is pushed to your web clients from your Django app, you will need to use SignalR as a relay of sorts which can be hosted with an ASP.NET app.
The ASP.NET app can have REST endpoints accessible only to your Django app, and can then from there based on the REST parameters push messages to some or all of your clients. Example of doing this with ASP.NET MVC.
The SignalR Wiki can be a good resource for this. You will also need to EnableCrossDomain for this setup to work.
If you don't like the idea of setting up another server just to push data to your clients you might prefer a cloud-based offering like Pusher with a prebuilt wrapper around their REST API.
If you want to use Python to actually push to the clients you can use something like tornado.websocket, but that won't support browsers that don't support the final WebSocket spec.