SVG + JavaScript + ASP. NET + WebService-Building Management System Development-Miscellaneous 1

Source: Internet
Author: User
Due to some recent events, I want to write a few notes before writing (3.

After thinking for a long time, record these things as part of the project!

The current project was started in May January. At the beginning, due to a small number of people, only two people were doing one of the jobs, which was PM. In itself, we had to worry about a lot of projects plus meetings, in fact, only one person is actually working (for the moment, she is called ). I did not participate in this project from the beginning because I returned home to visit my relatives at the beginning of the year. The technology used in this project is relatively new, and the span is relatively long. Therefore, the customer asked us to conduct a survey in the previous section. A has been working on organizing requirements until I participate in the project. After I joined the project, I started a technical investigation and a was also investigating with me. I am mainly responsible for the investigation of SVG technology and system architecture. A is mainly responsible for page expansion and workflow (in SVG + JavaScript + ASP. net + WebService Development Building Management System (1) I have mentioned that this product is mainly divided into two parts, the workflow here refers to how to maintain and maintain the workflow ).

At first, we both cooperated very well and made a good evaluation of the sample. However, by the end of January, a small head was sent, which is a bit like pL (for the moment, he is called B). He did some research at the end of last year, this is basically the kind of research that I just tried and ended up with. After that, I will pick and pick up the samples I made, and say that. My sample mainly uses js to call WebService and then use js to update SVG script files, which are implemented by HTML files.

 

The focus of my debate with B is mainly on the following points:

Q1: You use HTML files to update SVG. Can I implement it in ASP files?

A1: HTML is a static webpage, while ASP is a dynamic webpage. Since it can be implemented in static pages, it can be expressed in ASP pages, but it takes into account the SVG control. I did not directly answer the question. I told him that I have not investigated it, but it should be feasible. But B has always been skeptical about me, and I feel that it may not be implemented in ASP.

 

Q2: to update an SVG image, you must specify the ID of each control in the image. Can you set it directly when drawing an SVG image (use visio2003 to draw the image and save it as SVG )?

A2: not clear. I have studied the generated SVG code. in XML format, each control corresponds to a script. If you want to set an ID in it, visio2003 does not work, as shown below.

<Rect x = "0" Y = "0" RX = "5" ry = "5" width = "100" Height = "16">

Bytes

<RectId = "TTR"X = "0" Y = "0" RX = "5" ry = "5" width = "100" Height = "16">

Therefore, we recommend that you use a conversion tool to implement this conversion. This part can be part of a workflow.

But B has always thought that I have not carefully studied the book "visio2003 solution", and I must have written in what book, this book mainly introduces how to use visio2003 to develop applications, how to generate code is not easy to write, and there is no ID attribute at all.

 

Q3: there is time to draw the entity first, and then draw the sequence diagram.

A3: it cannot be implemented. On the one hand, the design book is not fixed, and on the other hand, the architecture is not fixed. Even if it is done, it will definitely be changed in the future. It is better to design the architecture and conduct some research.

I can't convince you of the above questions, but I want to express my views to you. B always thinks that I have nothing to do every day. You are all confused about what you want to tell you.

Related Article

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.