Explore BrainMass
Share

Explore BrainMass

    PHP and MVC

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    I have a PHP script and I need to implement the MVC design pattern to produce a product listing, and also to Update the fields of an existing Product. I need to apply the MVC design pattern to the PHP scripts.

    Add a new product to the database.
    Delete an existing product

    Also consider that you need to add to the prodlist.class object in order to implement a scrolling mechanism, allowing a user to scroll through all the records of the table by calling a function (or method) of the class ...say..next(), to retrieve the the next record. Of course you would need to first set up the call to get the first record etc... You could then implement this optional extra work by making the changes.

    © BrainMass Inc. brainmass.com October 9, 2019, 7:35 pm ad1c9bdddf
    https://brainmass.com/computer-science/php/php-mvc-122736

    Attachments

    Solution Summary

    The expert implements MVC design for a PHP script.

    $2.19