kamaji792
September 11th, 2008, 06:14 AM
Hi,
This is a bit of an open question but I would be grateful for any advice.
I am about to start writing database for use where I work. I am settled on using MySQL for the database. The question I have is do I write the interface in PHP or Java. I am an experience programmer but new to PHP and I get on fine with Java, with the exceptions below.
PHP seems a nice way to go as it will be easy to set up, running in a browser. Looks fine if all you want to do it read the database. The problems I have come when trying to use it to write to the database it starts getting messy if you want error checking. Additionally I still have not worked out a good way of dealing with variable amounts of data (like say telephone numbers in a contacts database).
Java I really like as a programming language but I have never got to grips with laying out swing interfaces. Though when I have had to do it I usually manage to cobble something together. Why it does not come with a native way of positioning items using pixels I don't know.
Any advice or good books to read gratefully received.
This is a bit of an open question but I would be grateful for any advice.
I am about to start writing database for use where I work. I am settled on using MySQL for the database. The question I have is do I write the interface in PHP or Java. I am an experience programmer but new to PHP and I get on fine with Java, with the exceptions below.
PHP seems a nice way to go as it will be easy to set up, running in a browser. Looks fine if all you want to do it read the database. The problems I have come when trying to use it to write to the database it starts getting messy if you want error checking. Additionally I still have not worked out a good way of dealing with variable amounts of data (like say telephone numbers in a contacts database).
Java I really like as a programming language but I have never got to grips with laying out swing interfaces. Though when I have had to do it I usually manage to cobble something together. Why it does not come with a native way of positioning items using pixels I don't know.
Any advice or good books to read gratefully received.