锘??xml version="1.0" encoding="utf-8" standalone="yes"?>BlogJava-robbiehttp://www.8634070.com/robbie/zh-cnTue, 26 Mar 2019 20:15:51 GMTTue, 26 Mar 2019 20:15:51 GMT60jquery mobile content 楂樺害璁剧疆http://www.8634070.com/robbie/archive/2013/01/28/394828.htmlThe MatrixThe MatrixMon, 28 Jan 2013 02:59:00 GMThttp://www.8634070.com/robbie/archive/2013/01/28/394828.htmlhttp://www.8634070.com/robbie/comments/394828.htmlhttp://www.8634070.com/robbie/archive/2013/01/28/394828.html#Feedback1http://www.8634070.com/robbie/comments/commentRss/394828.htmlhttp://www.8634070.com/robbie/services/trackbacks/394828.htmlvar fixgeometry = function() {
    /* Some orientation changes leave the scroll position at something
     * that isn't 0,0. This is annoying for user experience. */
    scroll(0, 0);
    /* Calculate the geometry that our content area should take */
    var header = $(".header:visible");
    var footer = $(".footer:visible");
    var content = $(".content:visible");
    var viewport_height = $(window).height();
    
    var content_height = viewport_height - header.outerHeight() - footer.outerHeight();
    
    /* Trim margin/border/padding height */
    content_height -= (content.outerHeight() - content.height());
    content.height(content_height);
  }; /* fixgeometry */
  $(document).ready(function() {
    $(window).bind("orientationchange resize pageshow", fixgeometry);
  });


]]>
鍏充簬Hibernate鍒嗛銆丗etch Join璋冧紭鐨勪竴绡囧鏂囩珷http://www.8634070.com/robbie/archive/2012/05/14/378095.htmlThe MatrixThe MatrixMon, 14 May 2012 06:28:00 GMThttp://www.8634070.com/robbie/archive/2012/05/14/378095.htmlhttp://www.8634070.com/robbie/comments/378095.htmlhttp://www.8634070.com/robbie/archive/2012/05/14/378095.html#Feedback0http://www.8634070.com/robbie/comments/commentRss/378095.htmlhttp://www.8634070.com/robbie/services/trackbacks/378095.htmlhttp://java.dzone.com/articles/hibernate-tuning-queries-using?page=0,0 

The Matrix 2012-05-14 14:28 鍙戣璇?#29825;?/a>
]]>
Centos6.2瀹夎?#21288;agentohttp://www.8634070.com/robbie/archive/2012/04/04/373322.htmlThe MatrixThe MatrixWed, 04 Apr 2012 09:09:00 GMThttp://www.8634070.com/robbie/archive/2012/04/04/373322.htmlhttp://www.8634070.com/robbie/comments/373322.htmlhttp://www.8634070.com/robbie/archive/2012/04/04/373322.html#Feedback1http://www.8634070.com/robbie/comments/commentRss/373322.htmlhttp://www.8634070.com/robbie/services/trackbacks/373322.html鐜?#28583;?#38171;?/strong>
    
    Centos6.2(瀹夎鍦Vmware7.0涓?
    Magento1.6.2
    Apache Httpd Server 2.2.15
    MySql 5.1.61
    PHP5.3.3

瀹夎杩囩锛?/strong>

    apache http銆乵ysql銆乸hp鍙婄浉鍏虫墿灞?#28729;夎锛?/strong>
    鍏?#28051;apache http銆丮ysql銆乸hp閮芥槸鍒敤centos鐨勬坊鍔?鍒犻櫎杞欢鍔熻兘杩涜瀹夎銆傚悓鏃朵娇?#25956;璇?#37716;熻兘瀹夎"php-xml"銆?php-gd"銆?php-pdo"銆?php-mbstring"銆?php-mysql"?#22719;灞?#37510;?/div>
    ?#23047;?#25956;chkconfig閰嶇疆httpd鍜宮ysql涓虹郴缁熸湇鍔?#37510;傚懡浠?#28641;?#28051;?#38171;?/div>
    chkconfig httpd on
    chkconfig -add mysqld
    chkconfig mysqld on
    ?#23047;?#25956;chkconfig --list 鍙?#28000;?#37836;湅鎵鏈?#37928;勬湇鍔?#38320;嶇疆鐘舵?/div>
    ?#23047;?#25956;service httpd start銆乻ervice mysqld start鍚?#37716;httpd鍜宮ysqld?#28231;鍔?#37510;?#37721;?#28000;?#38315;?#26473;service httpd restart閲嶅惎?#27977;鍏虫湇鍔?#37510;?/div>
    姝?#37827;?#29825;块棶鏈?#37832;?#37928;刪ttp://localhost鍙?#28000;湅鍒apache鐨勬杩庣晫闈?#38171;屽悓鏃?#32514;栬緫index.php鏂囦欢锛?#37711;?#37712;?#28729;?#28641;?#28051;?#38171;?/div>
    <?php
        phpinfo();
    ?>
    骞跺皢璇?#37826;囦欢?#30086;?#31788;/var/www/html鐩綍涓?#38171;?#29825;块棶http://localhost/index.php锛?#23005;?#37827;跺簲璇?#28051;嶈兘?#28229;鍒皃hp鐗?#37832;?#28103;伅锛?#28000;呰兘?#28229;鍒癷ndex.php鐨?#38344;?#37804;?#37826;?#37832;?#37712;?#28729;?#37510;?/div>
    淇敼/etc/httpd/conf/httpd.conf鏂囦欢锛?#28103;敼濡?#28051;?#38171;?/div>
    DirectoryIndex index.html index.html.var ->  DirectoryIndex index.html index.htm index.php
    澧?#37716;?#38171;?/div>
    AddType application/x-httpd-php .php
    AddDefaultCharset -> AddDefaultCharset off  (瑙?#37712;充腑鏂囦?#36777;爜?#26870;棰?
    澧?#37716;犱竴娈礦irtualHost鎻?#26473;?#38171;屽涓?#38171;?#37734;?#38320;嶇疆鏂囦欢鐨勬渶鍚?#38171;?#38171;?/div>
    <VirtualHost *:80>
        DocumentRoot /var/www/smallfive
        ServerName smallfive
        ServerAlias smallfive.com *.smallfive.com
    </VirtualHost>
    姝?#37827;?#29825;块棶http://localhost/index.php锛屽簲璇竴鍒?#23005;?#29999;?br />
    璁剧疆鏁版嵁搴?#38171;?/strong>
    ?#23047;?#25956;mysqladmin -u root password 'newpassword'璁剧疆mysql鏁版嵁搴?#37928;勯粯璁?#28725;嗙爜
    璁?#37825;版嵁搴?#37831;?#28729;?#37711;?#38171;?/div>
    mysql -u root -p    杩?#37711;mysql
    mysql> DROP DATABASE test; 銆銆銆銆銆銆銆銆銆銆銆銆銆銆 鍒犻櫎test鏁版嵁搴?/div>
    mysql> DELETE FROM mysql.user WHERE user = ''; 銆銆銆   鍒犻櫎鍖?#37722;嶅?#24877;埛
    mysql> FLUSH PRIVILEGES; 銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆 閲?#26462;芥?#20910;檺
    鍒涘缓magento鏁版嵁搴?/div>
    mysql> CR   璁块棶magento鏁版嵁搴?#38171;?#32429;?#28103;竴鍒?#23005;?#29999;?/div>

    閰嶇疆Magento锛?/strong>
    瑙帇缂magento1.6.2鐗?#37832;?#38007;?var/www/smallfive/magento鐩綍
    瑙?#37720;嬪懡浠?#38171;?/div>
   EATE DATABASE magento;
    mysql> GRANT ALL PRIVILEGES ON magento.* TO 'root'@'localhost' IDENTIFIED BY 'newpassword'; 
  tar zxvf magento1.6.2.tar.gz
    姝?#37827;?#29825;块棶http://localhost/magento锛?#37721;?#37837;规嵁magento鐨?#29825;剧疆杩涜閰嶇疆
   
    娉剰濡?#28051;嬮棶棰?#38171;?/strong>
    1銆?#32429;?#28103;濆綋鍓嶇敤?#22491;?#23266;鏈?#28725;?var/www/smallfive/magento鍙?#29831;?#37721;?#37712;?#37833;冮檺
    2銆?#26473;?#38343;瀹夎mcrypt搴?#38171;?#28729;夎杩?#28051;?#25652;撴瘮杈冪?#20346;锛宮crypt渚濊禆?#31788;Libmcrypt搴?#37724;宮hash搴?#38171;屾垜浠?#38343;瑕?#28051;?#26462;絃ibmcrypt搴?#37724;宮hash搴?#28729;夎瀹冧滑锛?#37906;?#37722;?#37712;嶇紪璇慚crypt銆?/div>
    鍦?#32514;?#29831;?#28052;嬪墠锛?#37711;堝仛濂?#28641;?#28051;嬪噯澶囧伐浣?#38171;?/div>
        a銆?#28729;夎?#21362;hpize锛歽um -y install php-devel
        b銆?#28729;夎?#21268;++鑴?#37832;?#32514;?#29831;?#22959;潡锛?/div>
            yum -y install gcc gcc-g++
            yum -y install gcc gcc-c++
    瀹夎mcrypt搴?#26473;囩锛屽涓?#38171;?/div>
        a銆?#28051;?#26462;絣ibmcrypt鍜宮hash搴?/div>
            Libmcrypt锛歨ttp://sourceforge.net/project/showfiles.php?group_id=87941&package_id=91774&release_id=487459
            mhash锛歨ttp://sourceforge.net/project/showfiles.php?group_id=4286&package_id=4300&release_id=645636
        b銆佸皢涓?#26473;?#28051;?#28051;?#28051;?#26462;?#37722;?#38171;?#37714;?#37714;?#29785;帇锛屽苟鎵?#29723;屽涓嬪懡浠?#32514;?#29831;?#38171;?/div>
            ./configure
            make && make install
        c銆?#28051;?#26462;絧hp瀵瑰簲鐨勬簮浠爜锛?#29785;帇锛?/div>
            杩?#37711;php?#31790;浠爜鐨?/ext/mcrypt鐩綍
            鎵?#29723;phpize?#25057;浠?/div>
            ./configure –with-php-config=/usr/bin/php-config
            make && make install
        d銆?#37734;php.ini鏂囦欢涓?#28583;?#37716;?#28641;?#28051;嬪唴瀹?#38171;?/div>
            extension=/usr/lib/php/modules/mcrypt.so
            mcrypt.so鏂囦欢璺緞鍦php-config鏂囦欢涓?#37721;?#28000;?#37813;?#37714;?/div>
        e銆乻ervice httpd restart
   
    end!
     
    鍙傝?#37826;囩珷锛?/strong>
    http://www.eexu.com/article.asp?id=1730
    http://www.ruiwant.com/centos-6-0%E4%B8%8Bmagento%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE%E6%80%BB%E7%BB%93.html
    http://zixun.www.net.cn/qita/2344.html
    http://os.qudong.com/Linux/2010/0210/64441.html


]]>VmWare铏氭?#29112;満鏃?#38338;?#28051;?#28051;?#37832;?#28051;嶅悓姝?#37928;?#29825;剧疆http://www.8634070.com/robbie/archive/2012/03/02/371116.htmlThe MatrixThe MatrixFri, 02 Mar 2012 02:51:00 GMThttp://www.8634070.com/robbie/archive/2012/03/02/371116.htmlhttp://www.8634070.com/robbie/comments/371116.htmlhttp://www.8634070.com/robbie/archive/2012/03/02/371116.html#Feedback0http://www.8634070.com/robbie/comments/commentRss/371116.htmlhttp://www.8634070.com/robbie/services/trackbacks/371116.html鏈?#37827;?#37734;vmware閲?#38344;?#28729;夎鐨勭郴缁熸垨?#31794;?#25956;鏈塋icense鏃?#38338;?#37928;勯檺鍒?#38171;?#37721;?#28000;?#38315;?#26473;囦慨?#25980;铏氭?#29112;満鏃?#38338;?#37928;?#37826;规硶鏉槻姝?#26473;?#37832;?#38171;?#23005;?#37827;?#38343;鍦?vmx鏂囦欢涓?#37716;?#37711;?#28051;?#38344;?#37928;?#37712;?#28729;?#38171;?/span>
tools.syncTime = "FALSE"
time.synchronize.continue = "FALSE"
time.synchronize.restore = "FALSE"
time.synchronize.resume.disk = "FALSE"
time.synchronize.shrink = "FALSE"
rtc.startTime = 1183431600  #杩欐槸?#25956;鏉?#37816;囧?#27699;?#27693;?#29112;満鍚?#37716;?#37722;?#37928;勬椂闂?#37510;?#37825;?#28699;楁槸鑷?970骞?鏈?鏃浂鏃堕浂鍒嗛?#21057;浠?#37833;?#37928;勭鏁?#38171;?#37721;?#28000;?#38315;?#26473;囧涓?#32515;戝潃?#30370;鏌?#28051;?#37827;?#38338;?#26462;?#37817;?#28051;?#29831;?#37825;?#28699;?#38171;Unix鏃?#38338;?#37812;?#38171;?#38171;?/span>
http://www.onlineconversion.com/unix_time.htm

