I'd install the cabinets first. You can use laminate flooring in a kitchen or bath, you just have to take some precautions. Get the matching caulk for your floor, and run a very small bead in each tongue/groove prior to installing each piece. Too much and it will be a bear to get them locked...