Mysidia Adoptables Support Forum  

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

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2015, 12:38 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,633
IntoRain is on a distinguished road
Default

Basically you just need to comment the functions and classes with the appropriate comment blocks and it generates a wiki with call graphs and cross references and everything.
Quoting a post I made previously about this:

Quote:
Originally Posted by IntoRain View Post
Can I suggest doxygen-style comments for the classes and functions? Doxygen automatically generates a wiki thing (.html) with information on all classes and functions from just comments, making it easier in my opinion for us to search for stuff. I know it kinda sucks to comment everything, but since you will be changing the code a lot and since some of the older functions and core classes are already commented, I thought I'd suggest doxygen-style comments: http://www.doxygen.nl/docblocks.html

The generated .html pages look awesome:

http://i.imgur.com/xwg2V9c.png (example of a function description (detailed) - it has the call graph and the caller graph!)

http://i.imgur.com/O8nIDdC.png (example of a class list, it shows undetailed member functions with the details at the end of the page - it has a search function! it also shows class hierarchy, files, etc!)
(please ignore the fact I used both C-style and Java-style code standards for the function names lol it's messy I know)

You can customize the wiki colors and structure as well, I just didn't lose much time with it.

I say yes to creating a wiki for user guides like Kyttias' though.
__________________


asp.net stole my soul.
Reply With Quote
  #2  
Old 01-17-2015, 03:01 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 21,162
MikiHeart
Default

Thank you for explaining IntoRain

HoF: Thank you. I understand completely. Are database fields staying the same so that we can upgrade at least the base of our sites? (I know we'll have to rewrite mods and stuff)
Reply With Quote
  #3  
Old 01-17-2015, 05:10 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: 397,834
Hall of Famer is on a distinguished road
Default

Well the database fields are completely different, you can have a look at the screenshot I took from phpmyadmin for Mys v1.4.0 dev for some insights. Note there will be even more tables to store some settings for certain features, although these can also appear as flat files in .xml format:



However, this does not mean upgrading database will not be possible. There will be mapping for old Mysidia database tables/fields to new Mysidia database tables/fields. It can be complex, but its doable and easily automated. I will release a beta version without upgrader at first prior to the official stable release, during this two weeks beta testing phase I will try to design an upgrader for database.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #4  
Old 01-17-2015, 06:23 AM
Glow's Avatar
Glow Glow is offline
Member
 
Join Date: Nov 2014
Posts: 27
Gender: Female
Credits: 5,442
Glow is on a distinguished road
Default

The next version is really exciting! <3

And also, will there be a wiki implemented then?
Reply With Quote
  #5  
Old 01-17-2015, 06:55 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: 397,834
Hall of Famer is on a distinguished road
Default

Well you can build a wiki if you want to, for Mys v1.3.x it can be very useful. For Mys v1.4.x though, the script will come with rich documentation for each functionality, so there will be little need for full-fledged wiki pages.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #6  
Old 01-17-2015, 10:12 PM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 21,162
MikiHeart
Default

Oh okay.

it looks extremely feature rich. I like that. Including giving the users the ability to block people. Which I think is a very good idea.

I may instead use my time to practice coding with v1.3.x, so that when v1.4.x comes out, my knowledge will have increased and then build off of that script.

Because just by looking at the database I feel that v1.3.x will be shadowed by v1.4.x
Reply With Quote
  #7  
Old 01-18-2015, 12:43 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 92,007
Kyttias is on a distinguished road
Default

Indeed! I'm getting my concepts down in 1.3.x with focus on design over functionality. I feel a lot of it will be transferable - but much of it will have to be done manually.

Transferring users and pets however? Might be nigh impossible.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #8  
Old 01-18-2015, 05:46 AM
Glow's Avatar
Glow Glow is offline
Member
 
Join Date: Nov 2014
Posts: 27
Gender: Female
Credits: 5,442
Glow is on a distinguished road
Default

It is possible to like save all your modified codes into a file, then reinstall the newest version of Mysidia before updating all your modified codes maybe? XD And then adding back content, that is, if your site has not open to public...
Reply With Quote
  #9  
Old 01-18-2015, 08:31 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 21,162
MikiHeart
Default

Glow: Everything custom coded would need to be recoded to work with the new version.
Reply With Quote
  #10  
Old 01-18-2015, 09:13 AM
Glow's Avatar
Glow Glow is offline
Member
 
Join Date: Nov 2014
Posts: 27
Gender: Female
Credits: 5,442
Glow is on a distinguished road
Default

Oh sorry, I'm kind of not really totally understanding whats going on haha thanks XD
Reply With Quote
Reply


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
Looking for someone to help me build an alert system Infernette Staff Central 4 07-02-2014 05:23 PM
Lionisa - Build up your lion collection! Aasixx Adoptables Buzz 1 08-07-2012 05:10 PM
-Using Scratch to Build A Town- Poppy Tutorials and Tips 3 03-28-2012 07:02 PM


All times are GMT -5. The time now is 11:38 PM.

Currently Active Users: 305 (0 members and 305 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