A faster way to build enterprise app

VCL.JS is a TypeScript open-source platform for building an enterprise web apps in a fraction of the time, whether you’re an expert developer or just getting started.VCL.JS takes the Delphi approach into the HTML5 world.

email


Rich Component Library

vcl20VCL.JS components cover controls like pages (TPage class), controls (e.g., TButton, TCombo, TLabel classes) as well as database access (e.g., TQuery components).The component approach allows programmers to extend the VCL with many visual and non-visual additional components.

100% Bootstrap

tweetBootstrap is an open source framework that provides designers and developers with a straightforward way to create web interfaces that employ responsive design. Bootstrap utilizes JavaScript (including jQuery), CSS, and HTML and includes support for CSS3 and HTML5.

100% TypeScript

tsLogo80TypeScript offers classes, modules, and interfaces to help you build robust components. These features are available at development time for high-confidence application development, but are compiled into simple JavaScript.

Visual Studio Integration

vs35 Visual Studio 2012 Developers can install the VCL.JS plugin to get project and item templates.Add page,modal or backend method in no time.

100% Open Source

VCL.JS is free,open source and always will be!

COMPONENTS

Experience the future of the web platform with VCL.JS components framework.Components allow you to create web application, using html to describe their markup and TypeScript to implement custom behavior.

//Simple dbgrid bounded to a query
import V = require("VCL/VCL");
export class PageHome extends V.TPage {
    constructor() {
    super();

    //create a backend query
    var qur = new V.TQuery(this);
    qur.SQL = "SELECT CustomerKey, FirstName, LastName FROM Customers";
    qur.open();

    //create a grid on the screen
    var grd = new V.TDBGrid(this, "grd");
    grd.Dataset = qur; //bind the grid to the dataset
    grd.PageSize = 15;

    var col = grd.createColumn(“FirstName”);
    var col = grd.createColumn(“Lastname”,”Last Name”);
    }
}
<!--bootstrap scaffolding -->
<div class="row>
<div id="grd" class="span9"/>
</div>

 

SINGLE PAGE APPLICATION

Build a scalable TypeScript apps ! VCL.JS makes it easy to create sophisticated, multi-page TypeScript app with great URL support, in a fraction of the code you’d write in any other frameworks.

//Simple routing example
import V = require("VCL/VCL");

export class PageHome extends V.TPage {
constructor() {
    super();

    //create a backend query
    var btn = new V.TButton(this);
    btn.onClicked = ()=>({
    V.Application.navigateToPage("Page2",
    ["George Clooney"]);
    }
}
//Page2.ts
import V = require("VCL/VCL");

export class Page2 extends V.TPage {
constructor(customerName : string) {
    super();

    //create a backend query
    var txt = new V.TText(thism,"custName");
    txt.Text = customerName

}

Fork me on GitHub

Ideas are always welcome