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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-0978-2_7
Publisher Name: Apress
Print ISBN: 978-1-4302-0977-5
Online ISBN: 978-1-4302-0978-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books