Language Selection

English French German Italian Portuguese Spanish

KLone: C web programming framework

Filed under
Software

PHP is well known for its coding style, mixing HTML with source code inside special <?php code> tags. There are tools and frameworks for that kind of web development using other programming languages like Perl and Python, but there is one fairly surprising choice of programming language that you could use instead, namely C.

KLone is a web application development framework that takes HTML with C embedded in as its input and turns it all into a single binary that is the server and the web app in one package.

Let’s step through an example of how to make a simple Hello World type of web app. First off, apt-get install klone-package. That’ll install KLone and a few tools you can use in a Debian environment. Change to a directory where you have a write permission.

Full Story.



More in Tux Machines

Ubuntu 17.10 Codename Released "Artful Aardvark"

Recently Ubuntu has been the talk of the town due to Mark shuttleworth's announcement on discontinuation of Unity 8 development. But the release of Ubuntu 17.04 also fills some gap of that talk shows. Now there is another news coming from Ubuntu which is the release of codename of its upcoming Ubuntu version, i.e. Ubuntu 17.10. It's ​Artful Aardvark! Yes. Artful Aardvark. But what does it mean? Let's find out. Read
more

Qiana Studio Complete Multimedia Production

​Qiana Studio is a Ubuntu and Linux Mint based system for multimedia productions. It comes with many powerful tools and applications that make it a media creation powerhouse. The developers seek to make a lightweight - but powerful A/V-distro basing on Linux Mint! Let us take a look at this distro if it's worth your time. Read more

Ubuntu 17.10 (Artful Aardvark) Daily Build ISO Images Now Available to Download

Canonical's Adam Conrad announced that Ubuntu 17.10 (Artful Aardvark) is officially open for development, and it looks like the first daily build ISO images are already available for download. Read more

Radeon RX 580: AMDGPU-PRO vs. DRM-Next + Mesa 17.2-dev

Last week I posted initial Radeon RX 580 Linux benchmarks and even AMDGPU overclocking results. That initial testing of this "Polaris Evolved" hardware was done with the fully-open Radeon driver stack that most Linux enthusiasts/gamers use these days. The AMDGPU-PRO driver wasn't tested for those initial articles as it seems to have a diminishing user-base and largely focused for workstation users. But for those wondering how AMDGPU-PRO runs with the Radeon RX 580, here are some comparison results to DRM-Next code for Linux 4.12 and Mesa 17.2-dev. Read more