JavaScriptを用いて、フロントエンドのWebプログラミング、およびサーバーサイドJavaScriptを体験する。
Node.jsをインストールする。
| <%= stylesheet_link_tag "https://cdnjs.cloudflare.com/ajax/libs/flat-ui/2.3.0/css/flat-ui.min.css" %> | |
| <header style="background: darkorchid; color: white; text-align: center; padding: 1px;"> | |
| <h1>TSG Memo Storage</h1> | |
| </header> | |
| <div class="container" style="width: 800px; margin: 0 auto;"> | |
| <h2>Post Memorandum</h2> | |
| <%= form_tag do %> | |
| <%= hidden_field_tag :authenticity_token, form_authenticity_token %> |
データベースを介したRailsアプリケーションを制作し、ActiveRecordとO/Rマッパーの基礎を学ぶ。
MySQLをインストールする
第3回Web分科会を参照
簡単なRailsアプリケーションを制作し、MVCモデルによる高度なウェブアプリケーションの仕組みを学ぶ。
RailsInstallerがオススメ。Ruby 2.2版がよさそう。
| @ECHO OFF | |
| IF NOT "%~f0" == "~f0" GOTO :WinNT | |
| ECHO.This version of Ruby has not been built with support for Windows 95/98/Me. | |
| GOTO :EOF | |
| :WinNT | |
| @"%~dp0ruby.exe" "%~dpn0" %* |
| const foo1 = require('./load.js'); | |
| const foo2 = require('./reload.js'); | |
| console.log(foo1 === foo2); // true |
データベースの初歩に触れ、簡単なWebアプリケーションの制作を体験する。
XAMPPをインストールする。
Macは詳しくないので不正確なところがあると思います。自力で頑張れ。
https://www.apachefriends.org/jp/download.html からダウンロードできる。
現在 PHP 5.6, 7.0, 7.1, 7.2 が用意されている。なるべく最新版を使いたいので7.2を選択しダウンロード。
| require! {fs, async, request, cheerio, \csv-stringify} | |
| stringifier = csv-stringify! | |
| writer = fs.create-write-stream \erogamescape-dump.csv | |
| stringifier.pipe writer | |
| var records-got | |
| record-from = 0 |