Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Programming with CodeIgniter MVC

You're reading from   Programming with CodeIgniter MVC Build feature-rich web applications using the CodeIgniter MVC framework

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781849694704
Length 192 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Eliahou Orr Eliahou Orr
Author Profile Icon Eliahou Orr
Eliahou Orr
Yehuda Zadik Yehuda Zadik
Author Profile Icon Yehuda Zadik
Yehuda Zadik
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Programming with CodeIgniter MVC
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started 2. Configurations and Naming Conventions FREE CHAPTER 3. Controller Usage and Scope 4. Libraries 5. Helpers 6. Models 7. Views Appendix
Index

Chapter 4. Libraries

This chapter covers the CI libraries topic, and the different types of libraries and their different usage categories, with several code examples of web applications. The CI development platform provides us with the built-in libraries, enables us with an easy procedure to integrate third-party libraries, and also allows us to develop our new libraries and share them with the community, if we wish to.

The CI libraries are powering efficiency, code reusability, separation, and simplicity. The benefits achieved are as follows:

  • Efficiency: In means of minimal loaded resources. This feature achieved by the fact that the CI library, may be loaded only by the specific CI project controller(s), or even only in specific method(s), where the library's services are required. Hence, the overhead (memory) of the library resources during execution time is minimized in each controller operation state.

  • Reusability: Reusability means writing once a function code and reusing it across the...

lock icon The rest of the chapter is locked
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
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon