re: ER圖 jinfeng_wang 2009-05-16 23:25
不同開發階段,對“系統”的不同表現。
順序可以大致可以是2->3->1
不過2和3 比較像,但是畫的好像也不是很規范。
re: 區分Action, Service 和 Dao功能 jinfeng_wang 2009-05-16 23:22
to 樓上:
是不是“脫了褲子放屁”,得取決于你的腸道的功能好不好,不小心有一天,你就會以為是放屁,其實是拉稀。
順手牽羊式的“脫褲子放屁”,絕對是減少“莫名其妙”問題出現可能性的一個絕佳機會。 在系統演變的越來越復雜的時候,是沒有心思和時間再去演變你的原有代碼結構的。
如果你的公司,允許你隨意改動“既成的可運行”的代碼,麻煩你說一下,你公司名字。
re: Web項目兼容性問題調試與分析之道 jinfeng_wang 2009-05-16 23:18
原來NTKO Office Activex控件在提交數據時,是通過scoket模擬Http進行文件和頁面元素的提供,如提交的頁URL完整路徑中包含了"_"等字符時,將導致無法識別,從而導致兼容性的產生。
====
why? 你是說這個Activex的bug?
re: 人員、資源、操作及這三者構成的權限控制 jinfeng_wang 2007-02-15 20:59
樓上的,你說的身份證是實現。
實話實說,你所說的“身份證”的概念,我第一次聽說??赡艿脑?,給我介紹一下。
問題的關鍵不在于實現,而是在于問題的發現。
“員工只能查詢自己的工資”,這在絕大部分的公司都是這樣的要求,
但是為何一個在實際中已經推廣了幾年的產品,還存在著這樣的問題?
安全認證、安全控制的手段有很多, 如何利用這些手段只是一個技術問題,
我所提及的更多的是側重于“問題的發現”。
How do I install the mysql/mysqli extensions for PHP?
Installing the extensions is easy. You have to verify two settings in your php.ini configuration file and copy the extensions to the php extension directory.
Step by step:
Unpack the download archive
Copy the php_*.dll files to your PHP extension directory
You can look up and confiugure the PHP extension directory in your php.ini file. A typical location for the php.ini file is C:\php\php.ini. The PHP extension directory is configured using the extension_dir setting, for example:
extension_dir = C:\php\extensions
Copy the php_*.dll files contained in the download to your PHP extension directory, for example to: C:\php\extensions
Enable the PHP extensions that you want to use in the php.ini file
Uncomment or add the following lines to your php.ini file:
// MySQL extension
extension=php_mysql.dll
// MySQLi extension
extension=php_mysqli.dll
Copy the libmysql.dll to the PHP installation directory
A typical location for your PHP installation directory is C:\php . Exchange the libmysql.dll file that is in the directory and overwrite it with the file from the download archive.
===================
配置完成后,需要重啟機器!
"SqlException 很多人catch了后只是log了一下, 根本就沒有做任何的處理"
你只是假設了某些用戶的習慣,但是對于某一部分的用戶,他想做一些特殊的處理操作,那么單純的SqlException能夠滿足要求么?
其次,如果用戶的習慣都改過來了,那么SqlClient如何應對這樣的要求?SqlClient重新實現??
再次,我們現在談的不局限于SqlException,我們討論的是方法學,程序設計的方法學。
這個討論我會繼續下去的。
請記住一點,現在很多人已經用“Exception”做為程序流程的控制依據,因為CheckedException是要求客戶端捕捉的,而用返回值是不能達到控制用戶程序的,所以很多時候CheckedException用來做“程序流程控制”也是合理的。
re: UP & XP之爭,意義何在? jinfeng_wang 2006-04-26 16:32
德國人做湯傾向于UP;中國人做湯傾向于XP。
//你確認中國人傾向于XP??
也許中國人的性格上喜歡XP,但是如果中國人用XP,以中國人的性格,產品的質量能保證么?
re: 成功竊取一個小網站 :) jinfeng_wang 2006-02-27 13:04
to 樓上的,我沒有說錯哦。
你也沒說錯,但是你的DB只是管理。
當別人聽的時候 則不是通過DB了,對么?
別人聽的時候,則會下載你的Mp3到客戶端,對么?那么就在internet臨時目錄了。
我的隨筆,歡迎討論?。海?
AOSD (Aspect-Oriented Software Development with Use Cases) 隨想
http://www.tkk7.com/jinfeng_wang/archive/2006/01/25/29182.html
re: 成功竊取一個小網站 :) jinfeng_wang 2006-01-03 13:16
這么多人對這個感興趣啊!
用不著監聽啥的了.
只要你讓用戶聽,那音樂文件就已經下載到internet臨時目錄了, 自己去臨時目錄找就行了.
監聽http是一種方法.唉.
to 左岸:
那一點點的內容,你放到文件里面就行了,干嗎要數據庫呢?再說,放數據庫也不會有問題的.
后來我就沒再去你網站下過音樂哦,嘿嘿.
re: 成功竊取一個小網站 :) jinfeng_wang 2005-04-13 18:54
靠,來得真快,沒關系,你是不是從服務器的訪問上看到負載在飆升?
那也不對啊,因為你未必能找到我的blog.
mp3在我機器上了,可惜64kbps的。
快樂在于如何的“竊取”,而不在于其他。 呵呵。
There is something trouble in the edition system,it's not what you see is what you like edition status. sorry, but you can copy it in the notebook or ultraedit and read it ,yeah?
re: maven的tutorial jinfeng_wang 2005-03-10 14:57
Case-sensitive issue問題解決,更新下載maven-ear-plugin-1.6.1.jar到maven\plugin目錄中,并刪除maven\cache,重新在maven目錄運行maven命令。
the book can be downloaded from the ITPUT, 3.09M :-) now i have readed the the Part 2 chapter 5. i think it's a very very good book ,much better than the Spring Reference and the Sprint Live. In my humble opinions, the content of Spring Live has not been constructed as the learning step and The Spring In action is more suitable for the Spring Layman.
To be frank, i am interested in joining the translation for this book, and i have send my the applying to the publication. what i more care about is that "Bring the Spring to The Chinese Java Programmer", for that "IOC is indeed a breakthrough for the original system architecture, and Spring is a wonderful IOC Container".
by the way, would u be be pleased to tell me how to configure the blog?
還有一個,hibernate in action的中文翻譯的相關內容在哪兒? 可以給點線索么?
真是巧的不行了,這兩天我就在看這本書,你可以看我的blog。
這本書語言比較簡單,翻譯起來還算容易哦~~
email:jinfeng_wang@msn.com
blog:http://www.tkk7.com/jinfeng_wang
re: hibernatesynch的安裝與使用 jinfeng_wang 2005-02-23 11:08
此外,有關hibernatesynch的配置可以看其網站的document,
不過好像沒啥需要動的,那配置的內容也就是“生成各項java文件所需要使用的各個模板”。
re: hibernatesynch的安裝與使用 jinfeng_wang 2005-02-23 11:04
補充一個例程:
public static void main(String[] args) {
try {
// load the configuration file
_RootDAO.initialize();
UserInfoDAO dao = new UserInfoDAO();
UserInfo userInfo= new UserInfo(new Integer(1),"wjf","wjf");
dao.save(userInfo);
java.util.List people = dao.findAll();
// find a single person
Integer id = new Integer(1);
UserInfo person = dao.load(id);
// update the person
person.setName("Joe");
dao.update(person);
// delete the person
dao.delete(id);
} catch (HibernateException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
re: 可憐的Eclipse jinfeng_wang 2005-02-20 15:20
JbossIDE插件自帶了一個java文件編輯器,并替換了原默認的java編輯器,真該死,可以在preference ->workbench->associate里面修改!?。。。?!
re: 可憐的Eclipse jinfeng_wang 2005-02-20 15:03
唉~~~~
Jboss IDE 自帶了一個AOP編輯器, 替換了默認的編輯器,重新選擇一下就可以了,真TMD。。。。。。。。。。。。。。
re: 我想要的機器配置 jinfeng_wang 2005-02-20 15:00
這總價格大概在多少啊? 好久沒有出去看硬件了。