PWCT Docs Features Programming Scope

PWCT Features – Programming Scope

From low-level C to high-level GUI applications — PWCT covers a wide programming scope with multiple visual languages.

Overview

PWCT is a General Purpose Visual Programming System. We can use PWCT to create different types of applications, and we can extend the system by supporting more textual programming languages to get more power.

We can create large scale applications using PWCT. Our project could be a group of sub projects interacting together.

Each project or subproject could contain one or more visual source files (*.SSF & *.FPT).

For example, a course management system developed using PWCT in 2011 contains 104 visual source files (*.SSF) in the same project.

Fig. 1 List of *.SSF files

Fig. 1 List of *.SSF files in the Course Management System developed using PWCT

Project structure: Each visual source file could contain one or more goals. Each goal could contain functions/procedures, classes, and generate one or more text based source code files. Each goal could contain hundreds or thousands of steps.

You can create very large scale applications using PWCT, but you will need large space on your hard disk. Also break your project to more than one visual source file (Divide and Conquer) and avoid putting thousands of steps in the same goal to get high performance and clear design. This also gives the ability for more than one programmer to work on the same project at the same time.

Visual Programming Languages

We have a collection of visual programming languages inside PWCT to choose from as a tool for developing our applications.

HarbourPWCT Stable / Production
Very high level programming tool. General purpose. Supports Imperative, Procedural, Object-Oriented & Event-Driven paradigms. Create MS-Windows GUI applications (Desktop & Client/Server). Distribute standalone executable files (*.EXE). Database: xBase (*.DBF) & ADO — you can use MS-Access, SQL Server, MySQL & any database supported by ADO. Sockets & Network Programming (TCP/IP). Multithreading support. Call DLL functions. OLE Automation. Develop multiplatform (MS-DOS, Windows, Linux & Mac OS X) console applications. Many templates to create object-oriented database applications quickly. Used for creating many projects like the Supernova programming language, Critical Nodes & Smart POS System.
SupernovaPWCT Stable / Production
Very simple visual programming language. Learn some of the programming concepts (Variables, Arrays, Control Structures, Procedures, GUI & Event-Driven). You can use it to create simple GUI applications that work on Windows & Linux.
CPWCT Stable / Production
Low level programming. General purpose. The power of the C programming language. You can create programs that can be compiled using any ANSI C compiler.
PythonPWCT Under Development
High level programming. General purpose. Get access to Python libraries. Create GUI applications (Multiplatform). Simple for CGI programming.
C#PWCT Under Development
High level programming. General purpose. Get the power of the .NET Framework.
High Level Programming

From the previous collection, it is clear that we can do high level programming using visual languages like (HarbourPWCT, SupernovaPWCT & PythonPWCT) and/or we can do low level programming using the CPWCT visual programming language.

The next figure presents a steps tree while using the SupernovaPWCT visual programming language.

High level programming lets the developer concentrate on the task, and get an easy to read and understand steps tree.

Fig. 2 High level programming using SupernovaPWCT

Fig. 2 High level programming using SupernovaPWCT

Low Level Programming

The next figure presents a steps tree while using the CPWCT visual programming language.

A low level programming language gives the programmer direct access to the machine resources like the memory. For example the programmer can control the operations of allocating/freeing the memory and can access data at the bit level.

CPWCT gives us the power of the C programming language but in a visual programming world where we can see the program instructions as a tree of steps, we can avoid syntax errors, we don’t need to remember many things, we can explore the language components.

Introducing the C programming language concepts to students could be more fun in a visual programming world.

The productivity gain when we use CPWCT, the ability to customize the environment and the flexibility to create new visual components are attractive features for expert programmers to develop some of their C programs using CPWCT.

Fig. 3 Low Level programming using CPWCT

Fig. 3 Low Level programming using CPWCT

Open Source Projects

The next figures present some of the free open source projects developed using PWCT.

Fig. 4 Smart POS System

Fig. 4 Smart POS System

Fig. 5 Critical Nodes

Fig. 5 Critical Nodes

Fig. 6 Supernova Programming Language

Fig. 6 Supernova Programming Language

#Project NameURL
1 Smart POS System http://sourceforge.net/projects/pos-sys/
2 Critical Nodes http://sourceforge.net/projects/criticalnodes/
3 Supernova Programming Language http://sourceforge.net/projects/supernova/