Wednesday, October 4th, 2006
Fresh Logic Studios Scripts: OO JS
Fresh Logic Studios has created an object oriented JavaScript framework with a programming model similar to the Microsoft .NET Framework.
Inside you'll find JavaScript implementations for a small subset of the classes provided by the .NET Framework base class libraries.
The library consists of classes for:
- Console
- Point
- Size
- Guid
- String
- Uri
-
-
<script type="text/javascript">
-
FreshLogicStudios.Scripts.Console.SetIn(document.getElementById('ConsoleIn'));
-
FreshLogicStudios.Scripts.Console.SetOut(document.getElementById('ConsoleOut'));
-
FreshLogicStudios.Scripts.Console.WriteLine('<span style="color:blue;">Console initialized...</span>');
-
</script>
-
-
<h2>Console In</h2>
-
-
</div>
-
-
<h2>Console Out</h2>
-
-
<div class="Code">
-
<code id="ConsoleOut"></code>
-
</div>
-












Horrible namespacing.
Man this library is great, thanks alot FreshLogic.
The namespacing is fine…. just look at Yahoo’s namespacing. they even use all caps in part of theirs. I dig this.