In today's era of rapid digital development, artificial intelligence has been integrated into many fields, and mini program development is no exception. Today we will take an in-depth look at the interesting and practical new experiences produced by the combination of mini program development and AI.
Today, the use of AI tools is becoming more and more common, from initially helping to write emails and telling short stories, to programmers using AI to assist development on a large scale, such as GITHUB's early COPATE and some of the tools that later became popular. In the field of small program development, there is a tool called FinkLib worthy of attention.
As mentioned before, small program development can be turned into a function of company applications. Mini programs are unique application forms on platforms such as WeChat and Alipay. If an enterprise application wants to turn some modules into mini program style, FinkLib can provide functions such as review and release, monitoring data statistics, SDK integration, etc., which is equivalent to providing the basic functions of an APP. And now it has launched new AI features and also provides a full set of small program development experiences, including its own IDE. The trial phase is currently free, and you can directly download its official IDE to experience it.
We can log in to the IDE by registering, logging in with a username and password, or scanning a QR code with a mobile phone. After logging in, we can use the AI function. After entering, click the plus sign to create a blank template (of course it also has a large number of other templates, such as low-code version templates, which can help us quickly create small programs). Select the corresponding omitted id to complete the creation. Its IDE and debugging functions are the same as WeChat development The developer tools for mini programs are relatively similar.
The focus is on the AI assistance function at the bottom. Once clicked, it acts like a chat window and we can ask it various questions. For example, think of it first as a simple XJP-like tool and let it help you write an email announcing next Monday's meeting. This is just a demonstration of its basic functionality.
What's more important is the combination of application and code: 1. Code generation and optimization : After we write simple code, such as defining a function containing a loop, etc., through the Aite file, we can let AI help us write specific code based on the code knowledge base The content of the code, for example, generates a product page that displays product pictures, prices and introduction information. Corresponding JS files, page files and styles can be quickly created. Page files contain simple templates, fake data, and other content. 2. Interactive code improvement : For the created code, we can also improve it interactively in the chat box, such as adding detailed introduction text under the introduction displayed on the page, setting the background color, etc., and it will modify the code accordingly . For issues related to the display of page elements, such as image display, we can let it set the display mode of the image. If there are small areas that do not meet our needs, we can also make minor modifications manually. 3. Code logic explanation and learning assistant function : When we click on a specific code file, such as an app, click on a JSON file, click on it, the AI assistant can transform into a learning assistant and help us explain the role of this file. What, like the functions of some APIs and what information can be obtained (such as device model, system version, screen width and height, pixel ratio, whether GPS is supported, etc.), this is important when we learn small program development or read other people's code and debug the framework source code . Code is especially important. 4. Functions such as code version conversion : We can also use it to change the code to other versions, such as changing the JS code to the Typescript version. This function is more practical for version conversion of complex functions.
The benefits of combining artificial intelligence with mini program development are obvious. During the development process, we can develop simple small program modules without writing too much code, which improves development efficiency. And its chat box is particularly easy to use. We can clearly describe our ideas and code logic, and then submit code files for direct update, or even batch updates, which brings great convenience to development work.
Of course, current artificial intelligence tools also have some limitations and shortcomings. For one thing, most of these tools are paid, but FinkLib's new AI assistant is currently available for trial, which is an added bonus. On the other hand, at the current stage of mini program AI development, even if contextual information is added, it is difficult to complete particularly complex tasks. It is far from being a program that can be trusted to deliver system tasks, write code independently, and complete code reviews. “Members” still have some room for evolution.
In short, the application of artificial intelligence in small program development shows many highlights. If you are interested in small program development, don’t miss FinkLib’s new AI assistant function. Everyone is welcome to discuss and share your experience in the comment area, and you might even get an official gift!
Share on Twitter Share on Facebook
Comments
There are currently no comments