GSoC14:Ryzom App Improvements : POST MIDTERM
Cheered that I passed the midterms :) . Hats off to my mentor Matthew Lagoe , who has been patient with me, throughout literally helping me with tiny bits, and bearing my silly mistakes. Have learnt a lot under him.
The task is to include plugins into AMS for that i have to call the hooks of respective plugins. Every plugin must contains a .info file where all the information regarding that is plugin is stored in a format. The format is as follows:
---------------------------------------------------------------------------------------------------------------------------------
PluginName = {Name of the plugin }
Description = {Description of the plugin}
Version = {version of the plugin}
Type = {Type of plugin ( Automatic / Manual )}
PathFile = { Path of the index file to load using hooks}
//if plugin is a update then this option is must as well as change in the versioning
UpdateInfo = { what update is added in the plugin }
-----------------------------------------------------------------------------------------------------------------------------------
Now, when a plugin is installed and is activated , AMS start collecting hooks included in the $PluginName.php . Hooks works as follows:
-----------------------------------------------------------------------------------------------------------
//display hook
function $PluginName_hook_display(){
//to display in menu bar user option $plugin_display['menu_display'] = {what you want to display in menu bar}
****** it will automatically takes the PathFile from .info to use with this display hook.
}
------------------------------------------------------------------------------------------------------------
We are thinking of more hooks that will help others to build plugins that supports Account Management System.
Also , Got a new instance withhttp://shub_evil.gsoc2014.ryzomcore.org. Thanks a lot to the RyzomCore team . This would be used for doing my dev-testing with larger data sets, and real time performance assessments.
My next task is to creating REST Api to interact plugins with the API's and will also , bring more options in the plugin functionalities.