YAPC::EU::2009 - How Opera Software uses Perl

Embed Size (px)

Citation preview

YAPC Europe ~ Lisboa 2009cosimo streppone

Hw pr uss Prl

Geek companyWe make a browser, but not only

Engineering-drivenMost of Opera employees still work in Eng

Very smart peopleI am an exception

Opera Software

Opera browserC++, huge number of platforms

Opera Mini client - serverJ2ME, C++, Pikemaybe you have it on your phone

Opera TurboC++, Pike, speed up page loading

Opera products

C++ Kingdom

Perl Republic

Python Dictatorship

Pike Islands

PRL

Opera IntranetIntegrated with company-wide LDAP directory

BCDOpera browser Build scriptsComposer, to assemble custom versionsDistribute, publish on the download system

StatisticsBrowser downloadsOpera Mini stats, hundreds of servers worldwide

hundreds of systems ...

Internal systems

www.opera.comCompany institutional website

my.opera.comOpera Community, browser add-ons, skinsSupport forums, photo albums, blogs, etc...

dev.opera.comTechnical in-depth articlesWeb Standards Curriculum

labs.opera.com

Public web sites

}

DML=XML+XSLT

Auth.opera.comCentral authentication system,
user profiles, (soon) single-sign on

Auto updateServes component updates

Site-checkFraud, malware, phishing protection

ASD (Alien service discovery)Opera Unite related, tracks logged in usersConnects them together

Browser integration systems

Opera Link

Recently added Perlbal.Cut 90% load.In 1 day.

Browser integration systems

ok, great, but...

Very few people, but very noisy

Usually young peopleExperienced developers don't care

Tendency to generalize about Perl and Perl folks...

Perl bashing...

Python getting more and more popular

They just know Perl, that's why they stick to it

Perl is not suited for large applications

Perl is a write-only language (ever heard this?)

Perl sucks

No interesting jobs

Perception

We know what the reality is:

Perl runs everywhere (and I mean everywhere)

Large or small-scale applications

Python code can be horrible too...

Python projects can fail too...

Reality

Understand better how Perl is really perceivedand possibly why

Expected 10 answers and some boos

Got lots of answers (and some boos)

Survey: Perl in Opera Software

Survey: Perl in Opera Software


Most common reason for Perl is awfulSyntax is too complicated

Most common reason for Perl is greatSyntax is flexibleMake it an expressive language

Survey: Perl in Opera Software


Most people that complain about syntax

have none or very little experience in Perl

Survey: Perl in Opera Software


70%CPAN is an extremely valuable resource

Survey: Perl in Opera Software


1%Strawberry Perl users

Varies greatly

Legacy systems

We're trying to build a Quality Culture

Prepare to be shocked... :)

Quality of Perl work in Opera

We are the Perl Community!

Aim for the highest quality

Set documentation and coding guidelines in your teamRespect them!

No quick & dirty please

We can make a difference...

More CPANMunin realtime statisticsStorage subsystemOpera-core foundation classesMore modern PerlMigrate majority of systems to 5.10.xMore Catalyst?More Moose?

Future of Perl at Opera

Strive for high quality

Write about Perl. Go, Ironman!

Get your company (more) on CPAN

Hire unexperienced young developers.Train them. Perl is never the problem.

Call to action!

obrigado!

perguntas?

opera.com/jobsjobs.perl.org