My plan & SCM & ActionScript

Source: Internet
Author: User

With the development of ActionScript, it has entered the field of object-oriented development. Looking back at flash4, the script at that time has become very far away. macromedia proposed the strategic idea of RIA, but I think it is very immature. the first is the language itself, even if it fully conforms to the standards of ECMA-4, there are still a lot of things is not; secondly, I think it is also the essence of the Development Group ,. many of them are not professional practitioners, but they like Flash Animation and then learn it again. I admire the learning spirit of these people. however, some facts exist. This group lacks much knowledge about the programming and software industry. as a result, when I proposed the design pattern of ActionScript, when I proposed the reconstruction, when I proposed the delegation, when I proposed the exception mechanism, and when there were various "advanced" ideas of moock, I felt very novel. in fact, I am a CC, and moock copied more than me! Among other mature languages, this is the most basic thing! As a programmer, this must be mastered! So I made an important decision to build a team. the mission of this team is to develop professional flash coder, develop some open source projects through mutual communication, and promote the development of the flash development field in China. I know this is a very difficult task. We may not develop with perseverance, but we will definitely leave a classic and brilliant style in the Flash industry!

Let's take a look at the mobilization of SCM and ActionScript.
SCM is the full name of Software Configuration Management, Software Configuration Management. There is too much information about this, I do not want to copy. Can Be In The http://www.uml.org.cn/pzgl/pzgl15.htm
We often use VSS, CVS, clearcase, PVCs, starteam, and so on. For more information, see csdn:
Http://dev.csdn.net/develop/article/39/39972.shtm
Generally, people in Linux and open-source organizations will choose CVs, because most of the CVS software is open-source and free, and there are also a lot of Windows users using VSS, clearcase and PVCs. I personally think that PVCs is the most cost-effective in commercial SCM software. although rational products are powerful, they are violent and expensive. after learning about these tools, I will first introduce how to use VSS for configuration management in Flash 2004 and its best external editor primalscript.
The visual source safe option is available in the installation disc of Visual Studio 6. you can use this to install vs6. of course, there is also an independent VSS installation version. You can check it online. after the download and installation are complete, you can see an ssadmin.exe and ssexp.exe under the VSS/Win32 (vs6: Microsoft Visual Studio/common/VSS/Win32) directory. the former is the management tool of VSS, and the latter is the client of vss.double-click ssadmin.exe. The logon dialog box of visual sourcesafe administrator is displayed. at the beginning, there is no password.

First, create a database. database is a database used to store various engineering files. jobs of all members of the development team are stored in the Administrator directory through the VSS client and managed by authorized users (usually administrators. click createdatabase in tools.

The following dialog box is displayed:

Click Browse to select a path

After the database is created, the admin of this database also has no password.

Select Admin and Change Password.


The Change Password dialog box is displayed to modify the admin password.

You can also use the Add User method to add new users and grant users various permissions. For details about VSS management, we will not describe much about the space. You can refer to the relevant materials.
Open ssexp.exe to connect to the VSS service.

Because the database you just added is not in it, you need to add it. Click the Browse button after the above logon screen.
Open the open sourcesafe database dialog box and Click Browse to select the path.

After the selection, enter. Familiarize yourself with the environment, right-click $/, and select Create project.

Enter the project name and comments

Then you can see that a project has been added to VSS. But this project does not have any files. We have to create it in Flash 2004 and upload it to VSS.

Open flash 2004 Professional, use Shift + F8 to open the project panel, and create a project named aolframework. Of course, the project name can be different from that in VSS.

This step is an important step. click the button shown in. select Edit sites.

The editsite dialog box is displayed. Select New.

The site definition dialog box is displayed, which defines the site.
Connction is sourcesafe database.

Click the setting button, and then fill in the relevant data of the VSS database.

Click OK. Return to the project panel, right-click the aolframework project, and select setting. This dialog box appears.

After the site is selected, the project is still empty. let's write some code. After writing the code, we can pass it to VSS for unified management. the administrator maintains the data of VSS and maintains the code consistency and security. right-click a folder to be uploaded and select checkin (check in ).

The following prompt is displayed: a version control status and add comments.

After checking in, you can see that there is a lock in front of all files, as shown in. This indicates that the code has been checked in and is only readable. If you want to edit the code, right-click the code file and select chekout (check out). A check box is displayed in front of the file. In this way, you can modify the code. After modifying all the codes, remember to check in! In this way, the Administrator performs daily maintenance and builds daily.

OK. Go back to VSS and enter ssexp. We can see that the code has been uploaded.
Right-click a file or folder and select Show history to view the maintenance history of the file/folder.

Next let's take a look at how primalscript links VSS. Speaking of primalscript, I can only describe it in the best ActionScript editor. It can be proved by linking code associations, Automatic completion, definition conversion, project file management, and SCM, it is currently the best! After installing primal, select Tools> options. The following dialog box is displayed.

This is the tool configuration option of primal. Select enable Souce control connection in source control-> General. because I have installed Multiple SCM software, I have to select Microsoft Visual sourcesafe at the bottom of the dialog box. Primalscript supports VSS, PVCs, starteam, and other well-known SCM software. After definition, restart primalscript.
Create a project after restart, or an existing project. Right-click the path in the nexus window and select the add to source control option.

In this case, the VSS logon box is displayed. After logging on, select your project as follows. Click OK.

The following prompt is displayed, asking you to select the file to upload.

After you click OK, all the selected files will be added to the VSS project, and a check mark will be added before the file. This indicates that it can be edited. Unlike flash 2004, if it is added to VSS, it is already checkout by default.

When editing a file, you can right-click the file and you will see the check in option. Do you know what to do?

 

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.