Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Web interface and index.pl separated?

by Nik
on Apr 13, 2005 at 19:25 UTC ( #447562=perlquestion: print w/replies, xml ) Need Help??

Nik has asked for the wisdom of the Perl Monks concerning the following question:

Itc a CGI script. My webpage is locates at http://www.nikolas.tk and the index file is not a index.html but an index.pl

Problem is that i have both the web interface and the stuff iam doing with it in asingle file(index.pl).

I just want to know if its better to separate Perl code and maybe design the interface with Dreamweaver for example.

The question is if the the 2 things will be able to cooperate in somw way.

Replies are listed 'Best First'.
Re: Web interface and index.pl separated?
by dragonchild (Archbishop) on Apr 13, 2005 at 19:45 UTC
      But with the way you describe will a page created with dreamweaver be able to work in conjuction with my cgi script index.pl?
        a page created with dreamweaver will be a static HTML page. You will have to provide the correct templating tags for the templating system you intend to use. You can either do that within Dreamweaver or by hand through your favorite editor. (No, I have no idea how to use Dreamweaver - others have told me it's possible.)

        I think you're missing some foundation information. I strongly urge you to stop and do some serious reading on how programs and programming works. Your questions indicate to me that you have a goal and you want to know only those things that help you get to your goal. The problem with that is you don't know what it is you should know, so you go for the first way you see. Unfortunatley, that's usually the most inefficient way.

        Now, I'm more than willing to continue answering your questions ... for a while. But, if you don't demonstrate that you're trying to learn on your own, I know I will start to get frustrated and stop helping you. I suspect many of my brethren will, as well.

        If you don't understand something you're reading, then please ask questions about that. We'll gladly help you with the concepts.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://447562]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2019-05-24 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (147 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!