Extension Infrastructure: Recent Achievements and Future Prospects


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Extension Infrastructure: Recent Achievements and Future Prospects

    1. 1. Extensions Infrastructure Recent Achievements and Future Prospects <ul><li>Joachim Lingner </li></ul><ul><ul><li>Software Engineer </li></ul></ul><ul><ul><ul><li>Sun Microsystems </li></ul></ul></ul>
    2. 2. About the speaker <ul><li>Started working as software engineer at Sun Microsystems in 1999 </li></ul><ul><li>Also began working on StarOffice at the same time </li></ul><ul><li>Involved in UNO development </li></ul><ul><li>Currently focused on developing the Extension Manager </li></ul>
    3. 3. Content <ul><li>Renaming of Package Manager </li></ul><ul><li>Extension identifier </li></ul><ul><li>Extension versioning </li></ul><ul><li>System integration </li></ul><ul><li>Options pages </li></ul><ul><li>Online update </li></ul><ul><li>Extensions repository </li></ul><ul><li>Future plans </li></ul>
    4. 4. Renaming of Package Manager <ul><li>Renaming “Package Manager” to “Extension Manager” and </li></ul><ul><li>“UNO Package Bundle” to “Extension” </li></ul>
    5. 5. Renaming of Package Manager Motivation <ul><li>“Extension” widely used, old name did not stick </li></ul><ul><li>Content can also be data with no relation to UNO </li></ul><ul><li>An extension is a container for code and data and it must be deployed by the Extension Manager </li></ul>
    6. 6. Extension Identifier <ul><li>File names need not be unique anymore – shorter names possible </li></ul><ul><li>Files with short names are easier to handle and </li></ul><ul><li>Shorter file names are better displayed in the dialog </li></ul><ul><li>Different extensions with the same file name can be installed </li></ul>
    7. 7. Extension Identifier <ul><li>The identifier is determined by the description.xml </li></ul><ul><li>Use “Reversed Domain Name Scheme” to ensure uniqueness </li></ul>
    8. 8. Versioning <ul><li>New “Version” column </li></ul><ul><li>Needed for online update </li></ul>
    9. 9. Versioning <ul><li>Only one version of an extension can be installed (per user and shared layer) </li></ul><ul><li>Helpful messages when installing </li></ul>
    10. 10. Versioning <ul><li>The version is determined by the description.xml </li></ul>
    11. 11. System Integration <ul><li>Easier recognition by using an icon for .oxt files </li></ul>
    12. 12. System Integration <ul><li>Easier installation </li></ul>
    13. 13. System Integration <ul><li>Extension Manager GUI is used for installing </li></ul>
    14. 14. Options Pages <ul><li>Extensions may use the options dialog for their settings </li></ul><ul><li>All options in one dialog, no separate menus </li></ul><ul><li>Seamless integration in application settings </li></ul>
    15. 15. Options Pages <ul><li>Extensions can define new nodes </li></ul><ul><li>Nodes can appear for particular modules or always </li></ul>
    16. 16. Options Pages What is Required <ul><li>A tab-page, can be created with the dialog editor of OOo </li></ul><ul><li>Configuration data describing the leaves and nodes, etc. </li></ul><ul><li>An UNO service that takes care of loading and saving the data </li></ul><ul><li>Configuration files (.xcs, .xcu) for the data of the option pages </li></ul>
    17. 17. Online Update <ul><li>User friendly way of getting and installing updates </li></ul><ul><li>User starts the update </li></ul><ul><li>Get an update for a selected extension or for all extensions </li></ul>
    18. 18. Online Update Getting Update Information <ul><li>Extension Manager needs information to determine if updates are available </li></ul><ul><li>description.xml may contain a URL </li></ul><ul><li>Build-in URL, which is used in case the extension does not provide one </li></ul><ul><li>URLs can </li></ul><ul><ul><li>directly refer to a file or </li></ul></ul><ul><ul><li>trigger the generation of update information by the web server </li></ul></ul><ul><li>Bundling of multiple update information in an atom feed </li></ul>
    19. 19. Online Update Content of Update Information <ul><li>Identifier </li></ul><ul><li>Version </li></ul><ul><li>Dependencies </li></ul><ul><li>Download URL </li></ul>
    20. 20. Online Update Update Dialog
    21. 21. Online Update Security <ul><li>Currently users must trust the connection and source </li></ul><ul><li>HTTPS is in development </li></ul><ul><li>Digital signatures are planned </li></ul>
    22. 22. Extension Repository <ul><li>Link to repository within the Extension Manager </li></ul>
    23. 23. Extension Repository <ul><li>http://extensions.services.openoffice.org </li></ul><ul><li>Hosted by the Open Source Lab (OSL), a facility of the Oregon State University </li></ul><ul><li>No costs for the publishers of extensions </li></ul><ul><li>Free and commercial extensions </li></ul><ul><li>No payment system available, but </li></ul><ul><li>Downloads can be hosted at external sites (which may support payments) </li></ul><ul><li>Supports the online update feature of the Extension Manager </li></ul>
    24. 24. Future Plans <ul><li>Allow semi-automatic update through web site </li></ul><ul><li>Automatic notification about updates (combined with office) </li></ul><ul><li>Provide information about new extensions (from repository) </li></ul><ul><li>Support of https </li></ul><ul><li>Digital signatures </li></ul><ul><li>GUI redesign </li></ul><ul><li>Bundled Extensions </li></ul><ul><li>Improve NetBeans OpenOffice.org API Plugin </li></ul><ul><li>More UNO AWT controls (grid control) </li></ul><ul><li>... </li></ul>
    25. 25. <ul><li>Joachim Lingner </li></ul><ul><ul><li>[email_address] </li></ul></ul>Extensions Infrastructure Recent Achievements and Future Prospects Questions?