Abstract
Throughout this book you’ve seen quite a few examples where the MySQL queries were embedded directly into the PHP script. Indeed, for smaller applications this is fine; however, as application complexity and size increase, continuing this practice could be the source of some grief. For instance, what if you have to deploy two similar applications, one desktop-based and the other Web-based, that use the MySQL database and perform many of the same tasks? On the occasion a query changed, you’d need to make modifications wherever that query appeared not in one application but in two!
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 W. Jason Gilmore
About this chapter
Cite this chapter
(2008). Stored Routines. In: Beginning PHP and MySQL. Apress. https://doi.org/10.1007/978-1-4302-0299-8_32
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0299-8_32
Publisher Name: Apress
Print ISBN: 978-1-59059-862-7
Online ISBN: 978-1-4302-0299-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books