Principles and Applications of Attosecond Technology