Leiningen                Clojure
                               #2
  2010/06/24 kei http://apribase.net
Clojure
Clojure
Clojure
Clojure Java        (JVM)
Clojure
* Clojure

* Clojure   Lisp

* Clojure

* Clojure

* Clojure Java
Clojure
Clojure
      Erlang F#   Haskell Scala



                                  Clojure


(                 )
Clojure
Stuart
Clojure
            Clojure


(Clojure   Rich Hickey   )
Java
Clojure

bin
Getting Started

http://clojure.org/getting_started




classpath
bin




#!/bin/sh
CLOJURE_HOME=/opt/java/clojure
java -cp $CLOJURE_HOME/clojure.jar clojure.main
clojure-contrib
clojure-contrib


/opt/java/clojure-contrib

/opt/java/clojure/clojure-contrib
leiningen
leiningen


            leiningen
leiningen




http://github.com/technomancy/leiningen
leiningen Installation




git                            1
leiningen Installation
lein self-update
$HOME/.m2
leiningen Installation
lein new hello
hello

Ruby on Rails    Grails
leiningen Installation
project.clj


(defproject hello "1.0.0-SNAPSHOT"

 :description "FIXME: write"

 :dependencies [[or...
leiningen Installation
ring


clojure   clojure-contrib
            (               )
leiningen Installation
lein deps
                     lib
     lib


clojure-1.1.0.jar   clojure-contrib-1.1.0
leiningen hello
src/hello/core.clj
ring            Hello
leiningen hello
lein repl src/hello/core.clj
clojure
leiningen standalone
:gen-class    -main   lein uberjar
clojure.jar            jar
uberjar


uber

super, over, upper
uberjar


uber

super, over, upper



        uberjar                jar
leiningen standalone
clojure                   jar
               …
compojure
ring          compojure

compojure   sinatra
compojure
clojure                 leiningen


ruby      gem install
leiningen 1

clojure




standalone
leiningen
Leiningen で Clojure
Upcoming SlideShare
Loading in...5
×

Leiningen で Clojure

2,940

Published on

クローズド勉強会 出張版 #2 ライトニングトーク

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,940
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide































  • Leiningen で Clojure

    1. 1. Leiningen Clojure #2 2010/06/24 kei http://apribase.net
    2. 2. Clojure
    3. 3. Clojure
    4. 4. Clojure Clojure Java (JVM)
    5. 5. Clojure * Clojure * Clojure Lisp * Clojure * Clojure * Clojure Java
    6. 6. Clojure Clojure Erlang F# Haskell Scala Clojure ( )
    7. 7. Clojure Stuart Clojure Clojure (Clojure Rich Hickey )
    8. 8. Java
    9. 9. Clojure bin
    10. 10. Getting Started http://clojure.org/getting_started classpath
    11. 11. bin #!/bin/sh CLOJURE_HOME=/opt/java/clojure java -cp $CLOJURE_HOME/clojure.jar clojure.main
    12. 12. clojure-contrib clojure-contrib /opt/java/clojure-contrib /opt/java/clojure/clojure-contrib
    13. 13. leiningen leiningen leiningen
    14. 14. leiningen http://github.com/technomancy/leiningen
    15. 15. leiningen Installation git 1
    16. 16. leiningen Installation lein self-update $HOME/.m2
    17. 17. leiningen Installation lein new hello hello Ruby on Rails Grails
    18. 18. leiningen Installation project.clj (defproject hello "1.0.0-SNAPSHOT" :description "FIXME: write" :dependencies [[org.clojure/clojure "1.1.0"] [org.clojure/clojure-contrib "1.1.0"] [ring/ring "0.2.3"]]
    19. 19. leiningen Installation ring clojure clojure-contrib ( )
    20. 20. leiningen Installation lein deps lib lib clojure-1.1.0.jar clojure-contrib-1.1.0
    21. 21. leiningen hello src/hello/core.clj ring Hello
    22. 22. leiningen hello lein repl src/hello/core.clj clojure
    23. 23. leiningen standalone :gen-class -main lein uberjar clojure.jar jar
    24. 24. uberjar uber super, over, upper
    25. 25. uberjar uber super, over, upper uberjar jar
    26. 26. leiningen standalone clojure jar …
    27. 27. compojure ring compojure compojure sinatra
    28. 28. compojure clojure leiningen ruby gem install
    29. 29. leiningen 1 clojure standalone
    30. 30. leiningen

    ×