Perl + MySQL Driven page

Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Dec 2005
Posts: 22
Reputation: magikman is an unknown quantity at this point 
Solved Threads: 0
magikman magikman is offline Offline
Newbie Poster

Perl + MySQL Driven page

 
0
  #1
Jan 12th, 2008
Hello,

I would first like to thank everyone for their help so far, i really appreciate it.

Well, i have been learning perl for my job now for about three weeks. Things have gone pretty well so far. I have written a few scripts here and there. However, i have a much larger project that i have to write a page for. The page needs to have a mysql backend and a perl frontend. It will be used for keeping track of vlan ids and the IP addresses associated with them, also with a 25 char description field. Now, i have created the database with the columns of vlanid, ipaddr, and descr. The vlanid and ipaddr are of data type int while descr is of type varchar(25). I have written a small perl script that is able to insert and print out the fields in the database into a html table. Now, i am quite new to web programming, so i am unsure how to actually approach the project, this is where i need your help. How should i approach this issue? Should i write separate pages for displaying the data, inserting and deleting the data? Should i have this all on one page? Where should i go from here? Do any of you know of a GOOD book that i can get on the subject that will help me? Any advise will be beneficial.


Thanks!!
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 176
Reputation: trudge is an unknown quantity at this point 
Solved Threads: 20
trudge trudge is offline Offline
Junior Poster

Re: Perl + MySQL Driven page

 
0
  #2
Jan 13th, 2008
Do any of you know of a GOOD book that i can get on the subject that will help me? Any advise will be beneficial.
'MySQL and Perl for the Web' by Paul DuBois
Amer Neely - Web Mechanic
"Others make web sites. We make web sites work!"
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 36
Reputation: SergioQ is an unknown quantity at this point 
Solved Threads: 0
SergioQ SergioQ is offline Offline
Light Poster

Re: Perl + MySQL Driven page

 
0
  #3
Jan 28th, 2008
Can't say I know of any good books, but in terms of which way to go, that depends on YOU:

From a programmer's point of view, writing one separate page per function is definitely easier.

But that doesn't mean that that is more user friendly. For "users" I like to make the display and edit page the same page. But that leaves more backend coding for you to do.

Not to say you couldn't make them all separate and still have it be all user friendly.

Really that's depends on you, and the user requirements.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Perl Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC