0% found this document useful (0 votes)
18 views

Overview: PHP and Mysql Features For Creating Modern Web Projects

The document discusses PHP and MySQL features for creating modern web projects. It provides an overview of PHP's popularity due to its economy, scalability, simplicity and compatibility. It also reviews common PHP implementation areas and top PHP frameworks. The document discusses user authentication and personalization mechanisms important for modern commercial web projects. It analyzes PHP properties and how MySQL is widely used for dynamic web projects.

Uploaded by

mortezazare8901
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Overview: PHP and Mysql Features For Creating Modern Web Projects

The document discusses PHP and MySQL features for creating modern web projects. It provides an overview of PHP's popularity due to its economy, scalability, simplicity and compatibility. It also reviews common PHP implementation areas and top PHP frameworks. The document discusses user authentication and personalization mechanisms important for modern commercial web projects. It analyzes PHP properties and how MySQL is widely used for dynamic web projects.

Uploaded by

mortezazare8901
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

International Journal of Academic Information Systems Research (IJAISR)

ISSN: 2643-9026
Vol. 7 Issue 1, January - 2023, Pages: 11-17

Overview: PHP and MySQL Features for Creating Modern Web


Projects
Svitlana Sotnik1, Volodymyr Manakov2, Vyacheslav Lyashenko2
1Department of Computer-Integrated Technologies, Automation and Mechatronics, Kharkiv National University of Radio
Electronics, Ukraine
2Department of Media Systems and Technology, Kharkiv National University of Radio Electronics, Ukraine
e-mail: [email protected]

