data persistence on remote server - flutter

I'm trying to understand some basic things. I'm a php programmer and I'm interested in flutter. If anyone can answer, I would really appreciate it...
I use mysql in my projects, which are on hostgator. I heard that sqlite is only for local storage and in my case the entire web project will be hosted on the remote server. Can I use sqlite to save my customers' data? Or is there something native better? A big concern of mine!
Is flutter mature enough for robust commercial applications?
Does the documentation indicate when something applies to an earlier version? Or is the information all mixed up and it's up to the programmer to identify when something is only valid for versions prior to flutter 3?
thank you for any guidance

You can use Sqlite, but I would recommend Firestore/Firebase for stuff like that. It's very easy to implement it and they have great solutions for many thigs.
Yes it is! Many commercial applications are running on flutter now. For example the Google Ads app is built with flutter.
I don't really know for sure, but I know that the one time I had a problem with it, it was declared.

I'd prefer saving user's data on the cloud. I personally like Google's firebase which helps with authentication and storage using RealTime Database. It's pretty easy to sync your user's data into the DB and even stores data using cache in case the user is offline and syncs to DB once device is online. You can find more about firebase and their products here.
Flutter is a really great framework to get your apps done for multiple platforms at once, thanks to its cross platform compatibility! If you don't want to spend time creating app for multiple devices, flutter's the way to go. I personally think flutter web is yet to grow, but it will overtime, afterall, it's opensource framework by Google. I'd suggest this idea 8.5/10
Flutter docs are pretty well written and an beginner could get through it with some video examples (included in documentation) as well. In case something you want to use isn't supported in newer version of flutter, the text editor will show a line over the code meaning that it is deprecated and wouldn't be supported. There's always an alternative, which you could find using flutter docs or YouTube. Flutter docs are optimised for beginners 9/10

Ad 1. There is pub.dev- the official package repository for Dart and Flutter. You can find many interesting packages there. They give you possibilities that the native Flutter doesn't give.
For example mysql1- driver for MySQL and MariaDB.

Related

Options for fastapi with graphql and mongo

I would like to start a new project making use of fastapi. i would prefer mongodb as the storage backend and I would also like to have the whole thing 'speak' graphql.
In early 2022; what are the options? I see there's graphene-mongo... but I can't seem to find anything else.
I am trying to develop something with this tech stack but without success so far.
I am a front-end developer and am diving into the full stack universe. After trying many languages, frameworks and databases, this technology stack I found the most interesting for what I intend to do because of its flexibility.
But for now, I could not advance much and also found the same difficulty as you, very few examples available on the web.
My small example application uses FastAPI, is already connected to the MongoDB Atlas database and I tried using the Graphene library to expose a graphql endpoint of the database query result, but so far I haven't achieved any meaningful result.
I have also tried using the Strawberry library, which is suggested by the FastAPI documentation, but haven't achieved much yet either.
I will keep pushing to make this tech stack work and if I succeed, I can share my experience with you if you are still interested.

Is implementing DSs in a flutter app possible?

I'm ready to start my journey as a flutter dev, the only thing that's holding me back is not having any idea of implementing advance "data-structures" like (stack, linked-list, graph etc) in my Flutter application because there isn't a single tutorial explaining how & I can't afford hiring a teacher.
𝗤𝟭• Are all the popular DSs available in Dart and with good documentation ?
𝗤𝟮• If Q1's answer is 'NO' then Can i implement these DSs in Dart all by my own as a beginner ? (I guess I'm someone in middle of the beginner & intermediate stage)
As you were told in Reddit, you generally don't need those computer-science-education data structures. Typically a Map or a List is implemented underneath with some of these technologies, but you should need to know or care which ones.

Choosing backend framework for flutter application

