Let's develop a vsts extension-create your own vsts template-Section 3 Overview of the vsts template System

Source: Internet
Author: User

Next to the previous section

Thank you very much for your comments. Check out the customization Tookit tool. It can also be used as soon as possible. We also hope to have more exchanges with our colleagues.
But as I mentioned in the previous sections, these are just means, not purposes. It's just a short cut, so we can use vsts to do things. It does not have much benefit for us to understand vsts itself. The purpose of writing this is to discuss with you the vsts itself. Let's look at what systems Microsoft has consumed and what we can learn from the high-priced vsts system.

Now let's move forward from easy to difficult, 1.1 points.

Let's take a look at the structure of the downloaded template directory.

Open the download directory to view the following directories and files:

Every directory and file is exquisite. Let's see what Microsoft says.

First sentence:The Process Template architecture consists of three main parts: The Process Template plug-in, the "New Team Project Wizard", and the XML process definition file.

This sentence is actually the most classic and important one in the entire vsts template, because it actually shows the implementation mechanism of the vsts Project template.

Let's first look at what the "New Team Project Wizard" is.

The project lead uses the new Team Project Wizard to create a new team project. The plug-in used determines the screen displayed in the Wizard. For example, if the process template does not contain the Windows SharePoint Services plug-in, the screen asking the project supervisor to provide information about the project portal is not displayed.

After the project supervisor completes the wizard and click "finish", the wizard calls the plug-in to create a team project. The order of calling plug-ins is determined by the XML process definition file.

Do you understand? The "New Team Project Wizard" refers to the creation of team projects in our installed teamexploer.Program. The running of this program depends on the "XML process definition file" in the template we selected ". The "XML process definition file" is not casually written. It records information about the call of the "Process Template plug-in. The Process Template plug-in is an internal plug-in for several vsts Files written by Microsoft.

What are the "Process Template plug-ins? Microsoft told us in msdn. Unfortunately, it was also translated into Chinese in the Chinese msdn, so that beginners could not respond for a moment. I did not understand it after comparing the English version. In fact, there is no need for translation.

Microsoft provides some plug-ins with Visual Studio team system, as described in the following table.

Process Template plug-in Description

Category

Define the initial iteration and region of the Team Project.

Groups and permissions

Define the initial security group and permissions of the Team Project.

Windows SharePoint Services

Defines the team's project portal based on the SharePoint site template. The template file and Process Guide are also defined.

Work Item tracking

Define the initial work item type, query, and work item instance of a team project.

Report

Define the initial report of the Team Project and set the report site.

Version Control

Define the initial version control security permissions and check-in instructions for the Team Project.

These plug-ins are in English:
Classification
Group and permission groups and permissions
Windows SharePoint Services
Version Control
Report reports
Workitem tracking

You can carefully compare the subdirectories in your template directory. What have you found? Exactly. Of course, our "New Team Project Wizard" is not for these directory names. It works through a series of "XML Process Definition files. However, this shows that the template plug-in is the main character here.

Understanding these is a key step for us to understand the "XML process definition file.

In the next section, we will introduce these "XML Process Definition files ".Have you found a digress. If you understand the details, you can write your own vsts?

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.