25
Extensions Infrastructure Recent Achievements and Future Prospects Joachim Lingner Software Engineer Sun Microsystems

Extension Infrastructure: Recent Achievements and Future Prospects

Embed Size (px)

Citation preview

Page 1: Extension Infrastructure: Recent Achievements and Future Prospects

Extensions Infrastructure

Recent Achievements and Future Prospects

Joachim LingnerSoftware EngineerSun Microsystems

Page 2: Extension Infrastructure: Recent Achievements and Future Prospects

2

About the speaker

• Started working as software engineer at Sun Microsystems in 1999

• Also began working on StarOffice at the same time• Involved in UNO development• Currently focused on developing the Extension Manager

Page 3: Extension Infrastructure: Recent Achievements and Future Prospects

3

Content

• Renaming of Package Manager • Extension identifier• Extension versioning• System integration• Options pages• Online update• Extensions repository• Future plans

Page 4: Extension Infrastructure: Recent Achievements and Future Prospects

4

Renaming of Package Manager

• Renaming “Package Manager” to “Extension Manager” and

• “UNO Package Bundle” to “Extension”

Page 5: Extension Infrastructure: Recent Achievements and Future Prospects

5

Renaming of Package ManagerMotivation

• “Extension” widely used, old name did not stick• Content can also be data with no relation to UNO• An extension is a container for code and data and it

must be deployed by the Extension Manager

Page 6: Extension Infrastructure: Recent Achievements and Future Prospects

6

Extension Identifier

• File names need not be unique anymore – shorter names possible

• Files with short names are easier to handle and • Shorter file names are better displayed in the dialog• Different extensions with the same file name can be

installed

Page 7: Extension Infrastructure: Recent Achievements and Future Prospects

7

Extension Identifier

• The identifier is determined by the description.xml• Use “Reversed Domain Name Scheme” to ensure

uniqueness

Page 8: Extension Infrastructure: Recent Achievements and Future Prospects

8

Versioning

• New “Version” column• Needed for online update

Page 9: Extension Infrastructure: Recent Achievements and Future Prospects

9

Versioning

• Only one version of an extension can be installed (per user and shared layer)

• Helpful messages when installing

Page 10: Extension Infrastructure: Recent Achievements and Future Prospects

10

Versioning

• The version is determined by the description.xml

Page 11: Extension Infrastructure: Recent Achievements and Future Prospects

11

System Integration

• Easier recognition by using an icon for .oxt files

Page 12: Extension Infrastructure: Recent Achievements and Future Prospects

12

System Integration

• Easier installation

Page 13: Extension Infrastructure: Recent Achievements and Future Prospects

13

System Integration

• Extension Manager GUI is used for installing

Page 14: Extension Infrastructure: Recent Achievements and Future Prospects

14

Options Pages

• Extensions may use the options dialog for their settings• All options in one dialog, no separate menus • Seamless integration in application settings

Page 15: Extension Infrastructure: Recent Achievements and Future Prospects

15

Options Pages

• Extensions can define new nodes• Nodes can appear for particular modules or always

Page 16: Extension Infrastructure: Recent Achievements and Future Prospects

16

Options PagesWhat is Required

• A tab-page, can be created with the dialog editor of OOo• Configuration data describing the leaves and nodes, etc.• An UNO service that takes care of loading and saving the

data• Configuration files (.xcs, .xcu) for the data of the option

pages

Page 17: Extension Infrastructure: Recent Achievements and Future Prospects

17

Online Update

• User friendly way of getting and installing updates• User starts the update• Get an update for a selected extension or for all

extensions

Page 18: Extension Infrastructure: Recent Achievements and Future Prospects

18

Online UpdateGetting Update Information

• Extension Manager needs information to determine if updates are available

• description.xml may contain a URL• Build-in URL, which is used in case the extension does

not provide one• URLs can

> directly refer to a file or> trigger the generation of update information by the web server

• Bundling of multiple update information in an atom feed

Page 19: Extension Infrastructure: Recent Achievements and Future Prospects

19

Online UpdateContent of Update Information

• Identifier• Version• Dependencies• Download URL

Page 20: Extension Infrastructure: Recent Achievements and Future Prospects

20

Online UpdateUpdate Dialog

Page 21: Extension Infrastructure: Recent Achievements and Future Prospects

21

Online UpdateSecurity

• Currently users must trust the connection and source• HTTPS is in development• Digital signatures are planned

Page 22: Extension Infrastructure: Recent Achievements and Future Prospects

22

Extension Repository

• Link to repository within the Extension Manager

Page 23: Extension Infrastructure: Recent Achievements and Future Prospects

23

Extension Repository

• http://extensions.services.openoffice.org• Hosted by the Open Source Lab (OSL), a facility of the

Oregon State University• No costs for the publishers of extensions• Free and commercial extensions• No payment system available, but• Downloads can be hosted at external sites (which may

support payments) • Supports the online update feature of the Extension

Manager

Page 24: Extension Infrastructure: Recent Achievements and Future Prospects

24

Future Plans

• Allow semi-automatic update through web site

• Automatic notification about updates (combined with office)

• Provide information about new extensions (from repository)

• Support of https

• Digital signatures

• GUI redesign

• Bundled Extensions

• Improve NetBeans OpenOffice.org API Plugin

• More UNO AWT controls (grid control)

• ...

Page 25: Extension Infrastructure: Recent Achievements and Future Prospects

Joachim [email protected]

Extensions Infrastructure

Recent Achievements and Future Prospects

Questions?