Multiplexing input/output consoles to one Arduino?

I took the liberty to browse the Internet and found a very interesting article that solves the problem of sharing the Arduino pins between the lcd and the keypad using a 7408 (quad 2-input AND gates). The link: