Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Web Programming: For Beginners

by runrig (Abbot)
on Aug 26, 2011 at 15:21 UTC ( [id://922672]=note: print w/replies, xml ) Need Help??


in reply to Re: Web Programming: For Beginners
in thread Web Programming: For Beginners

While understanding the basics like what a web server is is important to web programming, one doesn't need to rent hosting on a web server to dip their toes into it. You can run a web server on your local system, and test apps from it. A framework like Dancer makes this easy (or Ruby/Rails or Catalyst or ... for that matter), you can launch any app you develop on the "built in" server, and when you decide you want to deploy your app to the world, then you can rent hosting and run your app on a more capable server.

Replies are listed 'Best First'.
Re^3: Web Programming: For Beginners
by blue_cowdawg (Monsignor) on Aug 26, 2011 at 15:28 UTC
        one doesn't need to rent hosting on a web server to dip their toes into it. You can run a web server on your local system, and test apps from it

    In principle I agree with what you said. In point of fact when I do web programming I do all my testing on a localized web server until I'm sure the code is ready for Prime Time®.

    I confess to being leery of telling a beginner to set up a local web server. Using a web server and setting one up are two different things. Having seen a lot of questions on the Monastery surrounding web server configuration I think learning to use a web server and learning to set up of your own should be kept as two separate learning paths.

    Indeed I have worked with a great number of application folks who write wonderful web applications but don't know spit about setting up or maintaining the web servers they target their code to.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      I confess to being leery of telling a beginner to set up a local web server.

      What's hard about telling a beginner to type plackup?

      Howdy!

      That does depend, in part, on the computing environment locally available. On Mac OSX, it's pretty straightforward to activate and use the web server for local stuff.

      yours,
      Michael
            On Mac OSX,

        An OS I've never used. Actually if you use the NetBeans IDE they bundle web servers with it and getting your application running on one is a click away. For my Java based web applications I use that IDE extensively for just that reason.


        Peter L. Berghold -- Unix Professional
        Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      There doesn't really need to be any 'setting up' of a web server. While I sort of lean towards 'doing it the hard way first' and learning to use CGI and setting up a web server, there are frameworks (e.g. previously mentioned Dancer) where you can skip the whole 'setting up a web server' step and just get to the 'writing the app' step. When you start your 'app' the web server also just 'starts'.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://922672]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-25 22:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found