Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
reference:extensions [2014/01/03 15:45] – external edit 127.0.0.1 | user_guide:extend:extensions [2019/01/29 21:46] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Starting an own extension ===== | ===== Starting an own extension ===== | ||
- | - Choose a location on your computer (or a network share) where you have write permissions; | + | - Choose a location on your computer (or a network share) where you have write permissions; |
- In an interactive polymake session, execute the commands:\\ '' | - In an interactive polymake session, execute the commands:\\ '' | ||
Line 81: | Line 81: | ||
In the case of a large team working together on an extension individual contributions may still be distinguished by usual | In the case of a large team working together on an extension individual contributions may still be distinguished by usual | ||
- | [[reference: | + | [[user_guide: |
===== Managing changes in data model ===== | ===== Managing changes in data model ===== | ||
Line 113: | Line 113: | ||
When polymake loads a very old data file lying behind several version bumps, all transformations between its version and the current version are applied in the proper (ascending) order; thus each transformation stylesheet should only contain converting operations specific for a single version bump. | When polymake loads a very old data file lying behind several version bumps, all transformations between its version and the current version are applied in the proper (ascending) order; thus each transformation stylesheet should only contain converting operations specific for a single version bump. | ||
+ | ===== Writing testcases ==== | ||
+ | |||
+ | It is always a good idea - especially if your extension is large - to write unit tests for your code. Those are essentially small examples which test individual rules and functions. One advantage of this is that you will quickly notice if a change in your code (or in a new polymake release) breaks something in your extension. Polymake offers a convenient set of tools for this, you can find a full description [[dev_corner: | ||
===== Using other people' | ===== Using other people' | ||
Line 125: | Line 128: | ||
===== Relations between extensions ===== | ===== Relations between extensions ===== | ||
- | Extensions may build upon each other, establishing dependence relations similar to software packages installed on your computer. | + | Extensions may build upon each other, establishing dependence relations similar to software packages installed on your computer. |
? '' | ? '' |