Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ãµã¼ãã¹éç¨ã«å¿ è¦ãªãµã¼ããã°ã®è¨å®æ¦è¦ã®ä¸ä¾ã ãã°ã®åºå対象ãèãã ããã§ã¯ä¸è¨ã対象ã¨ããããµã¼ãã¹ã®åæ段éã§ã¯ãã°ãå¤ãã«åºãã¦ããã¦ãå®å®ç¨¼åã®å®ç¸¾ãåºæ¥æ¬¡ç¬¬ãã°ãæ¸ããæ¹éã§ããã åä¿¡ããHTTP Request ãªã¯ã¨ã¹ãheader(user-agent, x-forwarded-for) ãªã¯ã¨ã¹ãbody(controllerã®å¼æ°ã®ã¿) è¿çããHTTPã¬ã¹ãã³ã¹ ã¬ã¹ãã³ã¹ã¿ã¤ã ã¬ã¹ãã³ã¹body(JSONã®å ´å) vmã®æ å ±(processæ°) ãµã¼ãå ã§ã®äºæããªãä¾å¤ åãã°åºåã«ã¯ãä¸è¨ã®æ å ±ãä»å ããã ã¦ã¼ã¶ã¼ID ãã®ãã°åºåããã©ã®ã¦ã¼ã¶ã¼ã®HTTPãªã¯ã¨ã¹ãã«ãã£ã¦çºçããã®ãããããããã«ãã ãªã¯ã¨ã¹ãID ãã®ãã°åºåããã©ã®HTTPãªã¯ã¨ã¹ãã«ãã£ã¦çºçããã®ãããããããã«ãã åãã°åºåãè¨å®ãã ãªã¯ã¨ã¹ãheader(use
defmodule MyApp.Server do use Maru.Server, otp_app: :my_app end defmodule Router.User do use MyApp.Server namespace :user do route_param :id do get do json(conn, %{user: params[:id]}) end desc "description" params do requires :age, type: Integer, values: 18..65 requires :gender, type: Atom, values: [:male, :female], default: :female group :name, type: Map do requires :first_name requires :last_nam
ã¯ããã« çããããã¯ããã°ãã¡ã¯ã å¹´ã®ç¬ã§ãã ã³ãã±ã®å ¥ç¨¿å²å¼ãæ¸ã£ã¦ããã¾ãã 第ï¼å ä¼æ¥å¯¾æãã¼ãã¡ã³ãã大æ¦æ¥ã«ãããã¾ããã®ã«ãã£ã§ãã æ£ç´è²ã å¿ããã§ãããåããã¾ããã ã£ã¦å¸«èµ°ã ãã®ã ãããªæã¯è©ã®åããã£ããæãã¦ãElixir on Phoenixãå ¥éãã¦ããã¾ãããã CentOS + Erlang + Elixir + Phoenixã®Dockerã¤ã¡ã¼ã¸ã§ä»æ¥ããå§ããElixir on Phoenixå ¥é ãä¸ç´ç·¨ãdrone.io + exrmã§ä»æ¥ããå§ããElixir on Phoenixããããããã¤å ¥é ååãåã åã«å¼ãç¶ããElixir/Phoenixã®å ¥éè¨äºä¸ç´ç·¨ã§ãã Phoenixã使ã£ãæã®ãµã¼ãã¼ãµã¤ãã®éçºã¯ä»å¹´ä¸å¹´ãéãã¦è²ã ã¨ãã¬ãã¸ãæºã¾ã£ã¦ããã¨æããã§ããã ããã³ããµã¤ãã®ãã¹ããã©ã¯ãã£ã¹ã欲ãããªãã¨ããã®ã
WEB+DB PRESS vol88&vol89ã®Elixirã®ç´¹ä»ãè¨èªç´¹ä»ã®æç« ã§ãã¾ã ãã¤ã¦ãªãã»ã©ã®ãããæãã ã£ãã®ã§ Elixirãç´ äººãElixirã¨Phoenixãã¬ã¼ã ã¯ã¼ã¯ã使ã£ã¦ã¡ããã¨å ¬éã§ããREST APIãµã¼ãã¼ãä½ã£ã¦ã¿ãã¾ã§ãç´¹ä»ãã¾ãã ãããèªãã°ãã¶ãï¼æéãããã§ä»»æã®ãã¼ã¿ã®REST APIãµã¼ãã¼ãä½æã§ãã¾ãã ãã«çã®ã½ã¼ã¹ - github å®éã«ä½æããAPIã®ä»æ§ æ¾æ ä¸ã®ã¢ãã¡å ¬å¼ Twitterã¢ã«ã¦ã³ãã®ãã©ãã¯ã¼å¤åå±¥æ´æ å ±ãæä¾ããRESTful API ãµã¼ãã¼ãä½ãã¾ãã ä½æãã¼ãè¦ä»¶ Elixir Phoenixãã¬ã¼ã ã¯ã¼ã¯ã§REST API ãµã¼ãã¼ãä½ã ä»åæ±ããã¼ã¿ã¯ç¹å®åéã®Twitterã¢ã«ã¦ã³ããªã¹ãã®ãã©ãã¯ã¼å±¥æ´ã¨ãã MySQLã«æ ¼ç´ããããã¼ã¿ãREST APIçµç±ã§åå¾ã§ããããã«ãã ã¤ã³
Elixirã¯ä¸¦è¡å¦çè½åã«åªããRubyã©ã¤ã¯ãªã·ã³ã¿ãã¯ã¹ãæã¤é¢æ°åè¨èªã§ãã ååã®ã¨ã³ããªã§ã¯Elixirã®æ¦è¦ãã·ã³ã¿ãã¯ã¹ã®ç´¹ä»ãç°¡åã«ãã¾ããã ä»åã¯Elixirã®è¤æ°ããã»ã¹ã使ã£ãããã°ã©ãã³ã°ã«ã¤ãã¦æ¸ãã¦ããã¾ãã Elixirã«ã¯ããã»ã¹å¨ãã®å®è£ ããµãã¼ããã¦ãããOTPã¨ããã©ã¤ãã©ãªãããã®ã§ãããã¾ãã¯OTPã使ç¨ããªãããã°ã©ãã³ã°ãæ±ãã¾ãã 軽éããã»ã¹ Elixirã®ããã»ã¹ã¯è»½éããã»ã¹ã¨è¨ããã¦ãã¦ãOSã®ããã»ã¹ãã¹ã¬ããã§ã¯ãªãGreenã¹ã¬ããã§ãã ã«ã¼ãã«ã§ã¯ãªãVMã§ã¹ã±ã¸ã¥ã¼ãªã³ã°ãããã®ã§è»½éãã³ã³ããã¹ãã¹ã¤ãããçºçããªãã¨ããå©ç¹ãããã¾ãã 1軽éããã»ã¹ã§ç´300ã¯ã¼ãã§ãã ããã»ã¹çæ Elixirã§æ°ããããã»ã¹ãçæããã®ã¯ç°¡åã§ãã spawné¢æ°ãå¼ã³åºããæ»ãå¤ã«çæããããã»ã¹IDãåãåãã¾ãã d
ããæè¿ãElixirã¨ããè¨èªãWebããã°ã©ãã¼çéã§è©±é¡ã«ãªã£ã¦ãã¾ãã Elixirã¯Erlangã®VMä¸ã§åãRuby風å³ã®é¢æ°åè¨èªã§ãRailsã³ããã¿ã®Jose Valimãããä½ã£ãããã°ã©ãã³ã°è¨èªã§ãã ãã®è¨èªã¯Erlangã®ä¸¦è¡æ§ã¨Rubyã®éçºçç£æ§ãæã£ã¦ãã¾ãã ä»åã¯ãã®è¨èªãåºã¦ããèæ¯ã¨ææ³ã®ç¹å¾´ã«ã¤ãã¦æ¸ããã¨æãã¾ãã Elixirã注ç®ããã¦ããçç± ããæ°å¹´ãWebã¢ããªã±ã¼ã·ã§ã³ã¯ä»¥ä¸ã®åé¡ãæ±ãã¦ãã¾ãã C10Kåé¡ 10000以ä¸ã®ã¯ã©ã¤ã¢ã³ãããµã¼ãã«åææ¥ç¶ããã¨ãHWã®æ§è½ã¯è¶³ãã¦ãã¦ãOSãã½ããã¦ã§ã¢ã®åé¡ã§å¦çãç ´ç¶»ãã ã ã¼ã¢ã®æ³åã®éç CPUãããã¡ã¼ã«ã¼ã®è£½é ãããããã®ã¯ããã¯ã¬ã¼ãã®æé·ã«é°ãã代ããã«ãã«ãã³ã¢ã¢ã¼ããã¯ãã£ã®CPUãéçºããã¦ãã ãªã¢ã«ã¿ã¤ã Web ãµã¼ããã¯ã©ã¤ã¢ã³ãã常ææ¥ç¶ããã¢ããªã±
GMOããã社å ã§ããããåãElixirãããï¼ï¼ããªãã¨ããã¾ããã è³æã¯ãã¡ã Elixirã 第1å - åºç¤ã - from Joe_noh ä¸å¿ç¤¾å ã®ã¨ã³ã¸ãã¢ã«å±ãããã¡ã§å¼ã³ããã¯ãã¾ãããã諸ã ã®é½åã§æ¥é½éå¬ããã®ã§ãçµæã¯ã¿ã·ãåæ4人ã«å¯¾ãã¦1æéã»ã©èªããããå ´ã«ãªãã¾ãããç¶ãã¦ããã°ãElixirã®ãããã¯ã·ã§ã³æ¡ç¨ã¨ããéæãéæãããã®ã§ã¯â¦ã åã£ã人ã¨ãã¦ã®ææ³ ä»åã¯èª°ãElixirã触ã£ããã¨ããªãã¨ããåæã§ãã¬ã¼ã³ãã¾ãããããã¾ã§é·ã話ãããã®ã¯ã»ã¼åãã¦ã§ãããã"ãã®äººã触ãããã¨ã®ãªãã¢ãã説æãã"ã¨ãããã¨ã®é£ãããç¥ã£ã¦ããã®ã§ãã©ãããæ§æã«ãããçµæ§èãã¾ãããããããªããã1度ã«ããã«ã¯è¥å¹²éãå¤ãã第2åã®å 容ãèãå§ããã¨ããã£ã¨ã³ã³åã£ã¨ããªãã¨ãã¡ã ã£ãããããã¨æãå§ããå¤ããã¦å°ãªãããå 容ã ã£ããªã¨ã¡ãã£ã¨å
ã¾ããã®æ±æ¨ªç·åæ¢ã§è¡ããªãã£ãåç¨ã¾ã¨ã(é é©å½)ãããªãã ããã°ã«æ¸ãã¨ããã¹ã©ã¤ãããã£ããã©ã¾ã¨ãã¦ãã¾ãã ã¹ã©ã¤ã speakerdeck.com speakerdeck.com Shibuya.ex #1 Elixirãæ¬çªç°å¢ã§ä½¿ã£ã¦ã¿ãã¨ããäºä¾ç´¹ä» from Tsunenori Oohara www.slideshare.net DBã«seedããã©ã¤ãã©ãªã¤ãã£ã from Joe_noh www.slideshare.net Cowboyã¨elixir from hayabusa333 www.slideshare.net ãã¼ãã§ã¯ã"Elixiræ å ±åé" from Keisuke Takahashi www.slideshare.net ãªã³ã¯ qiita.com qiita.com github.com www.slideshare.net
2. Agenda ⢠èªå·±ç´¹ä» ⢠ãµã¼ãã¹ç´¹ä» ⢠æ¡ç¨ã«è³ãçµç·¯ ⢠ã©ã使ã£ã¦ããã ⢠å°ã£ãäº â¢ å°ããªãã£ãäº â¢ ä½¿ã£ã¦ã¿ã¦ã®ææ³ â¢ ã¾ã¨ã 3. èªå·±ç´¹ä» ⢠@ohrdev (ãã¼ã¯ã) ⢠(æ ª)ããªã³ã åºåãã¼ã ADã¨ã³ã¸ã㢠⢠ä»äº â ADãããã¯ã¼ã¯ã·ã¹ãã ã®éçºãã¡ã³ã â åºåãµã¼ãã¹(äºåç»é²ãetcï¼ã®éçºãã¡ã³ã â¢ è¶£å³ â FF14 (Ridillãµã¼ãã¼,ç½éLv60) â åçµ(è¬è¥å¿çµçãªæå³ã§)ãä»å彫ã â 丸太ãæµæ¨åé
4. Agenda ⢠è¨èªã®ç´¹ä» â Erlang/Elixirã®ç´¹ä» â ã¨ã³ã·ã¹ãã ã«ã¤ã㦠â ç°å¢æ§ç¯ ⢠å¼ç¤¾åºåäºæ¥é¨ã§ã®ä½¿ããæ¹ â å©ç¨ã¢ã¸ã¥ã¼ã« â ãµã¼ãã¹ã®æ§æ ⢠ææ â è¯ã/æªãæ â ããã£ãæ ⢠ã¾ã¨ã 5. Erlangã®ç´¹ä» ⢠平è¡å¦çæåã®ããã°ã©ãã³ã°è¨èª ⢠åæ£åãããç°å¢ ⢠é害èæ§(ãã©ã«ããã¬ã©ã³ã) ⢠(ããç¨åº¦ã®)ãªã¢ã«ã¿ã¤ã æ§ â¢ ç¡åæ¢ç¨¼å(ãããã¹ã¯ãã) ⢠ActorModel(Shared Nothing Artchitecture) ⢠OTP(Open Telecom Platform) â¢ è¶ è»½éããã»ã¹/ã¡ãã»ã¼ã¸ã³ã° ⢠GCã¯ããã»ã¹ã¬ãã«ã§å®è¡ ⢠Prologããã¯ãªsyntax ⢠Immutableãªå¤æ° ⢠åä¸ä»£å ¥å¤æ°(ï¼åããå¤ãä»£å ¥ã§ããªã) ⢠ãã¿ã¼ã³ããããå¤ç¨(ã¡ãã»ã¼ã¸ããã·
Rubyist ãéåæãªã使ãã Elixir ã¡ã½ãããåãä¸ãã¦ã¿ã¾ããã Elixir 㯠Ruby ã«ä¼¼ã¦ããã ããã£ã¦ãRubyist ã使ãå§ãã¦ãããã¾ã§éåæãªãå§ããããã¨æãã¾ã(Erlangå¨ããå ¨ç¶ç解ãã¦ããªãç§ã®è¨èãªã®ã§ä¿¡é ¼æ§ã«ããã¾ããããã)ã ã¨ãããã¨ã§ä»¥ä¸ã¨ãä¸ãã¦ã¿ã¾ã(ãªã¬åºæº)ãç´¹ä»ãã¦ããªããã®ãçµæ§ããã®ã§èå³ãã人ã¯ããã¥ã¡ã³ãè¦ã¦ã¿ãã¨è¯ãã§ãã inject vs reduce Elixir 㯠reduce æ´¾ã§ããã
A very short exposé on the Elixir and Rust programming languages
çµç·¯ å®å ¨ã«@kmagaiããã®Goè¨èªã§ï¼ã®åæ°ã¨ï¼ã®ã¤ãæ°åã ããããã´ã¼ããã«ä¹ã£ããã¾ããã Goã§ã¯ãªãã§ãããã©ããªè¨èªã§ããããã´ã¼ã§ã¨ãã¾ããã¯ã»ã¸ã£ãã³ãªFizzBuzzãã¦è¯ãã®ã§ã¯ï¼ï¼ï¼ã¨ããæãã§ãã ã«ã¼ã«ã¯å ¨ãåãã5ãã¤ãæ°åã§Exoticã5ã®åæ°ã§Japanã両ç«ãããExotic Japanã ã³ã¼ã defmodule ExoticJapan do def go!(num) when num > 0 do Enum.each 1..num, fn (i) -> IO.puts "#{i} " <> hiromi(exotic?(i), japan?(i)) end end defp hiromi(true, true), do: "Exotic Japan" defp hiromi(true, false), do: "Exotic" defp hir
1. 第1å - åºç¤ã 2 - GMO Pepabo, Inc. Joe Honzawa 2015/5/15 Elixiråå¼·ä¼ Elixirã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Lau Taarnskovããã®2015å¹´4æ19æ¥ä»ã®ããã°è¨äºãElixir - The next big language for the webã®ç¿»è¨³ã§ãã Elixirã¯Erlangã®VMä¸ã§èµ°ããRubyã«ã¡ãã£ã¨ä¼¼ã(ã¨ããã®ãä½è (José Valim)ãRuby on Railsã®coreãã¼ã ã¡ã³ãã¼ãªã®ã§)é¢æ°åè¨èªã§ãã 2012å¹´ã«ç»å ´ãã¦ãã¦Qiitaã§ãAdvent Calendarãªã©ãæ¢ã«ããããã§ããã¾ã ãã¾ãç¥ããã¦ããªãã§ãããElixirã¨Phoenix Frameworkãçµã¿åããããã®ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}