您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > 基于脚本的BIRT图表生成技术研究
上海交通大学硕士学位论文基于脚本的BIRT图表生成技术研究姓名:王玉林申请学位级别:硕士专业:软件工程指导教师:黄林鹏;林征20100112BIRTIBIRTWeb2.0Web2.0WebAPIEclipseBIRT(BusinessIntelligenceandReportingTools)Web2.0WebGoogleCodeEclipseBIRTJavascriptAJAXWeb2.0APIBIRTIITHERESEARCHOFBIRTCHARTOUTPUTWITHSCRIPTTECHNOLOGYABSTRACTWiththerapidgrowthandwidelyuseofInformationTechnology,ahugeamountofdataisproducedeveryday.Usersurgentlyneedgraphictoolstoanalyzethedataandsolvethemysteryinit.Chartisabletodescribeandanalyzedatavisually,andmakestheapplicationmoreusableandmoreeffective.Henceit’swidelyusedindailytasks.Meanwhile,Web2.0becomesmorepopular.Withoutstiffnessoftraditionalwebsites,open,interactiveanduser-centralwebpagesaremoreusedtoreplacetraditionalclientapplications.Hence,howtousecurrenttechnologiestoimprovetraditionalapplicationsandhowtomakeuserpleasedtoacceptbrowersasclientsisoneofthehotspotsofWeb2.0research.Ifwecandevelopasystemwhichallowsuserstowritethechartinwebpageseasily,itwillbeveryattractivetocommonusers.Thispaperproposesinnovativeonlinechartservicebasedonscripts,andresearcheshowtousescripttechnologiestoextendchartinginweb.ThenewserviceprovidesopenAPImakingcommonuserseasytowritechartsinonlinewebpages,andpreventsalotofprogramming.Thiscanalsobeintegratedwithvariouswebsiteseasily.Inaddition,chartserviceisprovidedinserver-side,thiswillensurerathergoodperformanceandstability.TheprimarytaskofthispaperistoresearchbasedontheChartsub-systeminBIRT(BusinessIntelligenceandReportingTools)projectofopensourceplatformEclipse.Inaddition,thispaperresearchesscripttechnologiesinweb2.0anddiscussesthepossibilityofcombiningthemboth.Itpresentsthetechnologywhichallowswebscriptingtogenerateandoutputthechart,proposesvariousarchitectures,findsthebestfromcomparisionanddescribestheimplementationdetails.Finallyaccordingtothespecificsamples,thispaperdoessomeperformancetestsandgivessomesolutionstoimprovetheresult.AllofsourcecodesareavailableandsharedinGoogleCodeproject.Thisisusedinsomeprojectsandachievesrathergoodresults.KeywordsEclipse,BIRT,Javascript,AJAX,Web2.0,OpenAPIBIRTBIRTBIRT111.1InternetWebBlogWikiRSSWeb2.0WebGoogleDocsWordExcelWebWeb2.0WebWebWeb2.0WebWebWeb2.0Web2.0Web2.0Web2.01.21.2.1WebWebBlogWikiRSSWeb2.0Web2.0BIRT2AJAXWeb2.0WEB1980TimBernersLeeENQUIREBernersLee[1]1993430GopherGopherWorldWideWebConsortiumW3CW3C199410·-WebWeb1.0NetscapeYahooGoogleNetscapeYahoo,GoogleWeb1.0Web2.0Web2.0——[2]Web2.0Web2.0Web2.0BlogRSSPodcasting//SNSblogWIKIWeb1.0Web2.0Web1.0WEB2.0blog/podcastingWEB1.0WEB2.0P2PWEBAjax,BIRT3GoogleMap/GmailSNSWEB2.0WEB2.0WEB2.0Web2.0SOHOWeb2.01.2.2[3]1.2.2.1(title)(axis)XYYYBIRT4(series)(legend)(markerline)(markerrange)1.2.2.2(Bar)(Gantt)(Stock)(Pie)(Doughnut)(Dial)1-11-1Table1-1ChartsclassifiedbytypesBarPyramidLineStockBubbleGanttPieDoughnutDialGaugeThermometerBullet(2D)(2Dwithdepth)(3D)1-21-2Table1-2Chartsclassifiedbydimensions2D2Dwithdepth3DXYYXYY1-3BIRT51-3Table1-3Chartsclassifiedbyorientation1-41-4Table1-3Chartsclassifiedbydatalayout1-11-1Figure1-1Combinationcharts1.2.2.3OfficeExcelExcel2007ExcelOfficeExcelExcelExcelTableauOLAPdrillup/downBIRT6jFreeChartGooglechartAPIBIRTEclipseOSGiBIRTExcelExcel20072003fusionChartFlashFlashExcelOLAP1.3Web2.0APIWeb2.0BIRTWebEclipseBIRTWeb2.0BIRT7BIRT822.12.1.1Scriptlanguage---edit-compile-link-runscreenplay[4]CC++Java••••ShellshellGUIWebJavaScriptCshellPerlPHPPythonRubyVBScriptBIRT9CJava2.1.2ECMAScriptWebJavaScriptJavaScriptECMAScriptECMAScriptECMAECMA-262199611JavaScript(ECMA)ECMA-26219976JavaScriptJScriptECMA-262ECMAScript2-1ECMAScript2-1ECMAScriptTable2-1ECMAScriptusedinvariousapplicationsECMAScriptGeckoMozillaJavaScript1.8ECMA-262InternetExplorerJScript5.7ECMA-262OperaECMAScriptJavaScriptJScript1.3/1.5ECMA-262KHTMLJavaScript1.5ECMA-262.NETJScript.NET8.0ECMA-262AdobeFlashActionScript3ECMA-262AdobeAcrobatJavaScript1.5ECMA-262ECMADMDScript1.06ECMA-262OpenLaszloJavaScript1.4ECMA-262iCabInScript3.22ECMA-2622-1JavaScriptECMAScriptJavaScriptJavaPDFWebJavaScript,HTMLPDFIEGecko/MozillaBIRT10ECMAScriptDOMJavaScriptFlashActionScriptSWF2.2Web2.02.2.1AJAXWeb2.0AJAXJavaScriptAJAX“AsynchronousJavaScriptandXML”JavaScriptXML[5]AjaxJesseJamesGarrettXHTML+CSSJavaScriptDOMDocumentObjectModelXMLXSLTXMLHttpRequestWebJavaScriptSOAPXMLDHTMLLAMPAJAXAJAX“/”derivative/composite“AFLAX”AJAXWebInternetExplorerMozillaFirefoxOperaKonquerorMacOSSafariOperaXSLXSLTWebWebHTMLAJAXSOAPXML()JavaScript5%()()BIRT11WebAJAXAJAXPrototype,DWR,DojoAJAX2.2.2APIWeb2.0APIAPISOAPJavascript[6]APIAPIWeb1.0EBAY,AmazonGoogleAPIAPIWeb2.0APIAPIGoogleAPIGoogleMapGoogleMapAPIGoogleGoogleMapSkypeWebAPIJavaScriptWebAPIActionScriptFlashWebAPIWebAPI1API2WebAPI243BIRT12API2.3Web2.3.1ServerPagesJavaScriptWebWebJSP(JavaServerPages)ASP(ActiveServerPages)PHPPerlHTMLXMLWebServerPagesB/SBrowser/ServerServerPagesAJAX2.3.2RhinoJavaScriptWebJavaScriptJavaScriptJavaRhinoRhinoMozillaJavaAPIJavaScriptRhinoJavaScript1.7JavaJavaScriptshell[7]RhinoAPI1Context2ScriptableJavaBIRT13ScriptableObjectScriptableRhinoJavaBIRTRhinoBIRT143EclipseBIRT3.1Eclipse3.1.1EclipseEclipse[8]EclipseIBMVisualAgeforJavaIDE200111Eclips
本文标题:基于脚本的BIRT图表生成技术研究
链接地址:https://www.777doc.com/doc-1659 .html