I’m currently creating a movie review website in PHP an SQLite. I’m taking a very object orientated approach. For example, all database access goes through an object. Adding a review is as simple as calling a function with the proper data. Here is the function header: addReview($assocArrayReviewData, $assocArrayReviewBlockData) Each parameter is an associative array that corresponds to fields in the database. While I don’t want to get into too much detail, the second variable is actually an array of arrays, where each one holds a block of review information (eg: “What the box says”, “funny quotes”, “My thoughts”). The best thing about is is that once I create the administration interface I can just call that one function with the correct parameters and bam, a new review. The class also has a built-in search function (that could be used on the internal or external site). My next class that I created for primarily for the administration area. It’s an html tag class object. You might...
Computers, programming, software development, AI, design, and more!