mainpillowcase - Summary

 
 
Membership Info
Group Admin:
1 active member

Group identification
Id: 11058
System Name: pillowcase
Name: pillowcase
Group Type: non-GNU software and documentation

Search in this Group


 

This group is not part of the GNU Project.

PillowCase is a bunch of modules to create a minimalistic HTTP server.

One of the main goal is to generate a web platform for navigating the Ciao Prolog documentation. However, you can use it for serving web pages just configuring some files.

Don't pretend to serve all a productive system platform, as I said is minimalistic and may not be too secure for that.


Prolog is a declarative logic programming language. Ciao implementation includes a series of libraries that add networking capabilities for creating clients and servers applications.

Also, provides some libraries called Pillow(Programming in Logic Languages on the Web). This libraries helps you to generate CGI programs for dynamic web pages. So, in a near future, PillowCase will serve Pillow pages.

Registration Date: Mon 10 Sep 2012 01:58:44 PM UTC
License: GNU General Public License v2 or later
Development Status: 2 - Pre-Alpha

 

Latest News rss feed
A Little Text Processing Library?
     posted by cngimenez, Thu 08 Nov 2012 05:41:14 PM UTC

In order to process the HTTP requests/responses, I needed some predicates for processing Strings. So I made the "pc_text_processing" module.

Using this modules gives you various common clauses to manipulate texts.

If you find mistakes, or want to collaborate fixing some problems, join this project!


Enjoy!

Pillow files works!
     posted by cngimenez, Wed 03 Oct 2012 01:46:49 PM UTC

Pillow files works as a CGI scripts!

You can use Ciao Prolog libraries for making HTML dynamic pages. Pillow libraries is perfect for doing this job... and now works with Pillowcase!

URL that finish with ".pl" are pillow files... it executes automatically and send the results to the client! :)


Remember:
You'll need a writable HTML/PL home directory(configure it in pc_config.pl file!).

Happy Coding! :)

You request it, you get it! :P
     posted by cngimenez, Fri 14 Sep 2012 05:48:02 AM UTC

In the latest development, you can request a page and you get it! :)

Still is very simple HTTP(don't ask for tooooooo much yet :P)...


Start the server loading the module pillowcase and use dance_pillowcase predicate!

Here is an example using ciaosh application:

?- use_module(pillowcase).

yes
?- dance_pillowcase.


You can use any web browser and see [http//localhost:8080].


Happy coding!

Almost Working!
     posted by cngimenez, Thu 13 Sep 2012 05:35:19 AM UTC

Prolog is fast! :)

PillowCase is almost working!

Use start_server predicate to see it working. :) You can test it with telnet or a web browser.

Remember to configure the server editing the pc_config.pl file.


Communication Tools

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code