a new architecture for web services at cern alberto di meglio, francois fluckiger, monica marinucci,...

28
A New Architecture for A New Architecture for Web Services at CERN Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace http://cern.ch/web

Upload: elfreda-ball

Post on 11-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for A New Architecture for Web Services at CERNWeb Services at CERN

Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

http://cern.ch/web

Page 2: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Part 1 of 2Part 1 of 2

The new Web Namespace Review of new Services

Page 3: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Today’s namespaceToday’s namespace

http://www.cern.ch/… http://wwwinfo.cern.ch/… http://network.cern.ch/… http://home.cern.ch/… http://nicewww.cern.ch/… http://wwwas.cern.ch/… …

Page 4: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Is there a problem ?Is there a problem ?

Page 5: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Is there a problem ?Is there a problem ?

Page 6: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

From the MAIL architectureFrom the MAIL architecture

[email protected] [email protected]

Generic address Physical address

Global namespace domain

Physical Mail Server name

Translation Service

Mailbox name

Page 7: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

The same for the WEBThe same for the WEB

http://cern.ch/SiteName http://host.cern.ch/path

Generic address Physical address

Global namespacedomainPhysical Web Server name

Translation / Redirection Service

Site Name

Page 8: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

[email protected] http://cern.ch/alberto.pace

Complete Duality Mail - WebComplete Duality Mail - Web

[email protected] http://cern.ch/it-div

Mail address and mailing lists Web address

[email protected] http://cern.ch/aleph-exp

Organisational Units

Individuals addresses and personal files

Page 9: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Mail “Mail Composing” tools are unable to find the physical

server name from the generic address [email protected] given a user’s mailbox “xxxx”, the host

“xxxx.mailbox.cern.ch” represents the server hosting the xxxx mailbox

Web “Web Authoring” tools are unable to find the physical

server name from the generic address http://cern.ch/xxxx given a sitename “xxxx”, the host “xxxx.web.cern.ch”

represents the server hosting the xxxx site

… … more duality …more duality …

[email protected]

http://xxxx.web.cern.ch/xxxx

Page 10: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Not limited to Central ServersNot limited to Central Servers

MAIL: “Generic E-mail Addresses” ([email protected]) can point to locally managed mail servers or even to servers outside CERN

WEB: “Generic URL Addresses” (http://cern.ch/xxx) can point to locally managed web servers or even to servers outside CERN

Page 11: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

What about www.cern.ch ?What about www.cern.ch ?

http://www.cern.ch and http://cern.ch are equivalent Users preferring the www.cern.ch syntax can use it,

the leading www. being optional.

Page 12: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Will we still have broken links ?Will we still have broken links ?

The new web redirector supports site aliasing Multiple / different names can be mapped to the same

physical site We can have:

Old names pointing to new names http://cern.ch/cn-div -> http://cern.ch/it-div

Descriptive names pointing to real nameshttp://cern.ch/it.division -> http://cern.ch/it-divhttp://cern.ch/Alberto.Pace -> http://cern.ch/pace

Site nicknames, easier to typehttp://cern.ch/it -> http://cern.ch/it-div

Existing hosts can be ‘taken over’ by the central redirector http://mysite.cern.ch/ -> http://cern.ch/mysite

Page 13: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

100 % compatible with the 100 % compatible with the existing infrastructureexisting infrastructure

Existing servers integrates smoothly in the namespace

No broken links / No HTML to modify The Web namespace becomes independent from the

physical server layout and it allows the evolution of the existing infrastructure

Page 14: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

DEMODEMO

You can access the CERN Scuba club site using any of the following URLs: http://cern.ch/subaqua http://www.cern.ch/subaqua http://web.cern.ch/subaqua http://subaqua.cern.ch http://subaqua.web.cern.ch http://subaqua.web.cern.ch/subaqua

As in the browser, the prefix http://and the domain name cern.ch can be omitted, a CERN user can simply type “subaqua” to access the site

Page 15: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Part 2 of 2Part 2 of 2

The new Web Namespace Review of new Services

Page 16: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

With the new web namespace …With the new web namespace …

We are no longer bound to the “all in one server” architecture.

We can differentiate Server OS, Web Server software, File Storage and support multiple solutions if necessary.

We can go beyond simple static HTML authoring and open a wide set of new services … (as described in the next slides)

Page 17: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Site HostingSite Hosting

Site hosting means offering disk space to store web files and then make them available via http

Based on a pool of (cheap) servers to host web sites of customer who do not want to maintain their own server Load balanced using the web.cern.ch subdomain

Every web site has one (and only one) owner responsible for the site content who can manage or delegate the site security

Page 18: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Site HostingSite Hosting

Sites can be physically stored on Central Web servers AFS NICE (locally managed servers)

Flat Namespace (part of the CERN web namespace) http://(www.)cern.ch/sitename

Subsites are possible but managed by owners of upper sites http://cern.ch/mainsite/subsite1

subsite1 is managed by the owner of mainsite

Page 19: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Authoring interfacesAuthoring interfaces

Authoring interfaces (sites on the Central Web Servers) HTTP (PUT method)

http://sitename.web.cern.ch/sitename FTP

ftp://sitename.web.cern.ch/sitename ftp://[email protected]/sitename

OSE = Microsoft Office Server ExtensionsSee http://www.microsoft.com/office/ork

DAV = Distributed Authoring and Versioning (Foreseen) See http://www.w3c.org

Page 20: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

DEMODEMO

Page 21: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

What’s the difference ?What’s the difference ?

Page 22: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Site Registration ServicesSite Registration Services

Automated Site Registration and Creation Service Users can create/delete web sites or registrations

themselves A moderator authority supervises all actions Users are authenticated on AFS or NICE and site

ownership is always checked

Page 23: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

Support for Authoring ToolsSupport for Authoring Tools

Site management & page editing tools Microsoft FrontPage Macromedia Dreamweaver

Page editing tools Netscape Composer Other Microsoft Office Applications (Word, Excel,

PowerPoint, Access, …)

Page 24: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

More ServicesMore Services

Forms All sites in the central web servers are form-ready Users can create electronic forms themselves

Databases All central web pages can be connected to databases Databases can be local “Access” files or remote Oracle Read and Write access

Search services Both client-side (infoseek) and server-side indexing Complementary services

Page 25: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

More services (2)More services (2)

Access Control ACL, IP address restrictions, external authentication,

password protected documents, … Secure connections (HTTPS, SSL)

Available on all central sites by default Cascading Styles Sheets (CSS) and Themes

We have now the necessary tools to make available Corporate / Divisional look and feel policies

Document Source Control For sites authored by multiple persons

Page 26: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

CGI-Interface and ScriptingCGI-Interface and Scripting

Every site on the central servers has a cgi-bin directory Standard CGI-Interface fully supported Scripting

Supported interpreters: *.PL (Perl) and *.ASP (Active Server Pages).

Supported languages for ASP: Vbscript, Jscript and PerlScript.

Page 27: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

ConclusionConclusion

The new namespace gives us independence from the physical infrastructure and allows us to move forward

An important set of pending requirements for the web services will be addressed with the new architecture

For more information …

Page 28: A New Architecture for Web Services at CERN Alberto Di Meglio, Francois Fluckiger, Monica Marinucci, Per Hagen, Alberto Pace

A New Architecture for Web Services at CERN – CHEP, February 2000

http://cern.ch/web