Abstract: In this paper, overview of PHP and MySQL features for creating modern Web-projects is carried out. The issues of PHP
wide distribution are considered. If we generalize, popularity of PHP lies in its economy, scalability, simplicity, compatibility. A
review of PHP programming popular areas implementation is carried out. Also in work are considered three top PHP frameworks.
The paper discusses in detail mechanisms of processes of users authentication and personalization, since this is important and
relevant for modern commercial Web-projects. The properties of PHP are analyzed.
Keywords—overview; PHP; MySQL; Web-project; framework
is more functional Web site that becomes even more
interactive depending on user and what he needs from Web
1. INTRODUCTION
site.
To date, Internet is integral part of human life, because
For dynamic Web projects, MySQL is actively used.
functioning of modern both organizational and organizational-
technical objects that are used in various spheres of human MySQL is widely used database management system
activity lead to increase in information [1], [2]. In this case, (DBMS), which is used in online environment.
various methods and algorithms can be used [3]-[14]. Since it
Without databases, writing logic of Web project and saving
is possible to create Web application in almost any field,
user data is impossible, so topic is relevant, and use of PHP to
therefore, every year number of resources with constantly
create dynamic projects is supported by most hosting providers
updated information in different areas is growing in avalanche
since it is one of most popular tools.
[15], [16].
2. RELATED WORK
There are number of programming languages and
technologies for Web-development, which is updated Currently, PHP is supported by vast majority of hosting
annually, while some developments are released under brand providers, which makes it almost main language with which
of technical corporations, and there are those that are created you can develop any Web project, therefore, there is lot of
for experimental purposes. work in this area.
For Web development, both client-side and server- Online guiding framework based on multimedia and PHP
side,following languages exist: CSS/HTML, PHP, SQL, under influence of new Coronavirus is studied in [19]. The
JavaScript, Perl, Python, Ruby. authors proposed efficient model designed to evaluate
performance, and fuzzy clustering with mining analytics
The most widely used are CSS/HTML and JavaScript,
platform is jointly proposed for analysis.
although there are group of Web programmers who prefer PHP
programming language without paying attention to its many The use of PHP and MySQL in education is discussed in
competitors. [20]. The authors reviewed process of developing and
deploying student forums using PHP and MySQL
The process of creating Web projects usually consists of
technologies. The forum uses Web-technologies and allows
two stages: Web design and Web programming, although there
you to access messages in same way as on Web page – by
is no clear boundary between them.
clicking on hyperlink.
When developing Web-projects, such feature as static or
Application of PHP and MySQL in field of catering in [21].
dynamic project is taken into account [17], [18].
Information system, which is created on basis of PHP and
A static project is unchanged for all users visiting it. Pages CSS, MySQL as connection to database [21]. Information
on static Web site remain unchanged despite any clicks or system for Sat Nusapersada, which is food supplier. It is
further navigation that user performs. business management information system in PT canteen. Sat
Nusapersada on Web site using waterfall SDLC method,
Dynamic project – can be changed for each user who visits
which aims to assist employees in ordering food, is one of
it. Such Web-project is more responsive to actions of user. This
goals in creating this system.
www.ijeais.org/ijaisr
11
International Journal of Academic Information Systems Research (IJAISR)
ISSN: 2643-9026
Vol. 7 Issue 1, January - 2023, Pages: 11-17
Application of PHP and MySQL in field of business [22].
The result of study is e-commerce website that was designed
to be used to improve business processes managed by Givaro
Table 1: Advantages and disadvantages of PHP framework
Petshop.
CodeIgniter
The application of PHP and MySQL in field of medicine Name Advantages Disadvantages
[23], which describes Web-visualization of medical data and - open source;
exchange of information for use in distributed diagnostics. - simple interface;
Web visualization is implemented thanks to networked - does not require
collaborative software platform. By imaging, authors mean large amount of - weak caching
displaying medical data in high quality and in real time in resources; system;
modern Web browsers via Internet and interactively - page generation - no registry
examining medical data. The Apache HTTP Web server, speed; pattern;
MySQL database, HTML5 and PHP server scripting language - has no - there is no
were used to develop software platform. CodeIgniter restrictive coding emphasis on
rules; code support;
Thus, PHP is quite relevant in any sphere of human life, as
- high - components
evidenced by works aimed at study of language.
performance of are loaded and
In [24] approach to detecting vulnerabilities in PHP source framework; procedures are
code. Such study takes place using hybrid technique that - large number of performed
combines closed recurrence units and graph convolutional standard libraries only on
networks to detect SQLi, XSS and OSCI. and classes; demand, not
- it requires zero globally.
Vulnerabilities that use both syntactic and semantic
configuration for
information.
users to start
Evolution of Web and developing Web application; Web with;
application frameworks in [25]. - is free.
3. BRIEF ANALYSIS OF PHP FEATURES
CodeIgniter is in demand because of its convenience and
The most popular and time-tested languages for creating speed. CodeIgniter has built-in caching system. Uses MVC
Web-projects: HTML / CSS, JavaScript, Python, PHP. controller approach [26], [27].
PHP is simple language that has huge capabilities and is Next, consider CakePHP – framework is one of most
constantly evolving. preferred frameworks by developers as it is characterized by
simplicity of testing and debugging any application after its
One of languages for developing Web-projects is PHP,
development, which helps in identifying errors and fixing
which is scripting programming language [17].
them. CakePHP can be used by small and enterprise
PHP has become widespread because: enterprises to create Web projects (Table 2).
- It is compatible with all major operating systems; Table 2: Advantages and disadvantages of PHP framework
CakePHP
- high processing speed;
Name Advantages Disadvantages
- support at any time, - one-way
- open source;
routing
- Easy to edit/add/delete according to need; - simple interface;
compared to
- high
- Distribution of the output code with its license. other
compatibility;
frameworks;
Often, frameworks are often used to write original program - free use for
CakePH - there are
code more efficiently and quickly, since Web applications development;
difficulties in
have a complex structure. - minimization of
development
project assembly
Frameworks facilitate scalability and long-term and
time from scratch;
maintenance while adhering to development standards and implementation;
- has simple
keeping code organized. - document
caching
support for Cake
One of most powerful PHP frameworks with small size is operations;
PHP is not that
CodeIgniter, which is designed for those who have simple but - no pre-
supportive;
elegant toolkit for creating full-featured various Web projects. configuration is
- need to update
Let's analyze this framework (Table 1). required;
default routes in

