这条蛇版本是秋千执行的非常好感谢,由于方式设计。
它被设计有一个好的程序员应该做的就是: 使用 mvc 模式,栋梁之材的模式,允许有一个非常灵活的、 可重用的和解耦的代码,三个基本特征 ,使 任何程序 一个伟大的计划!这一事实的使用模式。
使用 模式 is 好办法 理解之间的区别 a 小说程序员 by a 好的程序员
文 件 列 表
snake LICENSE MainSwing.java Utilities.java controller modell view
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.000955s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.080210s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001106s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001701s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001319s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003401s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000862s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003838s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.018625s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001338s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 41367 [ RunTime:0.014733s ]