You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
2015/11/25ã«è¡ããã第96åPHPåå¼·ä¼ã®LTã§çºè¡¨ããè³æã§ãã
æ¦è¦ 1582å¹´10æ5æ¥ã1582å¹´10æ14æ¥ã¾ã§ã®10æ¥éã¯ãä½ããã®èªç¶ç¾è±¡ï¼ã´ã´ã´ã´ã´ï¼ã«ãã£ã¦æéãæ¶ãå»ãã¦ãæéã¨ãã¦ç¥ããã¦ãã¾ããããã°ã©ãã³ã°è¨èªã使ã£ã¦ãã®æ¥ãåãæ±ããã¨ããã¨ãããããªçµæãåºåããã¾ãã ä»æ¥ã¯ãããªç´ æµãªæ¥ä»ã§ãã1582å¹´10æ5æ¥ã¨æ¯ãã¦ãè²´éãª1æ¥ãç¡é§ã«ãã¦ã¿ããã¨æãã¾ãã Java ã¨ããããJavaããããã¼ã¸ã§ã³ã¯7ã // 1582/10/05ããã¼ã¹ Date dt1 = new SimpleDateFormat("yyyy/MM/dd").parse("1582/10/05"); System.out.println(dt1); // 1582/10/04ããã¼ã¹ Date dt2 = new SimpleDateFormat("yyyy/MM/dd").parse("1582/10/04"); System.out.p
社ä¼äººã«ãªã£ã¦å¹¸éã«ã4å¹´éRuby + Ruby on Railsã使ã£ãéçºã«æ £ã親ããã å¾ã«ã PHPã使ã£ãæ´å²ããã·ã¹ãã ã«2å¹´éæºãã£ã¦ãã¾ããã ãã®ä¸ã§ã * RubyããPHPã使ãããã«ãªã£ã¦ã©ãèããå¤ãã£ãã * Rubyã¨PHPã®ä¸¡æ¹ãè¦ãã¦è¯ãã£ãã㨠* ä»å¾Rubâ¦
.zshrcã«static_httpdã£ã¦é¢æ°ã¤ãã£ã¦ãã dotfiles/.zshrc at master · kamipo/dotfiles · GitHub function static_httpd { if type plackup > /dev/null; then plackup -MPlack::App::Directory -e 'Plack::App::Directory->new(root => ".")->to_app' elif type ruby > /dev/null; then if ruby -v | grep -qm1 'ruby 2\.'; then ruby -run -e httpd -- --port=5000 . else ruby -rwebrick -e 'WEBrick::HTTPServer.new(:Port => 5000, :D
I am a PHP developer who has started learning Ruby on Rails. I love how easy it is to get up and running developing Rails applications. One of the things I love most is WEBrick. It makes it so you don't have to configure Apache and Virtual Hosts for every little project you are working on. WEBrick allows you to easily start up and shut down a server so you can click around your web application. I
TISã¯2012å¹´10æ15æ¥ãJavaè¨èªã«å¯¾å¿ããWebã¢ããªã±ã¼ã·ã§ã³éçºåºç¤ãµã¼ãã¹ãeXcaleï¼ã¨ã¯ã¹ã±ã¼ã«ï¼ãã®ãã¼ã¿çããªãªã¼ã¹ãããWebã¢ããªã±ã¼ã·ã§ã³ãSaaSï¼Software as a Serviceï¼ã®éçºã»å ¬éã«å¿ è¦ãªWebãµã¼ãã¼ããã¼ã¿ãã¼ã¹ãµã¼ãã¼ãã¢ããªã±ã¼ã·ã§ã³ããã®ã¤ã³ã¿ã¼ãããæ¥ç¶ãPaaSï¼Platform as a serviceï¼ã®å½¢æ ã§æä¾ããããã¼ã¿çã¯ãå社ã®è£½åãµã¤ãã§ã¦ã¼ã¶ã¼ç»é²ãããã°ç¡æã§å©ç¨ã§ããï¼åçï¼ã eXcaleã¯ãAmazon Web Servicesãå©ç¨ãã¦æä¾ãããWebéçºè åãã®PaaSã§ãããRubyãJavaãPHPãNode.jsã®4ã¤ã®éçºè¨èªã«å¯¾å¿ãã¢ããªã±ã¼ã·ã§ã³ã®è² è·ã«å¿ãã¦èªåã§ã¹ã±ã¼ã«ã¢ã¦ããè² è·åæ£ãè¡ãããªã¼ãã³ã½ã¼ã¹ã®åæ£åãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ãGitãããã³ãã¡ã¤ã«ã¢ãããã¼ã
ã¯ãã¿ã¤ãã«ã¯é£ãã§ãã OOPã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ãã ã®å®è£ æ¼ããã§ãã¯æ©è½ãããªãããã¾ãã¦ãç¶æ¿ã¯å·®åããã°ã©ãã³ã°ãã¼ã«ãããªãããã¨ããã®ã¯ããã¨ä¸è¬çãªè©±ã ãã©ãRuby(respond_to?ã§ãã³ãã«ããã®)ã¨Java(ã¤ã³ã¿ã¼ãã§ã¼ã¹ãèªç¶ããã¦ã¦ã¼ã¶ãæèããªãã®ã)ããPHPã«å¯¾ãã¦OOPã©ãããã§åããã«è¨ãã®ã¯ã©ãããªã¨æã£ããã®ã§ãã¾ãããã¨åæã«ãPHPã®äººèªèº«ããã®æ義ãçºè¦ãã¦ãã®ããªã¨ããçåããã£ãããããã§ããã©ãã Rubyã¨ããã®ã¯ããªãã¸ã§ã¯ãæåã£ã¦ã®ã¯ã¤ã¾ãã¡ã½ããã«å¿çã§ããã¢ãã«ã¯ã¿ããªã¢ãã«ã¨ã¿ãªãããããã¨ããã¬ãã«ã®ããã¯ã¿ã¤ãã³ã°ã§å²ãåã£ãè¨èªã ã¨ãå人çã«èªèãã¦ãã¾ããç¶æ¿ã¨ããã¯ã¹ã¤ã³ã«ã¯is_aãå¿çãããã©æ¬è³ªã¯respond_to?ã®ã»ãã§ãã¤ã³ã¿ã¼ãã§ã¼ã¹ã宣è¨ãã¦ãªãã¦ãã¡ãã»ã¼ã¸éããããããã®æãã ãããª
ãã®è¨äºã¯PHP Advent Calendarã®19æ¥ç®ã®è¨äºã§ãã ããã°ã©ãï¼ï¼äººéã¾ãã°ã誰ãMVCããã¡ãèªãã®ã常ãã¿ããªå¤§å¥½ãMVCã®è©±ã§ããåã¯ä»å¹´ã§PHPããã°ã©ãã¨ãã¦10å¹´ãçµéãã¾ããããã®ç¯ç®ã®å¹´ã«ãããã¾ã§è§¦ã£ã¦ãããã¬ã¼ã ã¯ã¼ã¯ãæ¯ãè¿ããå¾¹åºçãªå人ç主観ã§MVCã«ã¤ãã¦èªã£ã¦ããããæãã¾ããå¿å¹´ä¼ã·ã¼ãºã³ã§ãç²ãã®çæ§ããå®å¿ãã ãããã³ã¼ãã»ã¼ãã§ãå±ããã¾ãã ããããªè¨èªã®ããããªãã¬ã¼ã ã¯ã¼ã¯ã触ã£ã¦ããã¤ããã§ãããJavaã¯ãã£ã¦ãªãã£ããã§ãã¾ã詳ãããªãã§ãã主ã«Rails以éã®ãã¬ã¼ã ã¯ã¼ã¯ãè¦ã¦ããã¾ãã Railsã®å績 PHPããã°ã©ãã¨ãã¦Railsã®ç»å ´ã§ä½ã«ã³ã£ãããããã¨ããã¨ã次ã®ä¸ã¤ã§ãã router ActiveRecord cliã¨å¯¾è©±åshell ActiveRecordã¯éæ³ã®ããã«è¦ãã¾ãããããããåºã¦ã
ããã ããï¼ ï¼æ¨æ¶ï¼ ããããã¯ãããããã æ¨æ¥ã php ã® mysqlnd ã«ã¤ãã¦æ¸ãã¾ãããã id:nihen ããããã ãPerl ã Ruby ã§ã Native Driver 俺ãæ¸ãã¦ãããã£ã¦ããçè ããããé¢ç½ããPerl=DBD::mysqlPP, Ruby=>Ruby/MySQL, Python=>oursql http://b.hatena.ne.jp/nihen/20111214#bookmark-71994389 ã¨ããåå¿ãããã ããã®ã§èª¿ã¹ã¦ã¿ã¾ããã Perl - Net::MySQL DBD::mysqlPP ã¨ããã®ã¯ DBI ã®ããã¯ã¨ã³ãã¨ãã¦åãã¢ã¸ã¥ã¼ã«ã§ãã DBD::mysqlPP ã®è©± - tsucchiã®æ¥è¨ ãè¦ãã¨ãç´ä½æ²æããã£ãããã§ãã ã½ã¼ã¹ã³ã¼ããè¦ãã¦ã¿ãã¨ãããããããã®ã¢ã¸ã¥ã¼ã«ãç´æ¥ããã¨ããã¦ã訳ã§ã¯ãª
æãããRubyã¯ããã¥ã¡ã³ããå¼±ããã¨è¨ããã¦ãã¾ããããPythonãPHPã¯ãããªã«ããã¥ã¡ã³ããæã£ã¦ããã®ã«ãããã«æ¯ã¹ã¦Rubyã¯ããããã¨ããããã§ããã§ããå¾ ã£ã¦ãã ãããããã¥ã¡ã³ãã¯è¨è¿°ãå å®ãã¦ããã ãã§ååã§ããï¼ç°¡åã«ç®çã®ããã¥ã¡ã³ãã«ãã©ãã¤ãã¾ããï¼ GoogleãBingãªã©ã®æ¤ç´¢ã¨ã³ã¸ã³ããAmazonãçé ã¨ããECãµã¤ãã¯ãæ¢ããã®ãè¦ã¤ããããããããã¨ã«ã©ãã©ã磨ããããã¦ãã¾ãããªããããã¥ã¡ã³ãã®æ¤ç´¢æ©è½ã¯ããã»ã©é²æ©ããªãã®ã§ããããï¼ ããã¥ã¡ã³ãã®æ¤ç´¢æ©è½ããæ¤ç´¢ã¨ã³ã¸ã³ãECãµã¤ãã§ã使ããã¦ãããããªææ°ã®æ¤ç´¢ãã¿ã¼ã³ãåãå ¥ãããã£ã¨ãªããã«ãªãã°ããã°ã©ãã³ã°ããã£ã¨æ¥½ãããªãã¯ãã§ãããããRubyã®ããã¥ã¡ã³ãã§å®ç¾ãããã¨ãã¦ããã®ãããã¾ãµã¼ãã§ãã æè¿ãããã¾ãµã¼ãããããã¯ã¼ã¢ããããã®ã§ãã©ãå¤ãã£ãããç´¹ä»ãã¾
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}