Nonparametric and Semiparametric Approaches to Functional Data Modeling