LARAVEL A PHP Framework For E-Commerce Website
LARAVEL A PHP Framework For E-Commerce Website
Abstract- In the modern era, as technologies are getting levels which are infrastructure, services, and product
advance, the work related to them are also getting advance. structures [1]. PHP (Hypertext Preprocessor) is an open
Today’s business is totally dependent on the internet and to source general-purpose scripting that is generally used for
run a business we need the help of the internet so that it can web development. It is a powerful language that is used for
grow at bulkier expanse. Everyday humongous amount of data developing dynamic and interactive web applications.
and personal information has been transmitted and retrieved. According to web w3techs.com PHP is the most commonly
With the brisk development of internet technology in used scripting languages on the internet with 82% coverage
contemporary years, online business is gradually rampant. shown in fig.1
Web users are very demanding and they foresee web services
to be easily and quickly accessible from other places around
the world all the time, whenever they need it. Web users always
need quick and rapid responses. With the broadening trend of
the internet, it turns out to be an essential part of our life.
Website development is a process that takes time and if done
by the basic language it takes more time which is not
compatible with this fast and developing world of technologies.
So to overcome these problems related to web development
frameworks are developed. Frameworks are used so that we
can create websites conveniently. This paper generalizes the
concept of e-commerce website with a framework. What
parameters we have to look upon so that we can prepare a
website without any Hassel. This research paper also concludes
what advantages did Laravel had on other frameworks, and
how it is different to work on Framework. Electronic
commerce as the name suggests electronic means through
digital instruments or through the World Wide Web and
commerce suggest the business so it combined means business
through the World Wide Web which is on gravitate. Fig: 1. PHP coverage in the market.
LARAVEL is a free open source PHP framework. Frameworks
are on go, as there is no need to write whole code. PHP is taking over all the market of web development but to
develop website one should have the knowledge of PHP
Keywords- PHP, electronic-commerce, PHP frameworks, language and other it’s supporting tools like CSS and
database SQLite, LARAVEL. javascript [10]. PHP coding is done in HTML web pages. To
build a website in PHP is time-consuming and it required a
I. INTRODUCTION lot of technical understanding. Sometimes we have to write
The World Wide Web is burgeoning very hasty and due codes many times in the same project to overcome these
to this, the requirement for server-side scripting languages is problems frameworks are built. In the modern IT industry, it
an upsurge. Due to this upsurge, the urgency for a very is imperative for web developers to aware about at least one
effective and easy way for web development is required. Till battle-proven Framework. Laravel is classified among one of
now, web technology has reached a new standard. The online the most successful PHP frameworks in 2019, based on
market is crop up day by day which required developers to annual framework popularity survey conducted by SitePoint
produce increment in the World Wide Web, everyone is (SitePoint, the best PHP frameworks for 2019: SitePoint
trying to expand his or her business through web applications survey Results, cited, 3.3.2019 shown in fig 2). There are
as it is very cheap as compared to traditional approaches[15]. abounding advantages and benefits of using web PHP
Many firms are conducting e-commerce business as firms frameworks. Frameworks are used to overcome the problems
value is increased with less significant in a type of products that we face with the usage of PHP. These PHP frameworks
sold and e-commerce are likely to have significant future provide us the ease of website development. PHP
benefits for firms. But for this web programming language is frameworks promote rapid application development (RAD),
required [1]. Electronic commerce is buying and selling of which saves our time, helps in building a more stable
goods and services online or transferring funds or data over application by reducing the development time for the
an electronic medium. E-commerce consists of three meta- developers.
Authorized licensed use limited to: UNIVERSIDADE DE SAO PAULO. Downloaded on July 24,2024 at 18:51:00 UTC from IEEE Xplore. Restrictions apply.
978-1-7281-0899-5/19/$31.00 ©2019 IEEE 503
2019 Fifth International Conference on Image Information Processing (ICIIP)
Authorized licensed use limited to: UNIVERSIDADE DE SAO PAULO. Downloaded on July 24,2024 at 18:51:00 UTC from IEEE Xplore. Restrictions apply.
504
2019 Fifth International Conference on Image Information Processing (ICIIP)
coded; we just have to the module this information according • Third layer: batch query for analysis page
to our requirements. Web designing with Laravel framework
is very easy and simple, but one should know the basics of
PHP to understand the Framework structure. The proposed
model is to design an e-commerce website with the help of
PHP framework-LARAVEL. This report designs a simple
Laravel based website and for this first, we’ll see what the
requirements are for the framework.
A. Requirements for laravel
All the requirements are satisfied by the Laravel
Homestead virtual machine, but we have to use it as our local
development environment. If you don’t want to use
homestead then the server should meet the following
requirements:
• PHP>=7.1.3
• openSSL PHP extension
• PDO PHP Extension
• XML PHP Extension
• JSON PHP Extension
• Ctype PHP Extension
LARAVEL uses Composer to manage its dependencies.
So, make sure the composer is installed on the machine if not
than download it in command prompt by using commands or
either it can be downloaded from composer website. When
composer is downloaded than simply create new app in
terminal by Laravel new. Now in next step transit the .env
file as it will give hinderences in connecting to database.
After this the migration and seeding of the database is done
in terminal by using php artisan command. This will import
all the database in our localhost phpmy admin. After that
create admin and auth password to login in my admin panel. Fig 3: Application structure of laravel
Advantages of Laravel include scalability of a web
application; time is saved as laravel reuses the components. IV. PROPOSED METHOD
It includes namespaces and interfaces helping in managing
resources. The application structure in laravel is like folder In this paper, my concern is to look at all the aspects that
structure shown in fig.3. Once we create a project in laravel are considered to choose the best framework for creating an
its structure is shown like fig.3 the application structure of E-commerce website. This paper contains research on how to
laravel includes various folders and subfolders. These folders choose the best framework for creating a website, and it also
include app, bootstrap, config, database, public, resources, contains what are the factors that should consider checking
routes, Storage, tests, vendor, include path and composer the effectiveness of the frameworks. And to make e-
files. In these files codes are already written we have to only commerce website with different framework and compare. It
modify it according to our requirements. After this we contains information about the Laravel framework and what
simply need to run the file in our local host and finally we are the requirements to run Laravel. In this, I have read many
can see the simple layout. There’s an admin panel in research papers related to Laravel and from these papers, I
framework where the programmer can easily login and do have drawn some information related Laravel , how laravel is
the changes that are required. Laravel architecture based web beneficial to use and how it is beneficial to use in
applications are based on multi-layer. The three-tier comparison to the traditional approach that is used earlier for
structure, in the web technology, explains that the database is making the web applications[11]. Some organizations are
not a directive service for each client but it connects to the still developing their websites with the traditional approach
web server so that the website can achieve dynamic, real- starting from the scratch which takes time but in the
time and interactive customer information services. [3] competitive world time plays an important role every one
trying to adopt technologies that will produce good product
The layered structure of the framework is: with same capabilities and services that are built with the
traditional approach but with lesser time and with more
• First layer: laravel core component extension.
features an more security. Recently big companies like
• Second layer: laravel label extension. Google and Apple asked questions like, “Why are we still
Authorized licensed use limited to: UNIVERSIDADE DE SAO PAULO. Downloaded on July 24,2024 at 18:51:00 UTC from IEEE Xplore. Restrictions apply.
505
2019 Fifth International Conference on Image Information Processing (ICIIP)
Authorized licensed use limited to: UNIVERSIDADE DE SAO PAULO. Downloaded on July 24,2024 at 18:51:00 UTC from IEEE Xplore. Restrictions apply.
506
2019 Fifth International Conference on Image Information Processing (ICIIP)
Frameworks
Authorized licensed use limited to: UNIVERSIDADE DE SAO PAULO. Downloaded on July 24,2024 at 18:51:00 UTC from IEEE Xplore. Restrictions apply.
507
2019 Fifth International Conference on Image Information Processing (ICIIP)
time in website making. But in Laravel it is a very easy task. [19] Leff, Avraham, and James T. Rayfield. "Web-application
Laravel have artisans that are built in commands that will development using the model/view/controller design
pattern." Proceedings fifth ieee international enterprise distributed
help the developers to understand the architecture of Laravel object computing conference. IEEE, 2001.
and by understanding the structure developers can make their [20] Pop, Dragos-Paul, and Adam Altar. "Designing an MVC model for
websites with so much ease. rapid web application development." Procedia Engineering 69
(2014): 1172-1179.
REFERENCES
[1] Rashdan, Rashid. Developing design process model and measuring
acceptance of polytechnic cooperative e-retail website. Diss.
Universiti Utara Malaysia, 2015.
[2] He, Ren Yu. "Design and implementation of web based on Laravel
framework." 2014 International Conference on Computer Science
and Electronic Technology (ICCSET 2014). Atlantis Press, 2015.
[3] Zurkiewicz, A., and M. Miłosz. "Selecting a PHP framework for a
web application project-The method and case study." Conference: 9th
international Technology, Education and Development Conference.
No. s 1712. 2015.
[4] Li, Xiaosong, Sai Karnan, and Jahanzaib Ali Chishti. "An empirical
study of three PHP frameworks." 2017 4th International Conference
on Systems and Informatics (ICSAI). IEEE, 2017.
[5] Fayyaz, Ali Raza, and Madiha Munir. "Performance Evaluation of
PHP Frameworks (CakePHP and CodeIgniter) in relation to the
Object-Relational Mapping, with respect to Load Testing." (2014).
[6] Kiatruangkrai, Pilunchana, et al. "Design and Development of Real-
Time Communication Content Management System for E-
Commerce." Data, Privacy and E-Commerce (ISDPE), 2010 Second
International Symposium on. IEEE, 2010.
[7] Ferreira, Célia, Ramiro Gonçalves, and Rosalina Babo. "Evaluating
functionalities of eCommerce websites for emigrants." 6th Iberian
Conference on Information Systems and Technologies (CISTI 2011).
IEEE, 2011.
[8] Samra, Jone. "Comparing performance of plain php and four of its
popular frameworks." (2015).
[9] Das, Ripunjit, and Lakshmi Prasad Saikia. "Comparison of Procedural
PHP with Codeigniter and Laravel Framework." International
Journal of Current Trends in Engineering & Research 2.6 (2016): 42-
8.
[10] Yu, Xiaosheng, and Cai Yi. "Design and Implementation of the
Website Based on PHP & MYSQL." 2010 International Conference
on E-Product E-Service and E-Entertainment. IEEE, 2010.
[11] Anif, Muhammad, Arya Dentha, and H. W. S. Sindung. "Designing
internship monitoring system web based with Laravel
framework." 2017 IEEE International Conference on
Communication, Networks and Satellite (Comnetsat). IEEE, 2017.
[12] Ferreira, Célia, Ramiro Gonçalves, and Rosalina Babo. "Evaluating
functionalities of eCommerce websites for emigrants." 6th Iberian
Conference on Information Systems and Technologies (CISTI 2011).
IEEE, 2011.
[13] Prokofyeva, Natalya, and Victoria Boltunova. "Analysis and Practical
Application of PHP Frameworks in Development of Web Information
Systems." Procedia Computer Science 104 (2017): 51-56.
[14] Supaartagorn, Chanchai. "PHP Framework for database management
based on MVC pattern." International Journal of Computer Science
& Information Technology (IJCSIT) 3.2 (2011): 251-258.
[15] Cui, Wei, et al. "The research of PHP development framework based
on MVC pattern." 2009 Fourth International Conference on
Computer Sciences and Convergence Information Technology. IEEE,
2009.
[16] Verma, Archit. "MVC Architecture: A Comparative Study Between
Ruby on Rails and Laravel." Indian Journal of Computer Science and
Engineering (IJCSE) 5.5 (2014): 196-198.
[17] Jingling, Zhao, and Gong Rulin. "A new framework of security
vulnerabilities detection in PHP web application." 2015 9th
International Conference on Innovative Mobile and Internet Services
in Ubiquitous Computing. IEEE, 2015.
[18] Otwell, Taylor. "Laravel-the php framework for web
artisans." Laravel. com (2017).
Authorized licensed use limited to: UNIVERSIDADE DE SAO PAULO. Downloaded on July 24,2024 at 18:51:00 UTC from IEEE Xplore. Restrictions apply.
508