SlideShare ist ein Scribd-Unternehmen logo
1 von 15
]po[ Developers: Reporting,
Indicators & Dashboards
Frank Bergmann, 2013-04-06
This tutorial explains various options on how to extract and
display information from ]project-open[.
Different Types
of Reports
Reporting is one of the most basic requirements for a business application.
]project-open[ provides a large variety of different ways to display data with
differing degrees of sophistication and complexity:
 Simple SQL Query in pgAdminIII or PSQL:
Simply execute a SQL query using a PostgreSQL client outside of ]po[
 MS-Access Report:
You can store MS-Access reports in a ]po[ filestorage or even link to it using a “menu”
 MS-Excel Report:
You can define the ]po[ database as a data-source for MS-Excel.
 im_ad_hoc_query $sql in /ds/shell:
Useful for ad-hoc queries and for development.
 im_ad_hoc_query $sql in a TCL page:
Easy way to deploy an ad-hoc query in a production system. You can also add a menu to the
reporting section.
 Dynamic Report (Reporting -> New Report):
Similar to ad-hoc query, but with built-in deployment.
 ]po[ HTML Reporting Engine:
The ]po[ reporting engine allows for grouping, aggregation, sub-totals and grand totals.
 ]po[ OpenOffice “PowerPoint” Reporting Engine:
This reporting engine allows to create OpenOffice Impress (PowerPoint) slides based on templates.
 Indicator:
A special type of report that returns only a single numeric value. ]po[ takes care to regularly evaluate
the SQL query and to store the values to create a timeline.
 Histogram Chart:
A histogram is a Portlet that takes a SQL query as an argument. The query needs to return rows
with Name – Value pairs.
 Data-Warehouse Cube:
DW-Cubes may already cover your reporting needs. You can aggregate by drop-down type of
DynFields.
 Pie Chart based on DW-Cube:
You can show a pie chart of the summary of a DW cube.
 Sencha Charts:
You can setup a “cron” script to save report results as a static HTML page at night.
 Nightly Evaluation of Long Running Reports:
You can setup a “cron” script to save report results as a static HTML page at night.
Simple SQL Query in pgAdminIII or PSQL
 pgAdminIII allows you to execute SQL
queries manually.
 pgAdminIII allows to save SQL queries
in .sql files
 Advantages:
– Quick development
– Integrated with tree-view to
the database, tables, views etc.
 Disadvantages:
– Requires manual execution
MS-Access
Report
You can use Microsoft Access as a reporting engine:
 MS-Access can access the ]project-
open[ PostgreSQL database without problems
 You can use all available MS-Access tools to develop
your reports
 Advantages:
– Comfortable development tools
– Easy entry for beginners
 Disadvantages
– Security issues if every computer has full access to the
database. As an alternative, you could report on certain
views only with restricted permissions.
– Every computer needs a PostgreSQL ODBC installed
locally
MS-Excel
Report
You can use Microsoft Excel as a reporting engine:
 MS-Excel can access the ]project-open[ PostgreSQL
database without problems
 You can use all available MS-Excel tools to develop
your reports, including pivot tables and Excel macros.
 Advantages:
– Comfortable development tools
– Easy entry for beginners
– Excel allows for complex post-processing of data in
separate sheets
– Pivot tables allow for data-warehouse like reports
 Disadvantages
– Limitation of the number of rows
– Security issues if every computer has full access to the
database. As an alternative, you could report on certain
views only with restricted permissions.
– Every computer needs a PostgreSQL ODBC installed
locally
im_ad_hoc_query $sql in /ds/shell
 The ]project-open[/OpenACS /ds/shell page
allows developers to execute TCL commands
interactively
 The “im_ad_hoc_query $sql” TCL command
takes a SQL query and returns the results in
“html”, “csv” or “plain” format
 Advantages:
– Well suitable for ad-hoc queries
– Integrated into ]project-open[
– Working queries can be easily deployed (see
later reporting options)
 Disadvantages:
– /ds/shell requires manual execution
– im_ad_hoc_query does not support aggregation
and parameters.
im_ad_hoc_query $sql in a TCL page
 Once your query is running in the /ds/shell
environment, you can easily deploy the report as
a ]project-open[ page.
 The example below shows how to include the
“im_ad_hoc_query” statement into a “.ADP”
page.
 You may then create a new menu item in the ]
