My Account Log in

4 options

PHP 5 CMS framework development : expert insight and practical guidance to create an efficient, flexible and robust web oriented framework / Martin Brampton.

EBSCOhost Academic eBook Collection (North America) Available online

View online

EBSCOhost eBook Community College Collection Available online

View online

Ebook Central Academic Complete Available online

View online

Ebook Central College Complete Available online

View online
Format:
Book
Author/Creator:
Brampton, Martin.
Series:
Community experience distilled
Language:
English
Subjects (All):
PHP (Computer program language).
Web site development.
Web sites--Design.
Web sites.
Physical Description:
1 online resource (416 p.)
Edition:
2nd ed.
Other Title:
PHP 5 content management system framework development
PHP five CMS framework development
PHP five content management system framework development
Place of Publication:
Birmingham, UK : Packt Pub., 2010.
Language Note:
English
Biography/History:
Brampton Martin: Now primarily a software developer and writer, Martin Brampton started out studying mathematics at Cambridge University. He then spent a number of years helping to create the so-called legacy, which remained in use far longer than he ever expected. He worked on a variety of major systems in areas like banking and insurance, spiced with occasional forays into technical areas such as cargo ship hull design and natural gas pipeline telemetry. After a decade of heading IT for an accountancy firm, a few years as a director of a leading analyst firm, and an MA degree in Modern European Philosophy, Martin finally returned to his interest in software, but this time transformed into web applications. He found PHP5, which fits well with his prejudice in favor of programming languages that are interpreted and strongly object oriented. Utilizing PHP, Martin took on development of useful extensions for the Mambo (and now also Joomla! ) systems, then became leader of the team developing Mambo itself. More recently, he has written a complete new generation CMS named Aliro, many aspects of which are described in this book. He has also created a common API to enable add-on applications to be written with a single code base for Aliro, Joomla (1. 0 and 1. 5) and Mambo. All in all, Martin is now interested in many aspects of web development and hosting; he consequently has little spare time. But his focus remains on object oriented software with a web slant, much of which is open source. He runs Black Sheep Research, which provides software, speaking and writing services, and also manages web servers for himself and his clients.
Summary:
Expert insight and practical guidance to create an efficient, flexible, and robust web oriented PHP 5 framework
Contents:
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
Notes:
Includes index.
Previous edition: 2007.
ISBN:
9786612750427
9781282750425
1282750429
9781849511353
1849511357
OCLC:
796383632

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account