Skip to main content

Working with Controllers and Models

  • Chapter
Beginning CakePHP
  • 458 Accesses

Abstract

A single operation in Cake will generally invoke multiple MVC elements and will work in those elements simultaneously. For instance, in the previous chapter, you used the Form helper both to receive fetched data from the controller and model, and to send user form data to the controller for processing. Changing something in the controller can affect how the Form helper behaves, which is most noticeable when manipulating something like the $this->data variable.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 42.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 David Golding

About this chapter

Cite this chapter

(2008). Working with Controllers and Models. In: Beginning CakePHP. Apress. https://doi.org/10.1007/978-1-4302-0978-2_7

Download citation

Publish with us

Policies and ethics