没有合适的资源?快使用搜索试试~ 我知道了~
PHP for Absolute Beginners, 2nd Edition
需积分: 10 22 下载量 49 浏览量
2014-09-18
21:11:57
上传
评论
收藏 4.17MB PDF 举报
温馨提示
试读
236页
PHP for Absolute Beginners, 2nd Edition
资源推荐
资源详情
资源评论
Blom Hansen
Lengstorf
Shelve in
Web Development /PHP Programming
User level:
Beginning
www.apress.com
SOURCE CODE ONLINE
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
PHP for Absolute Beginners
PHP is a server-side scripting language that enables you to develop dynamic sites
that engage users in ways that are simply not possible using only HTML and CSS.
PHP for Absolute Beginners takes a practical approach to teaching you how to
build dynamic content for your website using PHP. You’ll quickly get started with
practical PHP projects, learning how to build a dynamic image gallery. By the end
of the book you will have developed a personal blog complete with a password
protected admin module.
PHP for Absolute Beginners won’t swamp you with every detail of the full PHP
language up front – instead, you’ll be introduced to a small, versatile subset of PHP
and learn to use it creatively to develop dynamic web sites. In the process you will
learn to use variables, control structures, functions, and objects to your advantage.
You will learn how to plan and create databases and how to organize your PHP
scripts beautifully. At the end of the book, you will be a confident PHP user, ready to
take the next steps in creating great websites.
RELATED
9781430 268154
53999
ISBN 978-1-4302-6815-4
www.it-ebooks.info
iii
Contents at a Glance
About the Authors ��������������������������������������������������������������������������������������������������������������� xv
About the Technical Reviewer ������������������������������������������������������������������������������������������ xvii
Acknowledgments ������������������������������������������������������������������������������������������������������������� xix
Introduction ����������������������������������������������������������������������������������������������������������������������� xxi
Part I: PHP/MySQL Basics ■ ����������������������������������������������������������������������������� 1
Chapter 1: Setting Up a PHP Development Environment ■ ���������������������������������������������������3
Chapter 2: Understanding PHP: Language Basics ■ �����������������������������������������������������������17
Chapter 3: Form Management ■ �����������������������������������������������������������������������������������������35
Chapter 4: Building a Dynamic Image Gallery with Image Upload ■ ����������������������������������53
Chapter 5: Spicing Up Your Image Gallery with JavaScript and CSS ■ �������������������������������69
Chapter 6: Working with Databases ■ ��������������������������������������������������������������������������������83
Part II: A Blogging System ■ ������������������������������������������������������������������������ 109
Chapter 7: Building the Entry Manager ■ �������������������������������������������������������������������������111
Chapter 8: Showing Blog Entries ■ �����������������������������������������������������������������������������������127
Chapter 9: Deleting and Updating Entries ■ ����������������������������������������������������������������������143
Chapter 10: Improving Your Blog with User Comments and Search ■ �����������������������������163
Chapter 11: Adding Images to Blog Entries ■ �������������������������������������������������������������������183
Chapter 12: Password Protection ■ ���������������������������������������������������������������������������������207
Chapter 13: Going Public with Your Blog ■ �����������������������������������������������������������������������221
Index ���������������������������������������������������������������������������������������������������������������������������������225
www.it-ebooks.info
xxi
Introduction
Modern web development relies on the successful integration of several technologies. Content is mostly formatted as
HTML. With server-side technologies, you can create highly dynamic web applications. PHP is the single most used
server-side scripting language for delivering browser-based web applications. PHP is the backbone of online giants
such as Facebook, Flickr, and Yahoo.
ere are other server-side languages available for web application development, but PHP is the workhorse of
the Internet. For an absolute beginner, it should be comforting to know that PHP is a relatively easy language to learn.
You can do many things with a little PHP. Also, there is a thriving, friendly community supporting PHP. It will be easy
to get help with your own PHP projects.
Who Should Read This Book
is book is intended for those who know some HTML and CSS. It is for those who are ready to take their web developer
skills to the next level. You will learn to generate HTML and CSS dynamically, using PHP and MySQL. You will learn
the dierence between client-side and server-side scripting through hands-on experience with PHP/MySQL and
JavaScript code projects. Emphasis will be on getting up and running with PHP, but you will also get to use some
MySQL and some JavaScript in your projects. By the end of the book, you will have created a number of PHP-driven
projects, including the following:
A personal portfolio site with dynamic navigation•
A dynamic image gallery where users can upload images through an HTML form•
A personal blogging system, complete with a login and an administration module•
In the process, you will become acquainted with such topics as object-oriented programming, design patterns,
progressive enhancement, and database design. You will not get to learn everything there is to know about PHP, but
you will be o to a good start.
How to Read This Book
is book is divided into two main parts. Part I will quickly get you started writing PHP for small, dynamic projects.
You will be introduced to a relatively small subset of PHP–just enough for you to develop entry-level web applications.
Part I will also teach you the basic vocabulary of PHP.
Part II is a long hands-on project. You will be guided through the development of the aforementioned personal
blogging system, starting from scratch. Part II will show you how to use your PHP vocabulary to design dynamic,
database-driven web applications.
www.it-ebooks.info
剩余235页未读,继续阅读
资源评论
Bahir
- 粉丝: 1
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功