Run BASIC - Programming Model

Programming Model

Run BASIC uses a desktop programming model. Web pages are not kept in individual files or dealt with as templates but are generated dynamically as determined by the programmer. It can be programmed in two styles. With procedural programming, applications are made using subroutines and functions. Application is state which is managed automatically and transparently. With object-oriented programming, applications can be componentized into objects with methods called on them. Any object can render itself into a web page as a way to have different parts of a web page managed in a modular way.

Run BASIC favors a widget-based approach where the user interface (UI) is programed without using HyperText Markup Language (HTML). High-level commands automatically generate HTML. Colors, fonts, backgrounds and layout can be adjusted using Cascading Style Sheets (CSS). If needed, HTML or JavaScript can be injected into a page. Interactivity is similar to that of desktop applications, with callbacks tying user actions to program routines. Marshaling web requests and dispatching user actions to procedures is automatic.

Run BASIC can draw graphics and render them into web pages; fetch files from other web sites using GET and POST and use a built-in XML parser to extract data; and includes a database capability using the SQLite database engine.

Read more about this topic:  Run BASIC

Famous quotes containing the words programming and/or model:

    If there is a price to pay for the privilege of spending the early years of child rearing in the driver’s seat, it is our reluctance, our inability, to tolerate being demoted to the backseat. Spurred by our success in programming our children during the preschool years, we may find it difficult to forgo in later states the level of control that once afforded us so much satisfaction.
    Melinda M. Marshall (20th century)

    I had a wonderful job. I worked for a big model agency in Manhattan.... When I got on the subway to go to work, it was like traveling into another world. Oh, the shops were beautiful, we had Bergdorf’s, Bendel’s, Bonwit’s, DePinna. The women wore hats and gloves. Another world. At home, it was cooking, cleaning, taking care of the kids, going to PTA, Girl Scouts. But when I got into the office, everything was different, I was different.
    Estelle Shuster (b. c. 1923)