Skip to content

Commit 3c5afb6

Browse files
author
Li Haoyi
committed
Major cleanup and update of the front page
- Added uPickle and autowire to the list of libraries - Added @sjrd's talk to the list of presentations - Added the ray-tracer and papa-carlo-incremental-parser-demo to the list of sites using ScalaJS - Converted list of libraries etc. from HTML lists to sub-headers, added SBT snippet for each one. - Moved the 0.5.2 announcement to the bottom of the page, together with a list of other version announcements. For someone who just arrives at the site and wants to use ScalaJS, the version-release-announcement is probably of no interest - Moved IMPORTANT NOTICE to the bottom of the page; I don't think it's *that* important that we should shove it in the face of everyone who comes to look at the site
1 parent 195506e commit 3c5afb6

File tree

1 file changed

+122
-42
lines changed

1 file changed

+122
-42
lines changed

index.md

Lines changed: 122 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ tagline: A Scala to JavaScript compiler
88
<img id="front-page-logo" alt="Scala.js logo" title="Scala.js logo"
99
src="{{ BASE_PATH }}/images/scala-js-logo.svg" />
1010

11-
Scala.js compiles Scala code to JavaScript, allowing you to write your
12-
Web application entirely in Scala!
11+
Scala.js compiles Scala code to JavaScript, allowing you to write your web application entirely in Scala! Take a look at the [project gallery](#built_with_scalajs) to see what kind of things you can build with Scala.js.
1312

14-
<p><b><span style="color: red">Important notice!</span></b> Scala.js is still <i>experimental</i>!
15-
Although this is a project of LAMP/EPFL for which we will continue to provide
16-
best-effort improvements and bug fixes, it is <i>not</i> supported by Typesafe,
17-
and not part of any of their support contracts. You have been warned!</p>
13+
## Get started
1814

19-
<p style="text-align: center"><a href="{{ BASE_PATH }}/news/2014/07/09/announcing-scalajs-0.5.2/" class="btn btn-large btn-success">Latest stable release: 0.5.2</a></p>
15+
The easiest way to get started is to follow our [tutorial](./doc/tutorial.html). You can also fork the
16+
[bootstrapping skeleton](https://github.com/sjrd/scala-js-example-app)
17+
and follow the instructions in its readme or [try it out in the browser](http://www.scala-js-fiddle.com/).
2018

21-
Noteworthy features:
19+
We also have a [standalone distribution](./downloads.html) that doesn't require SBT.
20+
21+
## Noteworthy features
2222

2323
* Support all of Scala (including macros!),
2424
modulo [a few semantic differences](./doc/semantics.html)
@@ -33,15 +33,7 @@ Noteworthy features:
3333
for a smooth debugging experience (step through your Scala code from within
3434
your browser supporting source maps)
3535
* Integrates [Google Closure Compiler](https://developers.google.com/closure/compiler/)
36-
for producing minimal code for production.
37-
38-
## Get started
39-
40-
The easiest way to get started is to follow our [tutorial](./doc/tutorial.html). You can also fork the
41-
[bootstrapping skeleton](https://github.com/sjrd/scala-js-example-app)
42-
and follow the instructions in its readme or [try it out in the browser](http://www.scala-js-fiddle.com/).
43-
44-
We also have a [standalone distribution](./downloads.html) that doesn't require SBT.
36+
for producing minimal code for production. Compiled blobs range from 170-400kb
4537

4638
## Resources
4739

@@ -50,40 +42,103 @@ We also have a [standalone distribution](./downloads.html) that doesn't require
5042
* [Scala.js tag on Stackoverflow](http://stackoverflow.com/questions/tagged/scala.js). Please help building it up by asking questions.
5143

5244
Presentations:
53-
45+
* [Scala.js at Scaladays 2014](http://www.parleys.com/play/53a7d2cbe4b0543940d9e555), by Sébastien Doeraene
5446
* [Live Coding Scala.js at SF Scala 2014](http://vimeo.com/87845442) by Li Haoyi
5547
* [Live-coding with Scala.js at Scala eXchange 2013](http://skillsmatter.com/podcast/scala/scala-js-write-in-scala-for-the-browser-4567)
5648
* [Presentation of Scala.js at Scala Days 2013](http://www.parleys.com/play/51c380bfe4b0ed8770356866) (older and somewhat obsolete)
5749

58-
## Useful links
50+
### Libraries
51+
52+
####[scala-js-dom](https://github.com/scala-js/scala-js-dom)
53+
```scala
54+
"org.scala-lang.modules.scalajs" %%% "scalajs-dom" % "0.6"
55+
```
56+
Static types for the DOM API, by Li Haoyi
57+
####[scala-js-jquery](https://github.com/scala-js/scala-js-jquery)
58+
```scala
59+
"org.scala-lang.modules.scalajs" %%% "scalajs-jquery" % "0.6"
60+
```
61+
Static types for jQuery, by Sébastien Doeraene
62+
####[Scalatags](https://github.com/lihaoyi/scalatags)
63+
```scala
64+
"com.scalatags" %%% "scalatags" % "0.3.8"
65+
```
66+
A HTML templating library/DSL that works on both Scala-JVM and Scala-JS, by Li Haoyi
67+
68+
####[Scala.Rx](https://github.com/lihaoyi/scala.rx)
69+
```scala
70+
"com.scalarx" %%% "scalarx" % "0.2.5"
71+
```
72+
A change-propagation/FRP library that runs on both Scala-JVM and Scala-JS, by Li Haoyi
73+
74+
####[uTest](https://github.com/lihaoyi/utest#%C2%B5test-011)
75+
```scala
76+
addSbtPlugin("com.lihaoyi" % "utest-js-plugin" % "0.1.8")
77+
"com.lihaoyi" %%% "utest" % "0.1.8"
78+
```
5979

60-
#### Libraries
80+
A tiny, portable unit testing library that lets you run the same tests on both Scala-JVM and Scala-JS, by Li Haoyi
6181

62-
* [Static types for the DOM API](https://github.com/scala-js/scala-js-dom),
63-
by Li Haoyi
64-
* [Static types for jQuery](https://github.com/scala-js/scala-js-jquery),
65-
brought to you by Sébastien Doeraene
66-
* [Scalatags](https://github.com/lihaoyi/scalatags), a HTML templating
67-
library/DSL that works on both Scala-JVM and Scala-JS, by Li Haoyi
68-
* [Scala.Rx](https://github.com/lihaoyi/scala.rx), a change-propagation/FRP library that runs on both Scala-JVM and Scala-JS, by Li Haoyi
69-
* [uTest](https://github.com/lihaoyi/utest#%C2%B5test-011), a tiny, portable unit testing library that lets you run the same tests on both Scala-JVM and Scala-JS, by Li Haoyi
70-
* [Scala.js Pickling](https://github.com/scala-js/scala-js-pickling),
71-
a cross-compiling pickling (aka serialization) library for Scala.js and Scala
72-
with a common JSON-based format, by Sébastien Doeraene
73-
* [Monifu](https://github.com/alexandru/monifu), reactive extensions (Rx) with back-pressure, atomic references and other multi-threading primitives cross-compiled to Scala.js
74-
* [Scalaz for Scala.js](https://github.com/japgolly/scalaz/tree/v7.1.0-RC1-js) maintained by David Barri
82+
####[uPickle](https://github.com/lihaoyi/upickle)
83+
```scala
84+
"com.lihaoyi" %%% "upickle" % "0.1.5"
85+
```
86+
Statically-typed pickling (via typeclasses/macros) for both Scala-JVM and Scala-JS, by Li Haoyi
7587

76-
#### Skeletons
88+
####[autowire](https://github.com/lihaoyi/autowire)
89+
```scala
90+
"com.lihaoyi" %%% "autowire" % "0.1.0"
91+
```
92+
Statically-typed Ajax calls and RPCs for both Scala-JVM and Scala-JS, by Li Haoyi
7793

78-
* [Play! application with Scala.js](https://github.com/vmunier/play-with-scalajs-example)
79-
* [Node.js module with Scala.js](https://github.com/rockymadden/scala-node-example),
80-
by Rocky Madden
94+
####[Scala.js Pickling](https://github.com/scala-js/scala-js-pickling)
95+
```scala
96+
"org.scalajs" %%% "scalajs-pickling" % "0.3"
97+
```
98+
A cross-compiling pickling (aka serialization) library for Scala.js and Scala
99+
with a common JSON-based format, by Sébastien Doeraene
81100

82-
#### Tools
101+
####[Monifu](https://github.com/alexandru/monifu)
83102

84-
* [Scala.js workbench](https://github.com/lihaoyi/scala-js-workbench),
85-
an sbt plugin for Scala.js projects for live-reloading in the browser ([example app](https://github.com/lihaoyi/workbench-example-app)), by Li Haoyi
86-
* [Scala.js Resource](https://github.com/lihaoyi/scala-js-resource), an sbt plugin for bundling of binary files so they can be accessed from the browser, by Li Haoyi
103+
Reactive extensions (Rx) with back-pressure, atomic references and other multi-threading primitives cross-compiled to Scala.js, by Alexandru Nedelcu
104+
105+
####[Scalaz](https://github.com/japgolly/scalaz/tree/v7.1.0-RC1-js)
106+
```scala
107+
"com.github.japgolly.fork.scalaz" %%% "scalaz-core" % "7.1.0-RC1"
108+
```
109+
Port of Scalaz to Scala.js, maintained by David Barri
110+
111+
####[Shapeless](https://groups.google.com/forum/#!searchin/scala-js/shapeless/scala-js/5Sf2up0z3PU/9F9SYB0qHEcJ)
112+
```scala
113+
resolvers += "bintray-alexander_myltsev" at "http://dl.bintray.com/content/alexander-myltsev/maven"
114+
libraryDependencies += "name.myltsev" %% "parboiled_sjs0.5" % "2.0.0"
115+
```
116+
117+
Port of Shapeless to Scala.js, maintained by Alexander Myltsev
118+
119+
### Skeletons
120+
121+
####[workbench-example-app](https://github.com/lihaoyi/workbench-example-app)
122+
123+
A skeleton application using [Scala.js workbench](https://github.com/lihaoyi/scala-js-workbench) for live-reloading in the browser, together with a collection of sample applications developed using it
124+
125+
####[Play! application with Scala.js](https://github.com/vmunier/play-with-scalajs-example)
126+
127+
by Vincent Munier
128+
129+
####[Node.js module with Scala.js](https://github.com/rockymadden/scala-node-example)
130+
131+
by Rocky Madden
132+
133+
### Tools
134+
135+
####[Scala.js workbench](https://github.com/lihaoyi/scala-js-workbench)
136+
137+
A sbt plugin for Scala.js projects for live-reloading in the browser ([example app](https://github.com/lihaoyi/workbench-example-app)), by Li Haoyi
138+
139+
####[Scala.js Resource](https://github.com/lihaoyi/scala-js-resource)
140+
141+
A sbt plugin for bundling of binary files so they can be accessed from the browser, by Li Haoyi
87142

88143
#### Miscellaneous
89144

@@ -99,8 +154,12 @@ Want to contribute to Scala.js? Check out the
99154

100155
## <a name="built_with_scalajs"></a> Built with Scala.js
101156

102-
Beginning a list of websites using Scala.js:
157+
List of websites using Scala.js:
103158

159+
* May 2014
160+
- [Papa-Carlo Incremental Parser Demo](http://lakhin.com/projects/papa-carlo/demo/), by Eliah-Lakhin
161+
* April 2014
162+
- [Ray-Tracer](http://lihaoyi.github.io/workbench-example-app/raytracer.html), a ray-tracer written in Scala.js by Li Haoyi
104163
* February 2014
105164
- [TodoMVC](http://lihaoyi.github.io/workbench-example-app/todo.html), an implementation of the [TodoMVC example application](http://todomvc.com/) using Scala.js, Scalatags, Scala.Rx and scala-js-dom, by Li Haoyi
106165
- [Sierpinski Triangle](http://lihaoyi.github.io/workbench-example-app/triangle.html) and [Dodge the dot](http://lihaoyi.github.io/workbench-example-app/dodge.html) (Scala.js workbench [example apps](https://github.com/lihaoyi/workbench-example-app)), by Li Haoyi
@@ -123,8 +182,29 @@ Beginning a list of websites using Scala.js:
123182
* April 2013
124183
- The [Reversi]({{ BASE_PATH }}/examples/reversi/) example by Sébastien Doeraene
125184

185+
186+
## Version History
187+
188+
- [0.5.2](/news/2014/07/09/announcing-scalajs-0.5.2/)
189+
- [0.5.1](/news/2014/06/30/announcing-scalajs-0.5.1/)
190+
- [0.5.0](/news/2014/06/13/announcing-scalajs-0.5.0/)
191+
- [0.4.4](https://groups.google.com/forum/#!searchin/scala-js/0.4.3/scala-js/ZVWU0NLxSI0/HUydhe56bA4J)
192+
- [0.4.3](https://groups.google.com/forum/#!topic/scala-js/xnswQ7qHvjs)
193+
- [0.4.2](https://groups.google.com/forum/#!topic/scala-js/apbxL1KHiTo)
194+
- [0.4.1](https://groups.google.com/forum/#!topic/scala-js/urFh-U2K53U)
195+
- [0.4.0](https://groups.google.com/forum/#!topic/scala-js/j9Ir4-_a1ls)
196+
- [0.3](https://groups.google.com/forum/#!searchin/scala-js/0.3/scala-js/siSw-EsVy1w/6CzCE4WkCL0J)
197+
- [0.2](https://groups.google.com/forum/#!searchin/scala-js/0.2/scala-js/ouSSRrBmrZE/Xx-pgAFrk7AJ)
198+
- [0.1](http://www.scala-lang.org/news/2013/11/29/announcing-scala-js-v0.1.html)
199+
126200
## Hall of Fame
127201

128202
* [Bug in node.js/v8](http://github.com/joyent/node/issues/7528) discovered by Scala.js through Scala test suite
129203

130204
<a href="https://github.com/scala-js/scala-js-website"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub"></a>
205+
206+
<p><b><span style="color: red">Important notice!</span></b> Scala.js is still <i>experimental</i>!
207+
Although this is a project of LAMP/EPFL for which we will continue to provide
208+
best-effort improvements and bug fixes, it is <i>not</i> supported by Typesafe,
209+
and not part of any of their support contracts. You have been warned!</p>
210+

0 commit comments

Comments
 (0)