Titles for PHP and ASP program conversion

Source: Internet
Author: User
Some programs are related to e-commerce. When you do this, pay attention to the invention of many places. 1. Syntax: If you are familiar with both of them, it is easy to use, but it is often used to write something with a dizzy head ,. Dajiizhi

Some programs are related to e-commerce. When you do this, pay attention to the invention of many places.

1. Syntax

If you are familiar with both of them, they are easy to use, but things that write with a dizzy head are often generated ,. We all know that the web server error messages are confused.

It is best to add a semicolon to each php sentence, even if some places can be left blank. Pay attention to the comments added to each paragraph, and the layers of different loops (especially nesting.

2. Variable

Because the original program was not written by me, I paid special attention to page forms, Sessions and other things. If the previous program was not quite clear, it would be much more troublesome.

Php is case sensitive to variables and asp is not sensitive. Therefore, it is best to develop a good habit to Standardize variables when naming them (your own specifications:-). it is best to apply option explicit in asp.

3. Page

Make all the similar content that may be displayed on different pages into a separate page, and include the content as needed to facilitate correction. We all know that the customer's request may be one day.

4. The most important thing is the function.

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.