May 27, 2013

Few server-side JavaScript libraries

Server-side JavaScript means that the server portion of a web application is written in JavaScript.

Below are few JavaScript libraries:

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users. It is embedded in J2SE 6 as the default Java scripting engine.

JavaScript is a powerful object oriented language with some of the fastest dynamic language interpreters around. The official JavaScript specification defines APIs for some objects that are useful for building browser-based applications. However, the spec does not define a standard library that is useful for building a broader range of applications.
You can use JavaScript to write:
  • ·         Server-side JavaScript applications
  • ·         Command line tools
  • ·         Desktop GUI-based applications
  • ·         Hybrid applications (Titanium, Adobe AIR)


Socket.IO aims to make realtime apps possible in every browser and mobile device, blurring the differences between the different transport mechanisms. It's care-free realtime 100% in JavaScript.

Ejscript™ is a compact, fast and powerful implementation of JavaScript. It fully complies with the ECMAScript Edition 3 specification, and adds enhancements such as modules, class declarations, optional typing, and a rich system library.

The Ejscript Web framework has a Model/View/Controller (MVC) paradigm and supports SQL databases with an integrated ORM layer. It has a library of Ajax view controls, templating engine, automatic validations and integrated jQuery support. It is the ideal language for rapid development of Server-Side JavaScript applications.



May 24, 2013

How To Install Multiple Bootable Operating Systems on One USB Stick


Even though I am not interested to boot multiple OS from USB but good to know about this option.

MultiBootUSB is available on SourceForge and appears to be a pretty popular program for just this kind of task. The MultiBootUSB software is also a portable application, meaning you simply put the MultiBootUSB-6.4.1.exe file onto your USB drive and run it all from the USB drive. No need to mess around installing it on your computer. This gives you a great deal of flexibility, should you want to change things up but you aren’t at your home or office computer.

May 23, 2013

C# 5.0 Features


New Features in C#.Net 5.0

1. Asynchronous functions (Async and Await): Using Async and Await, you can use resources in the .NET Framework, to create an asynchronous method as easily as you create a synchronous method.



Asynchronous methods are the methods that you define using async and await.



2. Caller Information: Caller Information attributes provide the information about the caller to a method. You can obtain the file path of the source code, the line number in the source code, and the member name of the caller. Caller Information helps us in tracing, debugging, and creating diagnostic tools.



3. Windows Runtime Support: C# and .NET now have deep integration with the Windows Runtime. C# project can compiled into a WinMD file and then referenced from a HTML/JavaScript project. WinRT’s flavor of COM uses the same metadata format used by the Common Language Runtime. This information is stored in WINMD files that show the structure, though not the implementation, of all the public classes. Windows Runtime returns an HRESULT instead of throwing an exception. For well-known HRESULT values, the corresponding exception is thrown, otherwise a COMException is used.



4. Compiler APIs: This feature is supposed to come after C# 5.0 – the APIs will expose whatever knowledge the compiler has about the code to the IDE and the developers, through Syntax Tree APIs, Symbol APIs, Binding and Flow analysis APIs and Emit APIs.


References:
http://msdn.microsoft.com/en-us/library/hh156499.aspx