04943nam 2200673 a 450 991078518470332120200520144314.097866123971581-84719-949-61-282-39715-X(CKB)2670000000036111(EBL)946937(OCoLC)796382924(SSID)ssj0000404192(PQKBManifestationID)12128939(PQKBTitleCode)TC0000404192(PQKBWorkID)10344246(PQKB)11751812(Au-PeEL)EBL946937(CaPaEBR)ebr10430431(CaONFJC)MIL239715(CaSebORM)9781847199485(MiAaPQ)EBC946937(PPN)228036348(EXLCZ)99267000000003611120101220d2009 uy 0engurunu|||||txtccrCodeIgniter 1.7[electronic resource] improve your PHP coding productivity with the free compact open-source MVC CodeIgniter framework! /Jose Argudo Blanco, David Upton1st editionBirmingham, U.K. Packt Pub.20091 online resource (301 p.)From technologies to solutionsIncludes index.1-84719-948-8 Includes bibliographical references and index.Cover; Copyright; Credits; About the Authors; About the Reviewer; Table of Contents; Preface; Chapter 1: Introduction to CodeIgniter; What can CodeIgniter do for you?; Save time; Make your site more robust; Keep your links up-to-date automatically; Preventing database SQL injection attacks and form prepping; Protect your site from XSS attacks; Make your code bolder; Send email attachments without hassles; Save bandwidth by zipping files that users need to download; What CI doesn't do; Yes, but...what is CodeIgniter? What are frameworks?Comparing CI to other open source solutions (CakePHP and Joomla!)What to choose; License; Summary; Chapter 2: Setting up a CodeIgniter Site; Prerequisites; Installing CodeIgniter; Exploring the file structure; Does it work?-checking our CI installation; The configuration file; Autoloading libraries, helpers, and so on; Mod rewrite and apache .htaccess to achieve nice URL rewrites; Moving the application directory and the system directory-benefits; Summary; Chapter 3: Navigating Your Site; MVC: Model-View-Controller; But how does all this work?; The welcome controller; Working with viewsThe default controller CodeIgniter syntax rules; Controller; View; Types of files or classes on a CI site; Designing a better view; Designing a better controller; Getting parameters to a function; Passing data to a view; How CI classes pass information and control to each other; Calling views; Calling functions directly; Interacting with controllers; An example of a CI helper-the URL helper; A simple library example-creating a menu; Summary; Chapter 4: Using CI to Simplify Databases; Configuration settings; Designing the database for our site; Active RecordAdvantages of using the Active Record class Saving time; Automatic functionality; Read queries; Displaying query results; Create and update queries; Delete queries; Mixing Active Record and ""classic"" styles; Dealing with complex queries; Summary; Chapter appendix: MySQL query to set up the website's database; Chapter 5: Simplifying HTML Pages and Forms; Writing a view; Long and short PHP syntax and other CodeIgniter style guidelines; File format; PHP closing tag; Nesting views; Practical issues of site architecture; CI's form helper-entering data; Form helper advantage one: ClarityForm helper advantage two: Automation My display model; CI's form validation class: Checking data easily; Setting up validation; Setting up the controller; Setting up forms; Let's pack it all together; Summary; Chapter 6: Simplifying Sessions and Security; Continuing with our practical site using CI; Moving around the site; Security/Sessions: Using another CI library class; Turning sessions into security; But what about logout?; Isn't there anything already built?; Security; Summary; Chapter 7: CodeIgniter and Objects; Object-oriented programming; The CI super-object; Copying by referenceAdding your own code to the CI super-objectImprove your PHP coding productivity with the free compact open-source MVC CodeIgniter framework!From technologies to solutions.PHP (Computer program language)PHP (Computer program language)006.78Blanco Jose Argudo1478018Upton David1478019MiAaPQMiAaPQMiAaPQBOOK9910785184703321CodeIgniter 1.73693567UNINA