LostKobrakai Posted June 11, 2016 Share Posted June 11, 2016 I just wanted to share this library here: http://barbajs.org/ It's a pjax implementations specifically for handling page transitions without full page-reload as simple as possible. It's super lightweight and can literally be installed by pulling the library in, adding two classes to your pages and a single line to initialize the whole thing. I've just added this to my personal site (https://kobrakai.de/) and beyond some js refactorings – mostly so that animations are not only triggered on page loads – it was a very smooth experience to add. Also I've probably only scratched the surface on this simple site. The docs look like this could handle even more complex setups if needed. 17 Link to comment Share on other sites More sharing options...
Bill C Posted June 12, 2016 Share Posted June 12, 2016 Thank you Benjamin. It seems I often pick up very useful information from your posts. I wanted to say thank you also for this link you posted recently. http://adamwathan.me/refactoring-to-collections/ It's prompted me to put some time aside to do some self-study on functional programming done with PHP Here's just a few additional links I found should anyone else be interested - There seems to be a good amount of information out there on the subject. https://blog.liip.ch/archive/tag/functional-programming https://www.sitepoint.com/functional-programming-and-php/ Thanks again. 7 Link to comment Share on other sites More sharing options...
bernhard Posted June 12, 2016 Share Posted June 12, 2016 very nice! the prefetch is also clever Link to comment Share on other sites More sharing options...
tpr Posted July 5, 2016 Share Posted July 5, 2016 Just gave barba.js a try and it's great, thanks for mentioning. I had to remove a similar but more clunkier solution of mine, but this is much better. There are some js events I have to modify in order to make them work but it's a no-biggie. 1 Link to comment Share on other sites More sharing options...
Recommended Posts