Skip to content

Commit 7d5e7f1

Browse files
committed
documentation update
1 parent d8d8180 commit 7d5e7f1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Perl Executing Browser
22
----------------------------------------------------------------------------------------
33

44
Perl Executing Browser (PEB) is a C++ [Qt 5] (https://www.qt.io/) WebKit implementation of a minimalistic HTML framework for local [Perl 5] (https://www.perl.org/) scripts executed without server as desktop data-driven applications. Perl 5 scripts can be fed directly from HTML forms using GET and POST methods or using AJAX requests. HTML interface for interaction with the built-in Perl debugger is also available.
5+
56
Inspired by [NW.js] (http://nwjs.io/) and [Electron] (http://electron.atom.io/), PEB is another reuse of web technologies for the development of desktop applications, but with Perl doing the heavy lifting.
67

78
## Design Objectives
@@ -69,9 +70,9 @@ Compiled and tested successfully using:
6970
## How to Call Local Perl Scripts from a Local Page?
7071
PEB recognizes two types of local Perl scripts: non-AJAX scripts and AJAX scripts.
7172
* **Non-AJAX Perl scripts:**
72-
Non-AJAX Perl scripts are expected to produce a complete HTML page that will replace the calling page when script output becomes available. Note that there could be multiple chunks of script output from non-AJAX scripts - PEB accumulates them and displays everything it has when a new piece of script output comes out.
73+
Non-AJAX Perl scripts are expected to produce a complete HTML page that will replace the calling page when script output becomes available. Note that there could be multiple chunks of script output from a non-AJAX script - PEB accumulates them and displays everything it has when a new piece of script output comes out.
7374

74-
There is no timeout for all Perl scripts executed by PEB (non-AJAX and AJAX), but slow scripts should be optimized to avoid degradation of the user experinece.
75+
There is no timeout for all Perl scripts executed by PEB (AJAX and non-AJAX), but slow scripts should be optimized to avoid degradation of the user experinece.
7576

7677
There is no special naming convention for non-AJAX scripts and they are called from hyperlinks or HTML forms just like any Perl CGI script was called in the olden days of Perl CGI scripting:
7778

resources/app/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159
$('#ajax-button').click(function() {
160160
$.ajax({
161-
url: 'http://perl-executing-browser-pseudodomain/perl/ajax.pl',
161+
url: 'http://perl-executing-browser-pseudodomain/perl/ajax-test.pl',
162162
method: 'GET',
163163
dataType: 'text',
164164
success: function(data) {

0 commit comments

Comments
 (0)