The treatment needed for different types of floors is very different.
Slipping is a common safety hazard for cleaning methods that involve water or other liquids, especially if the floor is left wet.
Sawdust is used on some floors to absorb any liquids that fall rather than trying to prevent them being spilt. The sawdust is swept up and replaced each day. This was common in the past in pubs and is still used in some butchers and fishmongers.
It used to be common to use tea leaves to collect dirt from carpets and remove odours. Nowadays it is still quite common to use diatomaceous earth, or in fact any cat litter type material, to remove infestations from floors.
There are also a wide variety of floor cleaning machines available today such as floor buffers, automatic floor scrubbers and sweepers, and carpet extractors that can deep clean almost any type of hard floor or carpeted flooring surface in much less time than it would take using a traditional cleaning method.