Julian Mehnle > WWW-Restaurant-Menu-0.11 > WWW::Restaurant::Menu::Overview

Download:
www-restaurant-menu/WWW-Restaurant-Menu-0.11.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

WWW::Restaurant::Menu::Overview - An introduction to the WWW::Restaurant::Menu class collection.

DESCRIPTION ^

WWW::Restaurant::Menu is a collection of Perl classes for querying online menus of restaurants.

About menus and menu items

A menu class is directly or indirectly derived from WWW::Restaurant::Menu and represents a certain type of menu of a restaurant. Each restaurant's menu classes should be in the namespace WWW::Restaurant::CC::City::Restaurant::Menu, where:

CC

is the ISO 3166 "alpha 2" two-letter country code of the country where the restaurant is located.

City

is the name of the city where the restaurant is located.

Restaurant

is the name of the restaurant (unique within the specified city, if possible).

For example, menu classes for John's Pub in London would be in the namespace WWW::Restaurant::GB::London::JohnsPub::Menu.

Every menu consists of menu items. A menu item class is directly or indirectly derived from WWW::Restaurant::Menu::Item.

For how menu objects give access to their menu items, see WWW::Restaurant::Menu. For how menu item objects give access to their properties, see WWW::Restaurant::Menu::Item.

Bundled menu classes

The following prepared menu classes are included with this version of WWW::Restaurant::Menu (without the common WWW::Restaurant:: prefix):

DE::Munich::Edison::Menu::Lunch

The lunch menu of the Munich restaurant Edison, which is available at http://www.edisonundco.de/mittag.htm

Bundled menu item classes

The following prepared menu item classes are included with this version of WWW::Restaurant::Menu (without the common WWW::Restaurant::Menu::Item:: prefix):

Starter
Meal
Dessert
Drink

See WWW::Restaurant::Menu::Item for more information.

Writing menu classes

Just inherit a new class from WWW::Restaurant::Menu, and override the currency and query methods.

SEE ALSO ^

WWW::Restaurant::Menu, WWW::Restaurant::Menu::Item

COPYRIGHT and LICENSE ^

WWW::Restaurant::Menu is Copyright (C) 2004-2005 Julian Mehnle <julian@mehnle.net>. All rights reserved.

WWW::Restaurant::Menu is free software. You may use, modify, and distribute it under the same terms as Perl itself, i.e. under the GNU GPL or the Artistic License.

AUTHOR ^

Julian Mehnle <julian@mehnle.net>

syntax highlighting: