New member intro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

New member intro

Justin Johansson
Hello to all on the Scala-Debate list,

May I please intoduce myself; I am Justin Johansson, from Adelaide, South
Australia.

The reason I join this list is not as a user of Scala per se but as an
advocate of The Scala Programming Language and one who is well-seasoned in
the perils of the imperative programming style.

Cutting to the chase, my desire is to help make Scala ubiquitous.

To this end, the Scala Community would benefit by commencing registration,
without any delay, of a new Internet Assigned Numbers Authority (IANA)
Media Type (MIME) for Scala, if not already done so.

I would suggest IANA registration of "text/scala" and "application/scala",
noting the subtle difference between "text" and "application" for Content
Types.

Ideally, the [Scala] Community would achieve this by publishing an RFC
(Request for Comment) re "Scala Language Interchange on the WWW" and
submitting this RFC to IANA.

This would be a stategic move towards making Scala <happen>in the
browser</happen> as well as making it accepted as the server-side
language-of-choice (the ultimate goal?)

Martin, and others at EPFL, please action this suggestion if you also deem
it to be worthy of my suggestion.

The following reference should assist in this quest :-

http://www.iana.org/assignments/media-types/

and from there

<quote>
If you wish to register a Media Type with the IANA, please see the
following for the online application:
Application for registration of Media Types
http://www.iana.org/cgi-bin/mediatypes.pl
</quote>

I would be happy to collaborate in the authoring of an RFC for this purpose
if requested by this list to do so.

Kindly,
Justin J,

Justin Johansson B.E.(Hons, Electrical Engineering), Dip. Computer Science.
Adelaide
South Australia

Reply | Threaded
Open this post in threaded view
|

Re: New member intro

James Iry-2
As it stands right now, a typical internet client won't attempt to understand Scala except as compiled byte code in which case the Java mime types are appropriate:
application/java
application/java-byte-code
application/x-java-class

Frankly, I'm not sure I understand the differences.   Similarly, if/when Scala's .Net backend is production usable then the .Net IL mimetypes would fit.

But you're right that there should be a mimetype for Scala source at least.  It's quite conceivable for networked applications to use Scala as a scripting language, for instance.

On Sun, Dec 14, 2008 at 10:25 AM, Justin Johansson <[hidden email]> wrote:
Hello to all on the Scala-Debate list,

May I please intoduce myself; I am Justin Johansson, from Adelaide, South
Australia.

The reason I join this list is not as a user of Scala per se but as an
advocate of The Scala Programming Language and one who is well-seasoned in
the perils of the imperative programming style.

Cutting to the chase, my desire is to help make Scala ubiquitous.

To this end, the Scala Community would benefit by commencing registration,
without any delay, of a new Internet Assigned Numbers Authority (IANA)
Media Type (MIME) for Scala, if not already done so.

I would suggest IANA registration of "text/scala" and "application/scala",
noting the subtle difference between "text" and "application" for Content
Types.

Ideally, the [Scala] Community would achieve this by publishing an RFC
(Request for Comment) re "Scala Language Interchange on the WWW" and
submitting this RFC to IANA.

This would be a stategic move towards making Scala <happen>in the
browser</happen> as well as making it accepted as the server-side
language-of-choice (the ultimate goal?)

Martin, and others at EPFL, please action this suggestion if you also deem
it to be worthy of my suggestion.

The following reference should assist in this quest :-

http://www.iana.org/assignments/media-types/

and from there

<quote>
If you wish to register a Media Type with the IANA, please see the
following for the online application:
Application for registration of Media Types
http://www.iana.org/cgi-bin/mediatypes.pl
</quote>

I would be happy to collaborate in the authoring of an RFC for this purpose
if requested by this list to do so.

Kindly,
Justin J,

Justin Johansson B.E.(Hons, Electrical Engineering), Dip. Computer Science.
Adelaide
South Australia


Reply | Threaded
Open this post in threaded view
|

Re: New member intro

Christos KK Loverdos
Raised again some time ago, in the context of Scala as a scripting engine.


I am not sure of the current status for this, though.

Christos 

On Sun, Dec 14, 2008 at 9:48 PM, James Iry <[hidden email]> wrote:
As it stands right now, a typical internet client won't attempt to understand Scala except as compiled byte code in which case the Java mime types are appropriate:
application/java
application/java-byte-code
application/x-java-class

Frankly, I'm not sure I understand the differences.   Similarly, if/when Scala's .Net backend is production usable then the .Net IL mimetypes would fit.

