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

Korora 23

  • Korora 23 Screencast and Screenshots
  • Korora 23 'Coral' Linux distro is finally here -- Fedora for the rest of us
    When you decide to embrace Linux on the desktop, it can be quite exciting. There is a good chance you started your computing journey with Microsoft Windows, but now you want something different. While choosing the open source route can be a smart move, it can, unfortunately, be confusing too. What operating system should you pick? Many people choose Ubuntu, which is a solid choice, but some people prefer others. Linus Torvalds, for instance, famously uses Fedora. While that operating system can be quite rewarding, setting it up can be a frustrating experience for those new to Linux. Enter Korora. This operating system takes the best of Fedora and mixes it with user-friendly software and pre-configured RPMFusion repositories. Version 23, code-named 'Coral', is now available for download.

4 Truths About Working on a Community Project Inside an Open Source Company

I’ve worked at SUSE for just a hair over two years now. Before that time I had never seen the inner workings of an “Open Source Company”. Not in any real, in-depth way. Like many Free Software and Linux enthusiasts, I had always been curious how things operated within companies like SUSE, Red Hat and Canonical. Companies that support, organize and drive such a significant amount of activity in the Free and Open Source world. To me, they seemed somewhat mysterious. What really motivated them? How did they operate? What was it like to be a Linux user who actually worked in a Linux-focused company? Read more

Debian-based Raspbian and RebeccaBlackOS

Nvidia's Shield tablet K1: The best Android tablet you can get under $200

Nvidia is doing an impressive job with its Shield platform. The tablet received the Android 6.0 Marshmallow Over the Air (OTA) update just a week ago. In addition to stock Android, Nvidia has installed its core apps on the tablet, including the Shield Hub. Since it’s an Android tablet you can install all supported apps, games and services on the device. Read more