| |

VerySource

 Forgot password?
 Register
Search
View: 1226|Reply: 9

Personal thoughts, brothers are welcome to talk about their thoughts.

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-15 16:40:01
| Show all posts |Read mode
I have a question, I would like to ask you, can we write the code for dynamically creating components in the interface in a file, and read this file dynamically each time it runs. Of course many brothers will ask, is n’t it for every user You can change our program at will, or the confidentiality of the code does not exist. I think that if you write the code like this, the software is very random, in other words, the practicality of the software is closer to the needs of users, such as The user wants to add something that he often uses, and we can make the software suitable for the user according to his usage habits. As for the confidentiality of the code, the younger brother does not have such a high level, but the younger brother must think that other methods can be adopted. To complete confidential work. Maybe some seniors have raised these issues before. Even if the younger brother is ignorant, everyone is welcome to mention their ideas.
Reply

Use magic Report

0

Threads

17

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-1-19 09:00:02
| Show all posts
You can encapsulate the code into a module, and each module can complete a basic function. When the user uses it, it can be pulled together like a child building blocks; of course, it is also necessary for the user to create his own blocks'
Reply

Use magic Report

0

Threads

18

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-1-24 16:45:02
| Show all posts
Bangding
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-25 23:00:01
| Show all posts
It's been a long time ago. Can you use Pascal scripts? There are many third-party components to support it.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-4-4 14:00:01
| Show all posts
Use frm file directly
Reply

Use magic Report

0

Threads

25

Posts

19.00

Credits

Newbie

Rank: 1

Credits
19.00

 China

Post time: 2020-4-19 17:45:01
| Show all posts
How to embed a script in the program.
You can use lua or tinyscheme.

First encapsulate the functions that need to be customized such as creating windows, menus, etc. into lua, (scheme) available functions.
Objects that need to be created dynamically are executed by the script
Just execute the script when the program starts.
The script can be encrypted and decrypted in memory.
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-4-29 18:30:01
| Show all posts
Files can be compressed and encrypted.
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Invalid IP Address

Post time: 2020-5-1 20:00:01
| Show all posts
The idea is good, but I think that if this is achieved, the pressure of the customer will be greater, and the programmer will be unemployed.
Reply

Use magic Report

0

Threads

1

Posts

0.00

Credits

Newbie

Rank: 1

Credits
0.00

 China

Post time: 2020-5-15 15:27:29
| Show all posts
Help top: lol
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-7-18 20:00:01
| Show all posts
Going upwards is basically equivalent to script programming. It is better to use python/perl/tcl+tk directly.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list