po[ reporting section (Admin -> Menus -> Create
New Menu) in order to integrate the new report
into the rest of the system.
 Advantage:
– Easy deployment of reports developed in /ds/shell
– Integrated with the rest of the ]po[ environment
 Disadvantages:
– im_ad_hoc_query doesn’t support grouping and
sub-totals
– No security. You will have to add security checks
manually.
Dynamic Report (Reporting -> New Report)
 Administrators can create new reports in
Reporting -> New Report
 These “dynamic reports” behave just like
im_ad_hoc_query.
 Advantages:
– Dynamic Reports automatically create a menu
item for you that links to the report and allow to
manage permissions
– Dynamic Reports allow you to export the data in
CSV format.
 Disadvantages:
– Like all im_ad_hoc_query based reports: No
grouping and sub-totals.
]po[ HTML Reporting Engine
 The ]po[ reporting engine allows to
create arbitrarily complex reports in
a style similar to MS-Access and
Crystal Reports.
 Advantages:
– Allows for group, sub-totals and
totals
– Allows for parameters
– Allows for different “Levels of Detail”
– Allows for “drill-down”. Clicking on
one of the [+] icons will show a
more details view
 Disadvantages:
– Requires considerable TCL
programming skills
Indicators
 Indicators are a special type of “report”
that only returns a single numeric value.
 ]po[ takes care to regularly evaluate the
SQL query and to store the values to
create a timeline.
 Indicators allow for permissions per
indicator, so you can limit the visibility to
certain user groups.
 Advantages:
– Allows to build management dashboards,
balanced scorecards etc.
 Disadvantages:
– Only suitable for certain reporting
purposes
– It is very difficult to develop indicators that
are really relevant to a business.
Histogram Chart
 A histogram chart is a simple “Portlet
Component” that takes a SQL query as a
parameter.
 The query needs to return two columns
only:
– A name (here: ticket_type)
– A number (here: count)
 Advantages:
– Easy to develop
– Easy to integrate into existing pages in ]
po[
 Disadvantages:
– Limited reporting capabilities
Data-Warehouse Cube
 ]po[ includes an integrated Data-
Warehouse as a commercial add-on
package.
 “Cubes” are capable of aggregating data
along many “dimensions”.
 Advantages:
– One DW-cube can replace tens of separate
reports.
– DW-cubes allow the user to “slice and dice”
data
– DynFields (drop-down) can be used as
“dimensions” in a DW. For example, a
“Business Sector” DynField per customer
will automatically appear in the Finance
cube.
– Seamlessly integrated into ]po[
 Disadvantages:
– Commercial package, license costs.
– Only numeric values can be shown in a DW
Pie Chart Based on DW-Cube
 Pie charts can take a “sum”
column of a data-warehouse
cube as a data-source.
 Advantages:
– Easy creation of pie charts
 Disadvantages:
– Data can only be extracted
from existing DW-cubes.
Nightly
Evaluation of
Long Running
Reports
 Reports frequently can take several seconds or
even minutes to execute.
 One way to provide users with a more agile reply is
to pre-evaluate reports (at night) and to provide the
results as a static HTML page to the user.
 The following command will execute the
“report.adp” and store the results as a static HTML
page:
– wget http://localhost/report -o ~/www/report.html
 Advantages:
– Fast response time
– The static HTML page still provides drill-in
capabilities.
 Disadvantages:
– Extra effort to schedule the evaluation
– Scheduling many reports may lead to overlaps at
night
Frank Bergmann
frank.bergmann@project-open.com
www.project-open.com

Weitere ähnliche Inhalte

Was ist angesagt?

]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3Klaus Hofeditz
 
Hidden tables of sap business objects planning and consolidation
Hidden tables of sap business objects planning and consolidationHidden tables of sap business objects planning and consolidation
Hidden tables of sap business objects planning and consolidationdaniyariskakov
 
Towards Requirements Management Issues in Excel
Towards Requirements Management Issues in ExcelTowards Requirements Management Issues in Excel
Towards Requirements Management Issues in ExcelEccam
 
WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)Prashanth Shivakumar
 
Oracle apps online training
Oracle apps online trainingOracle apps online training
Oracle apps online trainingSekhar Byna
 
Oracle forms developer 10g vol1
Oracle forms developer 10g vol1Oracle forms developer 10g vol1
Oracle forms developer 10g vol1abdull466
 
Oracle D2K reports
Oracle D2K reports Oracle D2K reports
Oracle D2K reports Rajesh Ch
 
