- CodeIgniter 1.7
- David Upton Jose Argudo Blanco
- 198字
- 2021-04-01 13:45:30
Chapter 4. Using CI to Simplify Databases
You're looking at CI because you want to make coding easier and more productive. This chapter is about CI's Active Record class. If CI offered nothing more than its Active Record class, it would still be worth every penny of the purchase price. All right, it's free! Let's rephrase that—it would still be a major tool to increase your productivity.
Active Record allows you to handle databases with a minimum of fuss and maximum of clarity. It's simple to use and maintain.
This chapter looks at how you set up a database to work with CI, and then how you use the Active Record class to manipulate the database. You'll see:
- How Active Record code compares with "classic" PHP/MySQL interface code
- How to write "read" queries, and display the results
- How to do create, update, and delete queries
CI allows you to write queries in the traditional "classic" PHP style as well, but let's not get into details of that. It's fully covered in the online user guide. Jose started off by doing it the traditional way, but once he tried Active Record, he never looked back.
- DotNetNuke 5.4 Cookbook
- 商用級AIGC繪畫創(chuàng)作與技巧(Midjourney+Stable Diffusion)
- Zenoss Core Network and System Monitoring
- AI圖像處理:Photoshop+Firefly后期處理技術基礎與實戰(zhàn)
- CryENGINE 3 Cookbook
- 老郵差·Photoshop數(shù)碼照片處理技法:人像篇(修訂版)
- SPSS統(tǒng)計分析
- Excel公式、函數(shù)與圖表案例實戰(zhàn)從入門到精通(視頻自學版)
- Photoshop CS6中文版基礎與實例教程(第6版)
- 好用,Excel數(shù)據(jù)處理高手
- 新編 中文版Photoshop平面設計入門與提高
- Magento: Beginner's Guide
- Flash CC動畫制作與應用(第3版)
- Oracle Web Services Manager
- Joomla! 1.5 Top Extensions Cookbook