![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Industry Role:
Join Date: May 2016
Posts: 26
|
[PHP Programming] Website script folders
I looked at three separate scripts that I have and they have the following folders:
1) KVS - admin, blocks, contents, ftp-upload, images, js, langs, player, styles, template, temp 2) Mech Bunny TGP - admin, cache, controllers, core, csv_photos, ftp_photos, includes, media, temp_users_uploads, templates 3) Wordpress - wp-admin, wp-content, wp-includes A person can tell that this depends of the author of the script and it will be different between the scripts. I am not asking about something as "ftp-upload" or "csv_photos" as I understand what this is but my question would be related to what are the rules of creating something like this and if there are any rules. Or scripts have the admin folder and also the includes folder. What would be the "includes" part, as far as this? I mean I can look inside and figure it out more or less, but are there any rules of creating something like this (like software design model or something like this)? Lets say I want to write a script or scripts like these, what would be the source of information about how to divide this into folders like this. I basically dont have this knowledge at this point. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,295
|
usally includes would be for some libraries or classes the script uses, general core functions.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
It's 42
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
|
A logical inheritance of directories -- the 'directory tree' -- what folder should be inside what folder. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jun 2012
Location: Canada
Posts: 1,338
|
When you create a script you can name any folder as you wish, if your script might be installed on a domain where others might run you try to choose a unique name for the main one...
__________________
![]() ROBO SCRIPTS | WP CAM PLUGIN - Scripts To Promote Cam Sites - Chaturbate, BongaCams, Streamate, LiveJasmin, Stripchat... The Cam Site Builder, The Cam Multi Site Builder -> MULTIPLE CAM SITES IN ONE |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
Quote:
Model View Controller(MVC) In PHP Tutorial
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
|
![]() |
![]() ![]() ![]() ![]() ![]() |