www.ijeais.org/ijaisr
12
International Journal of Academic Information Systems Research (IJAISR)
ISSN: 2643-9026
Vol. 7 Issue 1, January - 2023, Pages: 11-17
- it requires zero CakePHP, which frameworks discussed above work with good old Model-
configuration for is complex task View-Controller [29], [30].
users to start in PHP.
Implementing and learning PHP is always bit of chore.
with;
- is free. The PHP language is used to create such projects as: Digg,
Facebook, Flickr, Wikipedia, WordPress, Yahoo and
YouTube (Fig. 1), which are world-famous and have long been
stably used in life of modern society, so PHP language is
CakePHP is in demand because of its speed and also helps considered one of advanced languages for Web-programming.
to separate business logic from data layer and presentation
layer. CakePH supports MVC model [27], [28]. Open access is most attractive feature of PHP for
developers.
Another popular framework is Symfony. This framework
was chosen for analysis because it has already been considered PHP can also be considered in terms of applications:
with small size, and now symfony consists of set of reusable
- social networks (for example, Digg, Facebook);
PHP components and codes that are mainly used for large-
scale Web projects. Often developers choose it. Symfony, as - Ecommerce (for example, Etsy, OpenCart, Magento,
well as above systems are distinguished by reliability and Prestashop);
simplification of processes at high level. Symfony has
- Blog, CMS (for example, Tumblr, WordPress);
established itself as foundation for Web services. It contains
reusable PHP libraries and components. Symfony greatly - Others – this group includes information directories (such as
simplifies integration with JS frameworks, which is also Wikipedia), search engines (Baidu, Yahoo); Fotolia, Canva,
significant in development. Symfon supports significant etc.
number of databases: Oracle, Microsoft SQL Server, My SQL,
etc.
Let's analyze this framework (Table 3).
Table 3: Advantages and disadvantages of PHP framework
Symfony
Name Advantages Disadvantages
- open source;
- flexible routing
of URIs;
- parsing files is
- opportunities for
very difficult to
scaling and
handle;
expanding
- bit complicated
functionality;
security
- high flexibility
mechanism;
of adjustment;
Symfony - somewhat
- high
difficult to learn
performance of
compared to
framework;
other
- allows you to Figure 1: Examples of projects implemented on basis of PHP
frameworks;
use many plugins
- documentation
for any additional
sometimes lacks
task; In Fig. 2 lists applications of PHP.
explanation,
- Symfony uses its
especially when
own Doctrine;
it comes to
- availability of
package outline
integration with
of its creators.
most services and
CMS;
- is free.

So, Symfony is often used to develop large-scale Web


applications, not small-scale ones. Symfony as well as two

www.ijeais.org/ijaisr
13
International Journal of Academic Information Systems Research (IJAISR)
ISSN: 2643-9026
Vol. 7 Issue 1, January - 2023, Pages: 11-17
4. FEATURES OF MYSQL
Development of Web-projects includes:
- Frontend development – external interface part is created
in programming languages HTML, CSS, JavaScript, Ajax.
- Backend development – creation of internal part, that is,
invisible to client structure (database, server, business logic).
There is not single serious Web project that would not use
database, although there are always exceptions – advertising
or information pages. Such Web-projects do not provide for
performance of any actions on part of user, except for
familiarization with product.
There are cases when interaction with users is necessary,
for example, during creation of online store, here connection
of database is main stage, since without it writing logic of site
and saving user data is impossible.
Figure 2: PHP Applications
To create database, there are database management
systems (DBMS), and there are many of them, as well as
programming languages.
Let's analyze some of PHP language properties (Table 4).
In this study, MySQL is chosen because it is quite popular
Table 4: PHP Language Properties among most Web programmers. Such popularity is due to fact
Properties PHP that MySQL allows you to conveniently and quickly search for
Open Source + necessary records and implement data manipulation: add and
+ delete data, sort, in addition, provides simple and reliable
Cross-platform (Windows, Unix and security system while providing free license (Fig. 3).
Linux, MacOS)
Scalability Good MySQL Database Server is multi-platform open source
It is supported by database platform.
almost all hosters.
As rule, hosting service
Hosting
packages provide PHP
support at no additional
cost.
Addition to other
+
languages
HTML Integration Simple
MySQL support Native
Web Services Support Integrated
+
(including Apache,
Microsoft IIS,
Server Support
Netshkape, Iplanet,
Caudium, Sieves and
Tornadoes)
+
Database support Oracle, MySQL,
MongoDB, PostgreSQL
Figure 3: Basic MySQL Functions
Sometimes PHP is called hypertext preprocessor when
there is direct interaction of PHP with standard markup
The well-known Facebook, Yahoo, YouTube, and many
language of HTML Web projects.
other large Web sites also use MySQL to store data.
PHP supports MySQL, Oracle and MS Access.
A combination of PHP and MySQL tools is quite effective.
Thus, language is quite convenient for client. For example, you can solve issues of identifying Web user,

