Shorten the development time of ten pages Ways
In today's development environment: that is, fast is good. Today such as "
But do hurry does not mean you have to work overtime - you work is needed more brains. This article will provide you with web-based applications to shorten development time-saving skills of the top ten
1. The use of the framework
Framework to extract the conventional code, give you the preparation of web-based applications to provide a basic structure and foundation.
The framework of a very typical example is the
For server-side framework, you may consider
You even can use are as
2. The use of integrated development environment (IDE)
Of course, you can use only one
Integrated Development Environment (IDE), ready for you to create and manage large-scale web project required the collection of all the tools. The function of integrated development environment has been changed, but they have some common features are as follows
- Project management and team collaboration features.
- Debugging and diagnostics.
- Grammar tips, as well as auto-complete function (IDE will guess you want to write the grammar)
- Syntax highlighting
- Built-in FTP, can keep pace with local and remote host on a document
"IDE" the word may be some fancy, some people also are not very familiar with this, but the large data people should have heard of Adobe's
Today online has many IDE, you need to do is for yourself (or your team) selection of a. As some popular, full-featured IDE, such as
If, after you see here are still determined to use a text editor, you should at least look for
3. (Appropriate) modular
Modular at the beginning of time has its own cost (because you must file structure in the design of spent a lot of efforts.) However, when you need to change a component or application you want to expand, this will save you a lot of swap Time .
Even if the bug also makes modular limit of modules; place happen if there is problem, you will quickly find where the problem lies.
However, the abuse of modular code would lead to a bloated and too many unnecessary
4. Use the browser tool to exclude high-performance front-end problems
No more than deal with cross-browser compatibility and to resolve the problem even worse things. This pole thing will make you mad, it brings you a sense of defeat almost let you feel something hard Hit out hate in my heart . However, integration into the browser will make the debug tools and diagnostics front-end look for the problem is divided into the rapid and efficient.
If you need at IE browser under the debugger, you can try to try to
5. Code reuse
If you find yourself always in duplicate to do things, you should reflect on this time to reflect on the structure of your code. Learn what to consider
For example, if you need frequent link to the database, you may need to create a database access class, to deal with the database link, query, and data submission.
6. Online collaboration, as well as tracking project status
In fact - you are not alone job. Whether you are a development team for the job or job for a person (this person may be your boss or your clients), you should be the full enjoyment of online collaboration and tracking project status, said the benefits to you.
Administration tasks in your time spent on less, or at the meeting at endless amount of time spent on the less (or, worse still, are the kind of travel required face-to-face meeting) - you spend on in the code more time.
L In addition these tools will help you distinguish between the severity of things to ensure that all the things at a centralized place and recorded.
7. Code automatically formatted and standardized
You need all of your code will be standardized format, so not only to do This is a very good habit, but also the subsequent need to come back once you watch these codes, which will help you quickly understand the code.
Automatic code formatting allows you to format one key all your code, rather than his party and his party to do so, this also ensures the consistency of coding. Automatic formatting is also reduced to manually modify the risk of errors,
We have a lot of tools to help us do, many are
8. At the planning stage needs to collect and spend more time
Prevention is far better than remedy. Perhaps some people thought the school not to emphasize at
9. The use of good code has been prepared
The ancients, as well as help us Car taxi invented , so we do not need to personally re- Playing with the taxi out to the car . If at a certain place to see a feature you're interested in, other people may have written the code for you (ah, not just for you, but for us all.) In the case of PHP, the
Note: Only when you have sufficient experience, we can distinguish between good code and bad code, above, this approach will really help you much. Otherwise you will find that you finally finished numerous bug in the code, written in the confusion.
10. Reduced Functionality
You must be some of the features of web-based applications to do an assessment to determine the function at the top whether it is worth the time invested.
Your users do not really need a frequently updated content management system for each type of article to provide a custom RSS output ? ? Do you really need a