Open Source Web Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP
by James Lee, Brent Ware
11.8. Mason Project
In the Embperl chapter, we did a project that displayed a list of products and filtered that list based on the manufacturer’s city, name, or product type. We will now develop a Mason back end that enables the addition and modification of manufacturers and their products.
This back end will consist of three pages: one to allow the user to select an action (add a manufacturer, modify a manufacturer, add a product, or modify a product), one to allow the user to enter the data for either a manufacturer or a product, and one that thanks the user for the addition or modification and allows them to select another action.
Before we show each of the three pages, we need to discuss the components involved in creating our now familiar ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access