CERN Accelerating science

If you experience any problem watching the video, click the download button below
Download Embed
CMS Note
Report number CMS-CR-2010-279
Title jSPyDB, an open source database-independent tool for data management
Author(s) Pierro, Giuseppe Antonio (INFN, Bari)
Publication 2010
Collaboration CMS Collaboration
Imprint 29 Nov 2010
Number of pages 8
Presented at Conference on Computing in High Energy and Nuclear Physics 2010, Taipei, Taiwan, 18 - 22 Oct 2010
Subject category Detectors and Experimental Techniques
Accelerator/Facility, Experiment CERN LHC ; CMS
Keywords General
Abstract Nowadays, the number of commercial tools available for accessing Databases, built on Java or .Net, is increasing. However, many of these applications have several drawbacks: usually they are not open-source, they provide interfaces only with a specific kind of database, they are platform-dependent and very CPU and memory consuming. jSPyDB is a free web based tool written using Python and Javascript. It relies on jQuery and python libraries, and is intended to provide a simple handler to different Database technologies inside a local web browser. Such a tool, exploiting fast access libraries such as SQLAlchemy, is easy to install, and to configure. The design of this tool envisages three layers. The front-end client side in the local web browser communicates with a backend server. Only the server is able to connect to the different databases for the purposes of performing data definition and manipulation. The server makes the data available to the client, so that the user can display and handle them safely. Thanks to jQuery libraries, moreover, this tool allows data exportation to different formats, such as XML and JSON. Finally, by using a set of pre-defined functions, users are allowed to create their customized views for a better data visualization. In this way, we optimize the performance of database servers by avoiding short connections and concurrent sessions. In addition, security is enforced since we do not provide users the possibility to directly execute any SQL statement.
Copyright/License Preprint: (License: CC-BY-4.0)

 


 Element opprettet 2011-01-05, sist endret 2018-06-07


Fulltekst:
Last ned fulltekst
PDF