PHP

Drupal 7 Themes: Dynamic Theming

by Ric Shreves | July 2011 | Drupal Open Source PHP Web Development

The Drupal system, backed by the powerful PHPTemplate engine, gives you the ability to create logic that will automatically display templates or specific page elements in response to the existence of certain conditions. This article by Ric Shreves, author of Drupal 7 Themes, reviews different techniques available for creating templates that are responsive to the conditions on the screen.

Among the techniques covered in this article are:

  • Working with the Administration theme
  • Using template suggestions to control display by page, node, or block
Read Drupal 7 Themes: Dynamic Theming in full

Drupal 7 Themes: Creating Dynamic CSS Styling

by Ric Shreves | July 2011 | Drupal Open Source PHP Web Development

Not only can you make the display of templates and elements dynamic, but you can also tap into similar logic for your CSS styling. This article by Ric Shreves, author of Drupal 7 Themes, reviews different techniques available for creating styles that are responsive to the conditions on the screen like the content being displayed, or the user viewing the content.

Among the techniques covered in this article are:

  • The use of $classes to create dynamic CSS styling
Read Drupal 7 Themes: Creating Dynamic CSS Styling in full

CakePHP 1.3: Model Bindings

by Mariano Iglesias | March 2011 | Open Source PHP

This article deals with one of the most important aspects of a CakePHP application: the relationship between models, also known as model bindings or associations. Being an integral part of any application's logic, it is of crucial importance that we master all aspects of how model bindings can be manipulated to get the data we need, when we need it.

In this article Mariano Iglesias, author of CakePHP 1.3 Application Development Cookbook, we will cover:

  • Adding Containable to all models
  • Limiting the bindings returned in a find
  • Modifying binding parameters for a find
  • Modifying binding conditions for a find
  • Changing the JOIN type of one-to-one associations
  • Defining multiple associations to the same model
Read CakePHP 1.3: Model Bindings in full

Enhancing your Site with PHP and jQuery

by Vijay Joshi | December 2010 | Cookbooks Open Source PHP

In this article, by Vijay Joshi, author of PHP jQuery Cookbook, we will cover:

  • Sending cross-domain requests using server proxy
  • Making cross-domain requests with jQuery
  • Creating an endless scrolling page
  • Creating a jQuery plugin
  • Displaying RSS feeds with jQuery and PHP
Read Enhancing your Site with PHP and jQuery in full

Working with XML Documents in PHP jQuery

by Vijay Joshi | December 2010 | Open Source PHP

In this article, by Vijay Joshi, author of PHP jQuery Cookbook, we will cover:

  • Loading XML from files and strings using SimpleXML
  • Accessing elements and attributes using SimpleXML
  • Searching elements using XPath
  • Reading an XML using DOM extension
  • Creating an XML using DOM extension
  • Modifying an XML using DOM extension
  • Parsing XML with jQuery
Read Working with XML Documents in PHP jQuery in full

Working with JSON in PHP jQuery

by Vijay Joshi | December 2010 | Open Source PHP

In this article, by Vijay Joshi, author of PHP jQuery Cookbook, we will cover:

  • Creating JSON in PHP
  • Reading JSON in PHP
  • Catching JSON parsing errors
  • Accessing data from a JSON in jQuery
Read Working with JSON in PHP jQuery in full

Page Management – Part Two in CMS

by Kae Verens | December 2010 | Content Management Open Source PHP

In this article, by Kae Verens, author of CMS Design Using PHP and jQuery, we will complete the page-management section, and will build a simple navigation menu for the front-end.

We will discuss the following topics:

  • How to make human-readable dates
  • Rich-text editing
  • File management for images and files

At the end of this article, we will have a completed page management system.

Read Page Management – Part Two in CMS in full

Page Management - Part One in CMS Design

by Kae Verens | December 2010 | Content Management Open Source PHP

In this article, by Kae Verens, author of CMS Design Using PHP and jQuery, we will learn a part of Page Management in which we create the forms for page management, and will build a system for moving the pages around using drag-and-drop.

We will discuss the following topics:

  • How pages are requested and generated
  • Listing the pages in the admin area
  • Administration of pages

Page management will be concluded in the next chapter, where we will discuss saving the pages, and integrate a rich-text editor and a file manager.

Read Page Management - Part One in CMS Design in full

Plugins in CMS Design

by Kae Verens | December 2010 | Content Management Open Source PHP

In this article, by Kae Verens, author of CMS Design Using PHP and jQuery, we will enhance the CMS engine so it can use plugins or external code modules, which can be "plugged" into the engine to add new abilities to it.

 

This article will include the following topics:

  • What are plugins and triggers and why must a CMS handle them
  • The creation of the plugin architecture
  • Enabling plugins
  • Handling of plugin database tables and upgrades
  • Creating an example plugin, Page Comments
Read Plugins in CMS Design in full

Joomla! 1.5 Top Extensions: Adding a Booking System for Events

by Suhreed Sarkar | October 2010 | Cookbooks Joomla! Content Management PHP Web Development

Besides showing events and a calendar, sometimes you need to add a booking system. For example, you are arranging a seminar or training and would like to publish the event information so that visitors can register to the event. In that case, a booking or reservation system can be added. In this article by Suhreed Sarkar, author of Joomla! 1.5 Top Extensions Cookbook, we will discuss how to add a booking system for events.

Read Joomla! 1.5 Top Extensions: Adding a Booking System for Events in full
Syndicate content
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software