EN

The POWER-KI programming language for IA

Develop solutions from Factory Automation to Web Application

©®2014 XPLAB - Research in Automation
© 2014 APX - Advanced Programming Exploitation
Brescia - Italy

POWER-KI in a nutshell

An overview of some POWER-KI features

POWER-KI is a programming language complete with all the tools a programmer needs. Easy to learn, highly productive, implements original programmig concepts that enable a new approach to problems.

2014-08-03 16:50:18


The path to POWER-KI (PWK) is not long, but in the beginning it requires a bit of patience, many things will become clear only at the end when the whole design and its possibility will be clear. For a programmer the apporach will be both familiar and unfamiliar.

Let`s go !

fast install

Install PWK is simple: from the download page in this site, get the dev-edition, unzip it and run the installer, You may need to download .net and having to install the redistributable Microsoft VC(from the .zip) . When the program starts you will be prompted for a license: Indicate that contained in the package. The whole can takes as little as 10 minutes. Now you can begin to develop but .. be patient ...
The start Icon and main menu

Simple application model

From the menu you can choose to implement: a complete package, an executable code that does not require an user interface or a GUI (Graphic User Interface) or a WUI (Web User Interface). If you choose the package you will have the possibility to access the editors from the package windows and have in a sigle executable everything is required by the applications. Package managers also provides functions for deploying and storage. Now you can understand that with PWK you can develop from simple command line to complex applications with native user or web interface. A PWK application is installed by simply copying it on the target PC (Where should be installed at least the User-edition) .

The program is not executed here

eXecutor and GUI decoupled

Native Cloud is a technology of POWER-ki which allows the easy creation of applications that can be used simultaneously by multiple users, also geographically distributed. It is the consequence of the decoupling between executor and graphical interface. This feature open the doors to new ways to design applications, but also gives the opportunity to imagine and propose new services.

Our Web Server ? we do not.

Top WebSites

Yes, it is so. The page you are reading has been delivered by a PWK application and not by a web server. The entire site is managed by a PWK application made ​​under the XAILS project for Web and eCommerce. Beyond the aesthetic, which is a matter of taste, this site demonstrates in a tangible way, what you can do with PWK in the field of WEB/HTM5 technologies. All pages are managed by a single WUI incredibly simply when compared to the mountains of pages and scripts usually required for such sites. Performances are at the top, and this allows us to create websites rich in hight-definition images or which provide advanced services.
the WUI of this site

Run-time Assistant

WorkBench for programmer comfort

Write better code also depends on the support provided by the development environment. WorkBench, the ide of PWK, has been designed to provide maximum comfort to the programmer.
During the writing of the CODE, the help is provided by: Assistant Editor, syntax checker, and Function Editor. This Web-Site provides (by pressing F1) the online help with documents for general topic, library and function.
Editor and Function Assistant

Muti-Threads Test and Debug

In PWK you can test and debug both the single EXO (executable Object) that the whole project. PWK has been designed to make intensive use of the cores made ​​available by modern processors. For this reason, the applications are usually multi-threads and the test & debug environment was therefore designed to support the programmer in this context.
Debug : breakpoint, threads, code ..

Run-Time Debug

The WBK tools for testing and debugging are crucial help for the development of an application. But how to find errors in a program already in production? For this purpose there is "The Inspector" a PWK application that using the language features allows the debug, even remotely, of applications running on the field.

The POWER-KI programming language

So far, we talked about some general features and about the development environment. Let us now see some basic concept of the language, for a detailed explanation please refer to the book "Preludio" (see Download).

Basic Concept

- A POWER-KI Assembly can be thought of as a forest of trees.Each tree is an Item, which in turn contains other Items.
- In PWK there is a clear distinction between flow, code and symbols. The flow controls are for the most part, familiar to programmers, as well as the syntax used in the CODE elements.
- Symbols are not typed.
- A PWK program can modify itself also at run-time.

Data management

Beyond the DB with the knowledgebase.

Data Base support is a must, for this reason PWK incorporates Sqlite and provides direct connectivity with MySQL and indirect (ODBC) with other databases. In addition PWK introduces the knowledgebase, for the management of information that are difficult to represent in tabular form and as a powerful tool for the implementation of Intelligent Applications.

Hello World !

How not to put at the end of this article, the ubiquitous "hello world"? From the side link you can download it :-)

legal
privacy
ethics

©2010-2016 XPLAB - Research in Automation - Brescia - ITALY - [IT03259580177] This Website is a XAILS project Written and Directed by POWER-KI - All right reserved,