Several principles of J2ME programming

xiaoxiao2021-03-06  42

Several principles of J2ME programming

For more information, please visit my blog: http://blog.9cbs.net/mailbomb

There is not long before J2ME development, and I think the principle of J2ME program should follow:

1. Use object-oriented programming.

Although the use of process programming can reduce the size of the file, it is necessary to use object-oriented programming for the convenience and expansion of future maintenance.

2, use MVC mode

Separate the model, interface, and control. Now a lot of programs will be combined three, but if you do the biggest, it is recommended that you separate.

3, automatic storage user settings

Use RMS to store users' information, such as store username, password, user name, password, user settings, etc., not only reduce user input, but also to user-friendly. Many programs have even do automatic logins.

4. Some system settings allow users to close. As background music, background light display, etc.

5. Place the low-level user interface in a separate thread.

6. When you need a lot of time to complete, give the user a waiting interface.

There are only so many temporary, I hope everyone can actively supplement and correct.

转载请注明原文地址:https://www.9cbs.com/read-72456.html

New Post(0)