Flutter and PostgreSQL [closed] - postgresql

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Excuse me asking maybe silly/dumb
I'm Rookie self-taught developer
I trying to get my flutter app to work with my PostgreSQL database
Unforturnly I couldn't find anything related to Getting Flutter and postgreSQl to work togeather
All I can find is using Aqueduct a dart package which I was not able to install
https://medium.com/flutterpub/flutter-how-to-do-crud-with-postgresql-part-1-57d8d3652a31
as they couldn't find a library to install Aqueduct
Is there any other way I could get Flutter work with PostgreSQL?
Or there a way I could get Aqueduct to work?
Greatly appreciate your help in this.

For interaction of your app with a relation db you need a backend, in any technology, as the negotiator of both parties.I dont know aqueduct but you can try node js + express js as it is a popular backend stack, here a tutorial is quite simple to understand and setup, theres is also a js postgresql package called pg so you will need to add it to your node backend. I don't know how much knowledge do you have about http request/response, backend, frontend or http apis, so you should maybe study all of that before doing your project.

Related

Flutter App with Firestore using Graphql benefits [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 months ago.
Improve this question
I have an app built with flutter and firestore as the DB. It works fine the way I need, it's pretty fast (does not have much data), but since a few days ago I started wondering if adding GraphQL in this App would bring any benefits to it?
To give some basic idea, let's say the app is a Uber eats like app, with several restaurants and multiple users making requests. I achieved this by with plain Flutter + Firestore. I'm afraid that at some point let's say, the app has lots of users and start to get slow, would GQL help on this aspect?
I found some Flutter packages like Firegraph that looks promising and easy to use.
Hope someone can share some knowledge on this area.
Fetching the data from firebase has a completely different approach compared to graphql or REST. Its developed in such a way that there's 0 delay. If you are using firestore then using graphQl will make no much difference in terms of performance. Also by checking the source of this package i see that it's fetching a document, saving it in cache and iterating though each document fields. So it's basically adding another layer to fetch data which i think isn't a good idea

How architecture should be for my mobile app [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm planning to improve a mobile app as my first mobile and published project and I want to improve a to-do list app. According to this aim I want to use java for backend and one of my friend will improve front-end with flutter.
The first question is here, can we develop a mobile app with using flutter and java at the same time ?
If the answer is yes, I am planning to use SQLlite for database but here I am confused :/. I want to use the database for each user own local database.
How can I deploy a database with my project , the database should work in his/her mobile local. And how the architecture should be?
Thanks,
You can develop Flutter app with native (Android or iOS specific) implementations for some platform features. Flutter and native side communicating with Method Channels (by link you find an official documentation for work with it).
Flutter has a sqflite plugin that wraps native database realization and giving to you interface for working with SQL database on Flutter side.
Also, if you need tools for communicate with WEB API, Flutter supports it by default. You can find more information in Fetch data from the internet.

I want to test postgres database using selenium [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I successfully integrate the postgres and eclipse but unable to test the database. I need to know where can i get help if any suggestions would be appreciate.By the way i am using java. Thanks in advance.
Selenium is not the right tool here, as it is a tool for automating testing of web front-ends. You cannot directly test your database using this tool.
You can test an application like phppgadmin, but it isn't clear that is what you want.
A better approach is just to write test cases through jUnit and jdbc, in my view. That gives you better control and testing than you can via a web front-end and it is easier to solve the question of whether you want transactions to rollback or not (selenium poses this problem since it is indirect and tests a web app that interacts with the db over a stateless connection).

Can Google's GWT be hacked? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm planning to make a multiplayer card battle game using Libgdx for the web, it uses the GWT engine for web deployment.
Is this engine secured? Can it be hacked? I don't want to waste my time learning it only if it will be hacked later on.
Thanks.
There is no engine as such. GWT compiles Java code to javascript which is then downloaded and run in the browser. By default this is obfuscated. It is difficult to modify but as the code is available in the browser it is theoretically possible to reverse engineer and modify it.
GWT puts no restrictions on how you implement server side web application code. It provides libraries to help with client to server RPC which you may choose to use or not. That means the server side security is down to you and is as secure as you want to make it.

Scala, Lift Setup [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to get into Scala and the lift framework, but since there is alot of confusion for me as a PHP programmer. So I got some questions to help me get started.
I want to setup a webserver that runs the lift framework with a Mongo DB backend where do I begin?
What is Apache Tomcat?
What is Jitty?
Is Comet an technology (protocol, design pattern?) or is it an project like Lift?
How can I setup Lift in Mac Os x as development enviroment, I understand I need Eclipse so I have downloaded it but what then? I don't understand how to install Scala.
The Lift wiki has a lot of information to get you started, and I would encourage you to join the mailing list. Where you will find many answers to questions already asked and you can of course ask more :)
Best luck using lift!
Try these series of tutorials http://blog.pboos.ch/2011/03/lift-tutorial-1-dev-environment-setup/