dwyl / flutter-todo-list-tutorial

✅ A detailed example/tutorial building a cross-platform Todo List App using Flutter 🦋
GNU General Public License v2.0
96 stars 9 forks source link

Is MOOR part of the Dwyl stack? #15

Closed th0mas closed 2 years ago

th0mas commented 4 years ago

From what I can see, MOOR is just a wrapper around a SQLite database. Is there any reason Moor was used in the original tutorial over SQLite?

For a TodoList tutorial this may add unnecessary complexity (turning it into a Moor tutorial not a Todo one)

Is Moor planned to be used on other projects as well as a component of the Dwyl stack?

nelsonic commented 4 years ago

@th0mas while MOOR https://pub.dev/packages/moor_flutter has several useful features, it should not have been used in the original tutorial as it's complete overkill for a simple todo list. A simple SQLite DB https://flutter.dev/docs/cookbook/persistence/sqlite is more than enough.

nelsonic commented 4 years ago

To answer your second question: as with everything in our Tech Stack, if a compelling case is made for a particular technology/tool/library, then we can use it. But as you will no doubt have noticed, there was no effort made to discuss the use of MOOR prior to using it. For the foreseeable future, No.

nelsonic commented 2 years ago

https://pub.dev/packages/moor_flutter discontinued:

image

Renamed: "drift" https://drift.simonbinder.eu -> https://github.com/simolus3/drift

GOTO: https://github.com/dwyl/learn-flutter/issues/70

Thanks again for opening this issue @th0mas ❤️