2018-01-01ãã1å¹´éã®è¨äºä¸è¦§
Wardenã¨ã¯? å°å ¥ 1. ã¤ã³ã¹ãã¼ã« 2. ãã¼ã¹ã¨ãªãRailsã¢ã㪠3. Strategyãå®ç¾©ãã 4. Strategyãwardenã«è¿½å ãã 5. wardenãRackããã«ã¦ã§ã¢ã¹ã¿ãã¯ã«è¿½å 6. èªè¨¼æ å ±ãã³ã³ããã¼ã©ã¼ããå©ç¨ãã strategy strategyã¨ã¯? Warden::Strategies::Baâ¦
request_storeã¨ã¯ï¼ å°å ¥ 1. ã¤ã³ã¹ãã¼ã« 2. 使ã£ã¦ã¿ã é¡ä¼¼æ©è½ã¨ã®æ¯è¼ Thread.current åé¡ç¹ Webrickã§ã¯åé¡ãªãããã ActiveSupport::CurrentAttributes 使ãæ¹ ä½¿ãéã®æ³¨æç¹ ã°ã«ã¼ãã«ã«ã¢ã¯ã»ã¹ã§ãã¡ãã ãªã¯ã¨ã¹ãæ¯ã«ãã«ãã¹ã¬ãã使ãâ¦
Gonã¨ã¯ å°å ¥ 1. ã¤ã³ã¹ãã¼ã« 2. ã»ããã¢ãã 3. 使ã£ã¦ã¿ã è¨å® 使ãæ¹ watch: watchæ©è½ãæå¹åãã camel_case: ãã£ã¡ã«ã±ã¼ã¹ã«å¤æãã camel_depth: ãã£ã¡ã«ã±ã¼ã¹ãé©ç¨ããæ·±ã namespace: gonã¨ããåå空éãå¤ãã init: window.gon = {}ã§â¦
Awesome Printã¨ã¯ å°å ¥ ã¤ã³ã¹ãã¼ã« 使ã£ã¦ã¿ã ã¡ã½ãã ap(object): ãªãã¸ã§ã¯ããè¦ãããåºå object.ai: ãªãã¸ã§ã¯ããè¦ãããå å·¥ 使ãæ¹ ãªãã·ã§ã³ string.red: æåã赤è²ã«ãã 使ãæ¹ colorã®ç¨®é¡ logger.ap(message): Awesome Printã使ãâ¦
å°å ¥ ã¤ã³ã¹ãã¼ã« 使ã£ã¦ã¿ã ã³ã³ããã¼ã©ã¼ ãã¥ã¼ scopeã¡ã½ãã page: nãã¼ã¸ç®ã®ã¬ã³ã¼ããåå¾ limit_value: åå¾ããã¬ã³ã¼ãæ° total_pages: ç·ãã¼ã¸æ° current_page: ç¾å¨ã®ãã¼ã¸çªå· next_page: 次ã®ãã¼ã¸çªå· prev_page: åã®ãã¼ã¸çªå· firâ¦
ææ³ã¨ã ææ³ pros cons åºæ¬çãªä½¿ãæ¹ å°å ¥ 1. ã¤ã³ã¹ãã¼ã« 2. ã»ããã¢ãã 3. ãã³ã¬ã¼ã¿ãä½æãã¦ã使ç¨ãã ãã«ãã¼/ãã¥ã¼/ã¢ãã«ã«ãã¸ãã¯ãç½®ãå ´åã¨ã®æ¯è¼ ãã«ãã¼ã«ãã¸ãã¯ãç½®ãå ´å ãã¥ã¼ã«ãã¸ãã¯ãç½®ãå ´å ã¢ãã«ã«ç½®ãå ´å ãã³â¦
ææ³ ã¹ã¬ãããã¼ã¹ åè unicornã¯ããã»ã¹ãã¼ã¹ pumaã¯ã¹ã¬ãããã¼ã¹ MRIã®ã¹ã¬ãã Jrubyã»Rubiniusã®ã¹ã¬ãã ã¹ãã¼ã¯ã©ã¤ã¢ã³ã railsã¸ã®å°å ¥ è¨å® åèURL è¨å®ãã¡ã¤ã«ã®èªã¿è¾¼ã¿ è¨å®é ç® bind: ãã¤ã³ã port: ãã¤ã³ã(portã¨host) ssl_bind:â¦
ææ³ã¨ã 注æç¹ ææ³ pros cons ãªã¯ã¨ã¹ã RestClient.get: GET RestClient.post: POST RestClient.delete: DELETE RestClient.patch: PATCH RestClient.put: PUT RestClient.head: HEAD RestClient.options: OPTIONS RestClient::Request.execute: HTTPã¡â¦
第1ç« Faradayãã¯ãããã 001 Faradayã¨ã¯ï¼ 002 ã»ããã¢ãã 003 使ã£ã¦ã¿ãã 第2ç« åºæ¬çãªä½¿ãæ¹ 004 GETãªã¯ã¨ã¹ã 005 POSTãªã¯ã¨ã¹ã 006 PATCHãªã¯ã¨ã¹ã 007 DELETEãªã¯ã¨ã¹ã 008 ã³ãã¯ã·ã§ã³ã使ã 009 ãã©ã¡ã¼ã¿ãæå®ãã 010 ãªã¯ã¨ã¹ãâ¦