Answer the question
In order to leave comments, you need to log in
Training PHP script for an online store?
Dear colleagues, help to find the answer.
For a long time I have been trying to find some simple script for a working online store, but only with a very, very detailed description of how it works. Down to the value of each line. For educational purposes, for people just starting to learn PHP.
The bottom line is that having studied the syntax and principles of how variables work, etc., I want to see how it all interacts in a working (real) system, and later, having figured it out, I also want to make some changes.
Maybe some of you have met similar materials somewhere, or can share some of your best practices. I will be very grateful to you.
Answer the question
In order to leave comments, you need to log in
In general, learning from a program code is the same as learning to cook from ready-made dishes. Take a normal book and study as much as you like, but if you don’t know anything from the finished code, you won’t learn anything.
Do you have something similar but not a store? I think it will also be of interest to us
There is a thick book "Developing Web Applications with PHP and MySQL". It has a fully working example of an online store. At one time I started developing my own store based on this book. Of course, this should not be released into production, but for teaching a beginner - that's it. And a detailed description of each line and each function is available.
There is another book, I turned it in my hands in a bookstore, it tells about an OOP store, MySQL with procedures, etc. Remember the name… something like “E-commerce in PHP and OOP”.
Honestly, it's critical. In our opinion, this is the most interesting direction now.
And that's right. Write your bike, even if not in OOP style. It's not difficult there, there is a catalog of products and categories + several criteria for the product, such as price, picture and quantity, for example. Order, shopping cart, sending an email with order details to the owner's email.
PHP and MySQL. Creation of an online store.
good book on the subject
Take a ready-made online store with demo data, with default settings - and study it. You can download it to your desktop win-computer, you can start a test site on the developer's web server. On the website of the engine developer - documentation (including API).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question