娉剰锛氬悓鏃?#26473;?#38343;鍦?#38095;氭?#29112;満鎿?#28003;滅郴缁?#37928;勬湇鍔?#28051;?#38171;屽仠?#25956;“VMware Tools Service”鐨勬湇鍔?#37510;?br />鍦Windows Server 2003涓?#37823;?#28003;滅郴缁熻嚜韬?#28052;熸湁鏃?#38338;村悓姝?#37716;熻兘锛岄渶鍦?#37827;?#38338;?#29825;?#28729;?#28051;仠?#25956;锛屽悓鏃跺仠?#25956;“Windows Timer”?#28231;鍔?#37510;?/span>


]]>瀹夎Apache HTTP Server + PHP + WordPresshttp://www.8634070.com/robbie/archive/2011/11/27/364937.htmlThe MatrixThe MatrixSun, 27 Nov 2011 13:28:00 GMThttp://www.8634070.com/robbie/archive/2011/11/27/364937.htmlhttp://www.8634070.com/robbie/comments/364937.htmlhttp://www.8634070.com/robbie/archive/2011/11/27/364937.html#Feedback0http://www.8634070.com/robbie/comments/commentRss/364937.htmlhttp://www.8634070.com/robbie/services/trackbacks/364937.html
鍦?#28729;夎?#21613;apache http server鍚?#38171;屽?#20635;灉绔?#37721;?#28051;?#23005;?#32429;?#38171;?#37714;?#28103;敼"apache瀹夎鐩綍/conf/httpd.conf"鏂囦欢涓?#37928;?#28641;?#28051;?#28103;伅锛?br />
Listen 80  -> Listen 8060
#ServerName localhost:80 -> ServerName localhost:8060

