/mini-orm-framework

a lightweight ORM framework for PHP

Primary LanguagePHP

mini-orm-framework

a lightweight ORM framework for PHP with MySQL, my intent behind it is getting accustomed to PHP and OOP. This is one of my first project as a web developper. I thought of it while working on a real project during my traineeship (which is still ongoing).

Use a simple and vague DAO capable of handling basic CRUD operation. you need to create classes reflecting your SQL tables with personalized methods that use the DAO ones as a base. Use function.php to validate, sanitize and securise inputs as well as outputs

TODO

  • Fully employ the strengths of OOP by making search_table() return a desired model Class
  • Ensure security
  • Add a update.php and delete.php as demonstration
  • While the system itself resists SQL injections, users named " 'or TRUE; DROP DATABASE test;-- " shouldn't be able to register. -> add a way to completely filter that type of requests
  • Make this a simple MVC framework

alt text