Aug-27-2017, 02:07 AM
hey guys, so i'm still working on the loading friends part of the program but i'm almost there (i tried a while loop with a definite nr of loops, i tried the page length trick and i wanna try the tag search thing; i think i'll go with the tag search but i'm not sure yet how big of an impact will it have on performance).
i've been googling lately about databases and how to store friends and connections and i found out something about graph databases and whatever but i have no idea how to implement that into my code.
i'm thinking i should make a class with a name and id subclasses (i'll probably wanna add some more subclasses later) and then store each instance of the class into a db file but i don't know how to even start thinking about doing that.
you guys have any ideas where i might get started with storing the output of the function into a db? (preferrably a graph db where you don't have to make a list for every person out there with their friends).
also, any idea if i need a db client? i heard about mysql and sqlite but i don't know if they can make the type of db i'm looking for (i searched on youtube but all i could find was graph as in, a line chart for functions).
also, is it a good idea of putting the output of the crawler into class instances?
thanks
i've been googling lately about databases and how to store friends and connections and i found out something about graph databases and whatever but i have no idea how to implement that into my code.
i'm thinking i should make a class with a name and id subclasses (i'll probably wanna add some more subclasses later) and then store each instance of the class into a db file but i don't know how to even start thinking about doing that.
you guys have any ideas where i might get started with storing the output of the function into a db? (preferrably a graph db where you don't have to make a list for every person out there with their friends).
also, any idea if i need a db client? i heard about mysql and sqlite but i don't know if they can make the type of db i'm looking for (i searched on youtube but all i could find was graph as in, a line chart for functions).
also, is it a good idea of putting the output of the crawler into class instances?
thanks