The paradox of the Infinite Scrolling and the Footer

infinite

What we are going to talk about is not a technical error but a wrong approach, a contradictory implementation choice.

Let’s think about the general structure of our web system. We have the classic Header for our web system where we usually put main menu, table of contents, main links and other relevant objects for the users. We also have the Footer where we can repeat some main menu links and put some more information like About us, T&C, Copyright etc.

We have, obviously also the Content that, in case of the home page, it could be the list of all articles ever written. But wait a second, we can’t load billions of articles all at once, so, let’s split them in blocks. The pagination could be a valid solution but we want something better, nicer, more dynamic..

The infinite scroll could be a good alternative, so the user just scrolls down the page and a bunch of articles are automatically loaded and magically appearing with a fancy fade in effect or maybe a slide down.

Here we are, do you see the paradox?
Let’s look at that together.
Continue reading

Advertisements

Flash post: few Vagrant errors and few Vagrant fixes

687474703a2f2f6572696b6168656964692e636f6d2f7468656d652f6661746361747a2f696d616765732f76616772616e742f6c6f676f5f76616772616e742e706e67

Hi there, in these days I’m working with Vagrant and VirtualBox . There are few recurrent errors I’d like to write down to keep in mind error-solution and probably save time the next time I face them.
Continue reading

Useful tricks: live monitoring with “watch” command on Mac OS

img_Terminal

Today I’d like to share an useful command that unfortunately is not native on Mac OSX (I’m using v10.9.5).
This command is watch (http://en.wikipedia.org/wiki/Watch_(Unix)).

I was used to use it on Linux to monitor live changes to logs or even to monitor git repositories but you can execute it for many other purposes.
Now, moving to Mac, the story changed and I had to find my solution. What’s better than creating your custom command with your own code?

The way it’s done is like a primitive version of the well consolidated and full of options watch in Linux but for sure it’s really better than nothing. So far I just needed the basic version but if you want you can add all the options you wish.
Continue reading