News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
feed this:

Joey Rivera's Blog:
Automate Db Model Creation with Zend_CodeGenerator_Php_Class
December 22, 2009 @ 08:33:06

On the Zend Developer Zone today there's a pointer to a new blog post from Joey Rivera about automating the creation of models in your Zend Framework application via the Zend_CodeGenerator_Php_Class.

This tool has to do a good bit of database manipulation so I've decided I'll build it in PHP using Zend Framework. I'll be using Zend_Db_Table_Abstract to communicate with the db tables from my project and I'll be creating a model for each table as well to store and manipulate data. I'll be working with lots of tables in the database and many have lots of fields.

Because the component lets you dynamically create PHP code, it can easily be used to create the model classes. Joey includes a link to the code you can use to add it into your own projects.

0 comments voice your opinion now!
automate model creation zendframework class



NETTUTS.com:
How to Create a Wordpress Theme from Scratch Part 2
September 18, 2008 @ 10:29:20

The NETTUTS site has posted the second part of their series looking at the creation of a custom WordPress template. This time they focus on expanding on the previous version, adding additional parts to the theme.

It's time for the good stuff now. We'll be adding the comments system, a sidebar with widgets and an archive for all the old posts. This will cover all that you need for a simple but well functioning WordPress theme, and hopefully you be able to apply this to all sorts of theming projects.

The give the code to create the sidebar (in their instance, an image from Flickr), handling the comments for each post and make the "archive" section to get to some of the older posts.

0 comments voice your opinion now!
wordpress theme custom scratch tutorial creation


PHPFreaks.com:
The creation of the new site
May 29, 2008 @ 09:31:01

With the successful relaunch of the PHPFreaks.com website recently, Daniel Egeberg wanted to share a little glimpse behind the work that it took to get to that place. In this new blog entry, he talks about the technology, code and design aspects they worked through.

I thought that, seeing as this is a programmer community, the people who have not had the privilege to have access to the forums where these things were discussed or access to the code itself might be interested in knowing a bit about the underlying technology and code that powers this website

Some of the technologies they use include the Zend Framework running on a CentOS with PHP5.2. Some of the highlights in the coding process included updates to Zend_Auth, using Zend_Acl for access management, content management and other various packages (like Zend_Feed, Zend_Form, Zend_Db, etc).

0 comments voice your opinion now!
creation new release website technology zendframework centos



Hardened-PHP Project:
Advisory - PHP unserialize() Array Creation Integer Overflow
October 09, 2006 @ 13:41:22

The Hardened-PHP project has just released another advisory about core PHP functionality, specifically in the unserialize function when dealing with arrays.

The PHP 5 branch of the PHP source code lacks the protection against possible integer overflows inside ecalloc() that is present in the PHP 4 branch and also for several years part of our Hardening-Patch and our new Suhosin-Patch.

It was discovered that such an integer overflow can be triggered when user input is passed to the unserialize() function.

You can get the full details from this advisory release including a recommendation to patch the installation until it is corrected in the current distribution.

0 comments voice your opinion now!
advisory unserialize core array creation integer overflow advisory unserialize core array creation integer overflow


DevShed:
Introducing Builder Objects in PHP 5
October 04, 2006 @ 15:03:57

DevShed kicks off another three-parts series today with part one of a look at working with builder objects in PHP5.

In this article, the first of a three-part series, you will be introduced to the basics of creating directors and builder objects with PHP 5. As usual, there will be copious examples to help you quickly start using the builder pattern in your own PHP projects.

Well, to put things in a simple perspective, when the builder pattern is applied, two objects are put into action to create a third one. First, these two objects create a director; as its name suggests, the director controls all aspects of the creation process and determines what pieces and modifications will be introduced into the target object. Finally, a builder is tasked with constructing the third object in question, in accordance with particular specifications. Sounds fairly simple, doesn't it?

They start with a look at starting with the Builder pattern, building a basic XML document to provide the structure for the target object. From that information, they show how to create the object and give a simple class to help direct that object along.

0 comments voice your opinion now!
builder prattern object xml creation director class builder prattern object xml creation director class



Community Events









Don't see your event here?
Let us know!


zendframework apache microsoft hiphop conference release wordpress extension facebook developer feature windows job opinion drupal framework performance symfony podcast codeigniter

All content copyright, 2010 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework