I have been working on a custom CMS for about 3 months now and i still have to build the admin interface. I was wondering what is the best way to create the admin interface.
I have my CMS setup where it loads everything into the root index.php file. Should i include a separate file like admin.php in the root directory and have it loads admin files? Or should i also load admin functions for each page into the index.php file? I heard it's best to have it all integrated into one file, instead of 2 separate files.
What is the most efficient way? Most secure way?
I have my CMS setup where it loads everything into the root index.php file. Should i include a separate file like admin.php in the root directory and have it loads admin files? Or should i also load admin functions for each page into the index.php file? I heard it's best to have it all integrated into one file, instead of 2 separate files.
What is the most efficient way? Most secure way?