You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, i have such questions, just started using that beauty tool.
So i have such arch:
core/
database
features/
screens fully independent, they are using cores modules inside
when im creating abstract DAO class
thats class contained in features/screen section
when im creating database class, marking that database should generate, code of DAOs generates in database section
like this
core/
abstact class of database
$ed database that contains dao realisation of 1 page, 2 page, 3 page....
So there is question.
Is it obvious that DAO code should be generate per DAO class, code should be manipulated Database inside of it.
And maybe not $database should contain all of DAOs manipulating code ?
Im just a begginer, please - forgive me, if im wrong.
my (maybe absolutely wrong) vision of it:
core
database_getter
database_dao_manipulator (consumes SQLFly from upper getter, consumes dao)
features
page/dao that contains dao abstact/ and $ - impl
page2/dao that contains dao abstact/ and $ - impl
page3/dao that contains dao abstact/ and $ - impl
or im fool and there is exit from it, more likely
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So, i have such questions, just started using that beauty tool.
So i have such arch:
when im creating abstract DAO class
thats class contained in features/screen section
when im creating database class, marking that database should generate, code of DAOs generates in database section
like this
So there is question.
Is it obvious that DAO code should be generate per DAO class, code should be manipulated Database inside of it.
And maybe not $database should contain all of DAOs manipulating code ?
Im just a begginer, please - forgive me, if im wrong.
my (maybe absolutely wrong) vision of it:
or im fool and there is exit from it, more likely
Beta Was this translation helpful? Give feedback.
All reactions