News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Padraic Brady's Blog:
Zend Framework Blog Tutorial - Part 8 Create/Add Blog Entries (HTMLPurifier)
0 comments :: posted Wednesday May 14, 2008 @ 09:34:34
voice your opinion now!

Padraic Brady has posted part eight of his series guiding you through his construction of Zend Framework-based blogging software:

In Part 8 of the ongoing saga describing how to build a real world blog application using the Zend Framework we finally reach the point at which we concentrate on blog entries. At the end of this Part, we will be able to create and edit entries in preparation for Part 9 when we will explore displaying them to the world!

In this part, he shows how to add in the Entry controller with an Add action inside (and what code goes in them). He makes a Zend_Form extended form and throws in some validation, a use of HTMLPurifier and the code to push these entries into your database.

tagged with: zendframework application entry zendform htmlpurifier database


John Maver's Blog:
How to create a Bebo application using PHP 5
0 comments :: posted Monday May 12, 2008 @ 17:21:17
voice your opinion now!

In this new post on his blog, John Maver gives a step-by-step guide for creating a PHP5 application for the popular social networking site Bebo.com.

I have been answering a lot of email requests for how to get started with a Bebo application. Since applications can be written in any language that supports interaction with the Bebo REST API, developers have a lot of choices in how they build their application. The focus of this article will be on the "officially supported language" - PHP.

He defines the parts of the application first (the callback, canvas page, profile box, invitation and news stories). Much like the Facebook API, the Bebo system has you host the application on your own servers and use their developer libraries to interface with their systems. He makes a simple application that has a "story" published to it that shows to each visitor.

He also tosses in a method for knowing a bit more about the user - like if they've just added the application, if they're a normal user or if they've just removed it from their application list.

tagged with: bebop application php5 tutorial callback canvas profile news invitation

Padraic Brady's Blog:
Zend Framework Blog Tutorial - Part 7 Authorisation with Zend_Acl & Styling
0 comments :: posted Monday May 12, 2008 @ 11:15:49
voice your opinion now!

Padraic Brady is up to part seven of his blog creation (with the Zend Framework) series, tracking his development paths and though processes along the way. This new part of the seres looks at using Zend_Acl for user management and changing up some of the style of the site.

We previously covered how to authenticate an author to the blog, but we still have nothing ensuring only authenticated authors can access the new Administration Module. This is the domain of Zend_Acl, an implementation of an Access Control List system which limits access to resources by the roles assigned to a user.

He starts by helping you understand access control lists including roles and privileges. He plans out the different roles that he wants the application to have first (always a good first step) and then implements them in a class extending the Zend_Acl component. He wraps this all in a front controller to make it easy to use.

He also tosses in a bit there at the end about CSS and styling to handle the forms for login and the administration piece of the blog he created earlier.

tagged with: zendframework blog application example authorize zendacl styling

Padraic Brady's Blog:
Zend Framework Blog Tutorial - Part 6 Zend_Form & Zend_Auth
0 comments :: posted Thursday May 08, 2008 @ 09:33:36
voice your opinion now!

Padraic Brady has continued his series about making a sample blogging application with the Zend Framework in a new blog post, part six - a focus on Zend_Form and Zend_Auth.

In the previous entry, we created a new Administration Module to hold blog management functionality, added a Module specific layout for it, and discussed the upcoming need to ensure this is only accessible by authorised Authors. In this entry I'll unravel some of Zend_Form's mysteries in adding a login form, before using Zend_Auth to implement authentication for authors.

He includes the code (controller and view) to add the login form as a part of the Author functionality and, using a few decorators to help him build the form how he likes it, extends the Zend_Form component to make his form with username, password and submit elements. He throws in some validation and a bit of error checking to finish it off.

tagged with: zendframework blog application tutorial zendform zendauth

DevShed:
Using Timers to Benchmark PHP Applications
0 comments :: posted Wednesday April 30, 2008 @ 14:31:08
voice your opinion now!

DevShed has posted the second article in their series looking at benchmarking your PHP scripts. This time they look at the use of "timers" to check on script execution length.

Since you already know how to create timer functions and classes, in this tutorial, I'll create some concrete examples that show where these timing mechanisms can be applied in order to evaluate the performance of certain PHP applications.

They create a few classes that connect to a database and pull out rows (handing it off to a Result class). They use these classes in two examples - one with compression (output buffering) and one without using their Timer class to evaluate the differences.

tagged with: timer benchmark application tutorial class mysql row output buffering

