Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 26th, 2000, 12:59 AM
Gerhard Gerhard is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Posts: 77 Gerhard User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Hello,

I want to ask your opinion about doing a job better in Perl or PHP. I'm a novice at both, so I have full choice

The task is the following:
It is basically a formmail, but consisting of multiple (about 20-50) single formpages, which should finally be linked together to one single email. The sequence and total count in filling out the forms by the user is not fixed, but depends on user entries.
Of course it should be foolproof, i.e. not completed fills should be trashed after timeout, multiple users should use it at the same time, etc.
Password login is also mandatory.

I thought of creating the start form static and then let the script create all following formpages dynamically.

What do you think ?

Cheers,
Gerhard

Reply With Quote
  #2  
Old April 26th, 2000, 01:38 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>a formmail, but consisting of multiple (about 20-50) single formpages..WHAT??
Well, PHP should give you the speed especially with database connectivity while Perl should give you a better form fields validation handling. In this case as you mentioned about 20-50 single pages, there isn't any difference in term of speed, so I prefer Perl over PHP.
However, there is a concern about whether this long form will have pretty great amount of submission or not. In addition, are you planning to do some logging? To flat file or db is also something that needs to be concerned about.
As for the 'password login', if you are going to use htaccess+htpasswd authentication, then there isn't any perl/php involved.
Since you indicated you are a novice at both, a question like "PHP/Perl, which is easier to learn?" should be asked..Well, my suggestion is, if you are more comfortable with Perl, go for it. Likewise, go for PHP if you believe it is hot and it's gotta be cooler than Perl.

Reply With Quote
  #3  
Old April 26th, 2000, 01:53 AM
Gerhard Gerhard is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Posts: 77 Gerhard User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Well, the thing is an architect's idea for an online 'construction consulting system' - an issue which is in fact very complex.

Of course you can pack the whole thing in a 100 pages wordfile and let the user mail it back, but the great thing should be, that by answering multiple choice questions, the user is led only to the questions that apply for him.

btw database connectivity or logging is not mandatory.

Gerhard

Reply With Quote
  #4  
Old April 26th, 2000, 02:09 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Then I highly suggest Perl over PHP. The form data carry over to the next form page seems to be a one way task. The only factor is the accuracy of the result. As a newbie to both, it's easier to learn the other obvious task - field validation.
Well, let's see what other members say URL

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > PHP vs. Perl

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap