PHP 5 CMS Framework Development - 2nd Edition

For professional PHP developers, this is the perfect guide to web-oriented frameworks and content management systems. Covers all the critical design issues and programming techniques in an easy-to-follow style and structure.

PHP 5 CMS Framework Development - 2nd Edition

Martin Brampton

For professional PHP developers, this is the perfect guide to web-oriented frameworks and content management systems. Covers all the critical design issues and programming techniques in an easy-to-follow style and structure.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$21.00
RRP $29.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$21.00
$49.99
$29.99p/m after trial
RRP $29.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781849511346
Paperback416 pages

Book Description

If you want an insight into the critical design issues and programming techniques required for a web oriented framework in PHP5, this book will be invaluable. Whether you want to build your own CMS style framework, want to understand how such frameworks are created, or simply want to review advanced PHP5 software development techniques, this book is for you.

As a former development team leader on the renowned Mambo open-source content management system, author Martin Brampton offers unique insight and practical guidance into the problem of building an architecture for a web oriented framework or content management system, using the latest versions of popular web scripting language PHP.

The scene-setting first chapter describes the evolution of PHP frameworks designed to support web sites by acting as content management systems. It reviews the critical and desirable features of such systems, followed by an overview of the technology and a review of the technical environment.
Following chapters look at particular topics, with:
• A concise statement of the problem
• Discussion of the important design issues and problems faced
• Creation of the framework solution

At every point, there is an emphasis on effectiveness, efficiency and security – all vital attributes for sound web systems. By and large these are achieved through thoughtful design and careful implementation.

Early chapters look at the best ways to handle some fundamental issues such as the automatic loading of code modules and interfaces to database systems. Digging deeper into the problems that are driven by web requirements, following chapters go deeply into session handling, caches, and access control.

New for this edition is a chapter discussing the transformation of URLs to turn ugly query strings into readable strings that are believed to be more “search engine friendly” and are certainly more user friendly. This topic is then extended into a review of ways to handle “friendly” URLs without going through query strings, and how to build RESTful interfaces.

The final chapter discusses the key issues that affect a wide range of specific content handlers and explores a practical example in detail.

Table of Contents

Chapter 1: CMS Architecture
The idea of a CMS
Technology for CMS building
The CMS environment
Summary
Chapter 2: Organizing Code
The problem
Discussion and considerations
Exploring PHP and object design
Framework solution
Summary
Chapter 3: Database and Data Objects
The problem
Discussion and considerations
Exploring PHP indirect references
Framework solution
Summary
Chapter 4: Administrators, Users, and Guests
The problem
Discussion and considerations
Exploring PHP arrays and SQL
Framework solution
Summary
Chapter 5: Sessions and Users
The problem
Discussion and considerations
Session data and scalability
Exploring PHP frameworks of classes
Framework solution
Creating a session
Keeping session data tidy
Summary
Chapter 6: Caches and Handlers
The problem
Discussion and considerations
Exploring PHP static elements and helpers
Framework solution
Summary
Chapter 7: Access Control
The problem
Discussion and considerations
Exploring SQL MySQL and PHP
Framework solution
Summary
Chapter 8: Handling Extensions
The problem
Discussion and considerations
Exploring PHP XML handling
Framework solution
Summary
Chapter 9: Menus
The problem
Discussion and considerations
Exploring PHP array functions
Framework solution
Summary
Chapter 10: Languages
The problem
Discussion and considerations
Exploring PHP character sets
Framework solution
Summary
Chapter 11: Presentation Services
The problem
Discussion and considerations
Exploring PHP clarity and succinctness
Framework solution
Summary
Chapter 12: Other Services
The problem
Discussion and considerations
Framework solution
Summary
Chapter 13: SEF and RESTful Services
The problem
Discussion
Framework solution
Summary
Chapter 14: Error Handling
The problem
Discussion
Framework solution
Summary
Chapter 15: Real Content
The problem
Discussion and considerations
Framework solution
Summary

What You Will Learn

  • Effective coding techniques, illustrated through examples of key parts of sample solutions, along with detailed explanations.
  • Object architectures to fully exploit PHP 5 in advanced systems
  • A foundation for database processing to ease further development
  • Technical functions such as handling user sessions and the efficient creation and use of caches
  • How to support add-on applications to extend the main framework
  • Flexible and efficient ways to deal with supporting different world languages
  • Reviews and practical solutions for topics including XML handling, configuration management, editing, file system interfaces, mail, spam, timed operations and parameter objects
  • Transforming query string URLs to be more “friendly” both for people and search engines
  • Alternative ways to deal with presentation services, including discussion of MVC (model-view-controller)

 

Authors

Table of Contents

Chapter 1: CMS Architecture
The idea of a CMS
Technology for CMS building
The CMS environment
Summary
Chapter 2: Organizing Code
The problem
Discussion and considerations
Exploring PHP and object design
Framework solution
Summary
Chapter 3: Database and Data Objects
The problem
Discussion and considerations
Exploring PHP indirect references
Framework solution
Summary
Chapter 4: Administrators, Users, and Guests
The problem
Discussion and considerations
Exploring PHP arrays and SQL
Framework solution
Summary
Chapter 5: Sessions and Users
The problem
Discussion and considerations
Session data and scalability
Exploring PHP frameworks of classes
Framework solution
Creating a session
Keeping session data tidy
Summary
Chapter 6: Caches and Handlers
The problem
Discussion and considerations
Exploring PHP static elements and helpers
Framework solution
Summary
Chapter 7: Access Control
The problem
Discussion and considerations
Exploring SQL MySQL and PHP
Framework solution
Summary
Chapter 8: Handling Extensions
The problem
Discussion and considerations
Exploring PHP XML handling
Framework solution
Summary
Chapter 9: Menus
The problem
Discussion and considerations
Exploring PHP array functions
Framework solution
Summary
Chapter 10: Languages
The problem
Discussion and considerations
Exploring PHP character sets
Framework solution
Summary
Chapter 11: Presentation Services
The problem
Discussion and considerations
Exploring PHP clarity and succinctness
Framework solution
Summary
Chapter 12: Other Services
The problem
Discussion and considerations
Framework solution
Summary
Chapter 13: SEF and RESTful Services
The problem
Discussion
Framework solution
Summary
Chapter 14: Error Handling
The problem
Discussion
Framework solution
Summary
Chapter 15: Real Content
The problem
Discussion and considerations
Framework solution
Summary

Book Details

ISBN 139781849511346
Paperback416 pages
Read More

Read More Reviews

Recommended for You

Expert PHP 5 Tools Book Cover
Expert PHP 5 Tools
$ 29.99
$ 21.00
AJAX and PHP: Building Modern Web Applications 2nd Edition Book Cover
AJAX and PHP: Building Modern Web Applications 2nd Edition
$ 23.99
$ 16.80
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
CMS Design Using PHP and jQuery Book Cover
CMS Design Using PHP and jQuery
$ 26.99
$ 18.90
jQuery UI 1.7: The User Interface Library for jQuery  Book Cover
jQuery UI 1.7: The User Interface Library for jQuery
$ 26.99
$ 18.90
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40