Php...database...?

liunx

Guest
Greetings-<br /><br />I have been writing static html sites for years, but now I have a client who wants something BIG, which is outside my experience... <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <br /><br />I think I need some advice about what to learn, use, or buy...<br /><br />Here is the project: to make an online directory of all the members of a certain group worldwide. Estimated number: 20,000. Will need individual pages with paragraph of text, about 10 fixed data fields, contact data and photo. Alphabetical index. Regional index. In addition, an online form for the 20,000 people to enter the above information, which will hopefully make its way to the database and webpages after my approval and editing, without additional work.<br /><br />From what I can gather from your posts, this should be a simple task for a PHP script with database. Unfortunately- have never worked with anything like this. Also- I would rather not learn php scripting from A to Z at this time <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> <br /><br />Can you point me in the right direction? Free scripts would be nice, but will also consider purchasing something reliable and time-saving.<br /><br />Thank You!<br /><br /><br />Nablusi<!--content-->
Hi nablusi,<br /><br />Honestly what you ask of us in these forums is a pretty tall order.<br /><br />The knowledge that you need to accomplish your task is:<br /><br />At least one web programming language (PHP and perl are both offered here at TCH)<br />CGI (the interface between your program and web pages)<br />mySQL (the database option offered here at TCH)<br />SQL (Structured Query Language - the database communication language)<br />And how to tie all these things together to make them work.<br /><br />If this is more of a long term goal for you, the best way is to start reading. I personally use many resources from O'Reilly publishers that offer a books that teach about all these items.<br /><br />I hope I'm not bursting your bubble. It's not an impossible task. It's just going to take time to read, learn and apply all that you want to know to accomplish these things.<br /><br />If you have specific questions or issues after you are engaged in your project, maybe then it will be easier for us to give you a more directed response.<br /><br />Good luck my friend! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /><br /><br />(PS - I should add that I don't know of a ready-made script that would accomplish what you are looking for. Possibly there is someone here who knows of one.)<!--content-->
You can pickup the Dummies series book called PHP & MySQL as a start. I find it to be quite informative for the beginner.<!--content-->
PHP and SQL will take you where you want to go unless you want to add some perl and cgi scripting. I have found that over the last year I can do all my form processing with a very basic knowledge of PHP whether it is to email the form content to someone or send the data off to a database. Dreamweaver makes it very easy to present the data from the Mysql database onto a web page. I don't use Go Live (from Adobe) or FrontPage (Microsoft) however they probably work fine as well. Again do some reading first. I know that those with alot of experience probably prefer to by pass these programs but for beginners, they really speed things up.<br /><br />Take a weekend and go to the library and browse the book mentioned above. Then go out and buy one of the many books on PHP (most include a section or two on database connectivity as well). You will want a book as reference. You can get help from <a href="http://www.php.net/" target="_blank">http://www.php.net/</a> which is the best resource however I find that I have to know what I am looking for here. I still find it hard to understand the many explanations on this site unless I have a basic understanding first of what I am looking for.<br /><br />PHP has really made my life much easier.<br /><br />Just my 2 cents worth, good luck.<br /><br />Wayne<!--content-->
Another option might be searching for scripts that can be configured to do what you want<br />search for scripts > <br /> card file, recipie, business directory, Web Directory, classified ads....<!--content-->
For a ready-made program, take a look at Expression Engine. I've never actually used it--just looked at the trial version--but from what I remember it was more customizable than the others I looked at. I think with any ready-made CMS you're going to have to deal with some compromises--having 20,000 users sign up for the CMS and/or having them email the form to you and not directly to the database (unless you hack a form into it, where they can submit directly to the database), but at least EE lets you set up custom fields--it might make editing things after they get in the database easier.<br /><br />Take a look, anyway. They offer a free trial version, so you can set it up and see if it would work or not before you decide to buy it.<!--content-->
To all the friends who responded:<br /><br />Thank you for your advice- looks like the consensus is that there is no shortcut to wisdom <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <br /><br />The idea seemed simple to me:<br /><br />A data base with 10 fields.<br />Which generates individual web pages.<br />And also generates alphabetical and regional index.<br />An online form to fill the 10 fields into the database.<br />An editing function to allow manual approval/editing of form contents.<br /><br />The static HTML part I can write, just have to grasp the php-database part... <br /><br />I guess not everything that I can diagram automatically creates itself <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> <br /><br />Again- thanks for the advice, and will welcome additional comments/ suggestions as well.<br /><br />Nablusi<!--content-->
<!--QuoteBegin-TCH-Bruce+Mar 12 2005, 01:57 PM--><div class='quotetop'>QUOTE(TCH-Bruce @ Mar 12 2005, 01:57 PM)</div><div class='quotemain'><!--QuoteEBegin-->You can pickup the Dummies series book called PHP & MySQL as a start. I find it to be quite informative for the beginner.<br /><div align="right"><a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=119272"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />That's exactly what I did, and surprisingly, this book is great. The chapter on session variables sucks, but for the rest, it's more than ok. I don't think you should have a lot of trouble building what you're talking about in your post. Also, the phpMyAdmin service you have in your cPanel will save you a lot of time building the required tables for your project. Good luck!<!--content-->
Thank you for the advice!<br /><br />I have started reading, and building a test database with mysql- hopefully it will all pull together.<br /><br />Nablusi<!--content-->
The "...for Dummies" series are pretty good. I have several and still use them quite extensively!<!--content-->
 
Back
Top