Apache HTTP Server鐗?#37832;?#38171;?.2
PHP鐗?#37832;?#38171;?.3.8
WordPress鐗?#37832;?#38171;?.2.1


]]>Oracle鏁版嵁瀵?#37711;?#37816;囧?#27699;绌?#38338;?/title><link>http://www.8634070.com/robbie/archive/2011/05/31/351446.html</link><dc:creator>The Matrix</dc:creator><author>The Matrix</author><pubDate>Tue, 31 May 2011 08:43:00 GMT</pubDate><guid>http://www.8634070.com/robbie/archive/2011/05/31/351446.html</guid><wfw:comment>http://www.8634070.com/robbie/comments/351446.html</wfw:comment><comments>http://www.8634070.com/robbie/archive/2011/05/31/351446.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/robbie/comments/commentRss/351446.html</wfw:commentRss><trackback:ping>http://www.8634070.com/robbie/services/trackbacks/351446.html</trackback:ping><description><![CDATA[<div><span style="color: #333333; font-family: Arial; line-height: 20px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><p style="line-height: normal; ">1. 鎵撳紑?#20240;鍏Oracle SQL Plus 浠dba韬?#28000;界?#35826;綍sys?#25956;?#22491;<br style="line-height: normal; " />sqlplus /nolog<br />conn sys@url as sysdba<br /><br />2. 鍒涘?#34425;敤?#22491;骞舵?#22247;?#27699;绌?#38338;?br style="line-height: normal; " /><br />?#23047;?#25956;瀹埛绔伐鍏?#37812;栬匴eb绠?#37918;嗘鍒?#37721;?#37714;涘缓琛?#32460;?#38338;?#28000;?#37721;婄敤?#22491;<br style="line-height: normal; " />缁欑敤?#22491;?#31092;浜坈onnect銆乺esource銆乨ba鏉冮檺<br style="line-height: normal; " />grant connect,resource,dba to username;<br /></p><div><div><br />娉剰锛?#32513;oracle?#25956;?#22491;鍒嗛厤connect銆乺esource瑙掕壊鏃?#38171;?#23005;?#37827;connect 瑙掕壊涓?#37832;変竴涓?UNLIMITED TABLESPACE 鏉冮檺锛屼篃灏辨槸username杩?#28051;敤?#22491;鍙?#28000;?#37734;?#37711;朵?#26668;绌?#38338;?#38322;岄殢?#21104;?#32531;琛?#37510;?/div><div></div></div>revoke unlimited tablespce from username;     --鎾攢username?#25956;?#22491;鍦?#28000;绘?#24538;绌?#38338;村缓琛?#37928;勬?#20910;檺<br />alter user username quota 0 on users;      --alter username quota 0 on Users;  // 杩?#28051;嶆槸寰堟?#21614;鍏?#28003;?#37722;?#28052;?#38171;?#38171;?#38171;?br />alter user username quota unlimited on tablespacename;   --?#31092;浜username?#25956;?#22491;鍦tablespacename琛?#32460;?#38338;?#28000;绘剰?#32531;琛?#37928;勬?#20910;檺;<p> </p><p style="line-height: normal; "><br style="line-height: normal; " />3. ?#23047;?#25956;imp?#20240;鍏?#28725;?#37711;dmp鏁版嵁鏂囦欢<br style="line-height: normal; " />imp username<a href="mailto:jandardb/jandardb@orcl" style="line-height: normal; ">/password@</a>url file=c:\db.dmp fromuser=username1 touser=username log=c:\log.txt<br /><br /><br />-------------------------------------------------------------------------------------------------------------<br />鍏?#28729;冨懡浠?#38171;?br />select * from dba_users;    --鏌?#29831;敤?#22491;<br /></p><div>select * from dba_tables;    --鏌?#29831;?#29723;?/div>select * from dba_views;    --鏌?#29831;?#29785;嗗浘<br />select * from dba_tablespaces;    --鏌?#29831;?#29723;?#32460;?#38338;?br /><br /><br />oracle 10g锛?#37836;?#29831;?#29723;?#32460;?#38338;翠娇?#25956;鐜?br /><div>Select * from sys.DBA_TABLESPACE_USAGE_METRICS;<br /></div></span><span class="Apple-style-span" style="color: #333333; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; line-height: normal; "><font class="Apple-style-span" face="Arial">-------------------------------------------------------------------------------------------------------------</font><br /><br /></span><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: 12px;"></span></font><span class="Apple-style-span" style="color: #333333; font-family: Arial; line-height: 20px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">drop user username cascade;<br /><br />ORA-01940:鏃?#23049;?#37714;犻櫎?#32139;鍓嶅凡杩?#37818;?#37928;勭敤?#22491;<br /><br /></span><span style="color: #333333; font-family: Arial; line-height: 20px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">select username, sid, serial# from v$session where username='username';<br /><br /><div>alter system kill session'sid,serial#'</div><p> </p></span></div><img src ="http://www.8634070.com/robbie/aggbug/351446.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/robbie/" target="_blank">The Matrix</a> 2011-05-31 16:43 <a href="http://www.8634070.com/robbie/archive/2011/05/31/351446.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇?#29825;?/a></div>]]></description></item><item><title>瀹夎?#21295;edmine1.1.3杩囩锛圵indows 7 Professional鐜?#28583;?#38171;?/title><link>http://www.8634070.com/robbie/archive/2011/05/20/350665.html</link><dc:creator>The Matrix</dc:creator><author>The Matrix</author><pubDate>Fri, 20 May 2011 02:25:00 GMT</pubDate><guid>http://www.8634070.com/robbie/archive/2011/05/20/350665.html</guid><wfw:comment>http://www.8634070.com/robbie/comments/350665.html</wfw:comment><comments>http://www.8634070.com/robbie/archive/2011/05/20/350665.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/robbie/comments/commentRss/350665.html</wfw:commentRss><trackback:ping>http://www.8634070.com/robbie/services/trackbacks/350665.html</trackback:ping><description><![CDATA[<div>鐜?#28583;?#38171;歐indows7 professional<br /> <br /> 1銆?#28051;?#26462;絩edmine1.1.3.zip銆乺uby1.8.7銆乺ubygems-1.3.7.zip銆乵ysql 5.0<br /> <br /> 2銆?#28729;夎?#21288;ySQL5.0锛宑md绐?#37721;?#28051;嬩娇?#25956;mysql -u root -p 鐧诲綍MySQL鏁版嵁搴?#38171;?#37813;?#29723;屽涓?#29831;?#37721;?#37714;涘缓redmine鏁版嵁搴?#37721;婄敤?#22491;锛?br /> create database redmine character set utf8;<br /> create user 'redmine'@'localhost' identified by 'my_password';<br /> grant all privileges on redmine.* to 'redmine'@'localhost';<br /> 娉?#38171;?br />     ?#23047;?#25956;MySQL5.5鍦?#37722;?#38344;?#26473;涜鍒濆鏁版嵁鏃Ruby?#32048;鎻?#32448;?#26473;?#37818;?#37832;棶棰?br />     鍦?#28729;夎瀹MySQL鍚?#38171;?#37711;?#28051;嶈杩涜閰嶇疆锛?#38007;?#8220;MySQL瀹夎璺緞\bin”鐩綍涓?#38171;?#28103;敼MySQLInstanceConfig.exe涓?#8220;浠?#32480;?#37918;?#37723;?#37812;?#37714;?#37813;?#29723;?#23005;?#32459;嬪簭”锛?#8220;浠?#37711;?#28729;规寮?#26473;?#29723;?#29831;?#32459;嬪簭”<br />     杩涜?#23678;?#29256;嵁搴?#38320;嶇疆鏃?#38171;岄夋嫨瀛楃闆?#28051;utf8<br /> <br /> 3銆?#26473;?#29723;宺uby1.8.7瀹夎?#21613;锛?#29785;帇鑷砫:/ruby187锛屽皢d:/ruby187/bin?#22346;鍔?#38007;硃ath鐜?#28583;?#37721;?#38322;?#28051;?br /> 瀹夎鍚?#37721;?#37813;?#29723;?ruby -v鏌湅ruby鐗?#37832;?#28000;?#22955;楠?#28729;夎?#21614;槸鍚?#23005;?#32429;?br /> <br /> 4銆?#29785;帇rubygems-1.3.7.zip鑷砫:/rubygems-1.3.7<br /> 杩?#37711;d:/rubygems-1.3.7鐩綍锛?#37813;?#29723;宺uby setup.rb<br /> 娉?#38171;Redmine闇瑕乺ubygems 1.3.1 - 1.5.x锛岃偗瀹?#28051;嶈兘?#25956;1.8.2鐗?#37832;?br /> <br /> 5銆?#37813;?#29723;実em install rails -v=2.3.5 杩?#32459;?#28729;夎?#21369;ails2.3.5鐗?#37832;?br /> gem install mysql <br /> gem install -v=0.4.2 i18n<br /> <br /> 6銆?#29785;帇缂redmine1.1.3鑷砫:/redmine1.1.3鐩綍<br /> 杩?#37711;d:/redmine-1.1.3/config鐩綍锛?#28103;敼database.yml.example鏂囦欢涓篸atabase.yml锛屽?#26421;慨?#25980;璇?#37826;囦欢涓?#37928;刾roduction鏁版嵁搴?#26473;?#37818;?#38320;嶇疆涓?#28641;?#28051;?#38171;?br /> production:<br />   adapter: mysql<br />   database: redmine<br />   host: localhost<br />   username: redmine<br />   password: my_password<br />   encoding: utf8<br /> <br /> 杩?#37711;d:/redmine1.1.3鐩綍锛?#37813;?#29723;?br /> rake config/initializers/session_store.rb<br /> rake db:migrate RAILS_ENV="production" <br /> <br /> 7銆?#37716;?#26462;?#27035;?#29825;?#38320;嶇疆鏁版嵁<br /> rake redmine:load_default_data RAILS_ENV="production" <br /> 榛?#29825;?#29831;言閫夋嫨"zh"<br /> <br /> 8銆?#26473;?#29723;?br /> ruby script/server webrick -e production<br /> <br /> 9銆?#29825;块棶锛歨ttp://localhost:3000<br /> ?#23047;?#25956;admin/admin杩涜鐧?#37711;?br /> 杩?#37711;?#29825;剧疆锛屾妸榛?#29825;?#29831;言璁?#28051;?#8220;绠浣?#28051;?#37826;?#8221;锛?#37906;?#37722;?#29825;剧疆?#32139;鍓嶇敤?#22491;鐨勯粯璁?#29831;言璁?#28051;?#8220;绠浣?#28051;?#37826;?#8221;锛?#26473;?#37837;?#28751;辨槸涓?#37826;囩晫闈?#27996;?br /><br />-----------------------------------------<br /><br />缁?#32513;?#38171;屽皢redmine璁剧疆涓簑indows 7鐨勬湇鍔?br /><br />1銆侀鍏?#38343;瑕?#38320;嶇疆mysql涓簑indows 7鐨勬湇鍔?br /><br />2銆丷uby鎻?#28186;涗竴涓?#28729;夎?#21295;uby绋嬪簭涓烘湇鍔?#37928;?#37718;?#38171;mongrel_service銆?#28729;夎鍏?#28729;炲緢绠鍗?#38171;?#26473;?#29723;?#38171;歡em install mongrel_service<br /><br />3銆?#28729;夎?#21369;edmine涓烘湇鍔?#38171;?#37813;?#29723;宮ongrel_rails service::install -N RedMine -c C:\redmine-1.1.3 -p 3000 –e production<br />娉剰锛?#23005;?#28598;勬?#25779;紑cmd绐?#37721;?#37827;?#38171;岄渶瑕佽緭鍏cmd鍚?#38171;?#28051;嶆槸鐩?#37818;?#37816;塃nter锛岃屾槸鎸?Ctrl+Shift+Enter鎵撳紑Cmd绐?#37721;?#38171;?#23005;?#37827;朵互绠?#37918;?#37723;樿韩浠芥?#25779;紑锛?#37722;?#37714;?#28729;夎涓烘湇鍔?#37827;朵細鎻?#32448;烘缁?#29825;块棶銆?br /><br />4銆?#28729;夎?#21614;湇鍔?#37722;?#38171;岄渶妫鏌湇鍔?e鍚?#37928;?#37721;?#37825;版槸涓嶆槸production锛屽?#20635;灉涓嶆槸production鑰屾槸development锛?#37714;?#37734;?#23049;?#37712;?#29723;?#28051;妸鍙?#37825;?#37813;?#37716;敼涓production銆備慨?#25980;鏂规硶?#27128;锛?#37813;撳紑“娉?#37712;?#29723;?#32514;栬緫?#27346;”锛?#28766;曞紑鍒?#37824;?#8220;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services”锛岄夋嫨redmine?#28231;鍔?#38171;?#37813;?#37714;癐magePath椤?#38171;?#28103;敼淇濆?#27194;悗鍦湇鍔?#37714;?#29723;?#28051;?#37722;?#37716;湇鍔?#38171;屽?#33333;妸?#28231;鍔?#29825;剧疆鑷?#37716;?#37722;?#37716;?#37510;?br /><br />OK锛?/div><img src ="http://www.8634070.com/robbie/aggbug/350665.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/robbie/" target="_blank">The Matrix</a> 2011-05-20 10:25 <a href="http://www.8634070.com/robbie/archive/2011/05/20/350665.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇?#29825;?/a></div>]]></description></item><item><title>鍦Unity3D涓?#37714;涘缓?#31476;涓?#29999;?#38003;屾櫙鐨?D?#22719;浣?/title><link>http://www.8634070.com/robbie/archive/2011/03/25/347039.html</link><dc:creator>The Matrix</dc:creator><author>The Matrix</author><pubDate>Fri, 25 Mar 2011 13:33:00 GMT</pubDate><guid>http://www.8634070.com/robbie/archive/2011/03/25/347039.html</guid><wfw:comment>http://www.8634070.com/robbie/comments/347039.html</wfw:comment><comments>http://www.8634070.com/robbie/archive/2011/03/25/347039.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/robbie/comments/commentRss/347039.html</wfw:commentRss><trackback:ping>http://www.8634070.com/robbie/services/trackbacks/347039.html</trackback:ping><description><![CDATA[鍙?#29785;?#28641;?#28051;?#38334;?#37818;?#38171;? <div><a href="http://www.41post.com/3255/programming/unity3d-creating-a-gui-with-both-3d-and-2d-elements">http://www.41post.com/3255/programming/unity3d-creating-a-gui-with-both-3d-and-2d-elements</a></div> <img src ="http://www.8634070.com/robbie/aggbug/347039.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/robbie/" target="_blank">The Matrix</a> 2011-03-25 21:33 <a href="http://www.8634070.com/robbie/archive/2011/03/25/347039.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇?#29825;?/a></div>]]></description></item><item><title>绫?#28028;间簬Google Calendar鐨?#28610;?#28051;?#28051;?/title><link>http://www.8634070.com/robbie/archive/2010/11/09/337663.html</link><dc:creator>The Matrix</dc:creator><author>The Matrix</author><pubDate>Tue, 09 Nov 2010 12:37:00 GMT</pubDate><guid>http://www.8634070.com/robbie/archive/2010/11/09/337663.html</guid><wfw:comment>http://www.8634070.com/robbie/comments/337663.html</wfw:comment><comments>http://www.8634070.com/robbie/archive/2010/11/09/337663.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/robbie/comments/commentRss/337663.html</wfw:commentRss><trackback:ping>http://www.8634070.com/robbie/services/trackbacks/337663.html</trackback:ping><description><![CDATA[娌?#28000;?#32513;嗙?#26050;锛?#37711;堟妸椤?#37929;?#37734;板潃璁?#28051;?#38171;?a href="http://arshaw.com/fullcalendar/">http://arshaw.com/fullcalendar/</a><br /> <br /> 杩?#28051;?#37719;?#28729;?#28051;?#37721;?#37832;夊嚑涓?#37818;?#38013;?#37928;勭浼?#26916;?#37929;?#38171;?a href="http://hi.baidu.com/freezesoul/blog/item/15c5d73fe4a315c17d1e71ec.html">http://hi.baidu.com/freezesoul/blog/item/15c5d73fe4a315c17d1e71ec.html</a> <img src ="http://www.8634070.com/robbie/aggbug/337663.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/robbie/" target="_blank">The Matrix</a> 2010-11-09 20:37 <a href="http://www.8634070.com/robbie/archive/2010/11/09/337663.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇?#29825;?/a></div>]]></description></item><item><title>銆?#29835;?#37734;?#29835;?#37833;涓浗缁忔祹銆?#28051;庣?#23338;簭鍛?/title><link>http://www.8634070.com/robbie/archive/2010/04/14/318370.html</link><dc:creator>The Matrix</dc:creator><author>The Matrix</author><pubDate>Wed, 14 Apr 2010 14:05:00 GMT</pubDate><guid>http://www.8634070.com/robbie/archive/2010/04/14/318370.html</guid><wfw:comment>http://www.8634070.com/robbie/comments/318370.html</wfw:comment><comments>http://www.8634070.com/robbie/archive/2010/04/14/318370.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://www.8634070.com/robbie/comments/commentRss/318370.html</wfw:commentRss><trackback:ping>http://www.8634070.com/robbie/services/trackbacks/318370.html</trackback:ping><description><![CDATA[<p>杩欏嚑澶?#37734;湅閮?#37724;稿钩鐨?#37510;?#29835;?#37734;?#29835;?#37833;涓浗缁忔祹銆?#38171;?#26473;?#37832;?#28052;?#37812;戝熀鏈湅杩囦竴閬?#27996;?#38171;?#29825;?#28051;?#37711;?#28052;?#37928;?#38322;嶇偣鍦簬涓?#37719;?#37826;囧寲鐨勫?#28056;?#23575;鐒?#38171;屾鏈?#28052;?#38318;芥槸?#27967;缁?#26473;欏?#28056;?#23575;鐒?#28766;曞紑璁?#26473;?#38171;?#28051;?#37719;?#37826;囧寲鐨勫?#28056;?#23575;鐒?#28641;?#28051;?#38171;?br>?#23575;鐒朵箣?#31476;锛?#28751;辩煡閬撹?#27702;挶<br>?#23575;鐒朵箣浜?#38171;?#28051;?#27996;?#29785;?#28051;栫晫<br>?#23575;鐒朵箣涓?#38171;?#28051;?#27996;?#29785;?#37714;?#27996;?#28051;?#28000;涔堥偅涔堢湅浣?br>?#23575;鐒朵?#23338;洓锛?#28051;?#27996;?#29785;?#38007;?#23480;?#37928;?#32514;虹偣</p> <p>澶?#28729;?#37832;?#37827;?#38338;?#37721;?#28000;湅?#28229;杩?#37832;?#28052;?#38171;屾?#25123;?#22794;緱鍐?#37928;勪笉?#25930;锛?#38007;?#28751;?#37812;戣嚜宸辩湅瀹屾繁鏈夋?#29115;锛屾?#25123;?#22794;緱瀹?#37711;?#37721;?#28000;皢杩欏嚑鐐瑰?#26947;敤鍒版垜浠?#37922;熸椿鐨勫?#22557;鏂?#38344;?#38171;屾瘮濡傚?#36891;簬鎴?#28000;悶IT鐨勬妧鏈?#27996;?#37723;?#37833;?#29831;?#38171;屾垜璁?#28051;?#37916;?#37734;?#23536;堝浜?#28052;?#28699;樺湪鍥涘?#23575;鐒?#38171;?/p> <p>?#23575;鐒朵箣?#31476;锛?#37721;煡閬?#28729;屾垚浠?#37716;?#37510;備篃璁告槸鎴?#39582;緞澶?#27996;嗙偣锛?#28003;?#37812;戣?#22794;緱鐜?#37734;?#23536;堝灏忔湅鍙?#38171;屽挨鍏舵槸85骞?#28000;?#37722;庡嚭鐢?#37928;?#38171;屽伐浣?#37928;勬椂鍊?#37721;槸鍦?#28729;屾垚浠?#37716;?#38171;?#27996;嬫?#21613;仛瀹?#27996;?#38171;?#37832;?#37827;朵篃涓嶆祴璇?#38171;屾?#26668;呭?#36776;槸鍖?#37718;嗘祴璇?#38171;屽寙鍖?#32513;?#37833;?#38171;屽?#33333;病鏈夊濂?#37928;勬?#20805;负浠涔?#26473;?#28000;朵?#23341;?#28598;?#29781;?#29825;?#37812;戣繖鏍峰仛锛?#26473;?#37837;峰仛鏈?#28000;涔堝?#34249;锛屼細涓嶄細鏈夌?#34425;偣锛屾垜?#27128;涓嶆槸鏈?#37831;村鐨?#37826;规硶銆傚綋浣?#28051;嶅?#32472;兂鐨勬椂鍊?#38171;屾剰鍛崇潃浣犲皯浜嗗?#22557;鎻?#26946;?#37928;勬満?#32048;銆?/p> <p>?#23575;鐒朵箣浜?#38171;?#28051;?#26473;界涓?#28000;涔?#37510;傚?#22557;浜哄仛浜嬫?#21613;氨璞?#32471;竴鏉?#29831;?#37928;勯偅鏍?#38171;?#37721;槸瀹屾垚浠?#37716;?#38171;屽苟涓嶅?#32472;兂鍏?#28051;?#37928;?#37720;?#37918;嗘槸浠涔?#37510;?#38344;?#29831;?#26473;囧?#22557;浜?#38171;屽?#36891;簬鐩?#37715;嶅伐浣?#28051;?#28051;?#39582;?#37928;?#28598;?#38318;?#37714;?#27996;?#37833;?#29831;?褰撶?#33333;垜闈?#29831;?#37928;勪笉?#27128;濂?#37928;?#28699;?#37837;?#23011;?#28051;?#37928;?#38171;屽熀鏈?#28699;?#37837;?#28051;?#28051;?#32475;夊亸涓嬬偣)锛屼竴鏃秹鍙?#37714;癝pring銆丠ibernate銆丼truts绛夋?#21976;?#33333;繁鍏偣涓滆鐨勬椂鍊?#38171;屽閮藉洖绛?#28051;?#28051;?#37833;?#38171;?#37721;槸瀵规?#21976;?#24816;兘鐔?#32513;冨簲?#25956;鑰屽凡銆?#26473;?#37837;?#28598;?#28052;?#38171;?#29825;?#32480;?#37832;?#37928;勫?#22557;?#27697;煡璇?#38171;屽綋浣犵?#29112;浜?#37711;?#26473;?#28003;?#37720;?#37918;?#38171;屾?#21976;?#36346;?#36891;簬浣?#37833;?#29831;?#38171;?#37721;槸鎵?#37714;版鏉?#38171;岀湅?#28229;瀛?#28699;?#28751;变細?#25956;浜?#37510;?#37812;戦棶杩囧?#34249;嚑涓悓浜?#38171;屽?#34411;?#33333;櫄涓?#37733;炲幓閮?#39582;?#37730;?#38171;屽?#22557;浜?#38318;藉洖绛?#37812;戞櫄涓?#37733;炲?#33636;湅?#28229;鐢?#29785;?#38171;?#32459;嶅井?#28229;?#28229;涔?#28751;辩潯瑙?#27996;?#37510;?#37812;?#37832;夌?#35268;璁?#38171;屾垜鎯?#28641;傛灉浣犳?#34411;垚涓轰竴涓妧鏈?#26946;?#37813;?#38171;屼竴涓?#38003;芥嬁楂樿鐨?#32459;嬪簭鍛?#38171;?#28003;?#37721;堟病鏈夊浠?#38171;?#37721;?#28051;?#28000;樺?#40511;秴杩囧父浜?#37928;?#37716;?#37716;?#38171;屽嚟浠涔?#28003;犳瘮鍒?#27996;哄己鍛?#38171;?/p> <p>?#23575;鐒朵箣涓?#38171;?#28051;嶅?#21226;簬鎬?#32513;?#37510;傚?#22557;浜?#38171;?#37721;堟槸寰堝浜?#38171;夎?#22249;潃?#20187;?#31476;澶?#37724;屽?#27693;挒?#31476;澶挓鐨勬棩瀛?#38171;?#37827;?#28699;愪竴澶竴澶?#26473;囧幓锛屽熀鏈?#28051;嶅幓鎬?#32513;?#38171;?#37721;槸杩囦簡濂介?#22840;竴娈?#37827;?#38338;翠細鍙戣锛屽?#29112;潵鏈杩?#37812;戝暐涔熸病鏈夎繘姝?#38171;屽暐涔熸病瀛?#37714;?#38171;?#26473;樻槸鑰佹牱瀛?#37510;傜煡璇?#37734;簬绉?#32497;?#38171;?#28003;?#37721;?#37832;?#28051;?#37826;?#37804;?#32513;?#38171;岀煡璇?#37813;?#38003;芥?#26449;鐨勭绱?#38171;?#37813;?#38003;芥?#26449;鐨勪负浣犳湇鍔?#37510;?/p> <p>?#23575;鐒朵?#23338;洓锛氭病鏈夋?#24227;鐨?#37929;?#37837;?#37510;備竴涓?#27996;烘病鏈夌洰鏍囧氨鍐?#28729;?#27996;?#28000;?#28051;嶄細鏈?#38336;胯冻鐨勮繘姝?#37510;?#28003;?#38318;芥病鏈夋兂杩?#38007;?#23480;?#29781;佹垚涓轰竴涓?#37835;舵甯?#38171;屼竴涓?#26916;?#37929;?#32513;?#37918;?#38171;屼竴涓?#38318;?#38338;?#32513;?#37918;?#38171;屼竴涓妧鏈?#37804;?#37929;?#38171;?#38318;芥病鏈夋兂杩?#29781;佹垚涓?#26473;?#37837;?#37928;勪汉闇瑕?#37711;?#28598;?#28000;涔堟牱鐨勬潯?#27426;锛?#28003;?#37804;?#28052;?#37721;兘?#29025;閬?#38007;?#23480;辨瑺缂?#28000;涔?#38171;?#38343;瑕?#29723;?#37711;?#28000;涔?#37723;?#38171;?#38336;?#26473;?#37929;?#37837;?#29781;佹?#24227;锛?#37906;?#37722;?#37837;规嵁闀?#26473;?#37929;?#37837;?#26473;涜鍒嗘瀽锛屾?#25123;?#20349;鍒?#26473;?#37837;?#37928;?#37929;?#37837;?#38171;?#26473;?#37832;?#28000;涔堟瑺缂?#38171;屾嵁姝?#37714;?#28729;氱煭鏈?#37929;?#37837;?#38171;岀煭鏈?#37929;?#37837;囦竴瀹氳鍙?#28729;?#37916;?#37721;?#37823;?#28003;?#37510;?#26473;?#37837;烽殢?#28483;浣?#37929;?#37837;?#37928;勪竴姝竴姝?#28729;?#37916;?#38171;?#28003;?#37722;?#37826;?#38344;?#37928;勮兘鍔?#28052;熼殢涔?#37819;?#26946;?#27996;?#37510;?/p> <p>鍐?#27996;嗗嚑?#20579;锛屼篃浣?#28051;?#28725;?#38007;?#23480;?#37928;勯绛?#37510;?/p><img src ="http://www.8634070.com/robbie/aggbug/318370.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/robbie/" target="_blank">The Matrix</a> 2010-04-14 22:05 <a href="http://www.8634070.com/robbie/archive/2010/04/14/318370.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇?#29825;?/a></div>]]></description></item><item><title>2010骞?#29831;?#28052;?#29825;?#37714;?/title><link>http://www.8634070.com/robbie/archive/2010/02/03/311854.html</link><dc:creator>The Matrix</dc:creator><author>The Matrix</author><pubDate>Wed, 03 Feb 2010 15:27:00 GMT</pubDate><guid>http://www.8634070.com/robbie/archive/2010/02/03/311854.html</guid><wfw:comment>http://www.8634070.com/robbie/comments/311854.html</wfw:comment><comments>http://www.8634070.com/robbie/archive/2010/02/03/311854.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.8634070.com/robbie/comments/commentRss/311854.html</wfw:commentRss><trackback:ping>http://www.8634070.com/robbie/services/trackbacks/311854.html</trackback:ping><description><![CDATA[<p>2010骞村凡缁?#26473;囧?#35763;竴涓?#37832;?#27996;?#38171;岃鍦?#37712;?#37720;嗘鑺傚墠鍒椾竴涓?#28000;?#39582;?#37928;?#29831;?#28052;?#23059;呭崟锛?#28051;?#38003;芥绘?#23108;鍔?#37824;?#37734;伐浣?#28051;?#27996;?#38171;屼篃闇瑕?#29723;?#37711;呯偣鏂扮煡璇?#27996;?#38171;?#37722;?#37714;欐病鏈?#37826;?#28051;滆?#33007;兘?#30784;鐚?#37713;?#37833;?#27996;?#37510;?/p> <p>1銆?#37510;奜SGI鍘?#37918;?#28051;?#37832;浣?#28729;?#29882;?#37510;?#38171;?#32513;?#37722;?#26473;?#37832;?#28052;?#39582;剁?#26050;SpringDM锛屽仛?#31476;浜?#28729;?#28186;?#37510;?/p> <p>2銆?#37510;奡QL璇言鑹?#37832;?#37510;?/p> <p><font color="#0000ff">3銆?#37510;奜racle9i&10g缂?#32459;嬭鏈?#37510;?/font></p> <p><font color="#0000ff">4銆?#37510;?#37835;舵?#21226;箣缇?#37510;?/font></p> <p>5銆?#37510;奤ML鍜屾寮忓簲?#25956;銆?/p> <p>6銆?#37510;奤ML褰壊?#32531;妯?#37510;?/p> <p><font color="#0000ff">7銆?#37510;婇?#21975;?#29116;鍔?#29825;?#29825;?#28051;?#22959;?#23534;?#28729;?#37812;?#37510;?/font></p> <p><font color="#0000ff">8銆?#37510;?#37825;?#37817;?#26462;欢?#32017;鍙?鍘?#37714;?#37510;佹寮?#28051;?#28729;?#29882;?#37510;?/font></p> <p>9銆?#37510;?#26462;欢?#32017;鍙?#37928;勮?#22317;晫銆?/p> <p>10銆?#37510;?#26462;欢?#27554;鎯冲綍銆?/p> <p>11銆?#37510;婅?#26495;嚭杞?#28000;朵綔鍧?#37510;?/p> <p>灏?#26473;?#28052;堝浜?#38171;?銆?0銆?1鍘?#39582;?#38318;界湅杩囦竴閬?#27996;?#38171;?#28003;?#28610;藉鍦?#37826;圭?#26947;矖杩囦?#21973;竴涓?#38171;?#26473;樿浠?#32513;嗛璇?#37510;?/p> <p>鍙?#28598;?#28052;?#28725;?#38007;?#23480;?#37819;?#28051;?#29781;佹眰锛岀湅涔?#29781;佸仛璇?#28052;瑪璁?#37510;?/p> <p>2010骞?鎴?#37928;?#29831;?#28052;?#39582;?#38171;?/p> <img src ="http://www.8634070.com/robbie/aggbug/311854.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/robbie/" target="_blank">The Matrix</a> 2010-02-03 23:27 <a href="http://www.8634070.com/robbie/archive/2010/02/03/311854.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇?#29825;?/a></div>]]></description></item><item><title>瀵?#37734;熷繀浜?/title><link>http://www.8634070.com/robbie/archive/2010/01/05/308350.html</link><dc:creator>The Matrix</dc:creator><author>The Matrix</author><pubDate>Tue, 05 Jan 2010 13:25:00 GMT</pubDate><guid>http://www.8634070.com/robbie/archive/2010/01/05/308350.html</guid><wfw:comment>http://www.8634070.com/robbie/comments/308350.html</wfw:comment><comments>http://www.8634070.com/robbie/archive/2010/01/05/308350.html#Feedback</comments><slash:comments>11</slash:comments><wfw:commentRss>http://www.8634070.com/robbie/comments/commentRss/308350.html</wfw:commentRss><trackback:ping>http://www.8634070.com/robbie/services/trackbacks/308350.html</trackback:ping><description><![CDATA[<p>鎽樿嚜銆?#26462;欢?#27554;鎯冲綍銆?/p> <p>?#28229;浜?#26462;欢?#27554;鎯冲綍涓?#28051;?#38344;竴娈?#29831;?#38171;?#29785;夊緱闈炲父妫?#38171;?#28003;?#28051;轰竴鍚?#26462;?#28000;朵粠涓?#27996;?#37723;?#38171;?#28051;嶄竴瀹?#37832;?#37832;轰細?#20824;瀹?#37916;?#37819;?#26473;?#28051;?#37928;勪紭绉杞?#28000;朵骇?#25639;锛?#28003;?#26473;?#37837;?#37928;?#37918;嗗闇瑕佽疮绌?#37812;?#28000;?#23011;?#28051;?#27996;?#37928;勫績鐢?#38171;?#37827;?#37714;?#29825;?#37734;?#36423;冧腑锛?/p> <p>銆?#37714;?#38315;犱竴涓?#37832;変娇?#25956;浠峰?#37928;勮蒋?#27426;锛?font color="#ff0000"><strong>浣犲繀椤?#37827;?#37827;?#37714;?#37714;?#38318;?#37734;?#28610;?#37826;?/strong></font>锛屾?#24526;竴娆?#37928;勪慨琛?#38171;屾?#24526;竴涓?#37716;熻兘锛屾?#24526;竴澶?#28751;?#28751;?#37928;勬敼杩?#38171;?#28003;?#38318;?#37734;?#28610;?#37826;?#38171;?#37929;?#37928;?#37721;槸涓?#27996;?#37712;嶅鍒?#38315;犱竴?#20579;绌?#38338;?#38171;?#37721;?#28000;?#37712;嶅鍚稿?#26330;竴涓敤?#22491;鍔?#37711;?#37510;傛病鏈?#37817;峰緞鍙?#29863;?#37510;?#28003;犻渶瑕佷竴?#20579;杩愭皵锛?#28003;嗘槸杩?#28051;?#37721;?#37712;充簬浣犳槸鍚?#39582;?#26473;?#37510;?#28003;?#28052;?#37813;浠細鏈夊杩愭皵锛岄偅?#27128;鍥?#28051;?#28003;?#28725;?#37734;熷繀浜?#37510;?/p> <p>姣?#28598;?#28003;?#37715;?#26473;涗竴灏?#23005;?#38171;屽皢?#31476;?#27426;涓滆?#22446;仛寰楁瘮鏄?#28598;?#28610;戒竴鐐圭偣銆?#26473;?#37837;?#37928;勬敼杩涘嚑涔庣湅涓嶅嚭鍙?#28000;?#29825;?#29835;佽幏鐩?#38171;屽嚑涔?#23052;?#37832;?#37721;樺寲銆?#28003;嗘槸锛?#28003;?#37715;?#26473;?#27996;嗕竴灏?#23005;?#37510;?/p> <p>鏈?#37827;?#37825;?#28051;?#29781;佸仛鐨勮繖鏍峰井灏?#37928;勬敼杩?#37510;?/p> <p>涓?#27996;?#37721;?#37916;?#37721;?#28000;敼杩?#37928;?#37734;?#37826;?#37510;?strong><font color="#ff0000">浣犲繀椤?#37832;変竴涓?#37804;?#32513;?#28729;?#37716;?#38171;屽缁?#28641;備竴鐨勭敤鎵?#37714;?#37928;?#37930;?#37711;夌湅涓栫晫</font></strong>銆傞殢渚?#37813;句竴鏍?#28051;滆锛屽?#20635;灉浣犵湅涓嶅嚭瀹?#37928;?#32514;虹偣锛岄偅涔?#28003;?#37928;勬?#32513;?#26462;瀷杩?#23052;?#37832;?#37812;?#37716;?#37510;傚綋浣?#37812;?#37716;?#37928;勬椂鍊?#38171;?#28003;?#38892;?#26440;?#27996;?#28725;?#37928;勪?#36720;細琚?#28003;犻煎緱鍙戠柉銆?#28003;?#37928;?#28729;朵?#28888;仺涓嶅緱鏉浜?#28003;?#37510;傚綋浣?#23005;?#29723;?#28051;婄鐨勬椂鍊?#38171;岀湅鍒颁竴涓?#37721;?#37832;烘极涓嶇?#24531;績鍦板紑杞?#38171;?#28003;犲嚑涔庣敤浜?#37813;鏈?#37928;勬剰蹇?#37716;?#37813;嶅?#22794;?#21700;涓?#28003;?#37712;?#28051;?#37720;?#37723;?#29831;偅涓?#37721;?#37832;?#38171;?#28000;?#26473;?#37837;峰紑杞?#23480;?#37904;瑰効瑕?#27996;?#37827;佽?#29808;鍦疆?#28051;?#37928;勯偅涓?#37721;?#37804;?#28751;?#28699;?#37928;勫懡銆?/p> <p>?#32139;浣犳敼姝?#27996;嗕竴涓?#37721;堜竴涓?#26473;?#37837;?#37928;?#28751;?#32513;嗚?#20634;悗锛屽綋浣犵鍏?#37510;?#28729;氬瀷銆佹摝浜?#37510;?#28103;?#26967;?#28003;?#37928;勪骇?#25639;鐨勬?#24526;竴涓?#28751;忚竟瑙?#37722;?#38171;屽氨?#32048;鏈夌?#28850;鐨勪?#23339;儏鍙?#37922;?#37510;傚帢绫?#37721;?#37812;?#37714;嗙背锛?#37714;嗙背鍙?#37812;愮背锛岀背鍙?#37812;?#27996;嗗?#20906;背銆?#28003;?#37832;鍚?#37815;垮嚭鏉?#37928;勬槸?#31476;?#27426;鐪熸?#32045;绉鐨勪骇?#25639;銆?#28729;冪?#31476;鐪?#28751;?#29825;?#27996;?#29785;夊緱闇囨捈锛屽?#34425;?#32472;嫈钀?#38171;屽伐浣?#29863;?#37833;?#28729;?#37711;?#32471;?#37722;?#37929;?#29785;?#37510;傚?#36777;畻100涓?#28051;敤?#22491;涓?#37832;変竴涓敤?#22491;鏌?#28598;?#32464;佺劧瑕佺敤鍒颁竴涓?#28000;?00涓囨?#23047;?#25956;涓?#37813;嶄細?#25956;鍒颁竴娆?#37928;勭綍瑙?#37716;熻兘锛?#28000;?#37721;?#37916;?#27996;?#26473;?#28051;?#37716;熻兘涓?#28000;呰兘?#25956;锛岃?#28051;?#26473;樺?#22559;病锛?#37734;?#28003;?#37928;勮蒋?#27426;涓?#38171;屽?#20805;娇?#27128;?#28229;闂?#27996;?#37928;?#28751;?#28766;?#38318;介?#34425;潃澶?#37918;嗙鐨?#37734;版澘锛?#38320;?#37832;?#28729;炲績鐨勬鏈?#38338;?#37724;屾鑺卞績鏈?#37928;勫?#20345;澘銆?/p> <p>灏辨槸鍦?#26473;?#28051;?#37827;跺?#38171;?#28003;犳剰璇?#37714;?#26473;欐槸?#31476;涓紭绉杞欢銆?#37510;?/p> <img src ="http://www.8634070.com/robbie/aggbug/308350.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/robbie/" target="_blank">The Matrix</a> 2010-01-05 21:25 <a href="http://www.8634070.com/robbie/archive/2010/01/05/308350.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇?#29825;?/a></div>]]></description></item><item><title>flex custom layout && easy flex skinninghttp://www.8634070.com/robbie/archive/2009/11/25/303597.htmlThe MatrixThe MatrixWed, 25 Nov 2009 04:25:00 GMThttp://www.8634070.com/robbie/archive/2009/11/25/303597.htmlhttp://www.8634070.com/robbie/comments/303597.htmlhttp://www.8634070.com/robbie/archive/2009/11/25/303597.html#Feedback0http://www.8634070.com/robbie/comments/commentRss/303597.htmlhttp://www.8634070.com/robbie/services/trackbacks/303597.html



]]>flex涓?#28641;?#28003;曠敤缂?#32459;?#37928;?#37826;瑰紡瀹?#37916;癝tatehttp://www.8634070.com/robbie/archive/2009/11/11/302020.htmlThe MatrixThe MatrixWed, 11 Nov 2009 13:59:00 GMThttp://www.8634070.com/robbie/archive/2009/11/11/302020.htmlhttp://www.8634070.com/robbie/comments/302020.htmlhttp://www.8634070.com/robbie/archive/2009/11/11/302020.html#Feedback0http://www.8634070.com/robbie/comments/commentRss/302020.htmlhttp://www.8634070.com/robbie/services/trackbacks/302020.html鍦Flash Builder 4 Beta 2鐗?#37832;?#28051;?#38171;屼娇?#25956;mxml鏂瑰紡瀹?#37916;state鐨?#37714;囨崲鏈?#27996;嗗?#22557;?#25980;杩?#38171;屼娇?#25956;璧?#37833;?#37831;?#37826;?#28186;?#38171;?#37711;?#28003;?#37721;?#37721;?#29785;?#28051;?#37826;?#38171;?/p>

http://onflex.org/learn/fx4/index.php?page=States

?#28229;瀹?#26473;?#32481;?#37826;囩珷鍚?#38171;屾兂鍒颁竴涓棶棰?#38171;屽浣曠敤缂?#32459;?#37928;?#37826;瑰紡瀹?#37916;?#37714;囨崲鍛?#38171;?#37813;?#27996;?#37721;傝?#29863;?#37826;?#38171;?#28729;?#37916;?#27996;嗕竴涓?#28186;嬪瓙锛?#28000;爜濡?#28051;?#38171;?/p>

?#32017;鍙?#37916;?#28583;?#38171;Flash Builder 4 Beta2

<?xml version="1.0" encoding="utf-8"?>
<s:Application
    
xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s
="library://ns.adobe.com/flex/spark"
    creationComplete
="creationCompleteHandler(event)">
    
<fx:Script>
        
<![CDATA[
            import mx.core.UIComponent;
            import mx.events.FlexEvent;
            import mx.states.SetProperty;
            import mx.states.State;
            
            import spark.components.Label;
            import spark.components.Panel;

            private var stateArray : Array;
            private var state1 : State;
            private var state2 : State;
            
            protected function creationCompleteHandler(event:FlexEvent):void
            {
                state1 = new State();
                state1.name="state1";
                
                state2 = new State();
                state2.name="state2";
                
                var stateArray1:Array = new Array();
                var stateArray2:Array = new Array();
                
                state1.overrides = stateArray1;
                state2.overrides = stateArray2;
                
                stateArray = new Array();
                stateArray.push(state1);
                stateArray.push(state2);
                this.states = stateArray;
                
                var panel:Panel = new Panel();
                group.addElement(panel);
                var label:Label = new Label();
                panel.addElement(label);
                
                buildStates(stateArray1, stateArray2, panel, label);
                this.currentState = "state1";
            }

            private function buildStates(stateArray1:Array, stateArray2:Array,
                compenent1:UIComponent, compenent2:UIComponent) : void{
                
                stateArray1.push(makeSetProp(compenent1, "title", "Panel1"));            
                stateArray1.push(makeSetProp(compenent2, "text", "One"));
                
                stateArray2.push(makeSetProp(compenent1, "title", "Panel2"));
                stateArray2.push(makeSetProp(compenent2, "text", "Two"));
            }
            
            private function makeSetProp(target:UIComponent, name:String, value:*):SetProperty{
                var sp:SetProperty = new SetProperty();
                sp.target = target;
                sp.name = name;
                sp.value = value;
                return sp;
            } 
        
]]>
    
