PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

30
PX development Mikael Nordberg & Petros Likidis Statistics Sweden

Transcript of PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Page 1: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

PX development

Mikael Nordberg & Petros Likidis

Statistics Sweden

Page 2: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Parts of the presentation

• Part 1 – development since the last meeting• Part 2 – Demo of PX-Web 2012• Part 3 – Future development• Part 4 – Demo PX-Web customization• Part 5 – Q and A

Page 3: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Development since Switzerland

Page 4: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Integration of web controls into Statistics Swedens Statistical database

• Use the PX Web controls on the web site of Statistics Sweden (EpiServer)

• A number of improvements of the web controls

Page 5: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Menu• The TableOfContent web control (Menu tree) is loaded dynamically

• StartNode property (only display a specific branch of the tree)

• ExpandNode property (Specified node will be expanded by default)

• UrlLinkMode property (display URL links as tree nodes or as images)

Page 6: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Selection of variables and values

Content variable

 • Changed how the content variable is displayed• If there is a content variable it is always displayed as the first variable• Hides the content variable if it only contains one value and the ”Remove

Single Content” setting is set to true

Page 7: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Aggregations and valuesets• Variable name is not added to dropdownlist when variable has

valuesets or aggregations• Aggregation name displayed together with variable name after

aggregation selection• New property ValuesetMustBeSelectedFirst. If set to true

valueset must be selected before selection of values can be made

Page 8: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Search values• Search results displayed in grid with paging • Possibility to show all values

Page 9: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Table• Cropped table

• MaxRows and MaxColumns properties• Information displayed when table is cropped• Supports pivot operation

Page 10: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Information

• Added new keyword OFFICIAL-STATISTICS• Displays information about official statistics in the

Information web control

Page 11: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Support for logging user behavior

• Added PxAction event to the VariableSelector and CommandBar web controls

• Fired when operation is executed, presentation view selected or table saved to file

• Event arguments:

• ActionType

• Operation

• Presentation view

• Save as

• ActionName (operation-/presentation-/file format ID)

• TableId

• NumberOfCells

• NumberOfContents

Page 12: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Other…

• W3C compliance for web controls• Per cent operation optimized• PRN file format renamed to CSV• PX-Web:

• Removed the generation of Menu.xml for CNMM databases

• Support for multiple CNMM databases

• General handling and logging of application errors

• Improved handling of settings in settings.config

• Added Custom.css where changes to the default style sheets shall be defined

Page 13: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Testing of PX-Web

• Load tests• Memory leak discovered and was fixed before

version 1.0 of PX-Web

• Security tests• Security tests performed by external company

• Mission: Try to hack the application!

• Result: Security is very good• Could not gain any unauthorized access to the system

• Could not make the application unavailable by sending incorrectly formatted data to the application

Page 14: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Security tests • Positive

• Uses built-in security in ASP.NET• The IP-filter is effective – Should be used!

• Considerations• Possible to access PX-files that are not accessible from

the menu (PX-files that are located in another directory).• Only PX-files are affected

• Only one administration account• Will be implemented in later version

• Manipulation of the rxid parameter• Contains no security related information

• Abort processing when IP-filter is activated• Has been fixed

• Potentially vulnerable code in PCAxis.Sql• Will be fixed by Statistics Norway

Page 15: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

PX-Web 2011

• First version of the new PX-Web was released this year!

Page 16: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

PX-Web 2012

• Added one more feauture charting• Beta 1 was released this Monday• We have defined a new concept, views

• Restructured the settings in the administration interface.

Page 17: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Views

Page 18: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Views continued

Views could be consider as diffrent perspectives of the data• Table• Chart• Footnotes• Other metadata

Page 19: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Demo

PX-Web 2012

Page 20: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Future development

Page 21: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

What is going on right now?

• Attributes on cell level• API:s• New version of the Nordic Data Model 2.3

Page 22: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Ideas for the future

• Customization manual• New selection page• Input from you from this meeting and from the mail

group

Page 23: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Basic layout

Page 24: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Filter

Page 25: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Codes

Page 26: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Long texts

Page 27: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Pageing

Page 28: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Footnotes

Page 29: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Demo

customization of PX-Web

Page 30: PX development Mikael Nordberg & Petros Likidis Statistics Sweden.

Q & A