This guide is based on years of observations after using thousands of applications, both commercial and open source.本指南是根据多年的观察后,用数以千计的应用,无论是商业和开放源代码。 Some of the references are to windows based applications.部分提述是基于Windows的应用程序。 However the principles are universally applicable.不过,原则是普遍适用的。

Installation 安装
Always assume C: drive is fair game.始终假设C :盘是公平的游戏。 Do not ask the user where to install.不要求用户那里安装。 He is dumb.他是哑巴。 So make it easy for him by installing your applications always in C: drive.因此,可以很容易为他安装您的应用程序始终在C :驱动器。

Always dump all your data in default location (Application Data directory in c: drive) irrespective of their size.始终转储您所有的数据在默认位置(应用数据目录在C :驱动器) ,不论其规模大小。 Again repeat rule number 1.再次重复规则数目1 。 Never ask nor give user the choice to select a different location.从来没有问,也不给用户的选择,选择一个不同的位置。

Note : User is always dumb. :用户永远是哑巴。 When you think of user think of one who thought cd-rom drive was a cup holder.当您觉得用户认为一个谁想到CD - ROM驱动器是一个杯持有人。

Never check how much space a drive has before going forward with installing all your data files in them.从来没有检查多少空间的驱动器之前,已经向前迈进安装您所有的数据文件在他们。

Always dump all your DLL files, INI files and their grandchildren in c:\WINNT or c:\Windows.始终转储您所有的DLL文件, ini文件和他们的孙子在为C : \ Winnt或C : \ Windows 。 If in doubt dumping in both is fine.如有疑问,倾倒在这两个是好的。 If the directory doesn’t exist, feel free to create it.如果目录不存在,请随时创建它。 Remember C: is your applications dumping ground and C:\WINNT (Windows System directory) is your preferred spot.记得c :是您的应用程序的倾销和的C : \ WINNT ( Windows系统目录中)是您的首选景点。 Liberally drop any files there.宽松下降的任何档案。 Also it will make your application look smaller, if the user happens to check the size consumed by your directory.此外,这将使您的应用程序看看较小,如果用户发生的检查大小消耗您的目录中。

Pages: 1 页数: 1 2 3 4 5 6 7