Job Posting:
Ning Seeks Application Developers (Palo Alto, CA)
0 comments :: posted Tuesday April 29, 2008 @ 13:04:27
voice your opinion now!
Company Ning
Location Palo Alto, CA
Title Applications Developer
Summary

The Group:
We're looking to add an Application Developer to our team to continue to grow and evolve Ning's flagship service. You'd be joining a small, flat organization populated with people who are passionate about creating beautiful software used by millions of people in their daily lives. We're looking for a PHP & AJAX developer who is happiest using Agile development, SCRUM, extreme programming, or some interesting hybrid while working on semi-autonomous projects in a flat organization.

Responsibilities

  • Play a key role in designing new features (that will be used by millions of people), and generating ideas for updates and development, often in 2-4 week cycle times.
  • Ability to work with other teams - such as design and product management - but also work independently; having ownership of projects concerning features for networks on Ning.
  • Work on both front-end features - like photo sharing, video sharing, events, discussions, and blogs - as well as continuously optimizing the back-end infrastructure to increase performance at rapidly increasing levels of scale.

Requirements

  • BS/MS in CS or equivalent.
  • Experience with PHP, AJAX, and HTML/CSS.
  • Java or C++ or object oriented design experience.
  • Experience programming scalable web applications.
  • Knowledge of web services, and agile development methodologies desired.
  • Know your way around Flash.
  • Curiosity. You've created a social network on Ning. You dive into a bit more detail and are struck by the Ning Content Store and why we chose that architecture. You have lots of technical questions for us.
Link More Information
tagged with: job post palo alto ca ning application developer

DevShed:
Benchmarking Applications with PHP
0 comments :: posted Wednesday April 23, 2008 @ 21:02:17
voice your opinion now!

DevShed has posted the first part of a new series looking at benchmarking performance in your PHP applications.

If you're anything like me, you have had your head spinning with questions [...] these and other dilemmas (add your own to the list) sometimes make peace of mind a nearly impossible goal.

The tutorial talks about a few simple methods for running benchmark data including the use of microtime(), an OOP method and wrapping the call inside a method of their class.

tagged with: benchmark application microtime object oriented tutorial

Padraic Brady's Blog:
An Example Zend Framework Blog Application - Part 1 Introductory Planning
0 comments :: posted Tuesday April 22, 2008 @ 13:28:44
voice your opinion now!

Padraic Brady has kicked off a new series of blog posts with part one posted today - a look at the creation of a sample Zend Framework blogging application.

Starting any new application is like walking into a shop and being dazzled by the displays. You want everything but finally realise you only have so much resources to spend. So you isolate the specifics you must have, and focus on those.

This first part focuses on the planning stages of the application. He works through the features he wants the blog to have and some of the external libraries he's going to rely on (things like PHPUnit and jQuery). His goal for the series and the application is to have something he can replace his current blog with and to provide readers a step by step detail of the progress along the way.

tagged with: zendframework blog application series example planning

Ruben Vermeersch's Blog:
Integrating Zend Framework and Doctrine
0 comments :: posted Monday April 21, 2008 @ 10:28:54
voice your opinion now!

The Zend Developer Zone has linked to a tutorial from Ruben Vermeersch about how to get the Zend Framework and the Doctrine ORM library working together.

This article will guide you through the steps needed to set up a project using both the Zend Framework and Doctrine. In a step-by-step way, we will set up a simple message board application.

He includes introductory things like the folder structure and an example of having Doctrine installed inside of it. Its all code from there on out - the bootstrap file, setting up a global handler, and how to integrate it all into their simple ZF application.

tagged with: integrate doctrine zendframework tutorial application

Christopher Jones' Blog:
PHP PECL OCI8 1.3.2 Beta Available
0 comments :: posted Friday April 18, 2008 @ 09:32:00
voice your opinion now!

Christopher Jones has posted an announcement about the latest release of the PECL OCI8 package (version 1.3.2 Beta) hitting the streets:

I've released PECL OCI8 1.3.2 Beta - the latest release of PHP's OCI8 extension with support for Connection Pooling and Fast Application Notification. The release is based on the current PHP 5.3 development branch.

He notes another change in this release - a "session release" bit of functionality persistent connections will do when nothing is referencing them anymore, mking them work a bit more like normal connections. Issues that could be caused by this can be corrected with a new setting (oci8.old_oci_close_semantics) in your php.ini.

tagged with: oracle oci8 pecl beta release connection pooling fast application notification


application ajax book cakephp releases database zend package mysql pecl job code developer PEAR conference framework security PHP5 zendframework release

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