I am engaged in parsing of sites that would create a database. Question: do I need to create classes and attributes for each field?
For example I have a database of cars with their characteristics. I need classes for each car model, individual characteristics or do not need? If so then why?
Are there any resources where this is described(how to develop your own projects, designing the database)?
sonya_Bahringer88 answered on March 19th 20 at 09:22
The object attributes are an associative array, which is easily serialized to JSON. If the task is only the parsing of the site for later import into another database, it is enough to use an associative array.