Archive | October, 2008
25 OpenSource PHP Framework

25 OpenSource PHP Framework

PHP Framework nowadays is getting more popular to web application developers who uses PHP as their main language. A web application framework is a software framework that is designed to support the development of dynamic websites, Web applications and Web services. The framework aims to alleviate the overhead associated with common activities used in Web [...]

Read more

Parsing JSON String

In previous post about JSON Requests and Responses we learn how to send JSON request to our server-side scripts and return a JSON response. Now back on the client, after the server has done what it needs to do, the response is set in the responseText property of the XMLHttpRequest object. Once the readyState and [...]

Read more

Zend Framework Blog Application Tutorial – Part 9: Exploring Zend_View and Displaying Blog Entries

With the release of Zend Framework 1.5, the Zend_View component received a long overdue boost in its functionality. It is now no longer a simple template engine, but a powerhouse of features intent on making the dynamic generation of a View as simple and as flexible as possible. This update introduced a few new concepts [...]

Read more

JSON Requests and Responses

In the previous post about JSON, you know what JSON is and you see what JSON looks like and how it differs to XML. Now, you are about to learn how to handle JSON Requests and Responses. Before we get started you need to have Zend Framework installed and running in you local webserver in [...]

Read more

Getting started with JSON

In a past few weeks, most of my projects handled involved XML manipulation and AJAX. And because of that I found an alternative to the XML which is more lightweight and can be easily used together with your DOM. Its JSON. JSON is a data exchange format that is a subset of the object literal [...]

Read more

Zend Framework Blog Application Tutorial: Part 8: Creating and Editing Blog Entries with a dash of HTMLPurifier

There’s nothing quite like having a functioning application emerge out of the controlled chaos we know as The Development Process. 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 [...]

Read more

Zend Framework Blog Application Tutorial – Part 7: Authorization with Zend_Acl and Revised Styling

This entry concerns authorization. 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 [...]

Read more

Zend Framework Blog Application Tutorial – Part 6: Introduction to Zend_Form and Authentication with 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 [...]

Read more

An Example Zend Framework Blog Application – Part 5: Creating Models with Zend_Db and adding an Administration Module

Step 1: Creating a Database Schema The schema for our blog’s database will be aimed at MySQL. We’re only starting with two tables to hold entries and authors, which may appear a little suspicious. The suspicion of course is due to the lack of two elements: Authentication and Authorisation. We’ll cover both in Part 6 [...]

Read more

An Example Zend Framework Blog Application – Part 4: Setting the Design Stage with Blueprint CSS Framework and Zend_Layout

Step 1: Adding Blueprint to the Project You can download the Blueprint CSS framework from http://code.google.com/p/blueprintcss/. It is released under a dual licensing system using a Modified MIT License, or the GNU General Public License. Decompress the archive of the latest 0.7 release (as at time of writing) and return to our current project’s public [...]

Read more