Skip to content

Meichior/mini-orm-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages