Presentation is loading. Please wait.

Presentation is loading. Please wait.

16 October 2002ROOT 2002, CERN1 Progress with Carrot Valeriy Onuchin.

Similar presentations


Presentation on theme: "16 October 2002ROOT 2002, CERN1 Progress with Carrot Valeriy Onuchin."— Presentation transcript:

1 16 October 2002ROOT 2002, CERN1 Progress with Carrot Valeriy Onuchin

2 Progress with CarrotValeriy Onuchin, CERN2 Plan of the talk What is Carrot? What’s new in the coming release? The future of the project

3 Progress with CarrotValeriy Onuchin, CERN3 What is Carrot? Carrot is a module for Apache web server which enables the use of C++ as an HTML-embedded scripting language as well as executing C++ macros. It is similar to PHP, in functionality: http://carrot.cern.ch/index_C.so?about

4 Progress with CarrotValeriy Onuchin, CERN4 What’s new in the coming release? File uploads Improved TApacheBrowser SVG graphics and animation New configuration options Code correction and optimization Automated Garbage Collection More examples

5 Progress with CarrotValeriy Onuchin, CERN5 File uploads Carrot is capable of receiving file uploads from browser the code was mainly “borrowed” from PHP and follows their “ideology” Send this file: calling gSystem->Getenv(“userfile”) in resp.C macro will returns a name of uploaded file

6 Progress with CarrotValeriy Onuchin, CERN6 Improved TApacheBrowser Possibility to make a query on a TTree and “scan” the result of query Possibility of file download while browsing Possibility to switch on/off popup canvas Browsing other types of TFile (TNetFile, TRFIOFile, TDCacheFile )

7 Progress with CarrotValeriy Onuchin, CERN7 SVG graphics and animation An example added how to save TPad in SVG format and display it on the web An example how to create SVG file with frame based animation added similar to animated GIF example animated GIF example

8 Progress with CarrotValeriy Onuchin, CERN8 New configuration options $ROOTSYS/etc/system.rootrc Carrot.CanvasPopup: on/off Carrot.TmpDir: path to TMP directory Carrot.CacheSize: size in Mbytes Carrot.UploadFiles: on/off Carrot.DefaultImageProgram: program name …

9 Progress with CarrotValeriy Onuchin, CERN9 Code correction and optimization Processing cookies now follows RFC2965, RFC2109 standard Speed optimization of the code was done Separate GET,POST,Cookies,FILES lists were introduced

10 Progress with CarrotValeriy Onuchin, CERN10 Automated Garbage Collection While processing client request server allocates memory (pool) which is freed when request is over. Overloading “new” operator which allocates memory in request’s memory pool enables to have “Automated Garbage Collection”.

11 Progress with CarrotValeriy Onuchin, CERN11 The future of the project Testing on different platforms Creation Apache-2 module Improving TApacheBrowser add possibility to browse relational databases What else?


Download ppt "16 October 2002ROOT 2002, CERN1 Progress with Carrot Valeriy Onuchin."

Similar presentations


Ads by Google