Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
Using CGI and Perl to put a simple application online. Sometimes still the best way.

These days, it's fashionable to embed Perl, PHP, Python or Rails within a web framework if you want to put your application code online - in other words, if you want to take logic that's tried and tested and make it web available. And there's much to be said for this fashion - it provides a whole series of facilities and security checks which you don't have to keep re-coding yourself. If you're writing substantial systems, I'll encourage you to use such a framework, and indeed I'll introduce to you Django or Rails as an extra day on the end of your Python or Ruby course.

BUT ... if you just want to add a simple, one-page script onto your web site, there's still a lot to be said for KISS - "Keep It Simple, Stupid" - and that can be achieved through the Perl and the Common Gateway Interface.

On last week's Perl course, I wrote a complete CGI example that looks up data from within a large data file - a simple, single page filtering application. It's robust, secure, easy to use and it doesn't use any of the complicated day-to-even-start frameworks. Source code [here]; data file [here].
(written 2012-09-30, updated 2012-10-13)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
P221 - Perl on the Web
  [2551] Perl and the Common Gateway Interface - out of fashion but still very useful? - (2009-12-26)
  [1198] From Web to Web 2 - (2007-05-21)
  [975] Answering ALL the delegate's Perl questions - (2006-12-09)
  [687] Presentation, Business and Persistence layers in Perl and PHP - (2006-04-17)
  [662] An unhelpful error message from Apache httpd - (2006-03-30)
  [641] Simple but rugged form handling demo - (2006-03-10)
  [590] Danny and Donna are getting married - (2006-02-03)
  [493] Running a Perl script within a PHP page - (2005-11-12)
  [433] FTP - how to make the right transfers - (2005-09-01)


Back to
Using Perl to read an RSS feed off a web site and extract data - via LWP and XML modules
Previous and next
or
Horse's mouth home
Forward to
October to December 2012 - Public Courses
Some other Articles
Mixed mode travel - Information systems
From Structured to Object Oriented Programming.
Public Transport Services - from and to Melksham
October to December 2012 - Public Courses
Using CGI and Perl to put a simple application online. Sometimes still the best way.
Using Perl to read an RSS feed off a web site and extract data - via LWP and XML modules
Henbury loop, Bristol - a freight railway line with passenger potential?
Trains across Wiltshire - an update on the TransWilts
On getting noticed for the right reasons when you ask about job availability
Writing more maintainable Perl - naming fields from your data records
4344 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2014: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/3875_Usi ... -way-.html • PAGE BUILT: Thu Sep 18 15:30:25 2014 • BUILD SYSTEM: WomanWithCat