Skip to main content

Stored Routines

  • Chapter
Beginning PHP and MySQL
  • 1406 Accesses

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!

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

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 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

Publish with us

Policies and ethics