Web 2.0 hype? Want build better web sites, but javascript is too hard? No real IDE? Maybe you should try jsc. The web app can be built within Visual Studio 2008 or any other c# compliant IDE, and then the application magically appears. You should think of it as a smart client. Precompile your c# to javascript with jsc! As an option instead of using IIS and asp.net, you could get away by using apache, with mysql and php.
jsc is a decompiler or a cross compiler if you will. It is not a source-code parser nor an IDE. It is a command line utility like any other compiler. jsc was originally an anagram for csharp to javascript.
The compiler extracts CIL from a .net assembly (latest javascript screencast, old screencast). It filters out the classes which are marked with the ScriptAttribute. It selects the target language and emits the source.
Each assembly defines which namespaces will be filtered in. Each class in these namespaces must define ScriptAttribute, to be opt-in for jsc compilation. Therefore, previously built assamblies will not be processed.
Note: The initial download may take a while and not all
examples have a startup screen that is not white. Also ctrl+f5 might help if the
load fails due timeout.
|
MyWebCamera see source |
|
|
MySoundDemo2 see source |
|
|
FlashGoogleMapsExample see source |
|
|
FlashZIndex see source |
|