</fx:Script>
        
    
<s:VGroup autoLayout="true" horizontalAlign="center">
        
<s:HGroup horizontalCenter="0">            
            
<s:Button label="One" 
                click
="this.currentState='state1'"/>            
            
<s:Button label="Two" 
                click
="this.currentState='state2'"/>            
        
</s:HGroup>
        
<s:HGroup id="group" horizontalCenter="0">            
        
</s:HGroup>
    
</s:VGroup>
    
</s:Application>


]]>璁?#32480;?#37832;虹煡璇?#28003;撶郴http://www.8634070.com/robbie/archive/2009/10/22/299270.htmlThe MatrixThe MatrixThu, 22 Oct 2009 00:32:00 GMThttp://www.8634070.com/robbie/archive/2009/10/22/299270.htmlhttp://www.8634070.com/robbie/comments/299270.htmlhttp://www.8634070.com/robbie/archive/2009/10/22/299270.html#Feedback0http://www.8634070.com/robbie/comments/commentRss/299270.htmlhttp://www.8634070.com/robbie/services/trackbacks/299270.html    杩欐槸鍓嶅嚑澶?#37734;?#37714;?#27996;?#37928;凚Log涓婄湅鍒?#37928;勪竴骞呭浘锛?#29785;夊緱涓嶉敊锛屽熀鏈?#23057;?#37929;?#27996;咺T浜?#37723;?#38343;瑕佹?#23678;鐨勫?#34425;?#29025;璇?#26473;欏潡锛?#28000;?#26473;?#39582;呭浘涓?#37721;?#28000;湅鍑?#29831;言骞?#28051;?#38322;嶈锛?#37711;?#38335;槸瑕佹悶鏄庣?#33445;涓?#37916;妭锛?#26473;?#37837;?#38316;?#37714;?#28000;?#28003;曢棶棰樺氨鑳芥?#22796;洰鐨?#37510;?#37832;?#37826;规硶鐨?#28699;?#28052;?#27996;?#37510;?/p>

