In response to my call for requests, Jack Hynes said...
I was trying to sort out a Mysql database with php front-end to sort out a list of films (so I could organise alphabetically or my year). Is there a way to do this easily using a Gnome program with GUI?My problem with Jack's question is that I really don't know which direction he's coming from. I figure there could be four possibilities:
- Jack needs to organize his movies and was thinking about writing a web app to do it, but decided to ask if Gnome has something already. In other words, Jack doesn't have a database already filled with information.
- Jack has a database filled with information and wants a front end to it instead of coding something in PHP.
- Jack wants to develop a PHP app which works well in Gnome.
- Jack loves PHP and wants an IDE for Gnome to develop his PHP application easily and intuitively.
1. Organize your movies using Griffith.I put them in the order of probability. Let's look at all four.
Griffith is a GTK+ application which organizes your music library. It supports back-ends using SQLite, MySQL, Postgres, and MS SQL. Given the movie name, you can get the details from one of thirty online services, including IMDB, of course. The application supports sorting by any of the columns and has user-defined views and searches.
It also keeps track of minutae like codecs, physical media type, and region coding. If you want to loan out part of your library, Griffith will even e-mail you a reminder to get it back from the deadbeat.
Griffith is really sharp and I recommend it if you use Gnome, Xubuntu, or LXDE. Another application which is native to Gnome is GnomeCatalog.
2. Getting to your existing MySQL (movie) database.If you already have a database and just need access to it, you can either continue to use the database or you can export it and use it within a new application.
If Jack just wants to get at the information in the database, he can export it to a CSV file and import that file into Griffith. Griffith can then look up any missing information on the Internet.
If Jack wants to continue using the database and wants to look it over while in Gnome, there are many ways to do that. One of the easier ones is to connect using the "Data sources" wizard in OpenOffice.org. Once he has connected, he can manipulate and sort the data just as if it were in a spreadsheet, using Writer to create custom reports.
If he doesn't want to use OO.o, he might take a look at Mergeant, a database admin tool for Gnome.
3. Develop GTK+ applications using PHPGKT-PHP is a great GTK+ binding for PHP. The latest release was just in May, so the project is still going strong. Jack can continue to use the PHP he knows and loves while making an application that works well in Gnome. Learning the binding will take a little work, but the tutorials and other documentation look really good.
4. PHP development environments for GnomeThe only thing that Free software has more of than "Hello World" programs are programming tools. There are several IDEs developed just for Gnome or GTK which can help Jack out.
The first and simplest way to go is GEdit (I realize it's not an IDE). GEdit gets a bad rap because it's small, but the plugin architecture makes it great for programming. In fact, I'm getting ready to write about the Latex plugin which has finally solved my Latex/Lyx/Texmacs dilemma.
When I did (really minor) web development stuff for my old school several years ago, Screem was already a mature and full-featured IDE for HTML and PHP. These days, it has many more features and handles CSS well, too.
GPHPEdit is another IDE specifically for PHP. I've never used it, though, so I'm not going to make an ass out of myself by pretending to have an opinion.
The final IDE JAck might want to take a look at is Geany. I used it for a little while before settling on Screem a few years ago. It didn't fit my style back then, but it has matured and Jack may have a different style to me.
Well, Jack, I hope that's answered your question. If it hasn't, and I've completely missed the point, be sure to tell me. You don't even need to be polite about it. ;)