Philosophy
Catalyst is based on a "don't repeat yourself" (DRY) principle, which means that definitions should only have to be made once.
Catalyst can be used with automatic class loading from the database through one of the many loader modules, thus requiring no code for the database layer. But, if you require the flexibility of manually doing everything, it's also an option. Another guiding principle of Catalyst is flexibility.
Catalyst promotes the re-use of existing Perl modules that already handle common web application concerns well.
- The Model part is handled through DBIx::Class, Plucene, Net::LDAP and other model classes.
- The View layer is usually handled by Template Toolkit, Mason, or HTML::Template, among others.
- The Controller layer is of course written by each application author. Large chunks of Controller functionality can usually be deferred to one of the many Catalyst plugins (e.g., Catalyst::Plugin::FormValidator, Catalyst::Plugin::Prototype, Catalyst::Plugin::Account::AutoDiscovery, etc.).
- Finally, Catalyst offers a set of helpers to simplify flow control and mapping URLs to controller methods.
Catalyst has a large selection of plugins. For example, it has JavaScript generation for Ajax and RIAs using the Catalyst::Plugin::Prototype module (prototype is an Ajax framework). Plugins cover many areas, for example authentication, session management, HTTP negotiation and REST.
Catalyst can also be used with other Ajax frameworks such as jQuery or YUI, the Yahoo! User Interface Library.
Read more about this topic: Catalyst (software)
Famous quotes containing the word philosophy:
“... if, as women, we accept a philosophy of history that asserts that women are by definition assimilated into the male universal, that we can understand our past through a male lensif we are unaware that women even have a historywe live our lives similarly unanchored, drifting in response to a veering wind of myth and bias.”
—Adrienne Rich (b. 1929)
“The literature of the poor, the feelings of the child, the philosophy of the street, the meaning of household life, are the topics of the time. It is a great stride. It is a sign,is it not? of new vigor, when the extremities are made active, when currents of warm life run into the hands and the feet.”
—Ralph Waldo Emerson (18031882)
“The late PrĂ©sident de Montesquieu told me that he knew how to be blindhe had been so for such a long timebut I swear that I do not know how to be deaf: I cannot get used to it, and I am as humiliated and distressed by it today as I was during the first week. No philosophy in the world can palliate deafness.”
—Philip Dormer Stanhope, 4th Earl Chesterfield (16941773)