I'm just experimenting with building a site, and want to follow a patten I have used elsewhere...
Say my folder is called "WebSite1". Within that I have public_html which will contain all client-facing code and assets...
But outside it I want a folder called "Classes" that will contain my business objects. Also I'd like to have a config.whatever that contains things such as database connections.
I know this can be leveraged through Zend for example, but am looking at my own way to do this. Can someone tell me how?
I lived and breathed MSN Messenger/Windows Live Messenger. Going to the mess.be website (still online with no changes since 2013) to download display pictures etc. I was a beta tester for Messenger Plus! and spent quite a lot of time on the MsgPlus! forums (a read-only copy is still online at https://shoutbox.menthix.net)
Some old Neowin articles also https://www.neowin.net/news/messenger-plus-350/ good times but how time flies
Well i'll look into a docking station if needed and use that. Normally i don't usually have all the drives connected at once, usually once a month to sync the latest files, and then they go back in there storage area
memories! completely forgot about alcohol 120%!!!! man this list just makes me think of all the exciting times! everything's become so sterilized these days.
Question
+Nik Louch Subscriber²
I'm just experimenting with building a site, and want to follow a patten I have used elsewhere...
Say my folder is called "WebSite1". Within that I have public_html which will contain all client-facing code and assets...
But outside it I want a folder called "Classes" that will contain my business objects. Also I'd like to have a config.whatever that contains things such as database connections.
I know this can be leveraged through Zend for example, but am looking at my own way to do this. Can someone tell me how?
Ta
Link to comment
https://www.neowin.net/forum/topic/842414-php-classes-and-config-outside-public_html/Share on other sites
12 answers to this question
Recommended Posts