Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Suggestions and Feature Requests

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2014, 07:49 PM
FounderSim FounderSim is offline
Member
 
Join Date: Sep 2014
Posts: 65
Gender: Male
Credits: 7,434
FounderSim is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 10-04-2014, 07:55 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,257
IntoRain is on a distinguished road
Default

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.
Reply With Quote
  #3  
Old 10-05-2014, 09:25 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,424
Hall of Famer is on a distinguished road
Default

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.
Reply With Quote
  #4  
Old 10-05-2014, 05:35 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,257
IntoRain is on a distinguished road
Default

Awesome, thanks :D
__________________


asp.net stole my soul.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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 06:54 PM
"Class... does not exist" error Vaporman87 Questions and Supports 2 02-18-2014 12:32 AM
"Nicnack Shop" by Bobbybighoof (mysidia v1.3.3) bobbybig Templates and Themes 5 04-15-2013 03:11 PM
Secondary "RARE" cash option? Tequila Questions and Supports 4 09-17-2012 09:18 AM
[Updated] AJAX Sortable Adoptables on "myadopts.php" Page fadillzzz Mys v1.2.x Mods 57 05-29-2012 02:16 AM


All times are GMT -5. The time now is 10:36 AM.

Currently Active Users: 387 (0 members and 387 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636