Flex 3 - Introduction
Flex 3 - IntroductionFlex 3 - Introduction
Flex 3 - Introductionrakhtar
 
Application engine
Application engineApplication engine
Application engineJAYAARC
 
Exploring Layouts and Providers
Exploring Layouts and ProvidersExploring Layouts and Providers
Exploring Layouts and Providerssenthil0809
 
Application Architechture
Application ArchitechtureApplication Architechture
Application ArchitechtureNikhil Kulkarni
 
Ideas In Wincc Toolset
Ideas In Wincc ToolsetIdeas In Wincc Toolset
Ideas In Wincc Toolsetx yx
 
Features: safely deploying your site
Features: safely deploying your siteFeatures: safely deploying your site
Features: safely deploying your siteJoão Ventura
 
Introduction to the features module
Introduction to the features moduleIntroduction to the features module
Introduction to the features moduleJoão Ventura
 
]project-open[ Budget Planning and Tracking
]project-open[ Budget Planning and Tracking]project-open[ Budget Planning and Tracking
]project-open[ Budget Planning and TrackingKlaus Hofeditz
 
J2ee connector architecture
J2ee connector architectureJ2ee connector architecture
J2ee connector architectureSubhasis Nayak
 
Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012daniel plocker
 
Oracle Forms Introduction
Oracle Forms IntroductionOracle Forms Introduction
Oracle Forms IntroductionSekhar Byna
 

Was ist angesagt? (20)

]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3
 
Hidden tables of sap business objects planning and consolidation
Hidden tables of sap business objects planning and consolidationHidden tables of sap business objects planning and consolidation
Hidden tables of sap business objects planning and consolidation
 
Towards Requirements Management Issues in Excel
Towards Requirements Management Issues in ExcelTowards Requirements Management Issues in Excel
Towards Requirements Management Issues in Excel
 
XML Unit 01
XML Unit 01XML Unit 01
XML Unit 01
 
WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)
 
Oracle apps online training
Oracle apps online trainingOracle apps online training
Oracle apps online training
 
Oracle forms developer 10g vol1
Oracle forms developer 10g vol1Oracle forms developer 10g vol1
Oracle forms developer 10g vol1
 
Visual basic databases
Visual basic databasesVisual basic databases
Visual basic databases
 
Oracle D2K reports
Oracle D2K reports Oracle D2K reports
Oracle D2K reports
 
Flex 3 - Introduction
Flex 3 - IntroductionFlex 3 - Introduction
Flex 3 - Introduction
 
Application engine
Application engineApplication engine
Application engine
 
Exploring Layouts and Providers
Exploring Layouts and ProvidersExploring Layouts and Providers
Exploring Layouts and Providers
 
Application Architechture
Application ArchitechtureApplication Architechture
Application Architechture
 
Ideas In Wincc Toolset
Ideas In Wincc ToolsetIdeas In Wincc Toolset
Ideas In Wincc Toolset
 
Features: safely deploying your site
Features: safely deploying your siteFeatures: safely deploying your site
Features: safely deploying your site
 
