
4cc97ff352f90c4af3aa3483404d5034.ppt
- Количество слайдов: 16
Integrating g. Library with Liferay-powered e -science gateways Miguel Ángel Saúl Soto INFN - Sezione di Catania miguel. saul@ct. infn. it Supervisor: Antonio Calanducci antonio. calanducci@ct. infn. it 10 November 2010, Catania
Goals • Provide the g. Library 2. 0 front-end, powered by Ext. JS & Liferay • Interact with the new REST-based web services for the g. Library services (back-end)
Summary of the activity done • • Getting to know grid and g. Lite Learning Javascript Working with Ext. JS Learning some Python DJANGO: learning the basics Starting with Liferay Next months
Getting to know grid • Reading about g. Lite (PDFs) • Basic Tutorials https: //grid. ct. infn. it/twiki/bin/view/GILDA/User. Tutorials – – Certificate management: How to convert pkcs 12 to pem Authentication and Authorization Browsing Information System (BDII) Simple job submission (using WMProxy interface) (glitewms commands) – Basic (g. Lite) Data Management
Getting to know grid • Medium Tutorials – More on LCG File Catalog (LFC) usage – More on Data Management (Storage Element interactions : lcg-* commands) – Quickstart for complex jobs : DAG, collection, parametric jobs – More on Job Description Language – Metadata : introduction to AMGA (hands on)
Learning Javascript • Prototype-based object-oriented scripting language weakly typed with first-class functions • Web-browser, user interfaces, dynamic webs • Javascript: The Good Parts • Basic exercises ( Javascript console)
Ext JS • Cross-browser Java. Script library for building interactive web applications (Ajax, DHTML & DOM) • High performance, customizable UI widgets • Well designed and extensible Component model • An intuitive, easy to use API • “Build rich, web applications faster than ever”
Working with Ext JS • Ext. JS in Action • Simple exercises – Say. Hi / Hello. World – Window – Tree. Panel • More complex ones – Adv. Grid. Panel – Grid&Tree / Grid. Test • Ext. JS examples
Learning some Python • Interpreted, general-purpose high-level programming language (code readability) • Object oriented, imperative & functional programming styles • Dynamic type system and automatic memory management • Dive into Python chapters 1 to 5 • Basic Exercises (Python interpreter)
DJANGO • Open source web application framework, written in Python • MVC pattern • Ease the creation of complex, database-driven websites • Reusability and "pluggability" of components, rapid development & DRY principle • Provides an optional administrative CRUD interface
DJANGO: learning the basics • djangobook. com: Chapters 1 to 5 • djangoproject. com: – Installation guide – Tutorial (Writing your first Django app. )
Liferay • Free and open source enterprise portal written in Java • Power corporate intranets and extranets • Provides robust enterprise functionality (support for external document management systems, LDAP integration, social tools, and wikis) • Easily set up robust features common to websites(user registration, captcha, document library, lucene-based search, wikis, news feeds, social chat. . . )
Starting with Liferay • Built on portlets (add new features or customize behavior and appearance) • A content management framework or a web application framework • • Installation & Set-Up Liferay in Action (1 st chapter) Liferay developer guide (developing a portlet) Integrating Ext. JS in Liferay (Ext. JS portlet)
Next months' objectives • Implement and deploy g. Library (browser) in Liferay • Implement and deploy a g. Library uploader in Liferay to store data and metadata on g. Library grid repositories
Questions…
Examples • Some of the examples/exercises developed in Ext. JS: – – – – Hello. World: http: //glibrary. ct. infn. it/miguel/examples/hello. World. html Text. Fields: http: //glibrary. ct. infn. it/miguel/text. Area. html Complex. Form: http: //glibrary. ct. infn. it/miguel/examples/complex. Form. html Paginated. Grid. Panel: http: //glibrary. ct. infn. it/miguel/examples/grid. Panel. html Remote. Grid. Panel: http: //glibrary. ct. infn. it/miguel/examples/pag. Grid. html Advanced. Grid. Panel: http: //glibrary. ct. infn. it/miguel/examples/adv. Grid. Panel. html Grid&Tree: http: //glibrary. ct. infn. it/miguel/examples/grid&Tree. html Grid&Tree. In. Border. Layout: http: //glibrary. ct. infn. it/miguel/examples/border. Layout. html – De. Roberto. Tree. Test: http: //glibrary. ct. infn. it/miguel/examples/test. html – De. Roberto. Grid&Tree. Test: http: //glibrary. ct. infn. it/miguel/examples/grid. Test. html
4cc97ff352f90c4af3aa3483404d5034.ppt