F
F
FairyFox57002019-03-30 21:40:22
Database design
FairyFox5700, 2019-03-30 21:40:22

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

1 answer(s)
R
Roman Mirilaczvili, 2019-04-01
@FairyFox5700

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 question

Ask a Question

731 491 924 answers to any question