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