璁?#32480;?#37832;虹煡璇?#28003;撶郴



]]>Ruby On Rails瀹夎鍙婄?#31476;澶?#28699;?#28052;?/title><link>http://www.8634070.com/robbie/archive/2009/07/19/287292.html</link><dc:creator>The Matrix</dc:creator><author>The Matrix</author><pubDate>Sat, 18 Jul 2009 16:42:00 GMT</pubDate><guid>http://www.8634070.com/robbie/archive/2009/07/19/287292.html</guid><wfw:comment>http://www.8634070.com/robbie/comments/287292.html</wfw:comment><comments>http://www.8634070.com/robbie/archive/2009/07/19/287292.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/robbie/comments/commentRss/287292.html</wfw:commentRss><trackback:ping>http://www.8634070.com/robbie/services/trackbacks/287292.html</trackback:ping><description><![CDATA[<p>1銆?#28051;?#26462;絉uby骞?#28729;夎锛?#28051;?#26462;?#37734;板潃锛?a title="http://rubyforge.org/frs/?group_id=167" href="http://rubyforge.org/frs/?group_id=167">http://rubyforge.org/frs/?group_id=167</a></p> <p>涓?#26462;?#27996;?.8.6-27 Release Candidate 2锛坮uby186-27_rc2.exe锛夌増鏈?/p> <p>2銆?#37734;windows鐨勫懡浠?#29723;?#28051;?#38171;?#26440;?#37711;?ruby –v锛屾鏌ruby?#27128;鍚?#23005;?#32429;?#28729;夎锛屽簲璇?#37713;?#37916;?#28641;?#28051;?#28103;伅锛?/p> <p>ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]</p> <p>3銆?#28729;夎?#21369;ails锛?#37813;?#29723;実em install rails?#25057;浠?#38171;?#28729;夎鎴?#37716;?#37722;?#38171;?#37813;?#29723;宺ails -v妫鏌?#37510;?/p> <p>鎴?#28729;夎浜Rails2.3.2鐗?#37832;?#37510;備娇?#25956;gem install -version rails鍙?#28000;?#37816;囧畾瀹夎鐨剅ails鐗?#37832;?#38171;?#37711;?#28003;?#28641;?#28003;曚娇?#25956;gem锛?#37721;?#28000;敤gem help install鏌湅甯?#37716;?#37510;?br /> </p> <p> </p> <p>鍙傝?#38171;Ruby On Rails锛圧OR锛?#28729;夎锛?a title="http://enjoylog.cn/?p=8" href="http://enjoylog.cn/?p=8">http://enjoylog.cn/?p=8</a>锛?/p> <p> </p> <p>瑁呭浜?#28186;?#37714;癛uby On Rails鐨?#28729;?#37826;?#32515;?#32468;?#38171;?a title="http://rubyonrails.org/" href="http://rubyonrails.org/">http://rubyonrails.org/</a>锛?#38171;?#37813;?#37714;?#27996;?/p> <p>Getting Started with Rails(<a title="http://guides.rubyonrails.org/getting_started.html" href="http://guides.rubyonrails.org/getting_started.html">http://guides.rubyonrails.org/getting_started.html</a>)</p> <p>?#32017;濮嬩竴姝竴姝follow up銆?/p> <p>RubyOnRails鐨勪腑鏂囩珯涓?#37928;勭炕璇?#37826;囨娌?#37832;?#28729;?#37711;?#29882;?#26473;?#38171;?#26473;樻槸?#28229;鑻?#37826;?#37928;?#37722;?#37510;?/p> <p> </p> <p>鎴戜娇?#25956;鐨勬槸MySQL鐨勬?#29256;嵁搴?#38171;屾搷浣滅郴缁?#38171;Vista銆?/p> <p>鍒?#37714;涘缓POSTS?#31794;?#25956;鐨勬椂鍊?#38316;?#37714;?#27996;嗛棶棰?#38171;?#37714;涘缓鏁版嵁鍚?#37825;版嵁搴?#28051;?#37832;?#37825;版嵁锛?#28003;嗘槸鍒癓isting posts?#26219;闈?#37827;?#23049;?#37836;湅锛屾绘槸鎶敊銆?/p> <p>缃?#28051;Google浜嗕竴涓?#38171;屾灉鐒?#37832;?#27996;洪亣鍒扮浉?#24723;鐨勯棶棰?#38171;?#37721;傜収浜?#28641;?#28051;?#29785;?#37712;?#37826;规锛?#37714;?/p> <p><a title="http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/" href="http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/">http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/</a> 涓?#28051;?#26462;?#27996;libmySQL.dll鏂囦欢鏀?#37714;癛UBY_HOME/bin/鐩綍涓?#38171;岄棶棰?#29785;?#37712;?#37510;?/p> <p>鍙傝?#38171;氬?#22249;骇2.2鍚巑ysql椹?#37716;?#37928;勯棶棰?#38171;?a title="http://www.javaeye.com/topic/283871?page=1" href="http://www.javaeye.com/topic/283871?page=1">http://www.javaeye.com/topic/283871?page=1</a>锛?/p> <p> </p> <p>鎰?#37721;逛竴涓?#38171;屽綋Listing Posts杩?#28051;狢RUD灏忓簲?#25956;璺戣捣鏉?#37722;?#38171;?#29785;夊緱Ruby On Rails鐨勫紑鍙戞槸?#30254;Java?#32017;鍙戣?#20344;?#31476;浜?#38171;岀湅浜嗕竴涓?#28729;?#37922;熸垚鐨勪唬?#29212;锛岃?#23676;技涔?#28051;嶅銆?/p> <p> </p> <p>浠?#28598;櫄浜?#38171;屾槑澶?#32513;?#32513;?#37510;?/p> <img src ="http://www.8634070.com/robbie/aggbug/287292.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/robbie/" target="_blank">The Matrix</a> 2009-07-19 00:42 <a href="http://www.8634070.com/robbie/archive/2009/07/19/287292.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇?#29825;?/a></div>]]></description></item><item><title>娌?#37832;Hibernate鏃?#38171;屾垜浠?#37804;?#28052;堝仛椤?#37929;?amp;hellip;&hellip;http://www.8634070.com/robbie/archive/2009/07/06/285719.htmlThe MatrixThe MatrixMon, 06 Jul 2009 14:06:00 GMThttp://www.8634070.com/robbie/archive/2009/07/06/285719.html    鏈杩?#37734;仛?#31476;涓?#23536;堝皬鐨勯鐩?#37928;?#37716;熻?#33445;敼杩?#38171;屽皬灏?#37928;勯鐩?#28051;?#37720;熸潵杩?#37818;?#37928;勬槸MySQL鏁版嵁搴?#38171;?#37916;?#37734;?#38343;瑕?#37826;?#26473;?#37818;竴涓?#37825;版嵁搴?#38171;圤racle锛?#38171;?#28000;?#28000;?#28000;庝竴寮?#29723;?#37836;?#29831;?#37825;版嵁鍗?#37721;?#38171;屾病鏈夋坊鍔?#37510;?#28103;敼銆?#37714;犻櫎绛夌瓑鍔熻兘銆?#37832;?#37833;?#26473;?#28051;?#28751;?#28751;?#37928;勯鐩?#28051;敤鐨勬槸Hibernate锛?#37916;?#37734;?#37721;?#29781;?#28583;?#37716;犱竴涓?#37825;版嵁搴?#26473;?#37818;?#38171;?#29785;夊緱閰嶇疆璧?#37833;?#37832;夌偣楹荤儲锛屽?#30028;?#33333;兂璧?#37833;?#38171;屾垜骞?#37722;?#26473;樿?#20346;敤Hibernate鍛?#38171;?#37929;?#37818;敤JDBC涓?#28052;熸濂戒娇涔?#38171;屾?#20805;簡渚垮仛锛屾灉鐒?#37712;?#29863;JDBC鏉?#38171;屽?#22559;槸蹇?#37817;?#38171;屼竴?#32048;灏辨?#28850;浜?#37510;?/p>

    ?#20187;濂?#27996;?#28000;?#37722;?#38171;屽?#30028;劧瑙夊緱鏈夌偣杩疯尗锛屾?#29115;涓嶇敤Hibernate涓?#28052;熸濂?#37928;勪箞锛?#37724;?#28051;?#28000;涔?#37916;?#37734;紑鍙?#38338;?#37721;?#38318;芥槸Hibernate鍛?#38171;屼簬?#27128;渚?#37832;?#27996;?#28000;?#28598;?#37928;勯鐩?#37510;?/p>

    ?#32226;涔?#28000;?#37715;嶆病鏈Hibernate鐨勬椂鍊?#38171;?/p>

    绗竴闃舵锛?#37812;?#28000;?#37712;?#32459;嬪簭閮芥槸鐩?#37818;敤JDBC锛?#37922;氳嚦鍦JSP椤?#38344;?#28051;?#37929;?#37818;?#37720;createConnection锛?#37906;?#37722;?#37813;?#29723;?#37836;?#29831;?#38171;?#26440;撳嚭鍒?#26916;?#38344;?#37510;?/p>

    绗?#27996;岄?#33333;锛?#37722;?#37833;?#29785;夊?#26945;?#24532;閮芥槸鍒涘缓?#31476;涓?#26473;?#37818;?#38171;屽?#34249;儚鏁?#37916;?#28051;?#26946;?#38171;屼簬?#27128;?#28229;浜?#37714;?#27996;?#37928;勪缁?#38171;?#29781;佺敤鏁版嵁搴?#26473;?#37818;?#23033;?#38171;屽鐨?#38171;岄偅渚跨敤鏁版嵁搴?#26473;?#37818;?#23033;?#37722;?#38171;屾?#24532;閮?#28000;pool涓?#38014;峰緱?#31476;涓狢onnection锛?#37906;?#37722;?#37836;?#29831;?#37825;版嵁銆?/p>

    绗?#28051;?#38339;舵锛氱敤浜?#26473;?#37818;?#23033;?#38171;?#26473;樻槸鏁?#37916;?#28051;?#26946;?#38171;岄偅鎬?#28052;?#37716;炲憿锛熺敤缂撳?#27194;惂锛?#38007;?#23480;?#28729;?#37916;?#32514;撳瓨锛?#37721;?#28000;?#38171;屼篃鍙?#28000;敤?#32017;?#31790;鐨?#32514;撳瓨妗嗘灦銆?/p>

    绗洓闃舵锛?#37714;?#27996;哋O澶祦琛?#37928;勬?#26421;唬浜?#38171;屼竴鍒?#38318;?#29781;丱O锛屾伆閫Hibernate闄?#28051;?#27996;?#28051;?#38171;屼簬?#27128;?#31476;鍒?#38318;界敤Hibernate鏉?#28729;?#37916;?#27996;?#38171;?#37711;?#28729;炲悓鏈?#26473;樻槸鏈?#28051;嶅皯鍏?#28729;ORMAP妗嗘灦鐨?#38171;屾瘮濡?#38171;圱OPLINK銆丣DO銆両Batis绛?#38171;IBatis?#27991;鍐呯敤鐨勮繕?#30254;杈?#28598;?#38171;?#37721;?#28598;?#28051;?#28051;?#28610;藉?#24533;敤鐨勬瘮杈?#28751;?#38171;?#37510;?/p>

    绗?#27996;?#38339;舵锛氬?#30028;劧EJB澶祦琛?#38171;?#27996;?#37716;?#37928;勬?#20634;?#20291;骞?#28051;?#28028;?#37822;?#38171;?#39582;?#28051;嶆槸鍘熸潵娌?#37832;?#27996;?#37716;?#37928;勬?#20634;锛?#37721;槸瀹?#37916;?#29863;?#37833;瘮杈冮?#33636;儲锛?#38171;屽?#37716;EJB鐨?#39582;?#28051;?#28028;?#37822;?#38171;Spring+Hibernate鐨?#32513;?#37722;?#28052;熸參鎱?#37719;犳嵁浜?#28598;?#37719;?#29999;?#37734;?#37510;?#23005;?#37827;朵簨鍔敤Spring AOP鐨勫?#29256;槑寮?#27996;?#37716;?#37833;?#29785;?#37712;?#38171;?#32514;撳?#27194;彲浠敤?#32017;?#31790;鐨?#32514;撳瓨妗嗘灦锛堝凡缁?#37724;Hibernate鏃?#32514;?#38342;?#37812;?#27996;?#38171;?#38171;屾?#29256;嵁搴?#26473;?#37818;?#23033;?#28052;熸槸閫?#26473;?#38320;嶇疆鐨?#37826;瑰紡鍦SpringContext.xml鏂囦欢涓?#38320;嶇疆锛岃?#23676;技?#31476;鍒?#38318;藉緢瀹岀編銆?/p>

 

    鐪?#37928;?#37714;?#27996;嗙浜?#38339;舵锛屼竴鍒囨槸涓嶆槸鐪?#37928;?#28729;岀編浜?#37723;?#38171;屽?#20635;灉?#31476;涓?#23536;堝皬鐨勫簲?#25956;锛岄渶瑕?#28000;?#28610;藉嚑涓?#37825;版嵁搴?#37836;?#29831;?#37825;版嵁锛?#28003;嗘槸姣?#28051;?#37825;版嵁搴?#28000;?#38343;瑕?#37836;?#29831;偅涔堜竴涓?#23534;?#29723;?#37928;勬?#29256;嵁锛屽?#36346;皵?#22346;鍔?#37510;?#37714;犻櫎?#22161;鏉?#37825;版嵁锛屾?#29256;嵁閲?#28052;?#28051;嶅锛?#23005;?#37827;舵垜浠槸涓嶆槸杩樼敤绗竴闃舵鐨?#37826;瑰?#24526;細鏇村鍛?#38171;屽?#34249;儚鏈?#37827;?#38320;嶇疆澶?#37825;版嵁?#31790;涔?#28051;嶆槸?#20549;涔?#37826;?#28186;?#37928;勪?#23339;儏銆?#37812;栬呬娇?#25956;Spring涓?#37928;JDBCTemplate锛岃?#23676;技涔?#28051;嶉敊銆?/p>

    鍐嶅線鍚庣湅锛岄毦閬揝pring+Hibernate鐨?#32513;?#37722;堝氨澶?#28051;?#37827;犳晫浜?#28052;?#38171;熼毦閬撳?#36776;病鏈?#37826;?#37928;勬?#21976;?#26421;簡涔?#38171;?#37715;?#23048;?#37827;?#38338;?#38171;JavaEye涓?#37711;充簬鍏?#29723;妯瀷銆佽传琛妯瀷鐨?#29825;?#29825;?#37722;稿紩浜?#28598;?#28751;?#37930;?#37918;?#38171;?#28000;?#37722;庢槸涓嶆槸?#32048;鏈夎繖涔堜竴涓?#22935;嗘?#21057;敤?#31788;瀹?#37916;?#37711;?#29723;妯?#37736;嬪憿锛?/p>

   璇?#27996;?#26473;?#28052;堝锛?#37832;缁?#37721;槸鎯?#29831;?#37828;庣櫧杩?#28052;堜竴鍙?#38171;氱敤鎭板綋鐨勬妧鏈仛鎭板綋鐨勪?#23339;儏锛?#26473;?#37930;熸槸?#31476;涓?#38009;?#38341;剧殑閫夋嫨……锛?#38007;充簬鏈?#37833;?#38171;屾?#23384;槸杩疯尗锛屽洜涓?#37812;?#28000;?#37721;槸璺熼?#24538;?#38171;岃?#28051;嶆槸棰?#28725;?#38000;?#37510;?/p>

]]>銆?#23075;?#37711;?#21613;嚭EXT JS銆?#28052;?#29831;?/title><link>http://www.8634070.com/robbie/archive/2009/04/19/266409.html</link><dc:creator>The Matrix</dc:creator><author>The Matrix</author><pubDate>Sun, 19 Apr 2009 05:36:00 GMT</pubDate><guid>http://www.8634070.com/robbie/archive/2009/04/19/266409.html</guid><wfw:comment>http://www.8634070.com/robbie/comments/266409.html</wfw:comment><comments>http://www.8634070.com/robbie/archive/2009/04/19/266409.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.8634070.com/robbie/comments/commentRss/266409.html</wfw:commentRss><trackback:ping>http://www.8634070.com/robbie/services/trackbacks/266409.html</trackback:ping><description><![CDATA[<p>鍓?#28051;?#28598;?#37713;哄樊鍦?#28598;?#38171;?#37714;敤绌?#28003;?#37827;?#38338;村皢銆?#23075;?#37711;?#21613;嚭EXT JS銆?#26473;?#37832;?#28052;?#37928;?#37715;?#27996;旂珷缈?#27996;嗕竴閬?#38171;?#37722;?#38344;?#37928;勭珷鑺傜?#26947;?#26945;祻瑙?#27996;嗕竴涓?#38171;?#29785;夊緱杩?#37832;?#28052;?#37712;?#37928;勪笉?#25930;锛屽啓涓?#38007;?#23480;?#37928;勪竴鐐规?#29112;锛?/p> <p>1銆?#38315;傚悎鐨?#29831;昏?/p> <blockquote> <p>a銆佹槸?#31476;鍚岼ava?#32017;鍙?#32459;嬪簭鍛?#38171;屽仛杩嘩EB?#32017;鍙?/p> <p>b銆?#28725;Ajax?#32017;鍙?#37928;勫?#34425;?#29025;璇?#37832;?#37813;浜?#29785;?/p></blockquote> <p>2銆?#28052;?#29831;?#38171;?/p> <p>        杩?#37832;?#28052;?#37812;戣?#22794;?#26944;簲璇敼鎴?#26473;?#28051;?#37722;嶅瓧锛?#37510;奅XT JS CookBook銆?#38171;?#37721;兘?#23047;?#32241;涔?#37928;?#37712;?#28729;?#37724;?#37722;嶇?#29256;?#30923;鍒?#38171;屽懙鍛?#37510;?/p> <p>        涔?#28051;?#28725;笶xt JS鐨勫?#34425;绫?#37510;丟rid銆丗orm銆乀ree銆?#29999;?#28766;绠?#37918;嗗櫒銆佹?#29256;嵁?#24143;鍙栫瓑鍚?#37826;?#38344;?#38318;藉仛浜?#29831;?#32513;?#37928;勬弿杩?#38171;屽熀鏈?#28051;婂紑鍙?#28051;?#38343;瑕佺敤鍒?#37928;勭煡璇嗙偣锛?#37734;?#28052;?#28051;?#38318;戒細鎻?#37714;?#38171;岃?#28051;?#28052;?#28051;?#37928;勫?#22557;渚嬪瓙鍜?#28729;?#38340;呭伐浣?#26473;樻槸闈炲父璐?#37714;?#37928;?#38171;屽?#36891;簬?#20240;浣?#28051;?#38343;瑕佺敤鍒癊XT JS鎴栬?#38343;瑕佸涔燛XT JS鐨?#32459;嬪簭鍛?#37833;?#29831;?#26473;樻槸?#32048;?#32226;鏈?#29999;?#37716;?#37928;?#37510;?/p> <p>        鏈鍚?#37819;愮偣缂虹偣锛?#26473;?#37832;?#28052;?#28051;?#28725;笶XT JS鐨勭煡璇嗙偣閮藉仛浜嗘瘮杈?#29831;?#32513;?#37928;勬弿杩?#38171;?#28003;嗘槸缂?#28052;?#28725;笶XT JS鐨勬?#21976;灦鐨勬繁鍏?#37714;嗘瀽銆?/p><img src ="http://www.8634070.com/robbie/aggbug/266409.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/robbie/" target="_blank">The Matrix</a> 2009-04-19 13:36 <a href="http://www.8634070.com/robbie/archive/2009/04/19/266409.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇?#29825;?/a></div>]]></description></item><item><title>Flex Clear Toolkit3.1http://www.8634070.com/robbie/archive/2009/04/12/265164.htmlThe MatrixThe MatrixSun, 12 Apr 2009 12:57:00 GMThttp://www.8634070.com/robbie/archive/2009/04/12/265164.htmlhttp://www.8634070.com/robbie/comments/265164.htmlhttp://www.8634070.com/robbie/archive/2009/04/12/265164.html#Feedback0http://www.8634070.com/robbie/comments/commentRss/265164.htmlhttp://www.8634070.com/robbie/services/trackbacks/265164.html鍓?#28051;?#28598;?#37734;InfoQ涓婄湅鍒颁竴绡?#37826;囩珷锛?a href="http://www.infoq.com/cn/news/2009/03/clear-toolkit-for-flex-java">鍒敤Clear Toolkit杩?#37818;Flex涓嶫ava?#32017;鍙?/a>锛?#28000;?#28598;?#28051;?#26462;?#27996;?#29831;?#37828;?#37826;囨绮楃暐浜嗙炕浜嗕竴閬?#38171;Clear Toolkit鍖?#37722;?#27996;?#28051;?#38318;?#37714;?#38171;?#37714;?#37714;槸锛?/p>
  • Clear Data Builder锛?#26473;欐槸涓Eclipse鎻掍欢锛?#37721;?#28000;?#37837;规嵁SQL璇?#37721;?#37812;朖ava鏁版嵁浼?#26440;?#28725;?#29854;?#28051;築lazeDS鎴朙CDS鑷?#37716;?#37922;熸垚CRUD?#31794;?#25956;銆?
  • DTO2Fx锛?#29831;?#37819;?#28000;朵細鏍规嵁Java绫诲瀷鑷?#37716;?#37922;熸垚瀵瑰簲鐨凙ctionScript绫?#37510;?
  • Log4Fx?#27128;涓?#37835;勫缓?#31788;Flex logging API涔?#28051;?#37928;凟clipse鎻掍欢锛?#28729;冧細鑷?#37716;?#37718;?#37827;?#36423;?#28598;?#37918;?#39582;?#28051;?#37831;?#37716;犵娲?#38171;屼?#29112;洿鍔?#37721;嬪銆?
  • Fx2Ant鎻?#28000;朵細涓Flex Builder椤?#37929;?#37922;熸?#24874;?#27194;寲鐨凙nt鏋勫缓鑴?#37832;?#37510;?
  • clear.swc?#27128;涓?#28583;炲己鐨凢lex缁勪欢搴?#37510;?

