M
M
magary42016-11-03 11:38:14
JavaScript
magary4, 2016-11-03 11:38:14

How to make a search page in Symfony?

page of 4 main blocks
1. filters
2. sorting
3. pager
4. search results

what should each of these elements represent?
whether it is necessary to do filters of type Form\AbstractType?
how to sort items? form or simple links?
and how to add a pager to all this

now it should all work with overload, but ajax integration is expected

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2016-11-04
@prototype_denis

2,3 and maybe 1. Take KnpPaginator - it solves 90% of your task, the other 10 is a handler for filters.
4 Elastic, Swinks, LIKE on the base. Take your pick...
Filter shapes will make things easier if you have everything rendered on the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question