Programmers have a very low eye and think about it for 850 yuan.

Source: Internet
Author: User

After waiting for work in the past few days, I found a small job on the Internet. I had to pay 850 yuan for a small function. I thought it would have taken an hour or two and it took two nights.

The requirements are roughly as follows (I sorted them out ):

 

Frontend process:

Register(User name and password)

->Login(User name and password)

->Select three product categories (cascade display)

-> Only after the third product category is selectedSelect the color (Multiple choice), Size (Multiple options ),

-> After selecting the color and sizeForm order information

,Order remarks

Save to form an order.

Backend content:

1.Three product categories, colors, and sizes.

2.Order List and details display function, no modification function.

Duration and payment:

Completed by the end of January 1, November 2.

October 31 RMB will be paid before the evening of January 1, 400. If no objection is raised after the handover, November 4 RMB will be paid before the evening of January 1, 450.

Things are very simple. Many of them are done using JavaScript. They are too familiar with JS and have no difficulties or time-consuming points found. Although the cost is low, you can buy a pot of milk powder for your child at this time.

I can use Java, C #, and PHP. If such a simple function is implemented using Java and DOTNET, it will not be worth the candle, Because Java is prone to ssh. Even if the simplest JSP + servlet, JDBC and Hibernate are required for the database, the addition, deletion, query, and modification of Dao are no longer available for half an hour. C # although there are a lot of controls that can be used, the above flexible functions are only the fastest in Javascript, and the amount of code goes up again. Finally, I decided to use PHP FOR DEVELOPMENT AND THE yii framework. This framework can quickly generate addition, deletion, modification, and query. Since PHP is a dynamic language, Dao ing can be omitted. Similar to the Java Dao base class in terms of code quantity, it can encapsulate a large number of addition, deletion, modification, and query operations, and the subclass basically does not need to write any code.

Unfortunately, it took some time to generate the framework. I only knew that it was very easy to build the project. I had to do all the code in one line. Now I forgot how to use it. I went to check the information and it took more than ten minutes.

This is a trivial matter. A large amount of time is spent in the process of saving failure, and no prompt. Observe and observe. It turns out that the database fails to set the primary key for submission, but the error message is not detailed and it cannot be seen that the database reports an error. To be honest, I learned PHP + yii and made a project using yii. I spent only a month in total. I am still doing it in my spare time. I have not studied PHP and yii in depth. The usage of many yii instances is insufficient.

The process was completed two nights before and after, and the other party requested that the image be uploaded. Speechless, integrated with FCKeditor, and spent several hours querying data for integration.

 

This is a small case, but we can see that we do not have enough workload estimates. The reason is that you are not proficient in some technologies, and you are not able to get started immediately. We have done and met many things, but they cannot be done. Some technologies we used once do not mean they can be used immediately. There should be a framework of its own for receiving orders, which can be used out-of-the-box. Don't have nothing at hand, just rush to take over the ticket.

For example, it is definitely not cost-effective to use Java and C. Choosing the right tool and accumulating a complete framework can save a lot of time. Time is money, it is the competitiveness of the project!

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.