Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Programming with CodeIgniter MVC
  • Table Of Contents Toc
Programming with CodeIgniter MVC

Programming with CodeIgniter MVC

1.8 (5)
close
close
Programming with CodeIgniter MVC

Programming with CodeIgniter MVC

1.8 (5)

Overview of this book

The CodeIgniter Model-View-Controller framework provides genius simplicity, flexibility, and efficient resource usage, boosting performance and reusability. "Programming with CodeIgniter MVC" reviews the unique features of CodeIgniter using simple, easy-to-follow, and practical examples. Programming with CodeIgniter MVC provides a simple step-by-step guide to efficiently utilizingthe CodeIgniter MVC framework for developing web applications. This book is packed with engaging examples to understand the usage of controllers, libraries, and (Codeigniter) CI Models. This book commences with a quick discussion of the CodeIgniter Integration with  external plugins such as Flickr API, Google Maps and more will be reviewed with clear usage examples. It will then cover CI naming convention rules, mandatory and optional configurations, and usage within a CI project. It will also cover user defined configurations. By the end of this book, you will not only understand user-defined libraries in a CI framework, but also their services, role, usage, and scope with the help of an example-based approach. The book also covers helpers, models, and views, as well as their usage. Using this book, youwill soonbe able to develop feature-rich web applications using the CodeIgniter MVC framework. "Programming with CodeIgniter MVC" is a one-stop solution to developing solutions with CodeIgniter MVC.
Table of Contents (15 chapters)
close
close
Programming with CodeIgniter MVC
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1
Appendix
2
Index

Chapter 3. Controller Usage and Scope

This chapter covers the CI controller scope and the various controller usage categories with several code examples of web applications. The controllers are the front-line decision makers of how to process or route a request and how to respond to actions, such as a rendered view sending back to the browser as an HTML page, an AJAX response to let the current requesting page update certain selector areas by the response, or even just to update the database seamlessly. The controllers use the available models, helpers, libraries, and views to respond to the caller, be it a web browser URL or a cron process issuing the cURL types POST/GET requests automatically.

The CI built-in controller behaves like an abstract class in the project scope so any of our project controllers must be extensions of a built-in CI controller. Our developed controller will inherit the CI built-in controller capabilities and built-in resources, such as auto-loaded helpers, libraries...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Programming with CodeIgniter MVC
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon