How are proximal femur fractures classified?

How are proximal femur fractures classified?

By the anatomic location and pattern of the fracture