Archive | Tutorials RSS feed for this section

10 Basic tips on How to improve Usability in Webdesign

Web page usability is a vital criteria in any web design project as it is this factor that can get repeat visitors to a website. Improving usability of web pages may not be an easy job even for the most skilled web designers. Usability based web designing is all about habit formation, it cant be [...]

Read more

9 Types of Useful CSS Hacks

The most common problem of the front end web developers or designers is having their output looks and behave the same to different browsers. One of the solutions is using CSS hacks to apply different rules in a specific browser. A CSS hack is simply an ugly and inelegant way of getting a browser to [...]

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