万本电子书0元读

万本电子书0元读

顶部广告

CodeIgniter Web Application Blueprints电子书

售       价:¥

3人正在读 | 0人评论 9.8

作       者:Rob Foster

出  版  社:Packt Publishing

出版时间:2015-01-21

字       数:105.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you are a PHP programmer or developer looking for a framework to quickly develop your applications, this book is for you. The prerequisites needed would be prior experience with CodeIgniter.
目录展开

CodeIgniter Web Application Blueprints

Table of Contents

CodeIgniter Web Application Blueprints

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Introduction and Shared Project Resources

Common resources

Twitter Bootstrap

Headers and footers

Downloading CodeIgniter

CodeIgniter on newer versions of PHP

Installing Twitter Bootstrap

Removing index.php from the address bar

Installing and using Sparks

Creating a shared header and footer view

Common language items

Creating the MY_Controller file

Autoloading common system resources

Security considerations

Moving the system folder

Error messages

Query binding

Summary

2. A URL Shortener

Design and wireframes

File overview

Creating the database

Adjusting the routes.php file

Creating the model

Creating views

Creating the view file–views/create/create.php

Creating the view file–views/nav/top_nav.php

Creating controllers

Creating the controller file–controllers/create.php

Creating the controller file–controllers/go.php

Creating the language file

Putting it all together

Creating a shortened URL

Retrieving a URL

Summary

3. Discussion Forum

Design and wireframes

The View All Discussions page

The View Discussion/Add Comment page

The New Discussion page

The admin Dashboard page

File overview

Creating the database

Adjusting the config.php file

Adjusting the routes.php file

Creating the models

Creating the model file – models/discussions_model.php

Creating the model file – comments_model.php

Creating the model file – admin_model.php

Creating views

Discussions

Comments

New discussion

The top_nav file

The login view

The login_header file

Dashboard

The signin.css file

Creating the controllers

The discussions controller

The comments controller

The admin controller

Creating the language file

Putting it all together

A user creates a discussion forum

A user comments on a discussion forum

A user dislikes a comment and flags it for moderation

A moderator reviews comments awaiting moderation

Summary

4. Creating a Photo-sharing Application

Design and wireframes

The create item

The do_upload item

The go item

File overview

Creating the database

Adjusting the config.php and autoload.php files

Adjusting the routes.php file

Creating the model

Creating the views

Creating the controllers

Creating the language file

Putting it all together

Summary

5. Creating a Newsletter Signup

Introduction

Design and wireframes

The Home – index() and Signup – index() items

Settings/Unsubscribe – settings()

File overview

Creating the database

Adjusting the routes.php file

Creating the model

Creating the views

Creating the controllers

Creating the language file

Putting it all together

User subscribes

User updates their settings

User unsubscribes

Summary

6. Creating an Authentication System

Introduction

Design and wireframes

Me – editing details

Viewing all users

Creating users

Editing the user details

Deleting a user

Sign in

Register

File overview

Creating the database

Adjusting the config.php file

Adjusting the routes.php file

Creating the models

Creating the views

Creating the controllers

Creating the language file

Putting it all together

User registration

Ensuring correct access

Summary

7. Creating an E-Commerce Site

Introduction

Design and wireframes

Home – index()

Add to cart – add()

Cart – display_cart()

User Details – user_details()

File overview

Creating the database

Adjusting the config.php file

Adjusting the routes.php file

Creating the model

Creating the views

Creating the controllers

Creating the language file

Putting it all together

Filtering a search

Adding to cart

Altering the product quantity

Summary

8. Creating a To-do List

Introduction

Design and wireframes

View All/Create

Delete

File overview

Creating the database

Adjusting the config.php file

Adjusting the routes.php file

Creating the model

Creating views

Creating the controller

Creating the language file

Putting it all together

User adds a task

User changes the task status

Summary

9. Creating a Job Board

Introduction

Design and wireframes

Job/Search

Detail/Apply

Create

File overview

Creating the database

Adjusting the config.php file

Adjusting the routes.php file

Creating the model

Creating views

Creating the controller

Creating the language file

Putting it all together

User creates a job advert

User looks at a job

User searches for a job

User applies for a job

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部