Answer the question
In order to leave comments, you need to log in
I am engaged in web scraping to create a database. Question: Do I need to create classes and attributes for each field?
For example, I will have a database of cars with their characteristics. Do I need classes for each car model, for a specific feature, or not needed at all? If so why?
Are there any resources where this is described (how to develop your own projects, design a database)?
Answer the question
In order to leave comments, you need to log in
Object attributes are an associative array that can be easily serialized to JSON. If the task is only to parse the site for further import into another database, then it is enough to use an associative array.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question