Hello. I am a beginner programmer and I am tormented by one question to which I cannot find the answer. I want to write an online store for php, everything seems to be fine, but I can’t implement admin panel so that you can add products and they are displayed on the page. Help or tell me, pliz, what to do? Where to begin?
- Start with good books to how to do , for example, for your case, the book "Robin Nixon - Create Dynamic Web Sites with PHP, MySQL and JavaScript" would be perfect. She does not teach professionalism, but you don’t need it, at least for now. - Zowie
|
2 answers
First you need to organize a database. The structure of the tables, a bunch between them. Estimate the load and distribute.
For an online store you need at least the following tables:
- Product table.
- Category table.
- Order table.
- Product filter table (by brand, by specification - in fact, these are tags)
On the basis of these tables, it is already necessary to write the interface, that the admin area, that the site itself. Separate php code from html code. Make a simple conclusion on the site and simple forms of editing products in the admin panel. Further action itself is drawn. You will want one thing, another, etc. and will replenish.
|
You need to know well php, html, css, javascript. And so you do not shop. Look at the finished engines.
- I know html and php too, and jquery a bit, but I don’t know how to implement it - Sergey_Programmer
|