beginner’s guide for birt and php

17
Beginner’s Guide for BIRT and PHP Presented by, PINNOVE Plot #47, 4th floor, Daga Layout, Gandhi Nagar, Nagpur - 440010 Ph: +91-7122243156 | Email: [email protected] | Website : www.pinnove.com

Upload: pinnove-

Post on 21-Feb-2017

33 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Beginner’s guide for birt and php

Beginner’s Guide for BIRT and PHP

Presented by, PINNOVEPlot #47, 4th floor, Daga Layout,Gandhi Nagar, Nagpur - 440010Ph: +91-7122243156 | Email: [email protected] | Website : www.pinnove.com

Page 2: Beginner’s guide for birt and php

3. Start Tomcat service.4. Test Tomcat: http://localhost:8080/ If you get a webpage, then you have tomcat ready for Birt

Install Tomcat1. Download XAMPP from here: https://www.apachefriends.org/download.html2. Start XAMPP and go to XAMPP Control Panel.

Page 3: Beginner’s guide for birt and php

Install BIRT Design Tool :1. Birt Designer is a visual report development tool with task-specific editors, builders

and wizards that enable you to create data visualizations that can be integrated into web applications.

2. Download the BIRT Report Design Tool, from here:http://download.eclipse.org/birt/downloads/

Page 4: Beginner’s guide for birt and php

Install BIRT Report ViewerThe BIRT Runtime contains three different packages: The Report Engine, the exploded Sample Viewer WAR, and the Sample Viewer WAR. Your choice of package will depend on your deployment scenario. You can find more details here: http://www.eclipse.org/birt/documentation/integrating/viewer-setup.php

1. Download the BIRT Report Viewer: http://download.eclipse.org/birt/downloads/#runtime

Page 5: Beginner’s guide for birt and php

2. Deploy the BIRT Viewer application. Follow these steps:

a. Download the zip file with the BIRT report engine runtime. The file is named birt-runtime-version#.zipb. Unzip the file in a staging areac. Look under the birt-runtime- directory and locate the "Web Viewer Example" director.d. Copy the “Web Viewer” Example directory to the <XAMPP ROOT>\tomcat\webapps directory of your Tomcat installation. For ease of reference, rename the directory “Web Viewer” to "birt-viewer".e. Restart Tomcat.f. Review the Tomcat manager application to check that the viewer is deployed:

http://localhost:8080/manager/html

Page 6: Beginner’s guide for birt and php
Page 7: Beginner’s guide for birt and php

g. Verify that birt-viewer is listed as an application, then click on the birt-viewer link.

h.A page confirming that the BIRT viewer has been installed should be displayed. Click on the link labeled "View Example" to confirm

that your installation is working properly.

3. A note about client configuration: The BIRT Viewer requires that cookies be enabled on your browser. Follow steps below on Firefox to enable cookies:

a. click the menu button and choose Options. Preferences. b. Go to Privacy Panelc. Set Firefox will: to Use custom settings for history. d. Check mark Accept cookies from sites to enable cookies, and uncheck to

disable.

Note: Cookies are enabled by default in Firefox

Page 8: Beginner’s guide for birt and php

Install JDBC Drivers1. You may download drivers from mysql site here:

https://dev.mysql.com/downloads/connector/j/ 2. Add the jar files for your JDBC drivers to the Viewer. Copy the driver from the

following directory:Path for Windows Jar File: <XAMPP-ROOT>\tomcat\webapps\birt-viewer\

WEB- INF\lib

Page 9: Beginner’s guide for birt and php

3. BIRT JDBC Driver Location Note - If you are installing BIRT 2 series the driver needs to be copied to birt-viwer\ReportEngine\plugins\org.eclipse.birt.report.data.oda.jdbc_yourVersion\drivers directory. If you are installing BIRT 3.7 or higher, the jdbc driver should be placed in the WebViewer's classpath (eg WEB-INF/lib).

4. If you choose to put the Viewer into some other location, you'll need to use a context entry within the server.xml file to indicate the deployment location. See Tomcat documentation for details.

Page 10: Beginner’s guide for birt and php

Verify BIRT Installation1. Check if BIRT is integrated with Tomcat or not. You can check using the following

steps a. Open tomcat and create the User (i.e) go on the Manager App.

Page 11: Beginner’s guide for birt and php

b. Click on “Manager App” you will get a window prompt for login. If you got a username and password proceed with the login or create username and password, go to next step.

Page 12: Beginner’s guide for birt and php

c. Open XAMPP control panel, go to Tomcat -> Config -> tomcat-user.xml

Page 13: Beginner’s guide for birt and php

d. It will open the tomcat-user.xml file, where you can create username and password for admin & manager.

Page 14: Beginner’s guide for birt and php

e. After creating the username and password for both the users, try login with Manager App credentials.

Page 15: Beginner’s guide for birt and php

f. Successful Login. You will come across the tomcat web application manager window. Follow the next step go to BIRT.

Page 16: Beginner’s guide for birt and php

g. After you click on BIRT, you will get a message BIRT viewer has been installed. Here’s where you are confirmed BIRT is successfully integrated with Tomcat.

h. Check for the Example (i.e) displaying a report. Below is the sample view of a report.

Page 17: Beginner’s guide for birt and php

FinishHere’s you BIRT is ready to integrated and ready to use with any project. You can display multiple reports with BIRT, as it is user-friendly and comes with easy deployment process. It Supports different type of charts which can make your reports more appealing, attractive and more presentable.