5. Talk about ...
●
What's Scala?
●
What's Lift?
●
What's Google App Engine for
Java(GAE/J)?
●
How to get Lift on GAE/J
●
Any Question?
6. What's Scala?
●
Scala
●
Is a general purpose programming
language.
●
stands for "scalable language”
– is designed to grow with the
demands of its users.
7. What's Scala?
●
Scala
●
Runs on Java VM.
– You can call Scala from Java
– and you can call Java from Scala.
●
whose compiler produces
– byte code that performs every
bit as good as comparable Java
code.
8. What's Scala?
●
James Gosling:
●
"Which Programming Language
would you use *now* on top of
JVM, except Java?"
●
James Gosling:”Scala.”
●
http://www.adam-
bien.com/roller/abien/entry/java_net_javaone_
which_programming
9. What's Scala?
●
James Strachan:
●
“I can honestly say if someone had
shown me the Programming in Scala
book by by Martin Odersky, Lex
Spoon & Bill Venners back in 2003
I'd probably have never created
Groovy.”
●
http://macstrac.blogspot.com/2009/04/scala-
as-long-term-replacement-for.html
10. What's Scala?
●
Charles Nutter:
– “Scala, it must be stated, is the
current heir apparent to the
Java throne. No other language
on the JVM seems as capable of
being a "replacement for Java"
as Scala.”
– http://blog.headius.com/2009/04/future-
part-one.html
11. What's Scala?
●
Scala
●
Is a pure object-oriented language.
– Type inference
– Static typing
– Every value is an object.
val a = 12345
a.toString
12. What's Scala?
●
Scala
●
Is a pure object-oriented language.
– Classes and traits.
– Extend by subclassing and mixin-
based composition.
13. What's Scala?
●
Scala
●
Is functional.
– Every function is a value.
val func = (x : Int) => x + 1
func(1)
15. What's Scala?
●
Scala
●
Is functional.
– Case classes and built-in support
for pattern matching
– Built-in support for XML
processing!
16. What's Scala?
●
XML Sample
val html = <html><head>foo</head>
<body>hoge</body></html>
println(html)
17. Sir, More Scala,
Sir!!
Join “Nagoya Scala”!!
http://groups.google.co.jp/group/NagoyaScala
18. What's Scala?
●
More Info For Scala Beginners
– http://www.impressjapan.jp/boo
ks/2745
– http://github.com/yuroyoro/scal
a-hackathon
– http://itpro.nikkeibp.co.jp/articl
e/COLUMN/20080613/307981/
?ST=develop
19. What's Lift?
●
Lift
●
Scala-based Web App F/W.
●
has cherry-picked the best ideas
from a number of other
frameworks,
●
while creating some novel ideas of
its own.
20. What's Lift?
●
Lift
●
Full stack
– AP Srv, ORM
●
Convention over Configuration
●
MVC
●
template system like Wicket
– built on the XML processing
capabilities of Scala
21. What's Lift?
●
Lift
●
Runs on Java VM.
– Many Java libraries
●
Powerful support for
– AJAX
– Commet
22. What's Lift?
●
More Info about Lift
– http://codezine.jp/article/detail
/4310
– http://codezine.jp/article/detail
/4512
23. GAE/J?
●
What is Google App Engine?
●
What is Google App Engine for
Java?