Moving Industry Development applet System (app. config details and read and write operations)

Source: Internet
Author: User

The application configuration file is a standard XML file, and XML tags and attributes are case-sensitive. It can be changed as needed, and developers can use the configuration file to change the settings without having to recompile the application.
The root node of the profile is the configuration file. We often visit appsettings, which is made up of. NET pre-defined configuration section. The schema of the configuration file that we often use is like the following form.
First of all, there is an impression that the following example will have a clearer understanding. The following "configuration section" can be understood as a node that configures an XML. This article for everyone to analyze the moving industry custom system Solutions ~

What is a moving system?
Moving system is a set of micro-reservation mall online "full-time reservation/deposit reservation/free booking" Select the service items and Times Member System management background many functions in one multi-function reservation management system.

Moving industry development of small program system: Zhang Li 185-6541*3369 micro/electricity. Moving company production near small procedures, moving industry resources integration development system, moving company app customization

If the moving industry to develop an online platform, how to achieve? What is the process for a moving company to develop a small program/app?

Demo scenario for Todos system:

The following are the main points of the development of the moving system:

1. The directory structure and configuration are not described in detail, which are described in detail in the Document-framework section. There is no HTML or CSS in this platform, instead Wxml and WXSS. WXSS with CSS almost no difference, disadvantage is not as strong as CSS, the support of the selector is limited. But the advantage is that there is only one platform, so there is little compatibility problem and can use standard, updated CSS technology. Wxml can only use the platform to provide those components of the label, HTML tags can not be used directly, the use of various components in the Wxml, can be found in the document-component section of the description of the example. So in fact, Wxml and WXSS are not difficult to write up.

2. Wxml supports the following features:

In the Todo app, in addition to templates and references are not used, the others are used, but not to use the details of each feature, only according to the needs of the app to choose the right function. A few days ago I saw an article saying that the applet was probably based on the Vue framework, so I looked at the next Vue document. For data binding, conditional rendering, list rendering, events these sections look at the use of Vue in detail. By contrast, Wxml provides these features that are more like Vue's related features, but not so much, so it's not easy to take the Vue framework's features directly into the applet. Best practice, or based on the instructions provided in the official documentation, if the features not mentioned in the official documentation are used in a speculative way, it will certainly not work. I look at the prototype of some objects by way of printing, and I don't find any more examples than the official documents, which shows that the framework function of the applet is really limited.

3. WXSS can actually be written in less or sass, as long as the selector satisfies the requirements of the framework. Because of time, there is no attempt in this app.

4. There is no bidirectional binding. Inside Vue, a Vue instance is an update to the data in a view-model;view layer, which feeds back to the Model;model updates in real time, and feeds back to the view in real time. In the applet, there is no two-way binding, the update of the view will not be directly synchronized to the model, need to be in the relevant event callback, directly from the view layer to get the data, and then through the SetData way, update model, the applet will re-render the page after SetData.

Finally, we need to add that in the limited time, according to the official document development, so the implementation of the way in the end is not reasonable, I do not know. I also just use this app to understand the usage of the applet platform. Hopefully the authorities will be able to launch some more comprehensive, best-of-project demos, at the code level, to give us these developers a best practice specification. Welcome to have other development ideas of friends, help me point out the above implementation of my problems. More system development, can Baidu are (Zhang Li system development) detailed chat ~

Moving Industry Development applet System (app. config details and read and write operations)

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.