23
Things we love and hate about Perl @

Things we love and hate about Perl @

  • Upload
    izzy

  • View
    42

  • Download
    0

Embed Size (px)

DESCRIPTION

Things we love and hate about Perl @. Tevreden.nl - Facts & Figures. Vision: Improving the general satisfaction for the Netherlands 4 th gen. satisfaction research Divided into approx. 25 markets Generic market platforms Specific customer platforms. Tevreden.nl – e.g. Platform. - PowerPoint PPT Presentation

Citation preview

Page 1: Things we love and hate about Perl @

Things we love and hate aboutPerl @

Page 2: Things we love and hate about Perl @

Tevreden.nl - Facts & Figures

Vision: Improving the general satisfaction for the Netherlands

4th gen. satisfaction research

Divided into approx. 25 marketsGeneric market platforms Specific customer platforms

Page 3: Things we love and hate about Perl @

Tevreden.nl – e.g. Platform

Page 4: Things we love and hate about Perl @

Facts & Figures – Evaluation RMS

25 markets, 80 specific platforms5M invitations sent1M responses and counting200k responses in 2012 alone268,793 lines of Perl 5 code5 full time developersSteady 30% growth

Page 5: Things we love and hate about Perl @

Pao

lo M

arga

ri (fl

ickr

)

Love (about Perl)

Page 6: Things we love and hate about Perl @

Love Perl

FlexibleTimtowtdiExpressiveAtmosphereStraightforwardNon pretentiousExclusivitySyntaxTAP

Page 7: Things we love and hate about Perl @

GreatCommunity(perlmonks, perlmongers, CPAN);

Love Perl

Page 8: Things we love and hate about Perl @

paul

bic

a (fl

ickr

)

Challenges - Ugly code

Page 9: Things we love and hate about Perl @

Challenges - Ugly code

ralp

hrep

o

Page 10: Things we love and hate about Perl @

Challenges - CPAN vs Apt

CPANAPI ChangesDependenciesConsistent deployment of packages

AutobundleDeveloper love

AptNo emotion

Page 11: Things we love and hate about Perl @

Challenges - CPAN vs Aptnebojsa m

ladjenovic

Page 12: Things we love and hate about Perl @

digi

talA

RT2

(flic

kr)

Challenges - mod_perl on Apache

Page 13: Things we love and hate about Perl @

Challenges - mod_perl on Apache

Performance per http requestApache::SizeLimit

Band-aidCounterproductiveWorks

Apache::RegistrySoap::Lite

PerlRun

Page 14: Things we love and hate about Perl @

Challenges - Character Encodings

sack

s08

(flic

kr)

Page 15: Things we love and hate about Perl @

Challenges - Character Encodings

Multiple choice (UTF8 vs the rest)use Encode;Encode::_utf8_off($val);utf8::downgrade($val); # remove utf8-flag, convert to 8bit if

necessaryutf8::decode($val); # convert UTF-X to the right charactersutf8::upgrade($val); # convert the string to utf8, set the utf8

bit$val =~ s/\\x(.{2})/decode("iso-8859-1",sprintf("%c",hex($1)))/eg;

Input (Web, Templates, SOAP, Excel)TransformationOutput (PDF, browser, e-mail)

Page 16: Things we love and hate about Perl @

Vin

othC

hand

ar(fl

ickr

)

Challenges – Like a Chained Giant

Page 17: Things we love and hate about Perl @

Challenges - timtowtdi

PerformanceUse taint, use strict5.6 vs 5.10 vs 5.18Make research data available

ComprehensibleSummarize, interpret

Even historic data

Page 18: Things we love and hate about Perl @

Pao

lo M

arga

ri (fl

ickr

)

Love (using Perl)

Page 19: Things we love and hate about Perl @

LAMP

LinuxUbuntu Server, Hardy .. Quantal

ApacheRecent 2.4 version

MySQLRecent 5.5 versionOLTP and OLAP

PerlCode runs on 5.10-5.18

Page 20: Things we love and hate about Perl @

How We Scale, Simplified

Page 21: Things we love and hate about Perl @

Our Current Challenge

Choosing the right test frameworkTest::SimpleTest::MoreTesting race conditions

Single point of failureTestingBuildingReleasing

Page 22: Things we love and hate about Perl @

Bio

Pascal Vree BscOpen source tinkering since 1996Twitter: @pascalvreenl.linkedin.com/in/pascalvree

Bas Bloemsaat LL.M.Open source tinkering since 1993Twitter: @bbloemsaatnl.linkedin.com/in/basbloemsaat

Page 23: Things we love and hate about Perl @

Questions?