The book of inspiration

December 29, 2009

OrcasMetaWebService

Filed under: jsc — Tags: , , , , — zproxy @ 2:11 pm

Let’s build some muscle on jsc.

OrcasMetaWebService. Crosscompiled from C# to Java for Google App Engine and PHP.

The idea is that your little cute Web Service will be running on PHP and Google App Engine. See the C# source code used in this example over here.

There are features missing. But you sure can see where it is going :)

PS. Video parameters “&w=800&h=500&fmt=18″

Update:

I had this idea to publish the web services via WSDL with HTTP Protocol. But it seems this scenario isn’t exactly supported by the big old Microsoft just yet. So the next step would be to implement xml-soap?

April 26, 2009

Scenarios for jsc

Filed under: jsc — Tags: , , , , — zproxy @ 8:31 am

This was my first anwser at  Stack Overflow.

The jsc compiler project enables these scenarios:

  • C# to MSIL to JavaScript for browser
  • C# to MSIL to JavaScript for AppJet
  • C# to MSIL to PHP5 for hosting solutions
  • C# to MSIL to Java for browser applets
  • C# to MSIL to Java for applications
  • C# to MSIL to Java for JavaCard
  • C# to MSIL to C99 for native stub applications
  • C# to MSIL to ActionScript3 for Flash 9
  • C# to MSIL to Adobe Alchemy C for Flash 9
  • C# to MSIL to C# 2.0

With some effort Visual Basic could also be used as a source language. The jsc compiler never reads your source code even if GWT and Script# do that. My compiler reads your IL.

jsc compiler is

  • an experimental project
  • one mans effort yet
  • rather useful already.
  • 3 years old.
  • awaiting donations to optimize compilation time and output itself

The latest example is a plasma animation where a single implementation can be used between those platforms:

November 20, 2008

AvalonWebApplication with PHP backend

Filed under: jsc — Tags: , , , , , , , — zproxy @ 7:41 pm

I have created a new project template that demonstrates most of what jsc is capable of. Soon I will publish it on the sourceforge with a tutorial how to get started using it.

Long story short – Here is an application which demonstrates the following features all written in C#:

  1. PHP Backend
  2. JavaScript (WPF)
  3. ActionScript (WPF)
  4. Java Applet

Update: Moved the example to sourceforge and removed the querystring switch.

October 25, 2008

AvalonExampleGallery via jsc:php

Filed under: jsc — Tags: , , , , — zproxy @ 6:53 pm

Years ago sourceforge.net did not provide support for php5 – until now. The next release for jsc will finally include a php project template.

For now you can have a look at the example show below, where the php will generate a correct html view of the application and the javascript will make it interactive. Nice huh?

Known bugs: There seems to be some issues with IE7 tho…

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.