I am using flutter as my main framework for building cross-platform apps.
Until this very day, I used Firebase and it was wonderful but I want to expand my knowledge and learn to build full-stack mobile apps.
I was roaming around the web for several days now, and I can't seem to set my mind on backend language to go with flutter.
I am looking for a language that is up to date and much needed in the industry, so don't worry if it is overkill for small apps (I just want to practice for now). and in addition, I need it to go well with the bloc pattern recommended by Google.
I have heard that scala and play are great backend services. also, that ruby on rails is going well with the bloc pattern.
I would like to hear your thoughts and opinions about the situation, what would you choose and why? (In general, not between scala play and RoR)
Thanks a lot in advance!
IMHO, you should to define target tasks, that you will solve.
For example, our company engaged in computer vision and deep learning problems. We choose flask or fastapi python frameworks to build our backend rest-api prototypes, because it`s easy to integrate with tensorflow or pytorch solutions. If we have bottleneck somewhere, that microservices are rewriting in .Net.
If you looking for the most demanded language or framework, see upwork jobs or similar sites to understand, what does the market need today.

Hummingbird (Now Flutter for web) is planned for release. Should I stop learning AngularDart?

With the recent announcement of Hummingbird, it looks like Flutter will mature for web apps. I was trying to learn AngularDart, but I personally believe Flutter web apps will be a better approach. I'd have to plan a lot to share my codebase between Flutter and AngularDart.
Will Hummingbird receive support for Flutter web apps? Does the use of AngularDart will have diminishing returns in the future?
I understand the answers might be very subjective, but maybe it would be better to discuss some serious advantages and disadvantages of flutter-web.
Update (13.09.2019) Hummningbird is now Flutter-Web and Flutter-Web is now merged to Flutter branch. Things have changed for good ;)
As always, the answer is: It depends.
If you want to reach a lot of users quickly, AngularDart is your friend as it provides a solid foundation right now.
Also notice that doing a lot of "planning to share your codebase", which basically translates to thinking about separating your business logic from your UI logic, is a win either way because the more modular code will benefit you in the long run.
Additionally, it's never a bad thing to get to know more frameworks.
However, if you can allow yourself to be patient and you're thinking in the long term, Flutter's future support for web and Fuchsia may intrigue you.
That's why - if you believe in Flutter's success - it can make sense to only develop for Flutter and then wait and see what's about to happen.
Personally, I believe Flutter will become a well-supported, versatile, general UI framework.
That's why I would recommend betting on Flutter if your project is not time-critical.
I think it really depends on your use case. AngularDart and angular_components are trying to support a more 'enterprise' use case. Complex web apps that are primarily desktop focused. While HummingBird is focusing more on the mobile web use case or where you already have a flutter app that you happen to want to target web also with the same target. So both will have a place.
I understand you very wel ;-)
I'm now tryin to recycle my carrer and been a lot of months learning Angular (The Typescript branch) I love work with it, so pleasant an so intuitive, I did some major web apps than are working very well ant the mantainence is easy, quick and clean ... the future seemed me and Angula in a long love afaire ...
But sudenly I hear about Flutter, like two monts ago, and I was captivated for the concept (before I already had try different aproachs to have one codebase an reach all mobile platforms, Xamarin in major part, and was painfull to learn and to use, ReactNative never make me feel anything), but Flutter is soo easy, with so much power than Xcode and Swift witch I been workin too and with wich when you have a middle project the storyboard is intelligible. I been learning Flutter full time last two months, already have app in appstores and doing my first web (wonderfull experince doing web without css, ohhhh yes).
Then my opinion is similart to the others "depends", but if I was you and was just starting to learn AngularDart I will go for Flutter without loocking back.

How to handle images in meteor?

I'm looking for advice how to handle images in meteor. After some research, I noticed that developers usually prefer to use third party API to deal with images such as cloudinary or Amazon S3 but why? What are the pros and cons of using third party API? Isn't it better to save images locally using techniques that were described here: Meteor: uploading file from client to Mongo collection vs file system vs GridFS ?
It mostly boils down to whether or not to store images in Mongo. Generally, it's not a good idea, though sometimes I do it for quick prototyping, because it's so easy.
Here are the arguments against it:
https://forums.meteor.com/t/any-reason-not-to-store-images-in-mongo/11021
Why Cloudinary?
Cloudinary provides an end-to-end solution and wraps up all of your image needs in one simple and practical solution. From uploading, to string and managing your media assets and to manipulating and delivering your images via world-wide CDN.
While Meteor is not yet officially integrated to Cloudinary, a great library has been contributed by a community member and well serves a lot of Cloudinary's users around the world.
Cloudinary introduces a RESTful API to support every developing environment and to allow integrating to every programming language. All of our SDKs are open-source and therefore can be inspected and imitated as required.
For more information: http://cloudinary.com/documentation/
If you have any further questions, please don't hesitate to ask :)