Using AJAX for project development is a blessing or a curse

Source: Internet
Author: User
Keywords Project Development Ajax

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Recently in the development of a station group system, mainly using Ajax for design and development, the client library is using jquery, service segment with Asp+json to provide data services. Finally, because of the lack of design and comprehensive aspects of the reasons, the project aborted, here a simple summary, is, OH.

The requirements of the project simply summed up:

1 Station group server, mainly used to maintain the Site Directory index, information relay.

2 Station group within the site, you can through the station group of Information Transfer Server information on the hair and issued.

3 the station group each site supports the function of skin changing.

Because of the need to consider the function of the skin, and because the project time is not too tight, and consider the technical equipment of the project members (server development language and skilled people are relatively few), I decided to use the full Ajax technology in this project.

My approach is:

First of all, station group server and site, site, no longer use the Web service, but use Asp+json to provide data services, because have their own written ready-made framework can be used, developed very convenient, mainly database design work, small amount of code.

Second, individual sites use the MVC Framework for development. Server I configure a person to develop (because the AJAX server is different from the traditional approach, no need to develop a lot of interfaces, just write the data interface, so a person is very easy to do; for the front end, I configure 3 people to be responsible for cutting maps (HTML+CSS) and developing client business logic code (js+ JQuery).

The difficulties of fact seem to be beyond my imagination.

1 because the customer is the government department, the data security requirements are relatively high. And Ajax in this respect is congenitally deficient, data interface exposure will bring a lot of security risks. To solve this problem, the project design and development workload needs to be increased.

2 in the client side, because there is no ready-made AJAX application framework, the development of a small site, many business logic needs to start from scratch design and development, considerable trouble (the workload will not be saved). (Programmers and I said, a page JS code more than 20 lines, it began to clutter).

3 because it is a distributed site, so the Ajax Cross-domain post, Cross-domain can not share the session and other issues, directly lead to the increase in the number of design work.

Summary:

1 Expect more based on the client/server full AJAX framework for maturing, such as ajax.net.

2 with the popularization and popularization of RIA applications, more designers are required to join the Web front-end.

From the Ajax real station http://www.ajaxsamples.cn

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.