Yet Another PHP Framework
(C) Esteban D.Dortta
- Installing and configuring
Create a folder under your www folder called 'sample'
Place 'includes' folder inside it
Place 'configure.php' and 'yeapf.db.ini' from skel/webApp/ inside 'sample' too
Give enough rights to Apache rwx on 'sample' folder
2) Creating an app
Let's say you has a table called employees (see https://github.com/datacharmer/test_db.git)
Write an 'employees.html' as this:
#for("select * from employees order by last_name, first_name")
Now write this little script called 'employees.php'