Notes for php + mysql

Source: Internet
Author: User
It took a day to write a notebook for php and mysql. it took me an hour to implement the paging display function. the programming logic was a bit messy, there is always a small problem because there is no specific process design.
Because the operation of the diary has been written in the class definition, it is very convenient for other files to operate on the diary. you can directly call the functions in the class, this includes directly saving new or modified diaries to the database, deleting them from the database, and generating xml files. you can choose $ diary->. I just don't know if the use of classes is really slower than the use of classes. I have written articles on the Internet to talk about this issue and have a reasonable test. the test shows that the speed of the two is close, in some cases, the class should be faster.
The functions used to generate xml documents are still not perfect. if there is something similar to the xml tag in the diary content, it generally does not comply with the xml specification and does not know how to solve it. I think we can replace '<', '>' with an escape code. In fact, this is what we did when generating xml code. Unfortunately, I only know a little bit about xml, but I only know some xml format requirements. it seems that I have to learn xml to solve this problem better.
Since I haven't written php for a year, I feel very unfamiliar when I write it. I still need to flip books or search for it online.
The apache + php + mysql server is configured in win2k, and the memory usage increases by about MB.

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.