www.ijeais.org/ijaisr
14
International Journal of Academic Information Systems Research (IJAISR)
ISSN: 2643-9026
Vol. 7 Issue 1, January - 2023, Pages: 11-17
since information that browser can provide is simply not 3. Shopping cart, which allows you to track goods that
enough. buyer is going to buy.
Therefore, process of user identification is authentication. 4. A settlement scenario that processes payment and
The primary purpose of authentication is to allow or deny delivery items.
access to certain resources.
5. Administration interface, which allows you to edit
Example of user authentication (login) and password. catalog (Fig. 4).
Authentication can also be used for another purpose, for
One example of using PHP and MySQL is process of
example, for personalization – that is, if it is desirable to know
developing PHP and MySQL-based mailing list manager.
real name of visitor, email addresses, phone number, etc. The
Here system allows administrator to create several mailing
authentication process includes following steps:
lists and send newsletters separately. Users will also be able to
1. If user seeks to get to closed parts of site, he sees form subscribe to any mailing lists that are offered by Web
with an offer to enter login and password. applications.
2. The form is sent, and received data is compared with real After analyzing development process, let's highlight that to
login and password of existing (registered) user. create mailing list manager, you need:
3. If these data coincide, it is considered that user is - have ready base of subscribers to Web-site;
authenticated and accesses previously closed part of site.
- create database of lists and newsletters;
4. When page is reopened, user is not obliged to re-enter
- implement sending messages to e-mails using HTML-
password if he has done so earlier during this session.
classes. In this case, database for this mechanism should store
5. Saving personal data of users is implemented by creating following information:
databases by means of MySQL.
- lists that are available for mailing;
After registration and authentication of user, it will be
- users of system and their preferences;
possible to track interests of users and display recommended
content for them (personalization) [31], [32]. - record lists to which users have subscribed;
The study found that there are many ways to personalize - record about sent letters to e-mail;
content. This aspect depends on policy of Web projects. One
- images, as it is necessary to be able to send letters that
of most common is principle of "similarity of interests". The
consist of several files: text, HTML-code and set of images
essence of method is to find other users who viewed same page
[33].
as this user, and invites latter to visit rest of pages viewed by
these users. The implementation of this method is possible
thanks to use of queries and MySQL, during which users with
similar interests are identified.
As another example of using database, let's briefly consider
method that is based on experience of past purchases – user is
offered items (product names) with similar theme. The latter
can also be implemented using database that will contain
corresponding tables with products and their categories.
So, two methods considered often correlate with each other
and are found everywhere on Web.
Consider reason for use of databases in e-business, for
example, for online stores, in addition to ways to offer their
goods, there is need to implement interactive mechanism for
placing order. In Web programming, such mechanism is called Figure 4: Logic of electronic basket on part of user
"shopping cart". The essence of mechanism is possibility of
adding individual items during revision of catalog, after which
buyer pays store using certain payment system. The bulk of such project is stored in single index.php file,
to which additional files are attached, in which additional
If we consider process of implementing "basket of buyers", functions are attached, that database.
then following elements are necessary:
An open source software environment, PHP (personal
1. Database of products that will be sold in online store. homepage), scripting language and MySQL database offer
2. Interactive catalog of products by categories.

