Kaigi on Rails 2024 ã§ã®çºè¡¨è³æã§ã #kaigionrails https://kaigionrails.org/2024/talks/moro/
Hotwireã¨Next.jsãã¡ããã¨è¦ã¦æ¯è¼ããã#æ¬ãµã¤ãã§ã¯ãReact/Next.jsã«è©³ããããã³ãã¨ã³ãã¨ã³ã¸ãã¢ã対象ã«ãå®éã«åãã³ã¼ãã¨å®éã«åããã¢ãä½æããªãã Hotwireã¨React/Next.jsãæ¯è¼ãã¾ãã åæè¡ã§ã®UIã®ä½ãæ¹ãä¼ããã ãã§ãªãããã¾ãã¾ãªç¶æ³ã§ã®åãã確èªãã¦ããã ãããã«ãä»çµã¿ãéçãç´¹ä»ãã¾ãããã®ãããããªãç´°é¨ã®è°è«ããã¦ãã¾ãã Hotwireã§ãNext.jsã¨åçãããã以ä¸ã®UI/UXãå®ç¾ã§ãã¾ãããHotwireã¯ç°¡åã ãã©ãReact/Next.jsã®æ¹ãåªããUI/UXãä½ãããã¨ããã®ã¯ãããªãç¹æ®ãªãã®ã§ãªãéãã¯èª¤è§£ã§ãHotwireã¯ããã¯ã¨ã³ãéä¾åã§ããRails, Laravel, Django, Go, Nodeã§ãé¢ä¿ãªãåãã¾ããå®éãæ¬ãµã¤ãã®Hotwireã³ã¼ãã¯Next.js AP
Photo by Domenico Loia on UnsplashHotwired ASP.NET Core Web Application (6 Part Series) Hotwired ASP.NET Core Web Application â Part 1 (Intro) Hotwired ASP.NET Core Web Application â Part 2 (NPM, Webpack Setup) Hotwired ASP.NET Core Web Application â Part 3 (Turbo Drive & Frame) Hotwired ASP.NET Core Web Application â Part 4 (Turbo Stream) Hotwired ASP.NET Core Web Application â Part 5 (Stimulus)
Turbo Streams: How They Work and Differ From Turbo Frames No, you donât need WebSockets to use Turbo Streams. You can simply use them to deliver multiple page updates with a single HTML response. This article teaches the basics of Turbo Streams to build a SPA without writing a single line of JavaScript. No Rails needed, either! In the last article, we learned how a static website can behave like a
You Don't Need Rails to Start Using Hotwire Although Hotwire is closely tied to Ruby on Rails, you might be surprised to know that you don't really need Rails to learn, play, and experiment with Hotwire. In this article, we'll build a simple static site that uses Turbo Drive + Frames to make it responsive and use Streams to make it dynamic. Update: I originally published this post few months ago,
Herokuã®ç§»è¡å ãèãã ä»éç¨ãã¦ããã¢ããªéãããã«Heroku以å¤ã«ç§»ãã¨ãããã¨ã¯ããªãã¾ã§ãã競åã¨ãªããããã¯ãã®èª¿æ»ããã¦ãããã¨ã¯(ç¹ã«å¾çºã®ãã®ã«ã¤ãã¦ã¯)æ©è½é¢ã§å®ã¯ãããªã«ä¾¿å©ãªãã®ããã£ãã®ããã¨æ°ã¥ããã¨ã«ããªã£ããããã®ã§ããã£ã¦ããã¦æã¯ãªããã¨æãã¾ããã æ¯è¼å¯¾è±¡ã«ã¤ã㦠æ¯è¼ãã対象ã¨ãã¦ã¯ãã¤ã³ã¿ã¼ãããã§æè¿è¦ãããPaaSãé¸å®ãã¾ãããåæ§ã®ãã¨ãã§ããIaaSã®ã³ã³ãã¼ãã³ãã¨ãã¦ãAWS FargateãGoogle Cloud Runãããã¾ããããã®ãããªIaaSã®ä¸é¨ã¨ãã¦æä¾ããããã®ã«ã¤ãã¦ã¯ä»åã¯æ¯è¼å¯¾è±¡ã¨ã¯ãã¾ããã ä»åã®æ¯è¼å¯¾è±¡ã¯ä»¥ä¸3ã¤ã§ãã Render https://render.com Railway https://railway.app Fly.io https://fly.io deployããRails
rails new ãã¦ãã steep check ãéãã¾ã§ã«ãã£ã¦ã¿ãä½æ¥ãã¾ã¨ãã¦ããã GitHub ã³ã¼ãã¯GitHubã§å ¬éãã¦ããã®ã§ã詳細ãªæé ãç¥ãããæ¹ã¯åç §ãã¦ãã ããã github.com æé gemãå ¥ãã steepã¨rbs_railsãGemfileã«è¿½å ããã # Gemfile group :development do gem 'rbs_rails', require: false gem 'steep', require: false end bundle install ãå®è¡ããã $ bundle install rbs_rails ã®READMEã®æé ã«å¾ã£ã¦ lib/tasks/rbs.rake ãä½æããã # lib/tasks/rbs.rake require 'rbs_rails/rake_task' RbsRails::Rak
æ¦è¦ åèè ã®è¨±è«¾ãå¾ã¦ç¿»è¨³ã»å ¬éãããã¾ãã è±èªè¨äº: Hotwire: Reactive Rails with no JavaScript? â Martian Chronicles, Evil Martiansâ team blog åæå ¬éæ¥: 2021/04/12 åèè : Vladimir Dementyev -- Evil Martiansãªã¼ãéçºè ã ãµã¤ã: Evil Martians -- ãã¥ã¼ã¨ã¼ã¯ããã·ã¢ãä¸å¿ã«æ ç¹ãæ§ããRuby on Railséçºä¼ç¤¾ã§ããè¯è³ªã®ããã°è¨äºãå¤æ°å ¬éããå¤ãã®gemã®ã¹ãã³ãµã¼ã§ãããã¾ãã é·æã«ã¤ãåç·¨ã¨å¾ç·¨ã«åå²ãã¾ãããä»åã¯å¾ç·¨ã§ãã Hotwireã¯Railsããã¼ãJavaScriptãã§ãªã¢ã¯ãã£ãã«ã§ãããï¼åç·¨ï¼ç¿»è¨³ï¼ åç·¨: TurbolinksãTurbo Driveã«ç½®ãæãã åç·¨: Turb
æ¦è¦ åèè ã®è¨±è«¾ãå¾ã¦ç¿»è¨³ã»å ¬éãããã¾ãã è±èªè¨äº: Hotwire: Reactive Rails with no JavaScript? â Martian Chronicles, Evil Martiansâ team blog åæå ¬éæ¥: 2021/04/12 åèè : Vladimir Dementyev -- Evil Martiansãªã¼ãéçºè ã ãµã¤ã: Evil Martians -- ãã¥ã¼ã¨ã¼ã¯ããã·ã¢ãä¸å¿ã«æ ç¹ãæ§ããRuby on Railséçºä¼ç¤¾ã§ããè¯è³ªã®ããã°è¨äºãå¤æ°å ¬éããå¤ãã®gemã®ã¹ãã³ãµã¼ã§ãããã¾ãã é·æã«ã¤ãåç·¨ã¨å¾ç·¨ã«åå²ãã¾ããã ãµããªã¼ The HEY stack: - Vanilla Ruby on Rails on the backend, running on edge - Stimulus, Turbolink
å¾æ¥å¡ãã¼ã¿ãã¼ã¹æ©è½ã®éçºãæ å½ãã¦ãã渡éã§ããæè¿å ¬éããGemã§ããactiverecord-tenant-level-securityã®ç´¹ä»ããã¾ãã SmartHRã«ããããã«ãããã³ãã®ç¾å¨ ç§ãã¡ãéçºããSmartHRã¯ã客æ§ãã¨ã«1ã¤ã®ç°å¢ãæä¾ããããã«ãããã³ãåSaaSã§ãããµã¼ãã¹å ¨ä½ã§1ã¤ã®ãã¼ã¿ãã¼ã¹ãæã¡ãè¤æ°ã®ããã³ãã®ãã¼ã¿ãæ··ãããªãããã«ãSQLã§åãåãããè¡ãã¾ãã 1ã¤ã®ç°å¢ãã¨ã«1ã¤ã®ãã¼ã¿ãã¼ã¹ãæã¤æ¹å¼ã¯å®å ¨æ§ã®é¢ã§åªãã¦ãã¾ãããã¹ãã¼ãã®ä¿å®ããã¤ã°ã¬ã¼ã·ã§ã³ã«ãããæéã®å¢å ãªã©ãå¤ãã®æè¡çãªå°é£ãããããã¾ãããã®é¸æã®èæ¯ã«ã¤ãã¦ã¯ã2018å¹´ã«æ¸ããã以ä¸ã®è¨äºãã覧ãã ããã tech.smarthr.jp ã¨ã¯ããã常ã«ããã³ããã¨ã®WHEREå¥ãæèããªããã³ã¼ããæ¸ãã®ã¯å¤§å¤ã§ãããä¸å ·åã®æ¸©åºã«ãªãã¾ãã幸ããç§
çè ã¯ES6以åã®Vanilla JSããã¾ã好ãã§ã¯ããã¾ããã§ããã ããã§ãããã©JavaScriptããªãã¹ãæ¸ããªãã¦ããããã«ã2000年代ãéãã¦ãã¾ãã¾ãªã¢ããã¼ãã追æ±ãã¦ãã¾ãããæåã¯RJSï¼Ruby-to-JavaScriptï¼ã次ã¯CoffeeScriptã§ãããã©ã¡ãã®ã¢ããã¼ãããããã©JavaScriptãã楽ããæ¸ããã½ã¼ã¹ã³ã¼ããããã©ã¦ã¶ãå®è¡ã§ãããã¼ã¸ã§ã³ã®JavaScriptã¸ãã©ã³ã¹ãã¤ã«ãããã®ã§ããããç¨åº¦ã¯ããã¾ããã£ã¦ãã¾ããã ã¨ã¯ãããããã¯æããã«ãã®å ´ãã®ãã®æ段ã«éããããã©ã¦ã¶ãããæ´ç·´ãããJavaScriptãç解ã§ããæ¥ãå¾ ã¡ãã³ã¦ããã®ã§ãããã ããããªæ¥ãæ¥ããã¨ã¯ãªããæ°¸ä¹ ã«ãã®å ´ãã®ãã§ããéããã®ãã¨æãããææããã°ããç¶ãã¾ããã ãããã幸ããªãã¨ã«JavaScriptã¯æ¹åãç¶ãã2015å¹´ã«ã¯ES6
Caution ãã®è¨äºã¯DHHãã¡ã³ã®å¦æ³ã«ããã·ããªãªãå¤åã«å«ã¾ãã¾ãã ã¨ãããã»ã¨ãã©ã§ãã æãç«ã¡ãééã£ã¦ããã¨ãå½ç¶ããããã«æãã®ã§è©±ååã§èªãã§ãã ããã ããã¯ä¸ä½ æè¿ã®Railsããã³ãã¨ã³ããDHHã®æ´»åã«ã¯ä¸é£ã®æµããããããã§ãããä¸é¨ãã¬ã³ãã«æ²¿ã£ã¦ãªãé¨åãããæ ã«ãããæ±²ããªãã¨ããã¨ãããããã®ã§ã¯ã¨æãã¾ãã ãããã®æµããè¨æ¶ãå®ããªãã¡ã«ã¤ãªãã§è¨é²ãã¦ãããã¨ããè¨äºã§ãã åæç¥è Railsã®çã¿ã®è¦ªãRubyist Basecamp(社) DHHãCTOãã£ã¦ãä¼ç¤¾ Basecamp(ãµã¼ãã¹) Basecamp(社)ãéçºãã¦ãããã¸ã§ã¯ã管çãã¼ã« Trixãéçºãã¦ãããæ¥ Basecamp(ãµã¼ãã¹)ã«çµã¿è¾¼ã¾ãã¦ããªããããã¹ãã¨ãã£ã¿ã®trixãcustomElements使ã£ã¦éçºãã¦ãããæ¥ãDHHã¯ãããã¨ã«æ°ã¥ãã
Caution ãã®è¨äºã¯DHHãã¡ã³ã®å¦æ³ã«ããã·ããªãªãå¤åã«å«ã¾ãã¾ãã ã¨ãããã»ã¨ãã©ã§ãã æãç«ã¡ãèãæ¹ãééã£ã¦ããã¨ãå½ç¶ããããã«æãã®ã§è©±ååã§èªãã§ãã ããã ããã¯ä¸ä½ ååãããå¦æ³çDHHç解ã®ã¨ãã½ã¼ã0çãªè©±ã§ãã å¦æ³çDHHç解ã§ã¯ãDHHãã©ãããéç¨ã§ä»ã®Railsããã³ãã¨ã³ãã«éãããã®è©±ã主é¡ã§ããããããã§ã¯ããªãããé¸ã°ãªãã£ãããã¯èª¬æããã¦ãã¾ããã§ããã å½¼ã¯ã¢ããªã·ãã¯ãæãããããã¬ã³ãã¨çéã®ã¢ããã¼ãã§ããã³ãã¨ã³ãã«æ°ããã¬ã¼ã«ãå¼ãå§ãããããã®ã§ãåã«å½¼ã天éªé¬¼ã§ãã£ããè»è¼ªã®åçºæ大好ãããããã¨ãã¦æããããã¡ã§ãããå®ã¯å¤ªã太ãä¸æ¬çããã£ãæè¡é¸å®ããç¶ãã¦ãã£ã¦ãã¨ãåºã¾ãã°ãããªã¨æã£ã¦ããã¡ã³ã®è¨äºã§ãã åæç¥è ååã¨ã»ã¼åãã§ãã Railsã®çã¿ã®è¦ªãRubyistããå®ã¯ã«ã¼ã¬ã¼ãµã¼ã§ãããã¾
æè¿ããã¼ãã§ã¯ãRuby on Railsã®å¢è£æ¹è¨çããªãªã¼ã¹ããã¦ããã ãã身ãªã®ã§ãä¹ ãã¶ãã«Railsã«ã¤ãã¦æ¸ãã¦ã¿ããã¨æãã ã¾ããæ¸ç±ã®å®£ä¼ã¿ãããªãã®ã§ãã æ°æ¥åã«ãnoteã¨ãããµã¼ãã¹ã§Webããã³ãå´ã«æ稿è ã®IPã¢ãã¬ã¹ãé²åºããã¨ããæ¼æ´©äºæ ãèµ·ãã¾ããããããã©ããããåé¡ãã¯ä¸æ¦ç½®ãã¦ããã¦ãä½æ ãããããã¨ã«ãªãã®ããããã¦Railsã§ãã使ãããdeviseã¨ããèªè¨¼æ©æ§ä½æã©ã¤ãã©ãªã®ããè¯ã使ãæ¹ã«ã¤ãã¦è©±ããã¦ããã¾ãã (noteãRailsã使ã£ã¦ããããããã§è©±ãããdeviseãæ¡ç¨ãã¦ãããã¯å®ãã§ã¯ãªãã®ã§ãããããå ã®è©±ã¯ãã®äºæ ã¨ã¯ç´æ¥é¢ä¿ããã¾ãããRailsã ã£ãã¨ãã¦ãæãã使ã£ã¦ãªããå¤ãªä½¿ãæ¹ãã¦ãã¨æããã§ãããçç±ã¯å¾è¿°) ä½æ ãããªãã¨ãèµ·ããã®ã ãããããããã³ãå´ã«ä½æ IPã¢ãã¬ã¹ãéã£ã¦ãã ãã¨ãã話ã§ã
ã¯ããã¾ãã¦ãã¢ã¤ãã¥ã¼ããã·ã¹ãã ãºã§CLOMOã®ãµã¼ãã¼ãµã¤ãéçºãæ å½ãã¦ãã YusukeIwakiã§ããCSEã¨ãããCLOMOã®æ¹åãç¶æ管çããããã¼ã ã§éçºãé²ãã¦ãã¾ãã ããã°ãéãã¦ããä¸ã®äººã¯ãããªæãã§åãã¦ããä¼ç¤¾ã ããã¨ããçºä¿¡ããããã¨ãã£ã¨æã£ã¦ãã¾ããããã®ãã³ä¼ç¤¾ã¨ãã¦ããã°ãæ¸ãã¦ãããã¨ã«ãªã£ãã®ã§ã第1å·è¨äºãæ¸ããã¦ããã ãã¾ã!! ä»åã¯ãå°ãæã®è©±ã«ãªã£ã¦ãã¾ãã®ã§ãããç§ãæ¨å¹´å ¥ç¤¾ãã¦æåã«åãçµãã éçºç°å¢ã®Dockeråã®è©±ãæ¸ãã¦ããã¾ãã éçºç°å¢ã®æ§ç¯æé æ¸ãã¡ã³ããã³ã¹ããã¦ããªãåé¡ ã¨ã³ã¸ãã¢ã¨ãã¦å ¥ç¤¾ãã¦æåã®ã¤ãã³ãã¨è¨ãã°ãéçºç°å¢ã®æ§ç¯ã§ããã CLOMOã¯å¤§é¨åãRuby on Railsã§ä½ããã¦ããã®ã§ãããç§ã®å ¥ç¤¾æãéçºç°å¢ã®æ§ç¯æé æ¸ã®ãããªãã®ã¯ãã¾ãã¡ã³ããã³ã¹ããã¦ããªãç¶æ ã§ããã ä¸æ¬ã§ç°å¢ã»
ãã¡ãã®è¨äºã¯ç¿»è¨³è¨äºã¨ãªãã¾ãã åèè ã®è¨±è«¾ãå¾ã¦ç¿»è¨³ã»å ¬éãã¦ããã¾ãã è±èªè¨äº: How to Write Fast Code in Ruby on Railsåæå ¬éæ¥: 2019/10/08èè : Gannon McGibbonURL: https://engineering.shopify.com/blogs/engineering/write-fast-code-ruby-rails ã¯ããã«Shopifyã§ã¯ãã»ã¨ãã©ã®ããã¸ã§ã¯ãã®éçºãã¬ã¼ã ã¯ã¼ã¯ã«Ruby on Railsã使ç¨ãã¦ãã¾ãã Railsã¨Rubyã¯ã¨ãã«ããã©ã¼ãã³ã¹ã«å¯¾ããã¹ãã£ã°ãï¼åè¦ï¼ãåå¨ãã¾ãã å¤ãã®å人ãä¼æ¥ããRails以å¤ã§ã®è§£æ±ºæ¹æ³ãæ¢ãã¦ãã¾ãã ãããä¸æ¹ã§ãç§ãã¡Shopifyã§ã¯Ruby on Railsãæ¡ç¨ãã¦ãæ¯åä½ç¾ä¸ãã®ãªã¯ã¨ã¹ãï¼requests per
Spring Bootã«ããAPIããã¯ã¨ã³ãæ§ç¯å®è·µã¬ã¤ã 第2ç ä½å人ãã®éçºè ããInfoQã®ããããã¯ãPractical Guide to Building an API Back End with Spring BootããããSpring Bootã使ã£ãREST APIæ§ç¯ã®åºç¤ãå¦ãã ããã®æ¬ã§ã¯ãåºçæã«æ°ãããªãªã¼ã¹ããããã¼ã¸ã§ã³ã§ãã Spring Boot 2 ã使ç¨ãã¦ãããããããSpring Boot3ãæè¿ãªãªã¼ã¹ãããéè¦ãªå¤...
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}