[ensembl-dev] Changes to web code in release 60
Anne Parker
ap5 at sanger.ac.uk
Tue Nov 9 16:22:01 GMT 2010
Please note: the following changes only affect users who develop
plugin code for Ensembl. Standard mirrors and API usage are unaffected.
MVC structure
-------------------
Changes have been made to the low-level code in order to more closely
adhere to the MVC design pattern. This does not affect higher-level
customisations such as those based on EnsEMBL::Web::Component, but may
affect developers who hack the underlying modules. More information
can be found in the online documentation:
http://www.ensembl.org/info/docs/webcode/extend/index.html
Templating
---------------
The modules used to create the page template have been moved from
EnsEMBL::Web::Document::HTML to EnsEMBL::Web::Document::Element. If
you modify the Ensembl page template in your plugin, you will need to
move your files to this new namespace, change each 'render' method to
'content' and alter it to return an HTML string instead of calling the
print method.
Modules that create dynamic content within a static page (e.g. news,
ftp tables) remain in the old namespace.
If you have any questions about these or other webcode changes, please
do reply to this list and we will endeavour to help!
Cheers
Anne
Anne Parker
Ensembl Web Production Manager
http://www.ensembl.org
More information about the Dev
mailing list