www.ijeais.org/ijaisr
15
International Journal of Academic Information Systems Research (IJAISR)
ISSN: 2643-9026
Vol. 7 Issue 1, January - 2023, Pages: 11-17
alternative, efficient and cost-effective solution for creating [4] Matarneh, R., & et al.. (2017). Building robot voice
data-driven, dynamic and personalized Web applications [20]. control training methodology using artificial neural net.
International Journal of Civil Engineering and
5. CONCLUSION
Technology, 8(10), 523-532.
In this paper, overview of PHP and MySQL features for [5] Sotnik, S., & et al.. (2017). System model tooling for
creating modern Web-projects is carried out. The issues of injection molding. International Journal of Mechanical
wide distribution of PHP are considered, it is determined that Engineering and Technology, 8(9), 378-390.
due to dynamic nature of PHP, changes can be implemented at [6] Lyashenko, V., & et al.. (2016). The Methodology of
any stage of development without loss of time, which is Image Processing in the Study of the Properties of Fiber
relevant today. as a Reinforcing Agent in Polymer Compositions.
If we generalize, popularity of PHP lies in its economy, International Journal of Advanced Research in Computer
scalability, simplicity, compatibility. Science, 7(1), 15-18.
[7] Lyashenko, V. (2014). Efficiency of bank crediting of real
A review of popular areas of PHP programming
implementation was conducted – start-ups, advertising and sector of economy in the context of separate banking
media agencies, as well as small software development groups: an empirical example from Ukraine.
International Journal of Accounting and Economics
companies.
Studies, 2(2), 74- 79.
The paper also considers three top PHP frameworks: PHP [8] Kuzemin, A., & Lyashenko, V. (2006). Fuzzy set theory
frameworks with small size – CodeIgniter and CakePHP, as approach as the basis of analysis of financial flows in the
well as Symfony, which is often used for development as economical security system. International Journal
large-scale Web applications. It has been determined that Information Theories & Applications, 13(1), 45–51.
modern Web-frameworks advertise yak MVC-frameworks.
[9] Maksymova, S., & et al.. (2017). Voice Control for an
Their common features include: open source, simple interface
Industrial Robot as a Combination of Various Robotic
and free.
Assembly Process Models. Journal of Computer and
As result of study, it was determined that PHP Communications, 5, 1-15.
programming language is powerful tool for implementing any [10] Abu-Jassar, A. T. S. (2015, October). Mathematical tools
complex Web project. for SDN formalisation and verification. In 2015 Second
PHP has not lost its popularity and at same time MySQL International Scientific-Practical Conference Problems
database management system allows you to create flexible and of Infocommunications Science and Technology (PIC
deep system for working with user data. S&T) (pp. 35-38). IEEE.
[11] Jassar, A. A. (2018). An analysis of QoS in SDN-based
The paper discusses in detail mechanisms of processes of network by queuing model. Telecommunications and
users authentication and personalization, since this is Radio Engineering, 77(4), 297-308.
important and relevant for modern commercial Web-projects.
[12] Lyashenko, V., & & et al.. (2021). Recognition of Voice
Also, examples of modern technologies of Web-projects Commands Based on Neural Network. TEM Journal:
interactivity were studied, as well as logic of their work, basic Technology, Education, Management, Informatics,
requirements for their creation and development aspects that 10(2), 583-591.
are characteristic of PHP programming language were [13] Lyashenko, V., & et al.. (2015). Experiments with Fusion
considered. The properties of PHP and basic functions of of Images with Use of Wavelet Transformation in
MySQL are analyzed. Problems of the Text Information Analysis. International
6. REFERENCES Journal of Engineering Research and General Science,
3(6), 14-20.
[1] Lyashenko, V., & et al.. (2021). Semantic Model [14] Al-Sherrawi, M. H., & et al.. (2018). Corrosion as a
Workspace Industrial Robot. International Journal of source of destruction in construction. International
Academic Engineering Research, 5(9), 40-48.
Journal of Civil Engineering and Technology, 9(5), 306-
[2] Mohammad, A, & et al.. (2018). Informational and 314.
Structural-Parametric Models of Inductions
[15] Sotnik, S., & Lyashenko, V. (2022). Prospects for
Micromotors. IOSR Journal of Electrical and Electronics Introduction of Robotics in Service. Prospects, 6(5), 4-9.
Engineering (IOSR-JEEE), 13(2), 66-76.
[16] Tatroe, K., & MacIntyre, P. (2020). Programming PHP:
[3] Mustafa, S. K., & et al.. (2020). Using wavelet analysis to
Creating dynamic web pages. O'Reilly Media.
assess the impact of COVID-19 on changes in the price
of basic energy resources. International Journal of [17] Butler, T. (2022). PHP & MySQL: Novice to Ninja.
Emerging Trends in Engineering Research, 8(7), 2907- SitePoint.
2912. [18] Zhang, Y., & Gao, X. (2020, July). Implementation of
Online Guiding Framework based on Multimedia and
www.ijeais.org/ijaisr
16
International Journal of Academic Information Systems Research (IJAISR)
ISSN: 2643-9026
Vol. 7 Issue 1, January - 2023, Pages: 11-17
PHP under the Influence of New Coronavirus. In 2020 between characters during the authentication process.
International Conference on Electronics and Sustainable Lecture Notes in Engineering and Computer Science,
Communication Systems (ICESC) (pp. 619-623). IEEE. Newswood Limited–International Association of
[19] Chu, R., & Walker, E. F. Building Student Forums with Engineers, 213-217.
PHP and MySQL Technologies. [33] Kromann, F. (2018). Beginning PHP and MySQL: from
[20] Veza, O., & et al.. (2020). Sistem informasi novice to professional. Apress.
PENGELOLAAN bisnis pada kantin PT. Sat
Nusapersada Batam: Business management information
system at the cantine of PT. Sat Nusaersada Batam.
Engineering and Technology International Journal, 2(1),
55-69.
[21] Deineko, Zh., & et al.. (2021). Features of Database
Types. International Journal of Engineering and
Information Systems (IJEAIS), 5(10), 73-80.
[22] Setyabudhi, A. L., & Alfika, N. (2021). Rancang Bangun
Sistem Ecommerce Berbasis Web Dengan Model
Business to Consumer Pada Olshop Princess Na.
Engineering and Technology International Journal,
3(01), 15-25.
[23] Zhang, Q. (2019). Web-based medical data visualization
and information sharing towards application in
distributed diagnosis. Informatics in Medicine Unlocked,
14, 69-81.
[24] Rabheru, R., Hanif, H., & Maffeis, S. (2021, March).
DeepTective: Detection of PHP vulnerabilities using
hybrid graph neural networks. In Proceedings of the 36th
Annual ACM Symposium on Applied Computing (pp.
1687-1690).
[25] Forte, L. (2016). Building a Modern Web Application
Using an MVC Framework.
[26] Welling, L., & Thomson, L. (2004). PHP and MySQL
Web Development (Developer's Library).
[27] Hustinawati, H., Kurnia Himawan, A., & Latifah, L.
(2014). Performance Analysis Framework Codeigniter
and CakePHP in Website Creation. International Journal
of Computer Applications, 94(20), 6-11.
[28] Li, X., Karnan, S., & Chishti, J. A. (2017, November).
An empirical study of three PHP frameworks. In 2017 4th
International Conference on Systems and Informatics
(ICSAI) (pp. 1636-1640). IEEE.
[29] Laaziri, M., & et al.. (2019). A comparative study of
laravel and symfony PHP frameworks. International
Journal of Electrical and Computer Engineering, 9(1),
704.
[30] Abutaleb, H., Tamimi, A., & Alrawashdeh, T. (2021,
July). Empirical Study of Most Popular PHP Framework.
In 2021 International Conference on Information
Technology (ICIT) (pp. 608-611). IEEE.
[31] Rahman, A., & Haviluddin, H. (2016). Implementation
of Bandwidth Management Authentication. International
Journal of Computing and Informatics (IJCANDI), 1(1),
1-8.
[32] Kardava, I., & et al.. (2021). Individual management of
MySQL server data protection and time intervals
www.ijeais.org/ijaisr
17

You might also like