Home  >  Article  >  Backend Development  >  Quickly generate source programs and get started easily.net_PHP tutorial

Quickly generate source programs and get started easily.net_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 14:51:57761browse

"FireCode Creator" is a program code generation software based on a variety of databases, which can quickly create data information: add, edit, view, list, search functions . By default, asp, aspx WEB programs, .net ordinary three-layer framework web programs, .net Windows programs, several code frameworks and multiple interface design templates are provided. The built-in .net code framework can create .net solutions in C# language and can be edited directly in VS2005. It can not only help .net beginners get started quickly, but also maximize the code writing efficiency of .net programmers.

Through the Fengyue code generator, we can generate the required program files based on the specified database in just a few steps:

1. Click "New Project File" and enter the project name, version, description, etc., which will become the remark information for the generated code file.

Specify the namespace, database connection, and save path in the "Data Settings" panel
Select the program framework to be generated: ASPX single-layer structure code framework. If you want to generate other types of programs, you only need to choose a different framework, such as asp or .net winform program.
Create a new virtual directory in IIS and set the "URL path" published by the program. Figure 1 Figure 2

 

 

2. After completing the project information settings, click "Generate Framework File" to copy the basic files in the specified framework to the folder where the project is saved. Figure 3

 

3. Select the data table and set the input control type and display type of different fields.

Set the control type of "User Name" to "Text Box", "User Password" to "Password Box", and "Photo" to "Upload File"
The input of country, province, and city can be set as a drop-down list to generate a multi-level linkage drop-down box. Associate the field to the corresponding data table, for example: the "Country" field in the user table, associate it with the data table that stores the "Country" data, and set the value fields for the displayed fields and options. Figure 4

 

Set the password field to "secondary input", with a minimum length of 6 characters. The generated code can verify whether the value entered again is consistent.
Set EMAIL to direct editing: check it. Then, on the list page, the direct setting function will appear. Figure 5

 

To set the control name encryption, you can set the prefix and suffix of the control name variable as needed, and check "Convert to Pinyin", so that the control name displayed in the HTML code will be the Chinese character based on the field title. Converted pinyin letters.

4. Set the language of the output interface. Currently, it supports the output of three versions: simplified Chinese, traditional Chinese, and English. Figure 6

 

5. After completing the settings, click the Generate Add, Search File and other buttons to output the required files. If you want to generate multiple files at one time, you can use the batch generation function. The system will output all the codes at one time based on the selected data tables and template files. Figure 7

 

6. Select a skin interface for the generated website. Any HTML file with added images can be set as the interface and called at any time. Figure 8

 

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/371705.htmlTechArticle "FireCode Creator" is a program code generation software based on a variety of databases. Quickly create data information: add, edit, view, list, search functions...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn