User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 391,160 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,308 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser:
Views: 1598 | Replies: 6
Reply
Join Date: Jul 2005
Location: SF
Posts: 5
Reputation: mrjersh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mrjersh mrjersh is offline Offline
Newbie Poster

Need to add usability

  #1  
Aug 21st, 2007
Hi all,
I must admit - I don't know where to post this!

I would like to add a page where users can submit favorite songs. I was thinking of using a guestbook but what I would really like is to have a very simple form with 4 fields and the entries would populate on the webpage.

Question - should I create a simple form or just use a guestbook (and if I should use a guestbook, any recommendations would help).

I have never created a form or used a guestbook. I have found tutorials for forms, but I do not want the forms submitted to me via email. Is there a tutorial somewhere out there?

I am using my wedding site to teach myself xhtm and css and any other skills I can.

Sorry for the long post.

- Josh
Last edited by mrjersh : Aug 21st, 2007 at 4:05 pm.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: Need to add usability

  #2  
Aug 23rd, 2007
Well, if you want to display the data, it has to go somewhere.

1) Email to you, you edit the page.
2) Save to file, page loads files.
3) save to DataBase, page loads DB.

I think those are your three main options.

So, 1 is out, leaving 2/3.
You could use a "scripting language" for this, and there are examples out there of how to do it...

You could have a script that everytime the form is filled in, it saves the data into a new file, and then the page loads up, reads all the files and inputs the values ito the page.

Or you could use a DB, then you can either use a real "DB Engine" such as mySQL, or a "Flat File DB" usig JS/PHP etc. (saves thestuff as entries in a file, then reads each entry as a record).


It does depend on the Host, though almsot all offer some form of DB (usually MySQL) and some scripting/language support (php/asp etc.).

There are plenty of little DB scripts out there... look to Hot Scripts etc. You will find examples, and even little tutorials for it.
Reply With Quote  
Join Date: Jul 2005
Location: SF
Posts: 5
Reputation: mrjersh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mrjersh mrjersh is offline Offline
Newbie Poster

Re: Need to add usability

  #3  
Aug 23rd, 2007
Thanks autocrat. I will check hotscripts. I am using dreamhost, so I have access to MySql. I started working on a basic ruby tutorial, but that will take me a while to learn as I have no programming experience.

- Josh
Reply With Quote  
Join Date: Aug 2007
Location: Argentina
Posts: 76
Reputation: martin5211 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
martin5211's Avatar
martin5211 martin5211 is offline Offline
Junior Poster in Training

Re: Need to add usability

  #4  
Aug 23rd, 2007
You can look self-paced the PHP tutorial from w3schools (PHP is the most easier language) and then you can look feedback and contact form tutorials from Google to get a general idea.
Start using Dreamweaver 8, you can do DB queries easily and another stuff automatically. If you want to set programming as your primarly goal start learning PHP and OOP, use the ezsql class to create DB queries for example.
PHP are very documented, you could find more tutorials than another language.
Reply With Quote  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: Need to add usability

  #5  
Aug 24th, 2007
Nothing personal, but I would state not to follow ... martin5211 ... adviceo n DreamWeaver - I've found a huge number of people don't actually understand what they do because they use software that does most of the work.

If you are to learn, then YOU learn.
Hell, I still do a fair bit of coding in things like Notepad if I don't have a machine with phpDesigner on it!

By al means use DreamWeaver - but make sure you understand what you are doing
Reply With Quote  
Join Date: Aug 2007
Location: Argentina
Posts: 76
Reputation: martin5211 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
martin5211's Avatar
martin5211 martin5211 is offline Offline
Junior Poster in Training

Re: Need to add usability

  #6  
Aug 24th, 2007
Personally, I don't like very much Dreamweaver 8 because now I have my own style, but I've to admit that in the first two weeks I started to build a social networking site, you don't have to worry very much, and you can focus to learn the most basics things: array manipulation, iterate arrays to display content, conditions to show, hide sections of the website and send parameters by url in forms.

PHP.net is a great resource, almost all examples are very easy, you can copy&paste and see the results, then modify it and apply your idea. For example, the foreach example to read an array and the subsequent examples to deal with multidimensional arrays (arrays like excel spreadsheets). The foundations of PHP are very basic, you have to learn not to see all like very complex.

phpDesigner is more cheaper and lighter than Dreamweaver, it have a great potential but have confussing behaviors: automated hiding of php or html code, and the instantaneous bug reporter, both very annoying for beginners.
Last edited by martin5211 : Aug 24th, 2007 at 10:58 pm.
Reply With Quote  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: Need to add usability

  #7  
Aug 25th, 2007
? phpDesigner has a bug reporter?

Must be in one of the new versions... I'm still on 2005's (I've looked at the newer ones and can't stad them).

Still, in a way I guess it isn't the tools that makes people bad, it's the people themselves.
So I guess it doesn't matter what you use - it's jsut my pet peeve of monkeys and dreamweaver
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Site Layout and Usability Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 7:25 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC