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
3
Answers
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.