Re: [LogiLogi-list] Modulizer comitted, snapshot fixed for Linux
Status: Beta
Brought to you by:
wybow
|
From: Wybo W. <wy...@lo...> - 2007-04-02 22:13:15
|
I just committed the MantaModulizer-plugin. In concordance with the BodyBuilder module and the 3rd party plugins_plus (http://wiki.pluginaweek.org/Plugins_plus) plugin this enables us to further develop Manta in almost a perfect aspect-oriented way...! In the main layout there were included a @left_body, @right_body and @header_body. These now can be filled also from modules. Like the geo_user module (/vendor/plugins/geo_user), which now contains the google-maps user-location logic (not all is extracted yet, but enough to give you an idea)... Simply add a method to the left body from a controller like: left_body :my_new_method And then it will be appended to the @left_body variable that is shown in the view. Models, Controllers, Helpers and Views can be added in a tree simmilar to the main application-tree, but inside the plugin's lib-dir. So /vendor/plugins/geo_user/lib/app/models/user.rb contains the model- data that is automatically added to the main user-class on reload. I will be adding some more documentation to the modules later this week... --- The developer-snapshot has also been fixed for Linux. A dependency was missing and the ferret-check failed due to a change in Rails. These are fixed now. For now I won't be testing with windows as I think there will be too much that might need changing (also in libraries) for that... greetings, Wybo |