Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Removing of prefix "class", "abstract", "interface" Suggestions
I been programming for awhile now. Some of you know me from a few other sites.
I just finished my first mod for mysidia in about 10days ACP and player side for a friend. I ran into a few problems since I didnt have no damn error reporting on the site, but thats whole other story. I never used mysidia before. Heres a few of my suggestions that bugged the hell out of me while trying to find stuff I needed for my mod. All "classes", "interfaces" and "abstart" start with there coresponding name. I really see no use for this because they are placed in folder. I need to scroll threw 226 files/folders in the "class" directory while searching for a class I am pretty sure exists. Sometimes I know it exists, but I dont know what Class its extending or the method name/paramaters to call. I need to scroll and look carefully for the filename. I for one would find it much simplier to just open up this class directory press "i", be somewhat near the "Item" or "Inventory" class, maybe have to scroll 10 files, instead of 100? If mysidia gets to popular. People will have hundreds of mods, thousands of class files. And a lot of scrolling. I do have some other suggestions to the code itself to help developers/modders, but I will save that for another time. |
#2
|
||||
|
||||
Support for this. The scrolling through classes is a bit bothersome. If the name 'class' needs to be there, at least adding it to the end of the filename should help (AdoptClass.php instead of class_adopt.php)
__________________
asp.net stole my soul. |
#3
|
||||
|
||||
Well they will be gone in Mys v1.4.0. The reason for such prefixes was that back in the old days we have both function and class files, so the prefixes functions_ and classes_ are used to distinguish them. In Mys v1.4.0, every php file is a class/object file, so theres no orphan function files, which eliminates the needs for this.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#4
|
||||
|
||||
Awesome, thanks :D
__________________
asp.net stole my soul. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Fairy State" theme by Bobbybighoof (Mysidia 1.3.3) | bobbybig | Templates and Themes | 3 | 07-18-2018 07:54 PM |
"Class... does not exist" error | Vaporman87 | Questions and Supports | 2 | 02-18-2014 01:32 AM |
"Nicnack Shop" by Bobbybighoof (mysidia v1.3.3) | bobbybig | Templates and Themes | 5 | 04-15-2013 04:11 PM |
Secondary "RARE" cash option? | Tequila | Questions and Supports | 4 | 09-17-2012 10:18 AM |
[Updated] AJAX Sortable Adoptables on "myadopts.php" Page | fadillzzz | Mys v1.2.x Mods | 57 | 05-29-2012 03:16 AM |
What's New? |
What's Hot? |
What's Popular? |