[Catalyst] CatalystX

Oliver Gorwits oliver.gorwits at oucs.ox.ac.uk
Thu Mar 12 21:44:15 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dermot wrote:
> In that case I will just have to ask the question: What are the
> differences between the CatalystX and Catalyst?

The two are simply module namespaces (if I understand your question
correctly). I.e. Catalyst::Foo versus CatalystX::Foo.

Because I'm not an authority on this, a wild claim is sure to bring
out a Cat developer to correct me...

CatalystX is used for systems which are designed to be used with
Catalyst but are not hooking into its guts directly. It is also out
of politeness to the Cat developers not to pollute their namespace.

In fact the Extending Catalyst man page says:

"Use the CatalystX::* namespace if you can! If your extension isn't
a Model, View, Controller, Plugin, or Engine, it's best to leave it
out of the Catalyst:: namespace. Use <CatalystX::> instead."

HTH,

- --
Oliver Gorwits, Network and Telecommunications Group,
Oxford University Computing Services
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm5gi8ACgkQ2NPq7pwWBt5zngCgpLIZq1I1f1m9HsSHqZI0clnp
HdcAoMr5zivh/dm1SF3T+6wMrPtE1aK9
=sgB2
-----END PGP SIGNATURE-----



More information about the Catalyst mailing list