Will my design work?

This is a discussion on "Will my design work?" within the PHP Forum section. This forum, and the thread "Will my design work? are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 25th, 2005, 06:13
Tim356's Avatar
Reputable Member
Join Date: Nov 2003
Location: Australia
Age: 26
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Will my design work?

Hi guys,

Over the last 6 months I have been maintaining a horse classifieds site. The site was built by someone else (and the design is terrible), but I am in charge of adding new advertisments to it and other content when needed. It's a basic html site and over the last 6 months I must have updated it about 6-7 times and charged about $200 each time. I've told the owners that if it were created with a database backend, it would save them a lot of money as they could update the content themselves. They were really interested in this idea and want me to go ahead and create the new site. So here is how I plan for it to work:

The basic design is built and all looks the same. There will be a login for the admin.

When the admin wants to add new advertisements, they fill out a form. The form has set fields in it eg. Type of horse, age, sex, height, etc. It will also have 2 file uploaders, for images. Once the form is completed and submitted, the idea is this:
I have set templates already created, these templates will be opened and editted via php, and the field data inserted at certain points within the template code. The template will then be saved as a php file with a filename worked out from the form details (eg a spanish colt will get the filename adSC001.php, with the next spanish colt getting adSC002.php etc). The database table that contains the listings will then be updated with the new page link and title.

I may even make it so that people wanting to place ads can fill in the form themselves, with the admin approving their ads after payment is received and the ad is approved by them.

So, with all the knowledge thrown around in this forum, can you guys have a think about what I have just explained above and tell me if there is a better way of doing this? Or if you can see any problems with it working this way?

Also, is it even possible to do it this way? I mean, I know I can edit the contents of a file using php, but can I insert in certain areas of a file as I have explained?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 25th, 2005, 10:58
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Yes it's quite possible to do it that way, but have you considered also editing the files? You'll have to make sure there are obvious markers that you can edit the file by as well.

Also, I think it might be a better idea to have a more comfortable file naming structure, both for you, your visitors and the search engines. Use real words in the filenames, so instead of adSC001.php try spanish-colt-001.php - that should help you out a lot.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 25th, 2005, 11:03
Tim356's Avatar
Reputable Member
Join Date: Nov 2003
Location: Australia
Age: 26
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Karl, knew I could count on your advice.

I hadn't thought of editting the files, no. But I could include before and after markers around the data, so that shouldn't be a problem - but thanks for bringing it up now before it was too late.

The only reason why I was going for the names of files that I suggested is because they are currently like that, and for some reason the owner likes it that way (even though they never have to deal with the files for any reason). But I guess this will be a completely new version, so I think I will follow your suggestion.

Thanks again for the advice - I'll no doubt be posting again once I really get started with it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 25th, 2005, 11:14
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
It could of course, also be easier to have the content in a database and avoid using files altogether... that's probably what I'd do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jul 25th, 2005, 11:27
Tim356's Avatar
Reputable Member
Join Date: Nov 2003
Location: Australia
Age: 26
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
So how would I have each advertisment on it's own page?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
design, work

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Design Work crackafaza Job Opportunities 0 Oct 16th, 2007 11:57
how do you get web design work? Gerry Webforumz Cafe 15 May 13th, 2007 21:07
Trying to get div design to work Sykoi Web Page Design 14 Dec 20th, 2006 11:59
Freelance Web Design Work ablaye Job Opportunities 0 Apr 23rd, 2006 02:50
Freelance design work pedroartois Job Opportunities 2 Feb 23rd, 2006 21:49


All times are GMT. The time now is 15:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42