X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FIntro.pod;h=f41ed110733e3a2e5800eb59fdc3448ed114bded;hb=d708fed499cf8a99114016d4bd511f3c12e11a49;hp=5410cd1eea208c7e8758556946a199d6f90e2c49;hpb=d4ef4999c556cf3b3a6317eb51d6c9b435d39a0a;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Intro.pod b/lib/Catalyst/Manual/Intro.pod index 5410cd1..f41ed11 100644 --- a/lib/Catalyst/Manual/Intro.pod +++ b/lib/Catalyst/Manual/Intro.pod @@ -8,12 +8,23 @@ This is a brief introduction to Catalyst. It explains the most important features of how Catalyst works and shows how to get a simple application up and running quickly. For an introduction (without code) to Catalyst itself, and why you should be using it, see L. +For a systematic step-by-step introduction to writing an application +with Catalyst, see L. =head2 What is Catalyst? -Catalyst is an elegant web application framework, extremely flexible yet -extremely simple. It's similar to Ruby on Rails, Spring (Java), and -L, upon which it was originally based. +Catalyst is an elegant web application framework, extremely flexible +yet extremely simple. It's similar to Ruby on Rails, Spring (Java), +and L, upon which it was originally based. Its most important +design philosphy is to provide easy access to all the tools you need +to develop web applications, with few restrictions on how you need to +use these tools. However, this does mean that it is always possible to +do things in a different way. Other web frameworks are B +simpler to use, but achieve this by locking the programmer into a +single set of tools. Catalyst's emphasis on flexibility means that you +have to think more to use it. We view this as a feature. For example, +this leads to Catalyst being more suited to system integration tasks +than other web frameworks. =head3 MVC @@ -24,15 +35,15 @@ modify code that handles one concern without affecting code that handles the others. Catalyst promotes the re-use of existing Perl modules that already handle common web application concerns well. -Here's how the M, V, and C map to those concerns, with examples of -well-known Perl modules you may want to use for each. +Here's how the Model, View, and Controller map to those concerns, with +examples of well-known Perl modules you may want to use for each. =over 4 =item * B Access and modify content (data). L, L, -L, L... +L, L... =item * B @@ -50,13 +61,12 @@ If you're unfamiliar with MVC and design patterns, you may want to check out the original book on the subject, I, by Gamma, Helm, Johnson, and Vlissides, also known as the Gang of Four (GoF). Many, many web application frameworks are based on MVC, which -is becoming a popular design method for web applications. +is becoming a popular design paradigm for the world wide web. =head3 Flexibility -Catalyst is much more flexible than many other frameworks. We'll talk -more about this later, but rest assured you can use your favorite Perl -modules with Catalyst. +Catalyst is much more flexible than many other frameworks. Rest assured +you can use your favorite Perl modules with Catalyst. =over 4 @@ -94,9 +104,10 @@ example: Now http://localhost:3000/hello prints "Hello World!". -=item * B +=item * B -Use L or L. +Use L or L. Other +engines are also available. =back @@ -129,12 +140,14 @@ L for L