It sounds like Microsoft Access is not a favorite among programmers
Quote:
here. But I'm afraid I'm stuck with it (for now at least), since our
company has been using it for about 4 years and we don't have the
resources/time right now to switch over to another system (though I
like Dikkie Dik's advice of a progressive transfer).
>
That being said, I'm actually wondering if PHP is the best language to
use for connecting our Access database to the website based on your
comments?
That's a tough question. There is no "best" language. Every language has
its own pros and cons. PHP and MySQL are such an often used combination
that it is hard to be wrong with that. But PHP does not bite Access.
One of the pros of PHP is that it is easy to find a provider that
supports it. These providers will not necessarily support Access to be
installed on their system though. If you are hosting a site yourself or
building an intranet application within your own office, that's no problem.
But if the database gets large, Access has a commercial limit built in,
so I heared. Not that I ever built a database that large. Not even in
MySQL or SQL Server.
What the best language is, depends on your skills, systems and
preferences. Off course, Access goes well with ASP or ASP .NET too. And
maybe you can use it with Ruby On Rails...
Quote:
What I know is that we're currently using PHP (written by
another technician) to have our website forms filter data into email
accounts, so that the data can be manually entered later on in Access.
You say it's possible, Kasper, to combine Access and PHP, but not that
common. So maybe the best thing is to switch to another database
system. At the same time, I don't fully understand some of your
suggestions. For example, are softwares like SQLite or MySQL a
replacement for your Microsoft Access database, or are they associate
programs to help connect your existing databases to your website? The
idea of transferring our existing data into another software seems
rather daunting.
MySQL is more like SQL Server than like Access. MySQL is a full blown
database server. No fancy forms, reports, wizzards, etc.
Migrating databases is not that difficult. Your source code in PHP must
be ready for the change, so an abstraction layer is useful. I don't know
if your PHP code is object-oriented, or if you are familiar with the
terms. It means that you define generic "database" or "query" objects,
of which you can build both MySQL and Access variants. There are
probably enough database layers available if you don't want to write one
yourself.
Getting the data over to another database is easy with access. Simply
create linked tables to the new database and run some queries. Remember
that if you want to query a linked table to a database server with
Access, a pass-through query is much faster, but is written in the
server's SQL dialect.
Good luck