Articles, Tutorials, and other Reading Material

Articles in Docs
A lot of articles are in LUFDOC (the documentation system). You may feel overwhelmed in the beginning, but as you get to know Powtils you will become an expert quickly.


Creating Linux/BSD Programs From Windows
FPW Magic
Using a Windows computer to transparently deploy linux/bsd web applications instantly.


Benchmarks Are For Wimps
Is 22 requests per second (on a crippled emulator) a slow server result? It depends, as usual. See the article.


Hello World! and Simple Examples
Simple Tutorial
Some hello world tutorials, simple html template examples, and URL variable retrieval examples.


cURL, Html parsing, CSV, SQL
Docs Articles
There are some articles and tutorials in the documentation on cURL, Html parsing, CSV files, SQL, and many more.


Automating PasForum compilation
PasForum makefile Tutorial
Here you can see how to rename all your pasforum exe or elf files to CGI or PSP files after compiling them all in one step. No separate compilation steps, do it all with "make" at the command line, and nothing more.


Setting up EditPlus as a Powtils IDE
View Tutorial
Some folks don't realize that one can use a text editor just like an IDE (a light weight one) such as EditPlus. Compiler output can be trapped and displayed in the editor's status window, and errors can be clicked on just like in a real IDE. This article shows one how to set up EditPlus to act as a Powtils IDE.


Setting up Text Editor With FPW/FPWSERV
View fpwmagic Notes
More help pages concerning how to setup FPW/FPWSERV with text editors such as EditPlus, TextPad, Lazarus, ConTEXT, will be available soon.


Mailing List Archives
Mailing list discussion can be viewed at mail-archive.


Cross Compiling Linux CGI Directly on Windows
View Tutorial
Recommended instead is to use FPW/FPWSERV.

However there are several ways to create linux executables on a Windows computer. One way is to use an emulator like VMWare or Colinux. Another way is to use an integrated system in an IDE which connects to an emulator through sockets or API calls, such as FakeLinux. Another way is to directly compile executables right on your operating system with a compiler like freepascal, using a linker exe that is built for this purpose.



Compiling Linux CGI on Windows, using FakeLinux
View Manual Install Instructions
Recommended instead is to use FPW/FPWSERV.

However, in the future when it is ready, you will also be able to build a colinux system (the package will be called fakelinux) which acts as a compiler daemon for your IDE. Plug the fakelinux client into the IDE and your IDE turns into a Linux capable compiler. You can also test your linux cgi programs on your windows machine with a Linux Apache server installed on FakeLinux, since you are not actually cross compiling but using a Linux system that runs within your Windows OS.

In the future we will offer an installer for this system - right now, instructions on how to install and configure it yourself are available.



Compile Linux or BSD CGI on Windows, using VirtualBox/Bochs
Recommended instead is to use FPW/FPWSERV.

However in the future we will offer VirtualBox and/or Bochs integration and articles. VirtualBox/Bochs could be even used in combination with fpw/fpwserv. The advantage of VirtualBox/Bochs is that you can also run BSD, not just Linux.



Russian article published on freepascal.ru
View Article
An Russian article written for freepascal.ru which introduced versions 1.5 and talked about the project.


Copyright © Powtils