commercially supported

Build an Enterprise Web App on a Budget

Vcl.js is a typescript open-source RAD framework 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/.Net RAD approach into the HTML5 world,providing a full stack for a true web RAD development

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 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.


Node.js support

nodeLogoVcl.js backend has been developed with Node.js providing runtime for building scalable business applications.

IIS .Net support

net_logo.pngIIS for Windows® Server is a flexible, secure and manageable web server for business application.


Visual Studio Integration

vs35 Visual studio developers can install the Vcl.js plugin to get project and item templates.Add page,modal or backend method.

100% Open Source

Vcl.js is free,open source and always will be!

WHY USING VCL.JS?

If you need to migrate a desktop business application into the html5 world you will find vcl.js to be the right tool for you. The .Net Forms/Delphi like API makes it easier to learn, the component based development promote highly productive by supporting code reuse, and the tight integration with visual studio and the power of typescript make vcl.js a strong tool for large applications.

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.TQueryRemote(this);
   //allCustomers=>"SELECT CustomerKey, FirstName, LastName FROM Customers";
   qur.QueryID = "allCustomers"; 
   qur.open(); //asynchronous call to the query 

   //create a grid component on the screen
   var grd = new V.TDBGrid(this, "grd"); //the "grd" is the id of the div
   grd.Dataset = qur; //bind the grid to the query
   grd.PageSize = 15; 
    
   //create columns to the grid
   var col = grd.createColumn(""FirstName");
   var col = grd.createColumn("Lastnameâ","Last Name");
 }
}

<div class="row-fluid">
    <div id="grd" class="span12"/>
</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 = ()=>({
	 //This method will call the class "Page2" and will pass "George" to page2 constructor
     V.Application.navigateToPage("Page2",["George"]);
   }
}

//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
    }
}

RICH COMPONENT SET

Vcl.js come with over 50 components ready to use

  • Forms
    • TPage
    • TModal
    • TButton
    • TInput
    • TDBInput
    • TLabel
    • TDBLabel
    • TBadge
    • TDBBadge
    • TText
    • TDBText
    • TTextArea
    • TDBTextArea
    • TInputNumeric
    • TDBInputNumeric
    • TCombobox
    • TDBCombobox
    • TDBGrid
    • TListBox
    • TImage
    • TIcon
    • TToggleSwitch
    • TInputTypeaHead

  • Widgets
    • TWizardButtons
    • TTagCloud
    • TPillBox
    • TBreadCrumb
    • TPagination
    • TTree
    • TSideBar
    • TNavBar
    • TGravatarImage
    • TFacebookButton
    • TGoogleMap
    • TTimer
  • Visual containers
    • TPanel
    • TTabSheet
    • TAccordion
    • TCarousel
    • TWell
    • TContainer
    • TBootstrapRow
    • TBootstrapRowFluid
    • TBootstrapSpan

  • Datasets
    • TQuery
    • TQueryRemote
    • TCollection
    • TList
    • TDataset
    • TClientDataset

OUT OF THE BOX DATABASE INTEGRATION

Vcl.js supports, codeless connectivity to various kinds of common data providers, including SQL,NoSQL and Microsoft OLAP.Like client-server desktop applications, Vcl.js browser-based applications interact with remote data and services via background communication channels. Background requests retrieve chunks of data rather than new HTML pages, and update your visual components in place rather than rebuilding the entire user interface.

  • littlehouse

    Could you provide a ajax post example with the following create or update or delete operation?

  • vcljs support

    http://vcljs.azurewebsites.net/create-server-side-method/

    Hope this will give u some ideas on how to devlop server side

  • tcrever

    It looks impressive! great idea to use the Delphi approach.

  • Paolo Marino

    That’s a wonderful RAD: I wonder why nobody knows it. But it’s really the future…

  • Gary Miller

    Since this software appears to accept JavaScript (TypeScript compiles to JavaScript) database commands from the front end. How are users prevented from transmitting their own JavaScript commands that they’ve tailored with their own SQL injected? (similar to a SQL injection attack).

    In a Framework like Angular you still have to develop server side components to push your data to the front end instead of the front end directly requesting it in database fashion.

  • vcl

    hi gary
    the sql injection is for inhouse small apllication. a more generic approch you can use TQueryremote or write your own server side

  • vcl

    tnx

  • Paolo Marino

    Hi everybody

    I have installed the VCL plugin on Microsoft Visual Studio 2013: when you create a new VCL project e recompile there are a lot of errors on d3.v3.ts library. Dropping the d3.v3.ts lib from the project and recompiling it seems to work fine. It is right?

    Thanks

  • Nati Krisi

    hi

    yes u r correct
    r u sure u used the latest version?
    we removed it from last version

  • Paolo Marino

    I downloaded the last version but it has the same size of that I installed.. At any rate Can I install over the old without problems?
    Thanks

  • Paolo Marino

    Hi
    I noticed that the menu doesn’t close after you select a item. That’s a problem on mobile as it’s seems that non jump is made unless you scroll the screen..
    By

  • vcl

    yep

  • Nati Krisi

    can u send us a sample code?

  • Paolo Marino

    http://www.vcljs.com/Demo

    If you resize the browser up to a smartphone screen you can see what I mean
    By

  • Nati Krisi

    if you talking about the top menu this is bootstrap default behavior.

  • Paolo Marino

    Thank , I’ll find the way to modify this behavior

  • JONAS

    I’ll try this amazing framework!, after months of looking for somtehing more integrated and easy to learn to use with Node.js server ..There are many JavaScript frameworks (Express with Jade, and others) out there, however those tools are oriented to MVC pattern. I need something more desktop programming oriented, like VS or PowerBuilder..

  • http://vcljs.com/ vcl

    thanks. if u encounter any problem please contact us for anu issue

    vcl.js