Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
How to integrate kafka with react native for chat and real time tracking of a client.
and is it possible to implement or i want to use socket io for it give me a solution
A quick solution would be to put the Kafka cluster behind a simple REST API. Using a library like kafka-rest could be an easy way to connect your React Native app using the built in fetch function. You could go a step further and try to integrate the kafka-rest-node client into your React Native app; a cursory overview of the repo doesn't lead to any core Node dependencies.
Another method, one which would allow for "live" updates, might consist of putting Kafka behind a web server that converts the Kafka stream into a WebSocket connection. Libraries such as kafka-websocket allow clients to both consume and produce, whereas a more simple library like Microsoft's kafka-proxy-ws only allows for consuming messages.
It's worth noting that mobile clients don't always work well with streaming data, and you'd be advised to test your WebSocket-based implementation on a variety of uncertain network conditions (latency, dropped signals, etc).
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'd like to add chat to a web application I've been working on.
I've searched the Google documentation, but cannot find a way to send push notifications from a server to a web application running on Google's appengine standard environment.
The latest release notes indicate that websockets are not supported, and XMPP is not available either. For this project, there is no budget available for a third party solution, and I'd rather cut the code myself anyway.
What APIs are available to me? Surely there must be something or some way of building this sort of functionality?
You're talking about a few different things here.
To send a push notification to a browser, this answer has you covered: https://stackoverflow.com/a/33976929/4458510
As for doing this on GAE, all you really need is outbound https right? It isn't the most straight forward to set up, but this is what I needed to do to get outbound https working in python: https://stackoverflow.com/a/51550041/4458510
I've never bothered with browser push notications, but do send APNS & GCM push notifications to our mobile app from GAE Standard with the linked code.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I am working on ReactJS for developing a client side of an application, there are very few options available for client side logging as compared to server side on of them which I came across is log4js it has appenders. But are there any other options available? I've used Winston on server side few months ago, can we use such libraries on client side as well? The issue here is I'll have to remove these logs completely before taking this code to production, so I guess I'll use webpack's module for it. But log4js seems to be an overhead so what all alternatives can be used?
I am facing a similar problem at our end. So far I have came across the following options which may be of help:
log Level:
Logs at different levels, easy to setup, somewhat similar to bunyanJs and WinstonJS which are used in the backend Nodejs servers.
loglevel-plugin-remote - extension of log level but pushes logs to server after specified interval. There are in fact quite a few more options there
It has been almost 4 years since I've asked this question, and now looking at the choices available in market we've decided to go ahead with application monitoring/tracking systems such as sentry for logging the event. We can build a wrapper around the SDK of such services and log the events to track the issue.
Another option was to build our own service, but considering the product in mind the maintenance cost of our own service would have been much more, so we sticked with sentry. There are many other similar options available as well for logging on frontend as well as backend.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm looking for a solution (probably CMS or framework) to make a database and user friendly interface for data entry by regular users.
At our department we're doing a lot of data collection - 6 DBs, 2k records, ~100-200 fields. All of them are powered by in-house Rails application that's hard to maintain on this scale. So, I'm looking for a more tailored solution.
What is important:
Well-thought database design and data management solution (migrations, validation, etc)
Almost unlimited customisation (backend and frontend programming), especially an ability to make complex inputs
Great community to learn and contribute (open source)
What will be nice to have:
Python/Ruby/etc backend. Modern React (at least not Angular) frontend
PostgreSQL support
Plugins, integration with other services
Something I've found: Oracle APEX, MS Access, FileMaker (proprietary), nuBuilder (very limited). After all, I thought about rewriting our app using PostgREST and React or use Plone as a basis (but a bit afraid of ZODB). What do you think?
Any help and advices are appreciated, thx.
PostgreSQL + PostgREST + react-admin
Reactrb plus rails. Very simple to use 100% ruby see http://reactrb.org
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I hope I can expose web sercices APIs from my embedded Linux device. By doing that I can then write standalone Windows application that involves these APIs to get/put data from/to my device. Since the client GUI for some reason has to be written in Gtk, that means I plan to use c for the client side, no Java here. On the server side, since it's an embedded Linux and all my business logics already implemented in a lot of c code, so I also hope that I can use c to write any web servive code on the server side.
I heard there exists Restful and SOAP, I searched google and grabed some ideas about them. I prefer to be simple but not sure whether Restful good enough to suit my task (remember I am not going to create web clients and I have only application clients). Do you have a suggestion on the topic?
And, even I choosed the style of web servive (Rest or SOAP), I think I still need a framework for my platform. The requirements of having to use C language seems limited the list to two options, the Apache axis2/c and gSOAP. Does them can be cross compiled to ARM Linux? And which one is more suitable? Any suggestion from you will be highly appreciated!
-woody
You could use some HTTP server library in C, like e.g. libonion, in your embedded Linux device. It probably is the best solution (but you should be sure that your application is reliable enough to run continuously for weeks without crashing).
You could also run some light web server (e.g. lighttpd) and have your program be a FastCGI or CGI application. This approach probably makes sense only if your device needs to also serve web pages for some other purposes.
We have no exact idea about your device and your application (and the web services you want).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am developing a Cocoa application which involves a chat element. One approach I've considered is using Websockets to handle client-server communication. This would be particularly desirable because chats will also be displayed on a website, and using Websockets could make the implementation very simple.
So: would it be possible to use a WebView element, and use Websockets within it? (I know Safari doesn't support Websockets yet, so I imagine this is not possible?)
Failing that, are there any Websocket client libraries for C, Objective C, or any other language I could successfully embed within my application?
Suggestions welcomed.
The only objective-c WebSocket library that supports the latest standard, RFC 6455 (at the time of writing this post) is SocketRocket (disclaimer: I'm author of it).
Both Unitt's and Zimt's client implementations are using deprecated protocols and don't seem to be maintained.
Here is an implementation of websockets for objective-c
http://github.com/esad/zimt
zimt doesn't seem to work on iOS4 - no changes were made since april 2nd 2010..
There is libwebsocket provided by warmcat as an answer to my question of a C++ Websocket library.
It supports the most recent -04 and -05 standard recommendation and also provides encryption through SSL.
Additionally it should work on iOS devices.
You can use it if you don't mind using C code or you could write an Objective-C wrapper for the library.
Couldn't get zimt or UnitT to work in my project, so i wrote this quick wrapper around uiwebview to use the native WebSockets supported included in iOS 4.2.
https://github.com/zootreeves/iOS-WebSockets/
Performance is sufficient for small messages.