Coder Social home page Coder Social logo

clojure-beginner's People

Contributors

arakaki avatar athos avatar ayato-p avatar emag avatar naoiwata avatar onobori avatar tnoda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clojure-beginner's Issues

restart-serverの条件

[Part3](http://ayato-p.github.io/clojure-beginner/intro_web_development/part3_what_is_compojure.html
restart-server)にあるユーティリティ関数restart-serverの定義は以下のようになっていますが、

(defn restart-server []
  (when @server
    (stop-server)
    (start-server)))

stop-serverstart-serverはいずれもサーバが起動しているか否かをチェックしているので、条件をなくして

(do (stop-server)
    (start-server))

としてはいかがでしょうか。
restart-serverさえ呼べばサーバが起動するようになるので、便利ではないかと思います。

英語版作成/Internationalization

実際に日→英翻訳を行うとした場合の方法について提案。

  1. ソースの国際化対応を行う→http://www.sphinx-doc.org/en/stable/intl.html
  2. Transifexに放り込む
  3. ひたすら英訳
  4. 英語版リリース

方向として良さそうであればステップ0からとりかかろうかと思ってます。
ご意見お待ちしております。

Intro web clojure の最終目標をとりあえず TODO アプリにする

書きながら最終目標がないのに Web アプリ作る説明っていうのもつらい気がしたので目標を定めてゴールに向かっていきながら Webアプリに必要なものを説明していきたい。

  • 目標を TODO アプリ作ることにして若干書き直し
  • Ring について書く(この中で reload ミドルウェアとかくらいは入れておく? 順番としては reload ミドルウェアがなくても再評価によって出力結果が変わることを確認するくらいはした後)
  • Compojure を使ったルーティングの書き方を書く
  • 開発用ミドルウェアについて書く( reload ミドルウェアと prone /ついでに environ 突っ込んだ )
  • テンプレートエンジンについて書く( Hiccup is better? )
  • データベース層について書く(最初は直接 SQL を書いて jdbc を直接使う? Yesql と Honeysql ? 複雑度が低いので Honeysql でいいかもしれない)
  • ここまでで一度作ってない画面を作っていく( CSRF とかフォームパラメーターとかの取り扱いを書いてないので)
  • ユーザー認証系? buddy?
  • この辺で便利なものに色々切り替えていく?
  • ring-jetty-adapter -> immutant?
  • compojure to bidi?
  • jdbc direct -> dsl? or yesql? (dil is suricatta or stch-library.sql or honeysql)
  • clojurescript with good middleware
  • css ?
  • component?
  • leiningen (というか project.clj ) についてもちょこちょこ何か書いていこう
  • 最終的に色々ライブラリを組み替えることが出来るからフレームワークより組み合わせ可能なライブラリを複数用いるのが好まれるんだよってとこまで説明出来たらかっこよさそう(実装の仕方をちゃんと考えないと強依存になって難しくなるけど…)
  • デバッグや問題解決のヒント?(依存性が衝突したときなど)

何か気付いたら足そう

あとでチェックすること

  • てにをはチェック
  • 何度か読み返す

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.