[PHP] recently took over the existing front-end framework for postal business enterprises encountered difficulties


1. Mailbox distal end has three product lines, including a free email codes, the VIP-mail, E-mail, using logic determination process performed in the code, according to different business operations different configurations. Each product had a lot of logic line is different, it needs to be carefully judged in order to develop and will not affect other products

2. webmail front-end is a long history of research since the front end js framework, almost ten years of history, did not use any open source database front-end specification, all to achieve their own. Requests across the network, to the back-end output variable page read, particularly front-end load handling and DOM template engine front-end data service interaction logic is very complicated.

3. After the front end js and css will merge and compression, where the compression process is consolidated and developed a set of tools used in PHP, complicated operation, you need to upload SVN repository compressed, to get svn version number, and then on the line uploaded to the CDN static pool of resources provided by the company, the path specified in the resource pool that contains the version number of the previous step, access to resources through the company's static resource domain

4. On the front end of the exchange wire resource path webmail backend code version number, considered over the entire on-line process is very complex

The test development process, the need to configure apache environment in the local machine, the front end of the binding domain to the local 127.0.0.1, in many apache virtual host rewrite rules, when accessing front-end resources, resources will rewrite the path to a file .php file, the merge file js php and css code, the purpose of direct local development

 

Guess you like

Origin www.cnblogs.com/taoshihan/p/11544407.html