Codelgniter for rapid PHP application development: improve your PHP coding productivity with the free compact open-source MVC codelgniter framework!
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Birmingham [u.a.]
Packt publ.
2007
|
Ausgabe: | 1. publ. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | V, 244 S. |
ISBN: | 9781847191748 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV035115320 | ||
003 | DE-604 | ||
005 | 20081203 | ||
007 | t | ||
008 | 081023s2007 |||| 00||| eng d | ||
020 | |a 9781847191748 |9 978-1-84719-174-8 | ||
035 | |a (OCoLC)254090021 | ||
035 | |a (DE-599)BVBBV035115320 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-355 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
100 | 1 | |a Upton, David |e Verfasser |4 aut | |
245 | 1 | 0 | |a Codelgniter for rapid PHP application development |b improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! |c David Upton |
250 | |a 1. publ. | ||
264 | 1 | |a Birmingham [u.a.] |b Packt publ. |c 2007 | |
300 | |a V, 244 S. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a Agile Softwareentwicklung |0 (DE-588)4806620-5 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a PHP |0 (DE-588)4546126-0 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a PHP |0 (DE-588)4546126-0 |D s |
689 | 0 | 1 | |a Agile Softwareentwicklung |0 (DE-588)4806620-5 |D s |
689 | 0 | |C b |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Regensburg |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016783076&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-016783076 |
Datensatz im Suchindex
_version_ | 1804138090158096384 |
---|---|
adam_text | Table
of
Contents
Preface
Chapter
1 :
Introduction to Codelgniter
___________________________7
What can Codelgniter Do for You?
7
Save Time
8
Make Your Site More Robust
9
Keep Your Links Up-To-Date Automatically
9
Save Database Crashes: prep Your Data Entry Forms
10
Make Your Code Bolder
11
Send Email Attachments without Hassles
11
Save Bandwidth by Zipping Files That Users Need to Download
12
Yes, But...What is Codelgniter? What are Frameworks?
12
And Who is That Man?
14
The Open Source Business Model
15
What
CI
Doesn t Do
16
License
18
Summary
19
Chapter
2:
Two Minutes Work: Setting up a Codelgniter Site
______21
Prerequisites
21
Installing Codelgniter
22
Exploring the File Structure
23
The Configuration File
24
Does it Work?
25
Summary
25
Chapter
3:
Navigating Your Site
________________________________27
MVC
—
Just Another Acronym?
28
The Structure of
a CI Site:
Controllers and Views
29
The Welcome Controller
31
Working with Views
32
Table
of
Contents
The Defauli
Controller
33
Codelgniter Syntax Rules
33
Controller
34
View
34
Types of Files or Classes on
a CI Site
34
What are All Those Folders For?
37
Designing a Better View
37
Designing a Better Controller
39
Getting Parameters to a Function
40
Passing Data to a View
41
How
CI
Classes Pass Information and Control to Each Other
43
Calling Views
43
Calling Functions Directly
43
Interacting with Controllers
44
It s Just Like an Egg-Cup
45
An Example of
a CI
Helper: the URL Helper
46
A Simple Library Example: Creating a Menu
48
Summary
49
Chapter
4:
Using Cl to Simplify Databases
_______________________51
Configuration Settings
51
Designing the Database for Our Site
52
Active Record
53
Advantages of Using the Active Record Class
54
Saving Time
54
Automatic Functionality
54
Read Queries
56
Displaying Query Results
58
Create and Update Queries
59
Delete Queries
61
Mixing Active Record and Classic Styles
61
Summary
62
Chapter Appendix: MYSQL Query to Set Up websites Database
63
Chapter
5:
Simplifying HTML Pages and Forms
___________________
6_7_
Writing a View
67
Long and Short PHP Syntax
69
Nesting Views
70
Practical Issues of Site Architecture
73
Cl s Form Helper: Entering Data
74
Form Helper Advantage One: Clarity
74
Form Helper Advantage Two: Automation
77
-----------------------------------.-------------
[H]
—--------------------------------------------
Table
of
Contents
My Display Model
78
Cl s Validation Class: Checking Data Easily
79
Set Up Validation
80
Set Up the Controller
81
Set Up the Forms
81
Summary
83
Chapter
6:
Simplifying Sessions and Security
___________________
8J5
Starting to Design a Practical Site with
CI
85
Moving Around the Site
86
Security/Sessions: Using Another
CI
Library Class
91
Turning Sessions into Security
94
Security
96
Summary
98
Chapter
7:
Codelgniter and Objects
________________________________
9J)
Object-Oriented Programming
99
Working of the
CI
Super-Object
100
Copying by Reference
103
Adding Your own Code to the
CI
Super-Object
105
Problems with the
CI
Super-Object
106
Summary
109
Chapter
8:
Using
CI
to Test Code
______________________________
HI
Why Test, and What For?
111
Cl s Error Handling Class
113
Cl s Unit Test Class
115
When to Use Unit Tests
117
Example of a Unit Test
118
Cl s Benchmarking Class
121
Cl s Profiler Class
122
Testing with Mock Databases
123
Control and Timing
124
Summary
125
Chapter
9:
Using
CI
to Communicate
__________________________
Ш
Using the FTP Class to Test Remote Files
127
Machines Talking to Machines Again—XML-RPC
129
Getting the XML-RPC Server and Client in Touch with Each Other
131
Formatting XML-RPC Exchanges
132
Debugging
134
Issues with XML-RPC?
135
Talking to Humans for a Change: the Email Class
136
Summary
139
-----------------------------------------------------
[Ш]
-----------------------------------------------------
Table
of
Contents
Chapter
10:
How
CI
Helps to Provide Dynamic Information
_______141
The Date Helper: Converting and Localizing Dates
142
Working with Text: the Text Helper and Inflector Helper
145
Going International: the Language Class
146
Making HTML Tables the Easy Way: the Table Class
150
Caching Pages
152
Summary
154
Chapter
11:
Using
CI
to Handle Files and Images
________________155
The File Helper
156
The Download Helper
158
The File Upload Class
160
Cl s Image Class
165
Easy File Compression with the
CI Zip
Class
169
Summary
169
Chapter
12:
Production Versions, Updates, and Big Decisions
171
Connections: Check the Config Files
172
URLs
172
Databases
172
Other config Files
173
Look Out for PHP
4/5
and Operating System Differences
173
Diagnostic Tools
174
Coping with Changes in New
CI
Versions
177
How to Load Models, and What to Call Them
178
How to Initialize Your Own library Classes
179
So Should I Update If a New
CI
Version Comes Out?
179
How to Add On to Cl s Basic Classes
181
Summary
183
Chapter
13:
Instant
CRUD—
or Putting it All Together
____________
ig5_
The
CRUD
Model: Design Philosophy
186
The Standard Controller Format
187
The Database Tables
189
The Heart of the Model
:
the Array
189
Function by Function: the
CRUD
Model
192
Showall
192
Reading the Data
-ţ
95
Delete and Trydelete -jgg
Insert
201
Insert2
208
The Test Suite
209
Summary
214
-------------------------—--------------
[¡v]
----------------------.____________
Table of Contents
Chapter
14:
The Verdict on
CI
215
Some Code: the
do_test
Model
216
A Balance Sheet
225
Where
CI
Helped: Structure
225
Where
CI
Helped: Simplicity
226
Where
CI
Helped: Extra Functionality
226
Problems with
CI
226
Completeness
227
Ease of Use
227
Summary
228
Chapter
15:
Resources and Extensions
229
Cl s User Forums
230
Video Tutorials
232
Available Plug-ins and Libraries
232
AJAX/Javascript
233
Authentication
233
External Sites
235
Comparisons: Which Charting Library to Use?
235
CRUD:
the Final Frontier
238
Resources for Other Programmes, e.g. Xampplite,
MySQL, PHP
239
Summary
240
Index
241
Iv]
|
adam_txt |
Table
of
Contents
Preface
Chapter
1 :
Introduction to Codelgniter
_7
What can Codelgniter Do for You?
7
Save Time
8
Make Your Site More Robust
9
Keep Your Links Up-To-Date Automatically
9
Save Database Crashes: 'prep' Your Data Entry Forms
10
Make Your Code Bolder
11
Send Email Attachments without Hassles
11
Save Bandwidth by Zipping Files That Users Need to Download
12
Yes, But.What is Codelgniter? What are Frameworks?
12
And Who is That Man?
14
The Open Source' Business Model
15
What
CI
Doesn't Do
16
License
18
Summary
19
Chapter
2:
Two Minutes' Work: Setting up a Codelgniter Site
_21
Prerequisites
21
Installing Codelgniter
22
Exploring the File Structure
23
The Configuration File
24
Does it Work?
25
Summary
25
Chapter
3:
Navigating Your Site
_27
MVC
—
Just Another Acronym?
28
The Structure of
a CI Site:
Controllers and Views
29
The Welcome Controller
31
Working with Views
32
Table
of
Contents
The Defauli
Controller
33
Codelgniter Syntax Rules
33
Controller
34
View
34
Types of Files or Classes on
a CI Site
34
What are All Those Folders For?
37
Designing a Better View
37
Designing a Better Controller
39
Getting Parameters to a Function
40
Passing Data to a View
41
How
CI
Classes Pass Information and Control to Each Other
43
Calling Views
43
Calling Functions Directly
43
Interacting with Controllers
44
It's Just Like an Egg-Cup
45
An Example of
a CI
Helper: the URL Helper
46
A Simple Library Example: Creating a Menu
48
Summary
49
Chapter
4:
Using Cl to Simplify Databases
_51
Configuration Settings
51
Designing the Database for Our Site
52
Active Record
53
Advantages of Using the Active Record Class
54
Saving Time
54
Automatic Functionality
54
Read Queries
56
Displaying Query Results
58
Create and Update Queries
59
Delete Queries
61
Mixing Active Record and 'Classic' Styles
61
Summary
62
Chapter Appendix: MYSQL Query to Set Up 'websites' Database
63
Chapter
5:
Simplifying HTML Pages and Forms
_
6_7_
Writing a View
67
Long and Short PHP Syntax
69
Nesting Views
70
Practical Issues of Site Architecture
73
Cl's Form Helper: Entering Data
74
Form Helper Advantage One: Clarity
74
Form Helper Advantage Two: Automation
77
-----------------------------------.-------------
[H]
—--------------------------------------------
Table
of
Contents
My 'Display' Model
78
Cl's Validation Class: Checking Data Easily
79
Set Up Validation
80
Set Up the Controller
81
Set Up the Forms
81
Summary
83
Chapter
6:
Simplifying Sessions and Security
_
8J5
Starting to Design a Practical Site with
CI
85
Moving Around the Site
86
Security/Sessions: Using Another
CI
Library Class
91
Turning Sessions into Security
94
Security
96
Summary
98
Chapter
7:
Codelgniter and Objects
_
9J)
Object-Oriented Programming
99
Working of the
CI
'Super-Object'
100
Copying by Reference
103
Adding Your own Code to the
CI
'Super-Object'
105
Problems with the
CI
'Super-Object'
106
Summary
109
Chapter
8:
Using
CI
to Test Code
_
HI
Why Test, and What For?
111
Cl's Error Handling Class
113
Cl's Unit Test Class
115
When to Use Unit Tests
117
Example of a Unit Test
118
Cl's Benchmarking Class
121
Cl's Profiler Class
122
Testing with Mock Databases
123
Control and Timing
124
Summary
125
Chapter
9:
Using
CI
to Communicate
_
Ш
Using the FTP Class to Test Remote Files
127
Machines Talking to Machines Again—XML-RPC
129
Getting the XML-RPC Server and Client in Touch with Each Other
131
Formatting XML-RPC Exchanges
132
Debugging
134
Issues with XML-RPC?
135
Talking to Humans for a Change: the Email Class
136
Summary
139
-----------------------------------------------------
[Ш]
-----------------------------------------------------
Table
of
Contents
Chapter
10:
How
CI
Helps to Provide Dynamic Information
_141
The Date Helper: Converting and Localizing Dates
142
Working with Text: the Text Helper and Inflector Helper
145
Going International: the Language Class
146
Making HTML Tables the Easy Way: the Table Class
150
Caching Pages
152
Summary
154
Chapter
11:
Using
CI
to Handle Files and Images
_155
The File Helper
156
The Download Helper
158
The File Upload Class
160
Cl's Image Class
165
Easy File Compression with the
CI Zip
Class
169
Summary
169
Chapter
12:
Production Versions, Updates, and Big Decisions
171
Connections: Check the Config Files
172
URLs
172
Databases
172
Other config Files
173
Look Out for PHP
4/5
and Operating System Differences
173
Diagnostic Tools
174
Coping with Changes in New
CI
Versions
177
How to Load Models, and What to Call Them
178
How to Initialize Your Own 'library' Classes
179
So Should I Update If a New
CI
Version Comes Out?
179
How to Add On to Cl's Basic Classes
181
Summary
183
Chapter
13:
Instant
CRUD—
or Putting it All Together
_
ig5_
The
CRUD
Model: Design Philosophy
186
The Standard Controller Format
187
The Database Tables
189
The Heart of the Model
:
the Array
189
Function by Function: the
CRUD
Model
192
Showall
192
Reading the Data
-ţ
95
Delete and Trydelete -jgg
Insert
201
Insert2
208
The Test Suite
209
Summary
214
-------------------------—--------------
[¡v]
----------------------._
Table of Contents
Chapter
14:
The Verdict on
CI
215
Some Code: the
'do_test'
Model
216
A Balance Sheet
225
Where
CI
Helped: Structure
225
Where
CI
Helped: Simplicity
226
Where
CI
Helped: Extra Functionality
226
Problems with
CI
226
Completeness
227
Ease of Use
227
Summary
228
Chapter
15:
Resources and Extensions
229
Cl's User Forums
230
Video Tutorials
232
Available Plug-ins and Libraries
232
AJAX/Javascript
233
Authentication
233
External Sites
235
Comparisons: Which Charting Library to Use?
235
CRUD:
the Final Frontier
238
Resources for Other Programmes, e.g. Xampplite,
MySQL, PHP
239
Summary
240
Index
241
Iv] |
any_adam_object | 1 |
any_adam_object_boolean | 1 |
author | Upton, David |
author_facet | Upton, David |
author_role | aut |
author_sort | Upton, David |
author_variant | d u du |
building | Verbundindex |
bvnumber | BV035115320 |
classification_rvk | ST 250 |
ctrlnum | (OCoLC)254090021 (DE-599)BVBBV035115320 |
discipline | Informatik |
discipline_str_mv | Informatik |
edition | 1. publ. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01398nam a2200349 c 4500</leader><controlfield tag="001">BV035115320</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20081203 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">081023s2007 |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781847191748</subfield><subfield code="9">978-1-84719-174-8</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)254090021</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV035115320</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-355</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Upton, David</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Codelgniter for rapid PHP application development</subfield><subfield code="b">improve your PHP coding productivity with the free compact open-source MVC codelgniter framework!</subfield><subfield code="c">David Upton</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. publ.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham [u.a.]</subfield><subfield code="b">Packt publ.</subfield><subfield code="c">2007</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">V, 244 S.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Agile Softwareentwicklung</subfield><subfield code="0">(DE-588)4806620-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">PHP</subfield><subfield code="0">(DE-588)4546126-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">PHP</subfield><subfield code="0">(DE-588)4546126-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Agile Softwareentwicklung</subfield><subfield code="0">(DE-588)4806620-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="C">b</subfield><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Regensburg</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016783076&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-016783076</subfield></datafield></record></collection> |
id | DE-604.BV035115320 |
illustrated | Not Illustrated |
index_date | 2024-07-02T22:19:19Z |
indexdate | 2024-07-09T21:22:39Z |
institution | BVB |
isbn | 9781847191748 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-016783076 |
oclc_num | 254090021 |
open_access_boolean | |
owner | DE-355 DE-BY-UBR |
owner_facet | DE-355 DE-BY-UBR |
physical | V, 244 S. |
publishDate | 2007 |
publishDateSearch | 2007 |
publishDateSort | 2007 |
publisher | Packt publ. |
record_format | marc |
spelling | Upton, David Verfasser aut Codelgniter for rapid PHP application development improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! David Upton 1. publ. Birmingham [u.a.] Packt publ. 2007 V, 244 S. txt rdacontent n rdamedia nc rdacarrier Agile Softwareentwicklung (DE-588)4806620-5 gnd rswk-swf PHP (DE-588)4546126-0 gnd rswk-swf PHP (DE-588)4546126-0 s Agile Softwareentwicklung (DE-588)4806620-5 s b DE-604 Digitalisierung UB Regensburg application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016783076&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Upton, David Codelgniter for rapid PHP application development improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! Agile Softwareentwicklung (DE-588)4806620-5 gnd PHP (DE-588)4546126-0 gnd |
subject_GND | (DE-588)4806620-5 (DE-588)4546126-0 |
title | Codelgniter for rapid PHP application development improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! |
title_auth | Codelgniter for rapid PHP application development improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! |
title_exact_search | Codelgniter for rapid PHP application development improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! |
title_exact_search_txtP | Codelgniter for rapid PHP application development improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! |
title_full | Codelgniter for rapid PHP application development improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! David Upton |
title_fullStr | Codelgniter for rapid PHP application development improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! David Upton |
title_full_unstemmed | Codelgniter for rapid PHP application development improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! David Upton |
title_short | Codelgniter for rapid PHP application development |
title_sort | codelgniter for rapid php application development improve your php coding productivity with the free compact open source mvc codelgniter framework |
title_sub | improve your PHP coding productivity with the free compact open-source MVC codelgniter framework! |
topic | Agile Softwareentwicklung (DE-588)4806620-5 gnd PHP (DE-588)4546126-0 gnd |
topic_facet | Agile Softwareentwicklung PHP |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016783076&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT uptondavid codelgniterforrapidphpapplicationdevelopmentimproveyourphpcodingproductivitywiththefreecompactopensourcemvccodelgniterframework |