CakePHP application development: step-by-step introduction to rapid web development using the open-source MVC CakePHP framework
Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Bari, Ahsanul (VerfasserIn)
Format: Elektronisch E-Book
Sprache:English
Veröffentlicht: Birmingham, U.K. Packt Pub. 2008
Schriftenreihe:From technologies to solutions
Schlagworte:
Online-Zugang:FAW01
FAW02
Volltext
Beschreibung:Title from title screen. - Includes index
Cover -- Table of Contents -- Preface -- What This Book Covers -- Who is This Book for -- Conventions -- Reader Feedback -- Customer Support -- Downloading the Example Code for the Book -- Errata -- Questions -- Chapter 1: Introduction to CakePHP -- What is CakePHP? -- A PHP Framework -- Common Design Patterns -- Rapid Web Development -- Works with PHP4 and PHP5 -- CakePHP is Free and Open Source -- Improved Code Structure -- Understanding the MVC Pattern -- Models -- Controllers -- Views -- How It Works -- Faster Development -- Less Configuration, More Convention -- Auto Code Generation -- Quick Access to Related Data -- Built-in Commonly Used Functionalities -- Versions of CakePHP: 1.1 and 1.2 -- Summary -- Chapter 2: A Quick Installation -- Downloading CakePHP -- Platform Requirements -- Configuring Apache -- AllowOverwrite is Set to All -- Mod_rewrite Module is Loaded -- Setting Up Cake in Web Root -- Running Cake for the First Time -- Summary -- Chapter 3: A Quick App --
- Making Sure the Oven is Ready -- CakeTooDoo: a Simple To-do List Application -- Configuring Cake to Work with a Database -- Writing our First Model -- Writing our First Controller -- Viewing All Tasks in CakeTooDoo -- Adding a New Task -- Editing a Task -- Adding Data Validation -- Deleting a Task from CakeTooDoo -- Viewing Completed Tasks and Pending Tasks -- Formatting Date and Time -- Creating the CakeTooDoo Homepage -- Summary -- Chapter 4: Controllers -- Interacting with Model -- Attaching Models and Controllers -- Action, Parameters, and Views -- Interacting with View -- Actions and Parameters -- Getting Post Data from the View -- Redirecting -- AppController: The Parent Controller -- Working with Components -- Summary -- Chapter 5: Models -- Setting Up Database and Models -- Creating a Model for a Database Table -- Retrieving Data -- Using Model to Retrieve Data -- More on Data Retrieval -- Saving and Updating Data -- Saving Data -- Updating a Record --
- More on the save() Method -- Updating a Single Field -- Batch Update -- Deleting Data -- Deleting a Single Record -- Placing Your Own Logic Inside Model -- Create and Use Your Own Model Method -- Validating Your Data -- Adding Validation to Our Model -- Summary -- Chapter 6: ORM -- Working with Simple Associations -- Defining One-To-Many Relationship in Models -- Retrieving Related Model Data in One-To-Many Relation -- Saving Related Model Data in One-To-Many Relation -- Adding More than One Association of the Same Type -- One-To-One Relation -- Customizing Association Characteristics -- Working with Complex Associations -- Defining Many-To-Many Relationship in Models -- Retrieving Related Model Data in Many-To-Many Relation -- Saving Related Model Data in Many-To-Many Relation -- Deleting Associated Data -- Changing Association On The Fly -- Summary -- Chapter 7: Views -- Working with Layouts -- Creating Custom Layouts -- Using Elements -- Creating and Using Element --
- Working with Helpers -- Creating and Using Your Own Helper -- Creating Forms to Take User Input -- Summary -- Chapter 8: Using Shells --T.
"This book offers step-by-step instructions to learn the CakePHP framework and to quickly develop and deploy web-based applications. It introduces the MVC pattern and coding styles using practical examples. It takes the developer through setting up a CakePHP development and deployment environment, and develops an example application to illustrate all of the techniques you need to write a complete, non-trivial application in PHP. It aims to assist PHP programmers to rapidly develop and deploy well-crafted and robust web-based applications with CakePHP"--Resource description p
Beschreibung:1 Online-Ressource
ISBN:1847193897
1847193900
9781847193896
9781847193902

Es ist kein Print-Exemplar vorhanden.

Fernleihe Bestellen Achtung: Nicht im THWS-Bestand! Volltext öffnen