没有合适的资源?快使用搜索试试~ 我知道了~
首页周末速建电商网站:PHP入门指南
周末速建电商网站:PHP入门指南
需积分: 10 30 下载量 67 浏览量
更新于2024-07-21
1
收藏 4.09MB PDF 举报
"《在周末用PHP建立电子商务网站》是一本由Bintu Harwani撰写的专业指南,专为想要快速搭建首个电子商务网站的人士设计。这本书尤其适合没有编程经验但希望学习如何使用PHP构建功能强大、响应式的电商站点的新手。书中内容涵盖了从基础到实践的全方位指导,包括: 1. PHP与MySQL:章节2介绍了PHP语言及其与MySQL数据库的集成,这对于网站数据管理和存储至关重要。 2. 访问数据库:通过PHP脚本在第3章中学习如何与数据库交互,包括查询、插入和更新产品信息。 3. 购物车管理:这部分内容教你如何设计和实现购物车功能,以及如何处理用户的购买行为和商品信息。 4. 安全支付处理:书中详细讲解了如何设置安全的支付方式,确保在销售过程中客户的交易安全。 5. 实用步骤:作者使用逐步示例,让读者在实践中学习,例如创建和管理产品数据库、定制表单和会话处理等。 6. 目标读者:这本书的目标读者是希望快速上手电子商务的新手,无需深入的编程背景,适合希望通过简单易懂的方式建立专业级网站的人。 7. 版权信息:本书受版权保护,所有权利保留,仅限于授权的复制和使用,如学术研究或个人计算机系统上的引用。 通过《在周末用PHP建立电子商务网站》,读者将掌握所需技能,能够在短时间内创建出功能完善的在线商店,无论是初学者还是有一定经验的开发者,都能从中获益匪浅。这本书不仅教授技术,还强调实践,使读者能够迅速建立起自己的电商王国。"
资源详情
资源推荐
Chapter 1 ■ IntroduCtIon
3
How the E-Commerce Site Will Appear
Let’s have a quick look at the final result of this book. The e-commerce site that you will
be developing throughout this book will appear as shown in the following figures.
The first screen on execution of the shopping cart site that you’ll see is shown in
Figure1-1.
Figure 1-1. The first screen upon launching the e-commerce site
You can see that at the top is a header that contains the title of the web site and a
Cart icon at the top-right corner (a handy tool for users to know what they have selected
in their carts). Below the header is a drop-down menu that displays the list of product
categories that are available on the site (see Figure1-2).
Chapter 1 ■ IntroduCtIon
5
The product image and its name include a link that, when clicked, will display
detailed information on the selected product. For example, on clicking the Asus X200CA-
KX219D laptop, its detailed information will be displayed, as shown in Figure1-4.
Figure 1-4. Page showing detailed information of the selected laptop
Figure 1-5. Items selected in the cart
The Quantity text box is where you enter how many of the selected product you want.
If you leave it blank and click the Add To Cart button, the default quantity is 1. Suppose
you want to purchase one selected laptop, you can either enter the value 1 in the Quantity
text box, followed by clicking the Add To Cart button, or you can also directly click the
Add To Cart button because the default quantity is always 1.
The selected item, along with the entered quantity, is added to the cart as shown in
Figure1-5.
Chapter 1 ■ IntroduCtIon
6
You can always change the quantity of the product selected in the cart. Also, you
can delete any item from the cart. To change the quantity of the Asus laptop in the cart
to 2, modify its value in the Quantity column and click the Change Quantity button. The
quantity and the total price will change in the cart, as shown in Figure1-6.
Figure 1-6. Quantity of the item in cart has changed
You can even purchase more items belonging to another category. Suppose you
need to see all the items under the Smartphone category, you select the category from
the drop-down menu on the top. All the products in the Smartphone category will be
displayed, as shown in Figure1-7.
Chapter 1 ■ IntroduCtIon
7
Again, each product's image and name includes a link which, when clicked, displays
detailed information about the selected product.
If you click on the Micromax-Canvas-Knight-2-E471 smart phone, its detailed
information will appear as shown in Figure1-8.
Figure 1-7. Page showing different smart phones available for sale
剩余132页未读,继续阅读
ramissue
- 粉丝: 354
- 资源: 1487
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 构建Cadence PSpice仿真模型库教程
- VMware 10.0安装指南:步骤详解与网络、文件共享解决方案
- 中国互联网20周年必读:影响行业的100本经典书籍
- SQL Server 2000 Analysis Services的经典MDX查询示例
- VC6.0 MFC操作Excel教程:亲测Win7下的应用与保存技巧
- 使用Python NetworkX处理网络图
- 科技驱动:计算机控制技术的革新与应用
- MF-1型机器人硬件与robobasic编程详解
- ADC性能指标解析:超越位数、SNR和谐波
- 通用示波器改造为逻辑分析仪:0-1字符显示与电路设计
- C++实现TCP控制台客户端
- SOA架构下ESB在卷烟厂的信息整合与决策支持
- 三维人脸识别:技术进展与应用解析
- 单张人脸图像的眼镜边框自动去除方法
- C语言绘制图形:余弦曲线与正弦函数示例
- Matlab 文件操作入门:fopen、fclose、fprintf、fscanf 等函数使用详解
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功