Oct-27-2021, 01:20 AM
New to actually programing in OOP. Looking for experienced guidance on making a decision on best practice on taking info from SQLite3, using info (text,size,color) on a row to create a Button, add the Button to a Kivy BoxLayout. The Button click will bring up add/edit screen for data to be updated to the db.
I am struggling seeing the benefit of creating each db row into a object IF THERE ARE NO METHODS and then turn around and use info in the object to create the buttons that represent the objects VERSUS just use the db info to create the buttons.
I can see how if i had methods it would be different- am i thinking correctly about that point?
Thanks
I am struggling seeing the benefit of creating each db row into a object IF THERE ARE NO METHODS and then turn around and use info in the object to create the buttons that represent the objects VERSUS just use the db info to create the buttons.
I can see how if i had methods it would be different- am i thinking correctly about that point?
Thanks