in reply to Re^7: Does Catalyst Borrow from Rails?
in thread Does Catalyst Borrow from Rails?

A configured route is one you laid out in a config file. A discovered route is one that comes about through inspection of the methods' metadata. In other words, Rails-style vs. Cat-style.

As for the info, a properly laid out routes config file will provide, through inspection, a lot of information that is more difficult to find in a Cat-style layout.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Replies are listed 'Best First'.
Re^9: Does Catalyst Borrow from Rails?
by phaylon (Curate) on Feb 12, 2007 at 13:35 UTC
    Catalyst doesn't enforce you to use discovered "routes." It can discover it from your code (which can be told in several ways) but with Chained and uri_for, you can also set your paths in your configuration file. If you use uri_for the right way, all your links will still work after you reconfigured your paths, without you having to touch the templates, controllers or anything else.

    Which is why I thought and said that Catalyst is probably more flexible. It has no "style". You can use the style you need for your application.

    Ordinary morality is for ordinary people. -- Aleister Crowley