Reputation: 339
Im new to OOP & PHP. After being fed-up of "Person's Class-Object examples", I want to know exactly how a function would return a set of rows from database to the presentation layer in a way that:
Upvotes: 0
Views: 349
Reputation: 554
First all you need to create a frontend(client side) for the backend(server side), in the BL you have getEmployees, i dont now wich king of output is , but if is a webservice you need to translate to xml or json response, if is normal you need to create html markup.
my recomendation: create a BL OOP PHP Webservice, and from the Pre. Layer use some free JS CLIENT FRAMEWORK, like smartgwt,jqery,etc
Upvotes: 1