Data source represents the core part of any application. Web application can get the benefit of multiple data sources at the same time. This paper, focuses on delivering a platform independent application. Web applications are popular due to the ubiquity of web browsers, and the convenience of using a web browser as a client to update and maintain web applications without distributing and installing software on potentially thousands of client computers is a key reason for their popularity. This paper compares two different sources, Microsoft access database and MY-SQL data source. The comparison has been made according to the simplicity of the design of both the systems and performance. PHP has been used to build and produce both systems, and WAMP server has been used to test the systems provided in this paper along with a mid-range computers. This paper, shows in practice that the PHP-MYSQL “couple” still applicable and usable and has the both free and fast benefits.
Web application has been the most desirable environment to produce platform independent applications, because of the high scope of end user application that can deal with web applications, any web browser can handle that job and there are a lot of choices [1].
Data sources can be the key factor in the design and implementation of any application [2].
Windows application is also considered a good choice for developers. A Universal Windows Platform (UWP) app is a Windows experience that is built upon the Universal Windows Platform (UWP), which was first introduced in Windows 8 as the Windows Runtime. At the core of UWP apps is the idea that users want their experiences to be mobile across all their devices, and they want to use whatever device is most convenient or productive for the task at hand [3].
Platform independency is considered as a huge advantage for the web development industry, no limits for the expected clients [4].
From the other side: PHP is considered as the widely-used and open source scripting language, theirs scripts are executed on the server and is free to download and use [5].
MY-SQL is an open source Relational Database Management System (RDBMS), in July 2013, it was the world's second most widely used RDBMS, and the most widely used open source client server model. RDBMS, MySQL is a popular choice of database for use in web applications [6].
It's interesting, at this point, to see what the typical PHP and MySQL application development framework looks like. Usually, such applications are developed on the so-called “LAMP” (Linux, Apache, MySQL, and PHP) platform, wherein each component plays a specific and important role:
Figure 1 illustrates these components in action.
Figure 1. LAMP Development Framework
Microsoft Access is a DBMS (also known as Database Management System) from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software development tools. It is a member of the Microsoft Office suite of applications, included in the Professional and higher editions or sold separately.
Microsoft Access stores data its own format based on the Access Jet Database Engine. It can also import or link directly to data stored in other applications and databases [8].
In this paper, the application used is a web application and the PHP scripting language has been used. PHP can handle many data sources, but which is the most appropriate and efficient?
Both Microsoft access database file and MY-SQL represent a good choice to build a database and to be used as a web based DBMS.
The main objective of the proposed study is to compare the performance and feasibility of both the data sources and which is the best couple (php-mysql or php-access).
To build both the systems, the following tools were used:
The design consists of three parts:
To understand the workflow of the work, it is best explained with the following scenario:
Figure 2. The Web Application Home Page
The databases used are:
Figure 3. My-SQL Table Creation Code using PHP Script
Figure 4. A Snapshot of the MY-SQL Table
Figure 5. Microsoft Access Table
The two web application proposed in this paper are very similar in the design and productivity and the work flow. The design is identical in both application but they differ if the workflow of data between the application and the database, where both applications have the same interface as shown in Figure 2. The application mainly consists of multiple actions that can be done to the database (search, view, copy to add, edit, delete).
To test the functionality and workflow of the proposed web applications, they had been accessed locally from different machines. The access time is as shown in the Table 1 and Table 2 (in seconds):
Table 1. The Response Time using Google Chrome
Table 2. The Response Time using Microsoft EDGE
The proposed application showed obviously that PHP-MYSQL couple still on top of the other competitor proposed in this study case.
The obtained results shows that, the design can easily enhance the whole application, in other words the data source is considered the key factor in such systems.
The browser has a great effect on the whole performance of the application, but the results shows a weird and ironic numbers for Microsoft. That is due to Microsoft access and Microsoft edge should be the perfect couple, but the numbers show another side of the story.
This kind of applications are a great addition to any institute or workplace because it replaces the normal and expensive DBMS's with an intelligent and platform independent and easy to use interface.