鏆?#37827;剁敤涓?#37714;?#26473;?#28051;伐鍏?#38171;?#29825;板綍鐣欏?#21613;鏌?#37510;?/p>

]]>Hibernate缂撳瓨閰嶇疆http://www.8634070.com/robbie/archive/2009/04/07/264359.htmlThe MatrixThe MatrixTue, 07 Apr 2009 14:54:00 GMThttp://www.8634070.com/robbie/archive/2009/04/07/264359.htmlhttp://www.8634070.com/robbie/comments/264359.htmlhttp://www.8634070.com/robbie/archive/2009/04/07/264359.html#Feedback3http://www.8634070.com/robbie/comments/commentRss/264359.htmlhttp://www.8634070.com/robbie/services/trackbacks/264359.html杩?#32481;Blog?#27128;鍘熸潵鍐?#37734;?#37714;?#37928;?#37734;?#37826;?#37928;?#38171;?#28000;?#28598;皢鍏?#26462;?#37714;癇logJava涓?#37833;?#37510;?br /> -------------------------------------------------------------------------------

浠?#28598;?#28000;?#28000;?#32513;?#32513;?#37928;勭湅浜嗕竴涓婬ibernate鐨?#32514;撳瓨锛屽?#36346;仛浜?#28729;?#28186;?#28729;?#29882;?#27996;嗕竴?#22968;銆俫oogle?#31476;涓?#38171;?#32515;?#28051;?#37928;勬暀绋?#37510;?#37826;囩珷寰堝銆?br /> 鑷?#23480;?#28751;?#32513;撲竴涓?#38171;?/p>

