I would like to present a sneak peak of our first tutorial for object-oriented JavaScript. Now, I probably know what you are thinking. No one wants to define classes through functions. Well, Moscrif is different.
How? It allows you to setup classes just as any other object-oriented language.
This is how class can be included in your application: include “app://functionView.ms”
Then, you can easily create new instance of the class.
this.functionView = new FunctionView();
this.functionView.native.visible = false
Properties can be modified according to programmers needs or convenience
And the last step, adding your class to your application app.add(this.functionView);
Notice how we used MetroSkin for this application. You can easily set up your own screen (even the one for Windows Mobile) and apply it to every platform supported by Moscrif (iOS, Android, bada, Symbian, Windows Mobile )
As easy as that. This is just a sneak preview. The full documentation and tutorial on how you can create a calculator in Moscrif is coming shortly.
