Your SlideShare is downloading. ×
Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction To Catalyst - Part 1

16,484

Published on

Part 1 of "Introduction to Catalyst" talks about installing Catalyst, creating your first application, examining its structure, and how HTTP requests are dispatched.

Part 1 of "Introduction to Catalyst" talks about installing Catalyst, creating your first application, examining its structure, and how HTTP requests are dispatched.

Published in: Technology
0 Comments
10 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
16,484
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
212
Comments
0
Likes
10
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Introduction to Catalyst The Elegant Web Framework Dan Dascalescu (dandv)
  • 2. What is Catalyst?
    • “the” Perl web application framework
      • Most actively developed (2005 – 2 wks ago)
      • Most widely used
      • Most flexible
      • Backward-compatible
  • 3.  
  • 4.  
  • 5.  
  • 6. Catalyst philosophy
    • TIMTOWTDI crystallized, DRY, glue
    • Model-View-Controller
    • “ Catalyst diet”: fat model, thin controller
    • Flexibility
      • Models: DBIx::Class, KiokuDB, Net::LDAP, SVN etc.
      • Views: Template Toolkit, GraphViz, HTML::Seamstress, Mason, XSLT, PHP (!) etc.
      • Forms: HTML::FormFu, Reaction, FormBuilder
      • Deployment: built-in server, FastCGI, mod_perl
      • 210 plugins on CPAN
  • 7. Production ready
    • Support (built-in or plugins) for:
      • Any database (via Perl’s DBI)
      • Any model (Catalyst::Model::Adaptor)
      • Authentication: Flickr, HTTP, OpenID etc.
      • Authorization: ACL, Roles
      • Cache: FastMmap, FileCache, BerkeleyDB, and Memcached
      • CAPTCHA
      • Compression (Bzip2, Gzip etc.)
      • Crypto
      • RIA: Dojo, Prototype
      • Sessions
      • Static file serving
      • Unicode
      • RPC: JSONRPC, XMLRPC; Catalyst::Action::REST
  • 8. From Perl to Catalyst in 15 minutes
    • TinyURL app
    • See screencast at http:// bit.ly/dandv -catalyst
    • eq
    • http://wiki.dandascalescu.com/howtos/catalyst/introduction_to_catalyst
  • 9. Helpers
    • Built-in helpers to create:
      • skeleton application: catalyst.pl MyApp
      • models:
        • script inyurl_create.pl model DB DBIC::Schema TinyURL::Schema create=static "dbi:SQLite:tinyurl.db"
      • AutoCRUD
      • views:
        • script inyurl_create.pl view HTML TT
      • controllers:
        • script/myapp_create.pl controller Name
  • 10. Resources
    • Catalyst wiki (dogfood-powered by MojoMojo) :
      • http://dev.catalystframework.org/wiki
    • #catalyst on irc.perl.org
    • Catalyst mailing list
      • http://snipurl.com/catalyst-mailing-list

×