But you're right that there should be a mimetype for Scala source at least.  It's quite conceivable for networked applications to use Scala as a scripting language, for instance.


On Sun, Dec 14, 2008 at 10:25 AM, Justin Johansson <[hidden email]> wrote:
Hello to all on the Scala-Debate list,

May I please intoduce myself; I am Justin Johansson, from Adelaide, South
Australia.

The reason I join this list is not as a user of Scala per se but as an
advocate of The Scala Programming Language and one who is well-seasoned in
the perils of the imperative programming style.

Cutting to the chase, my desire is to help make Scala ubiquitous.

To this end, the Scala Community would benefit by commencing registration,
without any delay, of a new Internet Assigned Numbers Authority (IANA)
Media Type (MIME) for Scala, if not already done so.

I would suggest IANA registration of "text/scala" and "application/scala",
noting the subtle difference between "text" and "application" for Content
Types.

Ideally, the [Scala] Community would achieve this by publishing an RFC
(Request for Comment) re "Scala Language Interchange on the WWW" and
submitting this RFC to IANA.

This would be a stategic move towards making Scala <happen>in the
browser</happen> as well as making it accepted as the server-side
language-of-choice (the ultimate goal?)

Martin, and others at EPFL, please action this suggestion if you also deem
it to be worthy of my suggestion.

The following reference should assist in this quest :-

http://www.iana.org/assignments/media-types/

and from there

<quote>
If you wish to register a Media Type with the IANA, please see the
following for the online application:
Application for registration of Media Types
http://www.iana.org/cgi-bin/mediatypes.pl
</quote>

I would be happy to collaborate in the authoring of an RFC for this purpose
if requested by this list to do so.

Kindly,
Justin J,

Justin Johansson B.E.(Hons, Electrical Engineering), Dip. Computer Science.
Adelaide
South Australia





--
 __~O
-\ <,       Christos KK Loverdos
(*)/ (*)      http://ckkloverdos.com
Reply | Threaded
Open this post in threaded view
|

MIME types for Scala

Justin Johansson
Re: [scala-debate] New member intro
(Thread initiated as [scala-debate] New member intro)

Thanks, Christos & James for replies.

Sorry, as a new member, I didn't see the issue raised before though guess I
should have checked the archives first.

Anyway, yes, my thoughts *are* along the lines of using Scala as a
scripting engine, and for that MIME types for Scala would be required.

The anticipated interpretation of the suggested MIME types are:

text/scala - Indicates Scala source code for rendering as human readable
text in a user-agent application for, well, just reading

application/scala - Indicates Scala source code, as script, intended for
execution in a user-agent application subject to security considerations of
course

Some examples of the these use cases embedded in HTML are:

text/scala

        <p>Both the
<a href="http://my-blog.com/scala/singleton-example.scala">singleton design
pattern in Scala</a> and the
<a href="http://my-blog.com/scala/visitor-example.scala">visitor design
pattern in Scala</a> are easy to implement.</p>

application/scala

<html>
        <head>
                <title>Welcome to Dynamic News</title>
                <script type="application/scala"
src="http://my-dynamic-website.com/script/ajaxnewsscript.scala"> </script>
        </head>
        ...
</html>

Cheers
Justin




At 12:47 PM 15/12/2008 +0200, you wrote:
>>>>
Raised again some time ago, in the context of Scala as a scripting engine.

<http://article.gmane.org/gmane.comp.lang.scala.user/5000>http://article.gma
ne.org/gmane.comp.lang.scala.user/5000

I am not sure of the current status for this, though.

Christos

On Sun, Dec 14, 2008 at 9:48 PM, James Iry
<<mailto:[hidden email]>[hidden email]> wrote:
As it stands right now, a typical internet client won't attempt to
understand Scala except as compiled byte code in which case the Java mime
types are appropriate:
application/java
application/java-byte-code
application/x-java-class

Frankly, I'm not sure I understand the differences.   Similarly, if/when
Scala's .Net backend is production usable then the .Net IL mimetypes would
fit.

But you're right that there should be a mimetype for Scala source at least.
 It's quite conceivable for networked applications to use Scala as a
scripting language, for instance.

On Sun, Dec 14, 2008 at 10:25 AM, Justin Johansson
<<mailto:[hidden email]>[hidden email]> wrote:
... the Scala Community would benefit by commencing registration of a new
Internet Assigned Numbers Authority (IANA) Media Type (MIME) for Scala ...
application/scala
text/scala
<<<<