Vai al contenuto principale della pagina
Autore: |
Brampton Martin
![]() |
Titolo: |
PHP 5 CMS framework development : expert insight and practical guidance to create an efficient, flexible and robust web oriented framework / / Martin Brampton
![]() |
Pubblicazione: | Birmingham, UK, : Packt Pub., 2010 |
Edizione: | 2nd ed. |
Descrizione fisica: | 1 online resource (416 p.) |
Disciplina: | 006.76 |
Soggetto topico: | PHP (Computer program language) |
Web site development | |
Web sites - Design | |
Note generali: | Includes index. |
Previous edition: 2007. | |
Nota di contenuto: | Cover; Copyright; Credits; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1: CMS Architecture; The idea of a CMS; Critical CMS features; Desirable CMS features; System management; Technology for CMS building; Leveraging PHP5; Some PHP policies; Globalness in PHP; Classes and objects; Objects, patterns, and refactoring; The object-relational compromise; Basics of combining PHP and XHTML; Model, view, and controller; The CMS environment; Hosting the CMS; Basic browser matters; Security of a CMS; Some CMS terminology; Summary; Chapter 2: Organizing Code; The problem |
Discussion and considerationsSecurity; Methods of code inclusion; Practicality in coding; Exploring PHP and object design; Autoloading; Namespaces and class visibility; Singletons; Objections to use of singletons; Framework solution; Autoloading; Finding a path to the class; Populating the dynamic class map; Saving map elements; Obtaining class information; Summary; Chapter 3: Database and Data Objects; The problem; Discussion and considerations; Database dependency; The role of the database; Level of database abstraction; Ease of development; Keeping up with change; Database security | |
Pragmatic error handlingExploring PHP-indirect references; Framework solution; Class structure; Connecting to a database; Handling databases easily; Prefixing table names in SQL; Making the database work; Getting hold of data; Higher level data access; Assisted update and insert; What happened?; Database extended services; Getting data about data; Easier data about data; Aiding maintenance; Data objects; Rudimentary data object methods; Data object input and output; Setting data in data objects; Sequencing database rows; Database maintenance utility; Summary | |
Chapter 4: Administrators, Users, and GuestsThe problem; Discussion and considerations; Who needs users?; Secure authentication; Secure storage of passwords; Blocking SQL injection; Login; Managing user data; User self service; Customizing for users; Extended user information; Exploring PHP-Arrays and SQL; Framework solution; The user database table; Indexes on users; Keeping user tables in step; Achieving login; Administering users; Generating passwords; Summary; Chapter 5: Sessions and Users; The problem; Discussion and considerations; Why sessions?; How sessions work | |
Avoiding session vulnerabilitiesSearch engine bots; Session data and scalability; Exploring PHP-frameworks of classes; Framework solution; Building a session handler; Creating a session; Finding the IP address; Validating a session; Remembering users; Completing session handling; Session data; Session data and bots; Retrieving session data; Keeping session data tidy; Summary; Chapter 6: Caches and Handlers; Discussion and considerations; Why build information handlers?; The singleton cache; The disk cache; Scalability and database cache; The XHTML cache; Other caches | |
Exploring PHP-Static elements and helpers | |
Sommario/riassunto: | Expert insight and practical guidance to create an efficient, flexible, and robust web oriented PHP 5 framework |
Altri titoli varianti: | PHP 5 content management system framework development |
PHP five CMS framework development | |
PHP five content management system framework development | |
Titolo autorizzato: | PHP 5 CMS framework development ![]() |
ISBN: | 1-282-75042-9 |
9786612750427 | |
1-84951-135-7 | |
Formato: | Materiale a stampa ![]() |
Livello bibliografico | Monografia |
Lingua di pubblicazione: | Inglese |
Record Nr.: | 9910810677103321 |
Lo trovi qui: | Univ. Federico II |
Opac: | Controlla la disponibilità qui |