S
S
StrangeStranger2018-03-25 17:36:11
symfony
StrangeStranger, 2018-03-25 17:36:11

How to make a parser in Symfony 3 correctly?

I'm just starting to learn Symphony and I don't really understand how to properly implement the functionality.
For example, there is a task: to parse by reference and generate objects based on this data.
I made an entity whose objects should be generated; I'm going to use the DomCrawler component for parsing; I will make the parser itself a service; the service code will be called by the user's action on the site. Correct way of thinking?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question