PX development

Post on 25-Feb-2016

46 views 1 download

Tags:

description

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. Development since Switzerland. - PowerPoint PPT Presentation

Transcript of PX development

PX development

Mikael Nordberg & Petros LikidisStatistics 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

Development since Switzerland

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

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)

Selection of variables and valuesContent 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

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

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

Table• Cropped table

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

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

Information web control

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

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

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

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

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

year!

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.

Views

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

Demo

PX-Web 2012

Future development

What is going on right now?• Attributes on cell level• API:s• New version of the Nordic Data Model 2.3

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

group

Basic layout

Filter

Codes

Long texts

Pageing

Footnotes

Demo

customization of PX-Web

Q & A