Introduction to the features module
Introduction to the features moduleIntroduction to the features module
Introduction to the features module
 
]project-open[ Budget Planning and Tracking
]project-open[ Budget Planning and Tracking]project-open[ Budget Planning and Tracking
]project-open[ Budget Planning and Tracking
 
J2ee connector architecture
J2ee connector architectureJ2ee connector architecture
J2ee connector architecture
 
Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012Client Object Model - SharePoint Extreme 2012
Client Object Model - SharePoint Extreme 2012
 
Oracle Forms Introduction
Oracle Forms IntroductionOracle Forms Introduction
Oracle Forms Introduction
 

Andere mochten auch

]project-open[ Screenshots
]project-open[ Screenshots ]project-open[ Screenshots
]project-open[ Screenshots Klaus Hofeditz
 
Po workflow-tutorial-1-overview.100603
Po workflow-tutorial-1-overview.100603Po workflow-tutorial-1-overview.100603
Po workflow-tutorial-1-overview.100603Klaus Hofeditz
 
]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4Klaus Hofeditz
 
]project-open[ Workflow Developer Tutorial Part 2
]project-open[ Workflow Developer Tutorial Part 2]project-open[ Workflow Developer Tutorial Part 2
]project-open[ Workflow Developer Tutorial Part 2Klaus Hofeditz
 
]project-open[ OSS Project Mangement
]project-open[ OSS Project Mangement]project-open[ OSS Project Mangement
]project-open[ OSS Project MangementKlaus Hofeditz
 
The ]project-open[ Community
The ]project-open[ CommunityThe ]project-open[ Community
The ]project-open[ CommunityKlaus Hofeditz
 
]project-open[ Data-Model 100511b
]project-open[ Data-Model 100511b]project-open[ Data-Model 100511b
]project-open[ Data-Model 100511bKlaus Hofeditz
 
Digitization of the audio, video and film collections. Patrick Monette, Media...
Digitization of the audio, video and film collections. Patrick Monette, Media...Digitization of the audio, video and film collections. Patrick Monette, Media...
Digitization of the audio, video and film collections. Patrick Monette, Media...FIAT/IFTA
 
How to choose the right graph pie charts
How to choose the right graph   pie chartsHow to choose the right graph   pie charts
How to choose the right graph pie chartsMilena Marin
 
]project-open[ Timesheet Project Invoicing
]project-open[ Timesheet Project Invoicing]project-open[ Timesheet Project Invoicing
]project-open[ Timesheet Project InvoicingKlaus Hofeditz
 
4 Structure Cabling System Design
4 Structure Cabling System Design4 Structure Cabling System Design
4 Structure Cabling System DesignMrirfan
 
Geographical Skills
Geographical SkillsGeographical Skills
Geographical Skillsclemaitre
 

Andere mochten auch (14)

]project-open[ Screenshots
]project-open[ Screenshots ]project-open[ Screenshots
]project-open[ Screenshots
 
Po workflow-tutorial-1-overview.100603
Po workflow-tutorial-1-overview.100603Po workflow-tutorial-1-overview.100603
Po workflow-tutorial-1-overview.100603
 
]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4
 
]project-open[ Workflow Developer Tutorial Part 2
]project-open[ Workflow Developer Tutorial Part 2]project-open[ Workflow Developer Tutorial Part 2
]project-open[ Workflow Developer Tutorial Part 2
 
]project-open[ OSS Project Mangement
]project-open[ OSS Project Mangement]project-open[ OSS Project Mangement
]project-open[ OSS Project Mangement
 
The ]project-open[ Community
The ]project-open[ CommunityThe ]project-open[ Community
The ]project-open[ Community
 
]project-open[ Data-Model 100511b
]project-open[ Data-Model 100511b]project-open[ Data-Model 100511b
]project-open[ Data-Model 100511b
 
Digitization of the audio, video and film collections. Patrick Monette, Media...
Digitization of the audio, video and film collections. Patrick Monette, Media...Digitization of the audio, video and film collections. Patrick Monette, Media...
Digitization of the audio, video and film collections. Patrick Monette, Media...
 
LibrePlan Audiovisual documentation
LibrePlan Audiovisual documentationLibrePlan Audiovisual documentation
LibrePlan Audiovisual documentation
 
How to choose the right graph pie charts
How to choose the right graph   pie chartsHow to choose the right graph   pie charts
How to choose the right graph pie charts
 
]project-open[ Timesheet Project Invoicing
]project-open[ Timesheet Project Invoicing]project-open[ Timesheet Project Invoicing
]project-open[ Timesheet Project Invoicing
 
Libreplan presentation 2012
Libreplan presentation 2012Libreplan presentation 2012
Libreplan presentation 2012
 
4 Structure Cabling System Design
4 Structure Cabling System Design4 Structure Cabling System Design
4 Structure Cabling System Design
 
Geographical Skills
Geographical SkillsGeographical Skills
Geographical Skills
 

Ähnlich wie ]po[ Developers: Reporting, Indicators & Dashboards

]project-open[ Reporting & Indicators Options
]project-open[ Reporting & Indicators Options]project-open[ Reporting & Indicators Options
]project-open[ Reporting & Indicators OptionsKlaus Hofeditz
 
Crystal Reports Review
Crystal Reports ReviewCrystal Reports Review
Crystal Reports ReviewJustin R. Rue
 
Sage MAS Intelligence vs. Biz Insights
Sage MAS Intelligence vs. Biz InsightsSage MAS Intelligence vs. Biz Insights
Sage MAS Intelligence vs. Biz InsightsJeffrey Paulette
 
Prodev Solutions Intro
Prodev Solutions IntroProdev Solutions Intro
Prodev Solutions IntrolarryATprodev
 
Microsoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business CentralMicrosoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business CentralRoberto Stefanetti
 
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginnersSQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginnersTobias Koprowski
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperKarthik Reddy
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperKarthik Reddy
 
Industrial training project ppt of online shopping
Industrial training project ppt of online  shoppingIndustrial training project ppt of online  shopping
Industrial training project ppt of online shoppinganil kumar
 
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...Senturus
 
Foundry Management System Desktop Application
Foundry Management System Desktop Application Foundry Management System Desktop Application
Foundry Management System Desktop Application Dharmendra Sid
 
BI 2008 Simple
BI 2008 SimpleBI 2008 Simple
BI 2008 Simplellangit
 
Shield UI JavaScript Chart
Shield UI JavaScript ChartShield UI JavaScript Chart
Shield UI JavaScript ChartJStoikov
 
Professional Portfolio
Professional PortfolioProfessional Portfolio
Professional PortfolioMoniqueO Opris
 
CubeView is a browser based Business Analytical reporting tool OLAP Dashboard
CubeView is a browser based Business Analytical reporting tool OLAP DashboardCubeView is a browser based Business Analytical reporting tool OLAP Dashboard
CubeView is a browser based Business Analytical reporting tool OLAP Dashboardhitforseo
 
Balamurugan msbi cv
Balamurugan msbi cvBalamurugan msbi cv
Balamurugan msbi cvbala murugan
 

Ähnlich wie ]po[ Developers: Reporting, Indicators & Dashboards (20)

]project-open[ Reporting & Indicators Options
]project-open[ Reporting & Indicators Options]project-open[ Reporting & Indicators Options
]project-open[ Reporting & Indicators Options
 
Crystal Reports Review
Crystal Reports ReviewCrystal Reports Review
Crystal Reports Review
 
Sage MAS Intelligence vs. Biz Insights
Sage MAS Intelligence vs. Biz InsightsSage MAS Intelligence vs. Biz Insights
Sage MAS Intelligence vs. Biz Insights
 
Prodev Solutions Intro
Prodev Solutions IntroProdev Solutions Intro
Prodev Solutions Intro
 
Qlikview online training
Qlikview online trainingQlikview online training
Qlikview online training
 
BizViz - CA PPM Analytics
BizViz - CA PPM AnalyticsBizViz - CA PPM Analytics
BizViz - CA PPM Analytics
 
Power bi
Power biPower bi
Power bi
 
Microsoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business CentralMicrosoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business Central
 
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginnersSQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
SQLSaturday#290_Kiev_AdHocMaintenancePlansForBeginners
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
 
Industrial training project ppt of online shopping
Industrial training project ppt of online  shoppingIndustrial training project ppt of online  shopping
Industrial training project ppt of online shopping
 
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
IBM Cognos Analytics Reporting vs. Dashboarding: Matching Tools to Business R...
 
Foundry Management System Desktop Application
Foundry Management System Desktop Application Foundry Management System Desktop Application
Foundry Management System Desktop Application
 
BI 2008 Simple
BI 2008 SimpleBI 2008 Simple
BI 2008 Simple
 
Shield UI JavaScript Chart
Shield UI JavaScript ChartShield UI JavaScript Chart
Shield UI JavaScript Chart
 
Professional Portfolio
Professional PortfolioProfessional Portfolio
Professional Portfolio
 
CubeView is a browser based Business Analytical reporting tool OLAP Dashboard
CubeView is a browser based Business Analytical reporting tool OLAP DashboardCubeView is a browser based Business Analytical reporting tool OLAP Dashboard
CubeView is a browser based Business Analytical reporting tool OLAP Dashboard
 
Ssrs tutorial
Ssrs tutorialSsrs tutorial
Ssrs tutorial
 
Balamurugan msbi cv
Balamurugan msbi cvBalamurugan msbi cv
Balamurugan msbi cv
 

Mehr von Klaus Hofeditz

Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise ApplicationsSerious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise ApplicationsKlaus Hofeditz
 
]po[ Sencha File-Storage Specs
]po[ Sencha File-Storage Specs]po[ Sencha File-Storage Specs
]po[ Sencha File-Storage SpecsKlaus Hofeditz
 
]project-open[ CVS+ACL Permission Configuration
]project-open[ CVS+ACL Permission Configuration]project-open[ CVS+ACL Permission Configuration
]project-open[ CVS+ACL Permission ConfigurationKlaus Hofeditz
 
]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Workflow Developer Tutorial Part 1]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Workflow Developer Tutorial Part 1Klaus Hofeditz
 
]project-open[ Package Manager
]project-open[ Package Manager]project-open[ Package Manager
]project-open[ Package ManagerKlaus Hofeditz
 
]project-open[ Roll Out Plan
]project-open[ Roll Out Plan]project-open[ Roll Out Plan
]project-open[ Roll Out PlanKlaus Hofeditz
 

Mehr von Klaus Hofeditz (6)

Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise ApplicationsSerious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
Serious Sencha - Using Sencha ExtJS/Touch for Enterprise Applications
 
]po[ Sencha File-Storage Specs
]po[ Sencha File-Storage Specs]po[ Sencha File-Storage Specs
]po[ Sencha File-Storage Specs
 
]project-open[ CVS+ACL Permission Configuration
]project-open[ CVS+ACL Permission Configuration]project-open[ CVS+ACL Permission Configuration
]project-open[ CVS+ACL Permission Configuration
 
]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Workflow Developer Tutorial Part 1]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Workflow Developer Tutorial Part 1
 
]project-open[ Package Manager
]project-open[ Package Manager]project-open[ Package Manager
]project-open[ Package Manager
 
]project-open[ Roll Out Plan
]project-open[ Roll Out Plan]project-open[ Roll Out Plan
]project-open[ Roll Out Plan
 

Kürzlich hochgeladen

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Kürzlich hochgeladen (20)

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

]po[ Developers: Reporting, Indicators & Dashboards

  • 1. ]po[ Developers: Reporting, Indicators & Dashboards Frank Bergmann, 2013-04-06 This tutorial explains various options on how to extract and display information from ]project-open[.
  • 2. Different Types of Reports Reporting is one of the most basic requirements for a business application. ]project-open[ provides a large variety of different ways to display data with differing degrees of sophistication and complexity:  Simple SQL Query in pgAdminIII or PSQL: Simply execute a SQL query using a PostgreSQL client outside of ]po[  MS-Access Report: You can store MS-Access reports in a ]po[ filestorage or even link to it using a “menu”  MS-Excel Report: You can define the ]po[ database as a data-source for MS-Excel.  im_ad_hoc_query $sql in /ds/shell: Useful for ad-hoc queries and for development.  im_ad_hoc_query $sql in a TCL page: Easy way to deploy an ad-hoc query in a production system. You can also add a menu to the reporting section.  Dynamic Report (Reporting -> New Report): Similar to ad-hoc query, but with built-in deployment.  ]po[ HTML Reporting Engine: The ]po[ reporting engine allows for grouping, aggregation, sub-totals and grand totals.  ]po[ OpenOffice “PowerPoint” Reporting Engine: This reporting engine allows to create OpenOffice Impress (PowerPoint) slides based on templates.  Indicator: A special type of report that returns only a single numeric value. ]po[ takes care to regularly evaluate the SQL query and to store the values to create a timeline.  Histogram Chart: A histogram is a Portlet that takes a SQL query as an argument. The query needs to return rows with Name – Value pairs.  Data-Warehouse Cube: DW-Cubes may already cover your reporting needs. You can aggregate by drop-down type of DynFields.  Pie Chart based on DW-Cube: You can show a pie chart of the summary of a DW cube.  Sencha Charts: You can setup a “cron” script to save report results as a static HTML page at night.  Nightly Evaluation of Long Running Reports: You can setup a “cron” script to save report results as a static HTML page at night.
  • 3. Simple SQL Query in pgAdminIII or PSQL  pgAdminIII allows you to execute SQL queries manually.  pgAdminIII allows to save SQL queries in .sql files  Advantages: – Quick development – Integrated with tree-view to the database, tables, views etc.  Disadvantages: – Requires manual execution
  • 4. MS-Access Report You can use Microsoft Access as a reporting engine:  MS-Access can access the ]project- open[ PostgreSQL database without problems  You can use all available MS-Access tools to develop your reports  Advantages: – Comfortable development tools – Easy entry for beginners  Disadvantages – Security issues if every computer has full access to the database. As an alternative, you could report on certain views only with restricted permissions. – Every computer needs a PostgreSQL ODBC installed locally
  • 5. MS-Excel Report You can use Microsoft Excel as a reporting engine:  MS-Excel can access the ]project-open[ PostgreSQL database without problems  You can use all available MS-Excel tools to develop your reports, including pivot tables and Excel macros.  Advantages: – Comfortable development tools – Easy entry for beginners – Excel allows for complex post-processing of data in separate sheets – Pivot tables allow for data-warehouse like reports  Disadvantages – Limitation of the number of rows – Security issues if every computer has full access to the database. As an alternative, you could report on certain views only with restricted permissions. – Every computer needs a PostgreSQL ODBC installed locally
  • 6. im_ad_hoc_query $sql in /ds/shell  The ]project-open[/OpenACS /ds/shell page allows developers to execute TCL commands interactively  The “im_ad_hoc_query $sql” TCL command takes a SQL query and returns the results in “html”, “csv” or “plain” format  Advantages: – Well suitable for ad-hoc queries – Integrated into ]project-open[ – Working queries can be easily deployed (see later reporting options)  Disadvantages: – /ds/shell requires manual execution – im_ad_hoc_query does not support aggregation and parameters.
  • 7. im_ad_hoc_query $sql in a TCL page  Once your query is running in the /ds/shell environment, you can easily deploy the report as a ]project-open[ page.  The example below shows how to include the “im_ad_hoc_query” statement into a “.ADP” page.  You may then create a new menu item in the ] po[ reporting section (Admin -> Menus -> Create New Menu) in order to integrate the new report into the rest of the system.  Advantage: – Easy deployment of reports developed in /ds/shell – Integrated with the rest of the ]po[ environment  Disadvantages: – im_ad_hoc_query doesn’t support grouping and sub-totals – No security. You will have to add security checks manually.
  • 8. Dynamic Report (Reporting -> New Report)  Administrators can create new reports in Reporting -> New Report  These “dynamic reports” behave just like im_ad_hoc_query.  Advantages: – Dynamic Reports automatically create a menu item for you that links to the report and allow to manage permissions – Dynamic Reports allow you to export the data in CSV format.  Disadvantages: – Like all im_ad_hoc_query based reports: No grouping and sub-totals.
  • 9. ]po[ HTML Reporting Engine  The ]po[ reporting engine allows to create arbitrarily complex reports in a style similar to MS-Access and Crystal Reports.  Advantages: – Allows for group, sub-totals and totals – Allows for parameters – Allows for different “Levels of Detail” – Allows for “drill-down”. Clicking on one of the [+] icons will show a more details view  Disadvantages: – Requires considerable TCL programming skills
  • 10. Indicators  Indicators are a special type of “report” that only returns a single numeric value.  ]po[ takes care to regularly evaluate the SQL query and to store the values to create a timeline.  Indicators allow for permissions per indicator, so you can limit the visibility to certain user groups.  Advantages: – Allows to build management dashboards, balanced scorecards etc.  Disadvantages: – Only suitable for certain reporting purposes – It is very difficult to develop indicators that are really relevant to a business.
  • 11. Histogram Chart  A histogram chart is a simple “Portlet Component” that takes a SQL query as a parameter.  The query needs to return two columns only: – A name (here: ticket_type) – A number (here: count)  Advantages: – Easy to develop – Easy to integrate into existing pages in ] po[  Disadvantages: – Limited reporting capabilities
  • 12. Data-Warehouse Cube  ]po[ includes an integrated Data- Warehouse as a commercial add-on package.  “Cubes” are capable of aggregating data along many “dimensions”.  Advantages: – One DW-cube can replace tens of separate reports. – DW-cubes allow the user to “slice and dice” data – DynFields (drop-down) can be used as “dimensions” in a DW. For example, a “Business Sector” DynField per customer will automatically appear in the Finance cube. – Seamlessly integrated into ]po[  Disadvantages: – Commercial package, license costs. – Only numeric values can be shown in a DW
  • 13. Pie Chart Based on DW-Cube  Pie charts can take a “sum” column of a data-warehouse cube as a data-source.  Advantages: – Easy creation of pie charts  Disadvantages: – Data can only be extracted from existing DW-cubes.
  • 14. Nightly Evaluation of Long Running Reports  Reports frequently can take several seconds or even minutes to execute.  One way to provide users with a more agile reply is to pre-evaluate reports (at night) and to provide the results as a static HTML page to the user.  The following command will execute the “report.adp” and store the results as a static HTML page: – wget http://localhost/report -o ~/www/report.html  Advantages: – Fast response time – The static HTML page still provides drill-in capabilities.  Disadvantages: – Extra effort to schedule the evaluation – Scheduling many reports may lead to overlaps at night