Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-10-2007, 10:07 PM   #1
Member (5 bit)
 
Join Date: Aug 2003
Posts: 30
help me with some logic PLEASE!

I have experience programming in VB, cobol, java, C++ (although awhile ago) and am struggling with some logic for a webpage I am trying to make using Dreamweaver (first time user of dreamweaver)

I'm trying to make a site that will need to be updated 4 or 5 times a week. ( I will be posting reviews about bands that play in the area). So I need it function similiar to a blog but I DO not want to use any blog sites.

I want to have 10 short reviews posted on my home page, in date order. However, when it comes time to add the 11th review I dont know what to do. The oldest review will need to be removed from the homepage so the 11th post can be added but I also want to save all the reviews. (My plan is to have an option where u can search or browse all reviews from a 'search page'.)

I would prefer to have some sort of admin page where I can input the latest review, click submit, and it will automatically remove and store the oldest entry and then add my new review.

I just cant think how to do it. Should I save my reviews in a text file? or in a database? If yes, I cant figure out the logic ...how do i say ...input latest 10 reviews into homepage; else; add to archives page...

also not sure if this is something taht could easily be developed in Dreamweaver.

any ideas what the easiest way to implement my idea would be great.
Ortica is offline   Reply With Quote
Old 07-11-2007, 01:03 AM   #2
Member (9 bit)
 
Join Date: May 2007
Location: USA, New Jersey
Posts: 447
I'm thinking you need to use a programming language like PERL or VB.
Do you have MS Excel? If so you could do it all in VBA.

Have all your reviews in one common text file (or Excel spreadsheet), where you
can add the latest review to either the top or bottom of the document. Then
have the code create the webpage *.htm file using only the latest 10 reviews.

You would do all the review writing on your local computer, run the code to
create a new *.htm file and then upload the file to your website.

If you desire to do everything from online, then I think a programming language
such as PERL would be the way to go.

---pete---
Petef56 is offline   Reply With Quote
Old 07-11-2007, 02:20 PM   #3
Wx geek
 
blue60007's Avatar
 
Join Date: Aug 2005
Location: Indiana
Posts: 6,638
Why not find some blog software to install on your website? Sure you could custom create your own system but something that has a whole team of developers would work with a lot less headache and would be more secure. Also, why re-invent the wheel?

I know this isn't really what you had in mind but it seems like the simpliest solution to me.
__________________
"It is the way of man to make monsters and it is the nature of monsters to destroy their makers."
blue60007 is offline   Reply With Quote
Old 07-11-2007, 10:26 PM   #4
Member (5 bit)
 
Join Date: Aug 2003
Posts: 30
ive been doing some reading and think i may go with mysql and php
Ortica is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Acronyms Floppyman Computer Hardware 156 06-18-2006 06:25 AM
Partition Logic 0.61 redbaron_snoopy Computer Hardware 2 05-02-2006 03:27 AM
opinions about my hd allocation logic, please chunkstyle Computer Hardware 5 03-29-2004 12:29 AM
Logic Problem cameroth General Discussion 17 06-04-2003 04:40 AM
hd quantum fireball cx 13.5 logic board burned out predragj Computer Hardware 1 03-09-2002 04:23 PM


All times are GMT -5. The time now is 07:30 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2