Golding | Beginning CakePHP | E-Book | www2.sack.de
E-Book

E-Book, Englisch, 344 Seiten

Golding Beginning CakePHP

From Novice to Professional
1. ed
ISBN: 978-1-4302-0978-2
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark

From Novice to Professional

E-Book, Englisch, 344 Seiten

ISBN: 978-1-4302-0978-2
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark



CakePHP is a leading PHP?based web app development framework. When asking a question on forums or chat rooms, many CakePHP beginners get little help from the experts. Simple questions can get a response like, ?Well, just read the online manual and API.? Unfortunately, the online manual is depreciated, and who wants to absorb a programming language or framework from an API? Beginning CakePHP will do the following: Lead you from a basic setup of CakePHP to building a couple applications that will highlight CakePHP?s functionality and capabilities without delving too deeply into the PHP language, but rather what the CakePHP framework can offer the developer. Teach you to use CakePHP by incorporating advanced features into your web development projects. Target beginners of CakePHP or web frameworks in general as well as experienced developers with limited exposure to CakePHP. A secondary audience may include developers undecided on adopting CakePHP or business managers trying to assess the value of incorporating CakePHP into their toolbox.

David Golding is author of best selling CakePHP book, Beginning CakePHP, as well as a long time web developer, PHP programmer.

Golding Beginning CakePHP jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


1;Contents at a Glance;5
2;Contents;7
3;About the Author;16
4;About the Technical Reviewer;17
5;Acknowledgments;18
6;Introduction;19
6.1;From Novice to Professional;20
6.2;Why Cake?;20
6.3;Summary;24
7;Getting Started;25
7.1;Installing and Running CakePHP;26
7.1.1;A Simple Start: Running Cake on a Localhost Environment;26
7.1.2;Running the Setup Routines;30
7.1.3;Summary;33
7.2;Creating a To-Do List Application;34
7.2.1;Exploring the MVC Structure;34
7.2.2;Designing and Creating the Database;36
7.2.3;Creating Models;37
7.2.4;Creating Controllers;38
7.2.5;Launching the Application;39
7.2.6;Creating the Scaffolding;40
7.2.7;Summary;42
8;Developing CakePHP Applications;43
8.1;Naming Files and Designing the Database;44
8.1.1;Convention Over Configuration;44
8.1.2;MVC Default Behaviors;45
8.1.3;Naming Conventions;46
8.1.4;Poorly Designed Databases;54
8.1.5;Table Associations;55
8.1.6;Beyond the Scaffold;67
8.1.7;Summary;68
8.2;Creating Simple Views and Baking in the Console;69
8.2.1;Introducing Layouts;69
8.2.2;Creating Individual Views;73
8.2.3;Using Bake to Create Views;75
8.2.4;Editing Baked Views;82
8.2.5;Using Commands for Faster Baking;84
8.2.6;Customizing Views;84
8.2.7;Summary;85
8.3;Customizing Views;86
8.3.1;Handling User Interactions;86
8.3.2;Writing Individual View Files;93
8.3.3;Using Other Helpers;99
8.3.4;Summary;100
8.4;Working with Controllers and Models;101
8.4.1;Building an Extensive Blog;101
8.4.2;Working with Actions;102
8.4.3;Customizing the Controller for the Blog;104
8.4.4;Creating a Model for the Blog;112
8.4.5;Writing Custom Model Functions;118
8.4.6;Trimming Results;121
8.4.7;Summary;123
8.5;Implementing Ajax Features;124
8.5.1;How Ajax Works;124
8.5.2;Preparing the Ajax Helper;127
8.5.3;Adding Comments to the Blog;128
8.5.4;Working Ajax into the View;129
8.5.5;Working Ajax into the Controller;132
8.5.6;Using Other Ajax Helper Functions;134
8.5.7;Doing More with the Ajax Helper;140
8.5.8;Uploading Files with jQuery;142
8.5.9;More Ajax Features;145
8.5.10;Summary;145
9;Advanced CakePHP;146
9.1;Helpers;147
9.1.1;Installing Helpers;147
9.1.2;Using Cake’s Built- in Helpers;148
9.1.3;Using Other Built- in Helpers;167
9.1.4;Creating Custom Helpers;172
9.1.5;Customizing Helper Variables;181
9.1.6;Summary;183
9.2;Routes;184
9.2.1;The Basic Route;184
9.2.2;Arguments;185
9.2.3;Reverse Routing;186
9.2.4;Admin Routing;187
9.2.5;Route Parameters;189
9.2.6;Parsing Files with Extensions Other Than . php;191
9.2.7;Summary;194
9.3;Components and Utilities;195
9.3.1;Why Use Components?;195
9.3.2;Using Built- in Components;196
9.3.3;Utility Classes;206
9.3.4;Third- Party Components;212
9.3.5;Creating Custom Components;213
9.3.6;Summary;214
9.4;Vendors;215
9.4.1;Using Vendors;215
9.4.2;Making No Assumptions for Third- Party Scripts;217
9.4.3;Installing a Third- Party Script;218
9.4.4;Using Other Frameworks with CakePHP;219
9.4.5;Summary;225
9.5;Plugins;226
9.5.1;Installing a Third- Party Plugin;226
9.5.2;Creating Custom Plugins;228
9.5.3;The Calendar Plugin;231
9.5.4;Summary;247
9.6;DataSources and Behaviors;248
9.6.1;Extending the Model with DataSources and Behaviors;250
9.6.2;Working with DataSources;250
9.6.3;Working with Behaviors;261
9.6.4;Summary;277
9.7;Wrapping Up the Application;279
9.7.1;Designing the Home Page;279
9.7.2;Generating Dynamic Navigation;281
9.7.3;Customizing the Overall Design;282
9.7.4;Debugging the Application;282
9.7.5;Running the Application on a Remote Host;283
9.7.6;Summary;284
10;Appendixes;285
10.1;Installation Issues;286
10.1.1;Developing in a Localhost Environment;286
10.1.2;Setting Up a Localhost;287
10.1.3;Running MySQL;291
10.2;How CakePHP Compares with Other Frameworks;293
10.2.1;PHP Frameworks;293
10.2.2;Using the Various Frameworks;294
11;Index;298



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.