Hibernate鐨?#32514;撳?#27194;垎涓?#38171;?/p>

  • ?#31476;?#39559;缂撳瓨锛?#37734;Session?#39559;鍒?#37928;?#38171;?#37734;Session鍏?#38338;?#37928;勬椂鍊?#38171;屼竴?#39559;缂撳?#27194;氨澶?#37825;?#27996;?#37510;?
  • 浜岀骇缂撳瓨锛?#37734;SessionFactory?#39559;鍒?#37928;?#38171;?#28729;?#37721;?#28000;娇?#25956;涓嶅悓鐨?#32514;撳?#27194;疄鐜?#38171;屽EhCache銆丣BossCache銆丱sCache绛?#37510;?

缂撳瓨鐨勬敞閲?#37712;?#23049;曞涓?#38171;?#37716;?#37734;Entity鐨刯ava绫?#28051;?#38171;?/p>

  • @Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)

缂撳瓨鐨?#37826;瑰紡鏈夊洓绉?#38171;?#37714;?#37714;?#28051;?#38171;?/p>

  • CacheConcurrencyStrategy.NONE
  • CacheConcurrencyStrategy.READ_ONLY锛?#37721;?#29831;?#22959;?#23534;?#38171;?#37734;?#23005;?#22959;?#23534;?#28051;?#38171;屽?#20635;灉瀵?#37825;版嵁杩涜?#23678;洿鏂版搷浣?#38171;屼細鏈夊?#20634;父锛?
  • CacheConcurrencyStrategy.READ_WRITE锛?#29831;?#37712;?#22959;?#23534;?#37734;?#37831;?#37826;?#32514;撳瓨鐨勬椂鍊欎細鎶婄?#25779;瓨閲?#38344;?#37928;勬?#29256;嵁鎹?#37812;愪竴涓?#38335;?#38171;?#37711;?#28729;冧簨鍔?#28641;傛灉鍘?#37721;栫浉?#31794;鐨?#32514;撳瓨鏁版嵁锛?#37721;?#37916;?#29722;?#38335;?#27996;?#38171;?#37929;?#37818;?#28751;?#37720;?#37825;版嵁搴?#37836;?#29831;?#38171;?
  • CacheConcurrencyStrategy.NONSTRICT_READ_WRITE锛?#28051;?#28051;?#37837;?#37928;?#29831;?#37712;?#22959;?#23534;?#37714;?#28051;嶄細鐨?#32514;撳瓨鏁版嵁鍔犻攣锛?
  • CacheConcurrencyStrategy.TRANSACTIONAL锛?#27996;?#37716;?#22959;?#23534;?#37816;囩?#25779;瓨鏀?#37816;?#27996;?#37716;?#38171;屽綋浜?#37716;?#37733;炴粴鏃?#38171;?#32514;撳瓨涔熻兘鍥炴粴锛?#37721;?#37824;?#37816;丣TA鐜?#28583;?#37510;?

鍙?#28598;?#26473;?#37832;?#28641;?#28051;?#23049;剰浜?#26916;?#38171;?/p>

1銆?#37836;?#29831;?#32514;撳瓨闇瑕?#37734;Query鐨勭浉?#31794;鏂规硶鎵?#29723;屽墠鍔?#28051;?#26473;?#28052;堜竴鍙?#38171;?

query.setCacheable(true);

鍦娇?#25956;Hibernate鏃?#38171;岃?#23792;緱鐨剄uery鏈塻etCacheable鏂规硶锛?#37721;?#28000;?#29825;剧疆?#23047;?#25956;缂撳瓨锛?#28003;嗗綋?#23047;?#25956;JPA鏃?#38171;javax.persistence.Query骞舵病鏈塻etCacheable鏂规硶锛?#23005;?#37827;?#28641;傛灉JPA鐨?#28729;?#37916;版槸Hibernate鏃?#38171;?#37721;?#28000;皢鍏?#26473;涜?#23677;涓?#26462;?#37718;?#38171;屽啀璋冪敤setCacheable鏂规硶锛?#28641;傛灉JPA鐨?#28729;?#37916;版槸鍏?#28729;ORMAP妗嗘灦锛屽氨涓嶇煡閬?#37804;?#28052;堝仛浜?#38171;?#37510;?/p>

if (query instanceof org.hibernate.ejb.QueryImpl) {
    ((org.hibernate.ejb.QueryImpl) query).getHibernateQuery().setCacheable(
true);
}

2銆?#26473;?#37832;夊?#36776;槸鏌?#29831;?#32514;撳瓨鐨勬煡璇?#37813;?#29723;?#37722;?#38171;屼細?#30370;鏌?#29831;?#32513;撴灉鏀?#37711;?#27996;岀骇缂撳瓨涓?#38171;?#28003;嗘槸鏀?#37711;?#37928;?#35120;?#23534;忔槸浠ID涓篕ey锛?#28729;?#28186;?#28003;?#28051;轰竴涓猇alue銆?/p>

3銆乭ibernate鐨?#38320;嶇疆鏂囦欢涓?#38343;鍔?#37711;?#28641;?#28051;?#28103;伅锛?br />

<property name="hibernate.cache.provider_class" value="org.hibernate.cache.EhCacheProvider" />
<property name="hibernate.cache.use_second_level_cache" value="true" />
<property name="hibernate.cache.use_query_cache" value="true" />




]]> ˫ɫֱ
<div id="k0jz6"><tr id="k0jz6"></tr></div>
    <sup id="k0jz6"><menu id="k0jz6"><small id="k0jz6"></small></menu></sup>
    <div id="k0jz6"><tr id="k0jz6"><mark id="k0jz6"></mark></tr></div><em id="k0jz6"></em>
    <dl id="k0jz6"><ins id="k0jz6"></ins></dl><dl id="k0jz6"></dl>
      <div id="k0jz6"></div>

      <sup id="k0jz6"></sup><dl id="k0jz6"><ins id="k0jz6"><thead id="k0jz6"></thead></ins></dl>
        <div id="k0jz6"><tr id="k0jz6"></tr></div>
          <sup id="k0jz6"><menu id="k0jz6"><small id="k0jz6"></small></menu></sup>
          <div id="k0jz6"><tr id="k0jz6"><mark id="k0jz6"></mark></tr></div><em id="k0jz6"></em>
          <dl id="k0jz6"><ins id="k0jz6"></ins></dl><dl id="k0jz6"></dl>
            <div id="k0jz6"></div>

            <sup id="k0jz6"></sup><dl id="k0jz6"><ins id="k0jz6"><thead id="k0jz6"></thead></ins></dl>