HTML::Mason bei A2E

Erste Erfahrungen mit einem Perl-Webekasten

Dank HTML::Mason werden wir hoffentlich bald unsere Web-Entwicklung noch konsequenter auf Perl aufbauen.

1 Lage

  • Unter index.mason bauen wir unsere hiesigen Webseiten Schritt für Schritt als Mason-Komponentensystem nach
  • Es will unter Mason nicht so recht gelingen, die Seiten mit utf-8 zu dekodieren

2 Aufgaben

3 Termine

4 Unterlagen

  • perldoc -oLaTeX -dhtml_mason.tex HTML::Mason
  • perldoc -oLaTeX -dhtml_mason_admin.tex HTML::Mason::Admin
  • perldoc -oLaTeX -dhtml_mason_devel.tex HTML::Mason::Devel
  • perldoc -oLaTeX -dhtml_mason_request.tex HTML::Mason::Request
  • perldoc -oLaTeX -dsql_translator_manual.tex SQL::Translator::Manual
  • MasonX::Request::WithApacheSession: integrates Apache::Session into Mason by adding methods to the Mason Request object available in all Mason components
    • MasonX::Request::HTMLTemplate::WithApacheSession
  • Apache, with $f→header_in(“Content-Type”) etc; $r→user( [$user] ): if an authentication check was successful, the authentication handler caches the user name here, sets the user name to the optional first argument; see $f→connection→auth_type
    • Apache::Session
      • Apache::Session::Wrapper
      • Apache::Session::Postgres
      • Apache::Session::File
  • mod_usertrack
  • http://dev.catalyst.perl.org/
  • http://www.catalystframework.org/
  • http://perl.apache.org/products/app-server.html

4.1 Ergänzungen

Hierzu sind demnächst SuSE-Perl-Pakete zu bauen.

  • sudo cpan Catalyst
  • sudo cpan Catalyst::Devel
  • sudo cpan DBIx::Class
  • sudo cpan DBIx::Class::Schema::Loader
  • sudo cpan SQL::Translator

Dabei eventuell ferner zu packende Bausteine:

  48841:- Class::Inspector                  ...missing. (would need 1.06)
  48842:- CGI::Simple::Cookie               ...missing.
  48843:- Data::Dump                        ...missing.
  48844:- File::Modified                    ...missing.
  48846:- HTTP::Body                        ...missing. (would need 0.9)
  48850:- HTTP::Request::AsCGI              ...missing. (would need 0.5)
  48856:- Text::SimpleTable                 ...missing. (would need 0.03)
  48858:- Tree::Simple                      ...missing. (would need 1.15)
  48859:- Tree::Simple::Visitor::FindByPath ...missing.
  50254:- Catalyst::Action::RenderView     ...missing. (would need 0.04)
  50255:- Catalyst::Plugin::Static::Simple ...missing. (would need 0.16)
  50256:- Catalyst::Plugin::ConfigLoader   ...missing.
  50258:- Config::General                  ...missing.
  50259:- File::Copy::Recursive            ...missing.
  50261:- parent                           ...missing.
  50530:- Data::Visitor     ...missing. (would need 0.02)
  50531:- Config::Any       ...missing. (would need 0.08)
  50957:- Scope::Guard ...missing. (would need 0.02)
  51653:- Class::C3     ...missing. (would need 0.19)
  51657:- Class::C3::XS ...missing. (would need 0.08)
  51866:- Algorithm::C3 ...missing. (would need 0.06)
  54300:- DBD::SQLite              ...missing. (would need 1.13)
  54302:- Data::Page               ...missing. (would need 2)
  54304:- SQL::Abstract            ...missing. (would need 1.2)
  54305:- SQL::Abstract::Limit     ...missing. (would need 0.101)
  54307:- Class::C3::Componentised ...missing.
  54311:- Module::Find             ...missing.
  54313:- Class::Accessor::Grouped ...missing. (would need 0.05002)
  54314:- JSON::Any                ...missing. (would need 1)
  55144:- JSON       ...missing. (would need 2.02)
  55148:- JSON::XS   ...missing.
  55152:- JSON::PC   ...missing.
  55156:- JSON::DWIW ...missing.
  56476:- Lingua::EN::Inflect::Number ...missing. (would need 1.1)
  56480:- Class::Data::Accessor       ...missing. (would need 0.03)
  Test::Kwalitee

5 Chronik

  • dat: 2008-09-03; prs: phm: apache erstellt dieses Verzeichnis
[ ADV | Systeme | Perl | php | ruby | Subversion | catalyst | mason| Signatur| Zeitstempelung bei A2E ]
Gültiges XHTML 1.0! Gültiges CSS! deplate
http://a2e.de/adv/mason
© 2008-09-03 Hartmut PILCH