This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes PHP and the fly likes Logic behind clipboard Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Languages » PHP
Bookmark "Logic behind clipboard" Watch "Logic behind clipboard" New topic

Logic behind clipboard

egbai mmumene
Ranch Hand

Joined: Sep 18, 2012
Posts: 46
Hi, trying to write a movie review site with php, theres suppose to be a section where visitors can paste comments(clipboard) i dont know how to plot the logic and how to structure the database
Nick Charles
Ranch Hand

Joined: Oct 09, 2011
Posts: 71

The database table should be fairly obvious - you need three columns: a movie reference, a user reference (you will require people to log in to make comments, right?), and the comment.

The web page should be fairly simple also. Once the user logs in there is a comment field and a submit button. Above or below that would be the other comments. Most PHP tutorials start with something very similar - a page where you can enter data into a form and the data is displayed in a table on the same page. Same idea here.

That should be enough to get you started.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Logic behind clipboard
jQuery in Action, 3rd edition