Hello there,
I am developing a web application for which I have a full plan regarding the functionality, and a well defined database structure.
I have also created a number of PHP classes which interact with the MySQL database as appropriate and this is all working fine in terms of the web services which are presented to the world for the core of the application.
However when I come to display, edit and update the data from a login (website) I am challenged by how best to develop the interface in a secure, optimal way. For example I need to consider the following points:
* Security is very important - all input must be validated both at the client and server side for both functionality and anti-injection
* Future-proofing and doing everyting properly to begin with is very important to me. I don't want some scripts to be outputting HTML/Javascript in a way which is page/div specific and find that they break the programming as the project develops.
Is there a best practice for development of such a login and database access/editing AJAX functionality which will enable Rapid Application Development, quick iteration as necessary, development of a strong Object Oriented framework?
Is there a way of writing the PHP objects properly in order to output structured, standardised data to Javascript functions which will render the content appropriately as HTML into the relevant div?
Is there a library and/or tutorial that anyone can recommend for such purposes?
If anyone has any questions about my question please let me know!
Many thanks,
Butterhook
Start Free Trial