PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 6841 to 6860 of 6889

Quick Start to Zend_Application_Bootstrap

We added Zend_Application to Zend Framework starting in version 1.8.0. The intent behind the component was to formalize the application bootstrapping process, and provide a simplified, configuration-driven mechanism for it. Zend_Application works in conjunction with Zend_Application_Bootstrap, which, as you might guess from its name, is what really does the bulk of the work for bootstrapping your application. It allows you to utilize plugin bootstrap resources, or define local bootstrap...

Recite CMS 2.1.8 Released

We have today released Recite CMS 2.1.8, which presents a number of feature improvements, increased speed and stability, and the resolution of several issues. Additionally, we have released a number of updates to packages, as well as releasing versioning functionality as an add-on package. Some of the key enhancements in this version are as follows:Ability to easily manage robots.txt file via Control PanelAbility to revert to old versions of pages, files and templates (using the new versioning add-on...

Implementing a WebDAV Server With PHP

The lead developer of Recite CMS, Quentin Zervaas, discusses implementing a WebDAV server using PHP on his PHP web site, PhpRiot.com. Recite CMS offers this functionality out-of-the-box, allowing users to manage files on their Recite CMS web sites using their native operating system. Additionally, users can manage their templates using their favourite text editor.Although this article doesn't specifically help users of Recite CMS, it will hopefully give you a bit more of an insight into some design...

Custom Theming Guide

One of the great aspects of Recite CMS is that you can easily change its look and feel to match your corporate colours. We've just published a brief guide on how to achieve this. It takes only a few minutes to create a new theme, since all you need to do is the following:Create a new PHP class that extends the Application_Cp_Theme_Default class (this class specifies the default colours for Recite CMS)Specify the logo styleSet global colours, header colours and widget coloursUpdate your branding in Recite...

GPG-signing Git Commits

We're working on migrating Zend Framework to Git. One issue we're trying to deal with is enforcing that commits come from CLA signees. One possibility presented to us was the possibility of utilizing GPG signing of commit messages. Unfortunately, I was able to find little to no information on the 'net about how this might be done, so I started to experiment with some solutions. The approach I chose utilizes git hooks, specifically the commit-msg hook client-side, and the pre-receive hook...

Adding a Twitter Feed To Your Recite CMS Web Site

It only takes a minute to add a Twitter feed to your web site using Recite CMS. In our latest screencast, we show you the steps involved in doing so. The key steps involved are:Create a new template using the "Output Twitter RSS Feed" sample templateOpen your web site in container management modeAdd the web feed rule to a container using the RSS link found on your Twitter pageRefresh the page to see your latest tweets! Watch the following screencast to see this in practice. You can show the video...

A Simple Resource Injector for ZF Action Controllers

Brandon Savage approached me with an interesting issue regarding ZF bootstrap resources, and accessing them in your action controllers. Basically, he'd like to see any resource initialized by the bootstrap immediately available as simply a public member of his action controller. So, for instance, if you were using the "DB" resource in your application, your controller could access it via $this-db. Continue reading "A Simple Resource Injector for ZF Action Controllers"

Recite CMS 2.1.7 Released

Hot on the heels of Recite CMS 2.1.6, we have today released version 2.1.7. Typically we don't like to release new versions so close together, but there were a few issues brought to our attention that needed updating. Thankfully the easy upgrade process for Recite CMS means it only takes a moment to upgrade! We encourage all users to upgrade to this version, including installing the updates to the following packages:core-containerscore-assetscore-cp-componentscore-templatescore-pagesThe issues we...

Recite CMS 2.1.6 Released

Today we have released Recite 2.1.6, which presents a large number of stability fixes as well as several new features. We encourage all users to upgrade to this latest version, as well as to upgrade their ionCube Loader. Some of the key improvements of this release include:Show a list of related widgets when adding new widgets in the Control PanelAbility to upgrade/install all packages with a single commandAbility to put your site into maintenance mode via the Control PanelAbility to easily restart...

New Developer Documentation

We've just published a new developer document about custom backend request handlers. These handlers are used to allow interaction between client web sites and your own custom functionality. For instance, Recite CMS currently has its own set of backend request handlers which perform the following functions:Logging users outProcessing user-submitted formsManaging updates to user shopping cartsThey are especially useful as an endpoint for web sites that need to make use of Ajax, since the backend request...

Uploading Files in Recite CMS

One of the great features of Recite CMS is how easy it is to upload files to your web site. To demonstrate this functionality, we've posted the following new video. This video demonstrates the following functionality:Uploading a reasonably large file. A progress meter displays the progress.Extracting a zip file. The files extracted are kept in their original structure.Bulk deleting files. There's a number of bulk management tools, including bulk delete.Uploading multiple files. You can select many files...

Creating Thumbnails in Recite

This article is the first in a series giving you various tips on using Recite CMS. We'll frequently post new hints and tips on this blog. One of the great features of Recite CMS is the ability to easily create image thumbnails. This is especially useful if you want to display an image gallery on your web site.When creating a template, simply use the {thumbnail} template function. This function accepts the following arguments:path - This is the path to the image on your web sitew - The maximum width of...

Module Bootstraps in Zend Framework: Do's and Don'ts

I see a number of questions regularly about module bootstraps in Zend Framework, and decided it was time to write a post about them finally. In Zend Framework 1.8.0, we added Zend_Application, which is intended to (a) formalize the bootstrapping process, and (b) make it re-usable. One aspect of it was to allow bootstrapping of individual application modules -- which are discrete collections of controllers, views, and models. The most common question I get regarding module bootstraps is:...

Video: Control Panel Tabs and Widgets

We've just added the first of many new screencasts demonstrating Recite CMS functionality. One of the aspects of Recite CMS that makes it easy to manage your web site is that you can decide on your own layout for the Control Panel.This means that you can cater for the specific task you are currently performing, or for the screen size you are using. The following video demonstrates how this functionality works.Be sure to keep an eye on this blog, as we'll be posting more videos soon! Note: You can make...

Responding to Different Content Types in RESTful ZF Apps

In previous articles, I've explored building service endpoints and RESTful services with Zend Framework. With RPC-style services, you get to cheat: the protocol dictates the content type (XML-RPC uses XML, JSON-RPC uses JSON, SOAP uses XML, etc.). With REST, however, you have to make choices: what serialization format will you support? Why not support multiple formats? There's no reason you can't re-use your RESTful web service to support multiple formats. Zend Framework and PHP have...

Connecting to Amazon S3 with PHP

The lead developer of Recite CMS, Quentin Zervaas, discusses implementing an Amazon S3 (Simple Storage Service) on his PHP web site, PhpRiot.com. Recite CMS offers Amazon S3 connectivity with its assets mirroring add-on.This article discusses the following:Signing up for Amazon AWS and creating your access keysCreating, clearing and deleting bucketsUploading objects to bucketsDownloading objects from bucketsRetrieving a list of objectsUsing Amazon S3 as a Content Delivery Network (CDN) on your web site....

PHP 5.3.2 Released!

PHP 5.3.2 Released!
The PHP development team is proud to announce the immediate release of PHP 5.3.2. This is a maintenance release in the 5.3 series, which includes a large number of bug fixes. Security Enhancements and Fixes in PHP 5.3.2: Improved LCG entropy. (Rasmus, Samy Kamkar) Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen) Fixed a possible open_basedir/safe_mode bypass in the session extension identified by Grzegorz Stachowiak. (Ilia) Key...

Recite CMS 2.1.4 Released

Today we released Recite CMS 2.1.4, presenting a number of bug fixes, stability improvements and improvements to management tools. For more details, view the release information at http://download.recite.com.au/recite/packages/view?package=recite.Additionally, we released updates to all packages, which addresses a number of improvements to add-on packages. These changes primarily relate to the calendar, categories, assets, containers and listings packages.You can view release notes for all packages, once...

New Developer Documentation

As we renew our web presence, we're gradually bringing more and more of our documentation online. Today we added the Container Rule Driver Development Guide, which is a comprehensive guide for building custom container rules. If you're not sure what a container rule is, check out the Recite CMS Product Tour - this tour demonstrates some container rule functionality.Additionally, we also published some updates to the main Recite CMS developer guide. This guide contains generic information that applies to...

Recite CMS 2.1.3 Released

Recite CMS 2.1.3 was today released, which addresses an issue that may occur in certain situations when triggering events. No package updates are required for this version. You can upgrade using the Recite CMS Administration Site. We encourage all users to upgrade to this version. 

Latest PHP Tweets