官术网_书友最值得收藏!

What this book covers

Chapter 1, Introduction and Shared Project Resources, introduces you to this book and documents an initial development environment—installing Twitter Bootstrap, installing CodeIgniter, and developing a few shared common resources used by all chapters throughout the book.

Chapter 2, A URL Shortener, talks about creating an application that allows a user to enter a URL. The application will encode this URL and generate a new, shorter URL with a unique code appended to it—this will then be saved to a database. This URL will be offered to the user for them to distribute and use. Once it is clicked on, the application we will develop will look at the URL, find the unique code in that URL, and look for it in the database. If found, the application will load the original URL and redirect the user to it.

Chapter 3, Discussion Forum, talks about creating an application that will allow users to create an initial question or proposition. This question will be displayed on a type of notice board; this is the beginning of a discussion thread. Other users are able to click on these users' discussions and reply to them should they wish.

Chapter 4, Creating a Photo-sharing Application, talks about creating a small application that will allow a user to upload an image. A unique URL is then generated and saved to the database along with details of the uploaded file. It is offered to the user for them to distribute. Once the URL is clicked on, the uploaded image is fetched from the filesystem and displayed to the user.

Chapter 5, Creating a Newsletter Signup, contains a project that allows a user to register to a database of contacts, in this case, a database of newsletter signups. The user can amend their settings (the settings can be anything you wish: the type of e-mail content they wish to receive or whether they wish to receive HTML or text-only e-mails). The application even supports unsubscribing from future newsletters.

Chapter 6, Creating an Authentication System, contains an application to manage users in a system you might develop and is perhaps the largest chapter in the book. A simple CRUD environment is supplied, allowing you to add, edit, and delete users. In turn, users can register themselves and even reset their password should they forget it.

Chapter 7, Creating an E-Commerce Site, talks about a small but concise e-commerce application that utilizes CodeIgniter's Cart class to support a simple shop. Users can filter products via different categories, add products to their cart, amend items in the carts (adjust item quantities), or remove items from their cart altogether.

Chapter 8, Creating a To-do List, talks about creating an application that allows a user to create tasks that they need to complete. Tasks can be given a due date, that is, a kind of deadline date. The tasks are displayed in an HTML table. The rows of late tasks are given a red background color to indicate their importance. Complete tasks can be set as done and are indicated as being done by being struck through. Finally, tasks can be deleted to remove old and unwanted items.

Chapter 9, Creating a Job Board, talks about creating a job board. Users are encouraged to post an advert on the job board by filling in an HTML form. The contents of the form are validated and added to a database of current available jobs. Other users looking for work can search for these jobs. These users can search through all jobs or enter a search query to see whether a specific job exists.

主站蜘蛛池模板: 长沙市| 万山特区| 疏附县| 普陀区| 巴彦淖尔市| 泗阳县| 泾川县| 张家港市| 舒城县| 青铜峡市| 含山县| 碌曲县| 乌兰察布市| 内乡县| 子长县| 青阳县| 桐城市| 阳东县| 峨眉山市| 水富县| 汉阴县| 竹北市| 达日县| 滕州市| 宜章县| 新郑市| 静安区| 乐平市| 金山区| 富源县| 榕江县| 保靖县| 五指山市| 松溪县| 阿尔山市| 民勤县| 邵东县| 河津市| 灵璧县| 麟游县| 侯马市|