04.
Reusable Pagination System
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
13 Comments
Hi,
In my case, i applied this <strong>rawurldecode</strong> function to fix query params encoding:
Before rawurldecode:
After rawurldecode:
=)
This is like 20th lesson or so I listened that was recorded by you. Must say, I enjoy every second of those. Very knowledgeable, funny, fast... just keep doing what you're doing :)
Cheers Jovan :)
Hello Ryan,
In my project I have a back office to create sites and their content pars example images.
These images are sent to the server vai a form and I put them in a folder:
web / uplaod / siteName / iamges /.
knowing that these images are on a server 1 and I want to create a cron to move them later on another server 2.
can I create a cron myself by exploiting the power of symfony?
Hey Nizar
That's totally posible to do in Symfony (except the part of registering a CRON job into your server). You can create a Symfony command that actually move those files, and then, set up a CRON job that executes that command whenever you need it.
You can read more info about creating a Symfony command here: https://symfony.com/doc/cur...
Cheers!
Hi Ryan,
It's really nothing, but for consistency, shouldn't you rename "programmers" variable into "items" inside createCollection method ?
Ha, oh totally - you're 100% right :). I hadn't even noticed this!
Hi,
I want to use a pagintion in my project but I hesitate between : KnpPaginatorBundle and WhiteOctoberPagerfantaBundle
you advise me which one.
thanks for your replay
Hi Nizar!
They're both good - at this time, I'd slightly recommend Knp, but they are both maintained quite well :).
Cheers!
Thanks ryan
Hi ryan,
I have in my project a document entity that has a ManytoOne type relationship with another image entity. So I have to create an interface to send images to the server for the document entity
and I would like to use a bundle that contains the DropZone plugin for example.
I develop this feature myself? or I use a bundle?
if not, do you recommend which bundle?
thanks for the answer.
Hey Ali,
If there's a good bundle - you better to use it instead of re-doing things manually. Third-party bundles have some advantages like you don't need to spend your time for writing this feature, good bundles are well tested, etc. I personally do not use any bundles that has integration with DropZone, but after google it quickly I found a one, so take a look at: https://github.com/1up-lab/... that is pretty popular on GitHub and have a lot of integration with other JS uploaders.
Cheers!
thanks Victor
"Houston: no signs of life"
Start the conversation!