06-18-2008
Quote:
I don't see the button "great idea for some other site" ...?
Seriously, there's a great many Ajax forums on the web already, and I feel it would dilute the flavor of Unix.com.
There is a lot more to Web Development than AJAX
PHP, for example. Web 2.0 Mashups. etc ad infinitum
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I might be asking a silly question but I just wonder if I can design/create my webpages using korn Shell or bash instead or using perl or php.This webpages I want to create are basically to perform admin work. With Perl the limitation for me is the fact of having to compile and install... (1 Reply)
Discussion started by: arizah
1 Replies
2. Programming
I am now a student in university in 2nd year. I am studying computer science. But I am not sure what type of jobs computer science provide. I know some of them are software programming or network management. Recently, I hear some about Web Development. I wonder if it is a part of computer science.... (1 Reply)
Discussion started by: Anna Hussie
1 Replies
3. Programming
I'm wondering how programmers develop new Web Development languages because I want to learn how everything begins from the start. Let's say I'm planning to write a new language for the Web. How do I do this? Is there anyone who knows about the way Web Development languages first appear ? I'm asking... (1 Reply)
Discussion started by: Anna Hussie
1 Replies
4. Programming
Im completely new to programming and dont really know much about it. I want to start learning about Web Development but i have no idea where to start. Any suggestions? (3 Replies)
Discussion started by: Anna Hussie
3 Replies
5. Web Development
I am learning Web Development, so far i am learning html,xhtml, css, java script....
What I want to know is what other Web Development languages should i learn? (1 Reply)
Discussion started by: Anna Hussie
1 Replies
6. Programming
I'm wondering how programmers develop new Web Development languages because I want to learn how everything begins from the start. Let's say I'm planning to write a new language for the Web. How do I do this? Is there anyone who knows about the way Web Development languages first appear ? I'm... (3 Replies)
Discussion started by: Anna Hussie
3 Replies
7. Web Development
I am now a student in university in 2nd year. I am studying computer science. But I am not sure what type of jobs computer science provide. I know some of them are software programming or network management. Recently, I hear some about Web Development. I wonder if it is a part of computer... (3 Replies)
Discussion started by: Anna Hussie
3 Replies
8. Web Development
Need some idea of what I should charge, per hour or per project, for a 3-4 page site that I design & program (HTML, CSS, & PHP). No databases involved. (1 Reply)
Discussion started by: Anna Hussie
1 Replies
9. Web Development
Ok so I know they are both vitally important especially in today's technology. But which do you feel is more appealing and fun? What all are you able to do with each of them and what are the perks of one over the other Joomla templates are better run in Web Development as well (0 Replies)
Discussion started by: Anna Hussie
0 Replies
10. Web Development
I have a website and I am thinking of slowly making small mods to it and learn through tutorials along the way. To start using PHP where do I start?
Should I use dreamweaver? or do I need a PHP program that will allow me to access and edit the code? My websites programmed in cakephp. I want... (3 Replies)
Discussion started by: Anna Hussie
3 Replies
LEARN ABOUT DEBIAN
web::simple::deployment
Web::Simple::Deployment(3pm) User Contributed Perl Documentation Web::Simple::Deployment(3pm)
NAME
Web::Simple::Deployment - various deployment options
DESCRIPTION
This file documents common deployment methods for Web::Simple. If you feel one is missing, please ask in the IRC channel and we'll work
with you to add it.
CGI
The most basic deployment option is as a CGI script loading and running your Web::Simple-module:
#!/usr/bin/env perl
use Your::Web::Simple::App;
Your::Web::Simple::App->run_if_script;
Save that as script.cgi and your web server will handle it correctly.
Plack-Server
This works in with exactly the same code as CGI deployment. However instead of letting your web server load script.cgi, you run this on the
command line:
plackup script.cgi
Self-contained CGI
Sometimes your app is so small that you have only one or two tiny classes that you want to run as a CGI script. Web::Simple offers a
helpful mechanism to achieve that.
#!/usr/bin/env perl
use Web::Simple 'HelloWorld'; # enables strictures and warnings for the file
# additionally, HelloWorld is upgraded to a
# Web::Simple application
{
package HelloWorld;
sub dispatch_request {
sub (GET) {
[
200,
[ 'Content-type', 'text/plain' ],
[ 'Hello world! It is a fine ' . HelloWorld::Helper->day ]
]
},
sub () {
[ 405, [ 'Content-type', 'text/plain' ], [ 'Method not allowed' ] ]
}
}
}
{
package HelloWorld::Helper;
use DateTime;
sub day {
return DateTime->now->day_name;
}
}
HelloWorld->run_if_script;
AUTHORS
See Web::Simple for authors.
COPYRIGHT AND LICENSE
See Web::Simple for the copyright and license.
perl v5.14.2 2012-05-07 Web::Simple::Deployment(3pm)