REST style E-Commerce Website with JavaScript & PHP | no frameworks or libraries | part I

preview_player
Показать описание
In this playlist we will journey together to build a complete e-commerce website and will learn following professionally sought after skills:
1. REST API based .
2. SPA: Single Page Application for faster loading.
3. Code separation between frontend & backend.
4. Frontend & backend as two separate websites that communicate over FETCH API
5. Understand and handle CORS (Cross-Site-Resource-Sharing) related issues..
6. Frontend implementation in JS, backend implementation in PHP.
7. No Frameworks or libraries; able to code and develop without any framework crutches.
And much more...
In this first part of the series we are going to build header section of the website which implements navigation of the website.
Chapters
0:00 Introduction
1:48 Demo
8:40 HTML code
23:43 CSS Styling
39:20 Database and Category table creation
45:03 JS Code / HTTP request to server with FETCH API
50:38 PHP code / HTTP response
1:04:30 CORS error and its solution - approach I
1:24:30 Integrating HTTP response data into webpage and its styling
#jsproject, #phpproject, #ecommerc, #ecommercewebsite,
#SinglePageApplication, #SPA, #RESTapiBasedWebsite, #RESTapiBasedEcommerceWebsite
#php, #CORS, #fetch, #FetchApi, #REST
Рекомендации по теме
Комментарии
Автор

You are the only one, who doesn't mix php html and javascript altogether making it too messy.... Please keep making videos using fetch API integration...❤

mem
Автор

Muas gracias Miss Shoding por compartir conocimiento, saludos de los andes peruanos

josbexerra
Автор

Love the way of your teaching
May ALLAH bless you always aameen

sairabano
Автор

this is just so good, had to subscribe immediately. Thanks for creating this!!

mukhtarisah
Автор

Hello
I have received the code but in the console it shows me the categories fine but on the main page it shows me as [object], I hope to finish it one day.

beticohernandez
Автор

is this service oriented architecture, , please help me;

W.A.KavinduDilshanGunasekara
Автор

can you please share the code.. it will be very helpful please

gunjanpandey
Автор

Hi, great video series, very concise and informative. I am having some difficulties getting data from the database. I keep getting the dreaded error SyntaxError: Unexpected token at minutes 1:08:10. I think I'm getting this error because my array is coming back as null from the database. I'm wondering, what version of PHP did you use in this video?

weblafi
Автор

El año pasado me que en la mitad del proyecto lo empezare de nueno.

beticohernandez
Автор

do you have the source code for this website?

taniaafrin
Автор

is there anywhere i can find source code for this?

nikolawrie
Автор

PHP Warning: Trying to access array offset on value of type null in on line 11

while ($name =

i am using PHP version 8.1.9

vijayd
visit shbcf.ru