Vegetable rookie Zend Framework 2 not fully learning Graffiti (iii)--Example function settings

Source: Internet
Author: User

Vegetable rookie Zend Framework 2 not fully learning Graffiti (iii)--Example function settings

This is the third piece of graffiti, the main introduction of the ZF official website tutorial on some of the database aspects involved in the settings.

The official website of the tutorial when building a record directory system, including album list, add, delete, change the record information.

Note: Before you begin the tutorial, make sure that:

1. Has the Mod_rewrite function been turned on?

2. Whether it has been supported. htaccess

Otherwise you will not be able to access any page other than the homepage

First, the system function settings
Page name Page Function Description
Album list (list of albums) Displays a list of all existing albums, along with links to edit, delete, and create new records
Adding a new album (Add new album) This page provides a form to add a new record
Editing a record (edit album) This page provides a form to edit existing record information
Delete a record (delete album) This page will confirm and delete the album information we need to delete.
Second, the database settings

We need to store the data in the database, we just have to build a table of data that consists of the following fields

Field name Field type Whether it can be null Description
Id Integer No Primary key, auto-increment
Artist varchar (100) No
Title varchar (100) No

To be Continued ... Thank you

Vegetable rookie Zend Framework 2 not fully learning Graffiti (iii)--Example function settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.