Firstly, I will deal with a new way of accelerating charged particles based on femtosecond laser pulses and nanophotonic structures. The concept is exactly the same as in classical RF and microwave accelerators, only with roughly five orders of magnitude faster oscillating driving fields and structures that are smaller by the same factor. With the help of such small lithographically produced dielectric structures we have demonstrated not only efficient acceleration of electrons, but also deflection and focusing. Currently, we are building a prototype "accelerator on a chip". The current status will be reported.