Category / Zend

Simple Controller Plugin in Zend Framework

Featured Image

This tutorial will describe how to create own Controller Plugin.
How to set up environment for zend framework controller plugin.
How extend the library with own class and finally how to use it.
Read more

1

Zend Framework Custom View Helper

Featured Image

Creating custom helper in new Zend Framework edition 1.9 in few easy steps.
Let’s assume that we need to fetch some data from database
but we do not need them in all view files.
Read more

18

Sending emails via Zend_Mail using Google email account

Sending emails via Zend_Mail using Google email account

Here is a little (working) code example of how easy it is to send emails via Zend_Mail class using your existing Google email account.

<?php 

$emailSmtpConf = array(
	'auth' => 'login',
	'ssl' => 'tls',
    'username' => 'email2@domain.com',
    'password' => 'mypasshere'
);

$transport = new Zend_Mail_Transport_Smtp('smtp.gmail.com', $emailSmtpConf);

$mail = new Zend_Mail();
$mail->addTo('email1@domain.com', 'Name 1');
$mail->setFrom('email2@domain.com', 'Name 2');
$mail->setSubject('Demo Email');
$mail->setBodyText('Email content here');
$mail->send($transport);
0

Zend framework notification system

Featured Image

I was playing around with admin interface for one custom project and I wanted general notification system for updating, adding, deleting records in database or any other action I could imagine. Zend framework has built in notification system where you can easily call the following helper (it’s an controller action helper). I hope this code will help somebody.

Read more

5

Drupal Zend Framework autoloader module, ActiveCodeline_ZendFrameworkLoader

Drupal Zend Framework autoloader module, ActiveCodeline_ZendFrameworkLoader

For all those poking around Drupal and Zend Framework, I wrote a little module that auto-loads Zend Framework. This module works with new Zend_Loader_Autoloader introduced in version 1.8. Therefore this Drupal module requires new 1.8 or higher version of Zend Framework library. Read more

1

Using partial helpers in Zend Framework

Featured Image

ZendFrameworkQuickstart application is demo guestbook with Zend library files included,
basic folder structure and some sample data for fetching and entering new.
It is already configured for usage and always updated with the latest release of Zend Framework.
Read more

9

Simple TODO application in Zend Framework and Doctrine ORM

Simple TODO application in Zend Framework and Doctrine ORM

I wrote a little TODO application in Zend Framework (1.8) and Doctrine ORM (1.1). I’m posting it more as a sample (practice) app for Zend and Doctrine newcomers. Entire process of adding, deleting and editing TODO’s is AJAX based. I used jQuery and Jeditable plugin for it. jQuery and Jeditable plugins are provided in this zip-ed archive. You should download Zend Framework and Doctrine ORM yourself, and place them in appropriate directory. Set the PHP include path to point to that directory. Read more

0

Doctrine ORM and Zend Framework, sample project to get you started (with sample database)

Featured Image

I’ve created a sample project for those of you interested in working with Doctrine ORM and Zend Framework (my favorite toys in last few weeks). All you need to get it up n running is a download of Doctrine ORM and Zend Framework. Read more

13

Zend_Auth Database Table Authentification

Featured Image

Zend Framework comes with interesting and useful components when it comes to authentication and authorization of users. Zend_Auth is one such component whose task is to handle authentication.

I made a little screencast on topic of Zend_Auth database table authentication. Screencast is video only, plus some visual pointers, no audio. Hope some of you find it useful as starting point. Read more

0

Zend Core – PHP LAMP/WAMP stack overview

Featured Image

For all those in open source web application development, like myself, LAMP/WAMP is well known term, especially if your development is based on PHP. Imagine WAMP with commercial support available and you what to you get? You get Zend Core. I don’t mean to be harsh neither to WAMP or Zend Core with statements like these. I’m simply trying to explain as short as possible, to those interested in Zend Core what it actually is. Read more

2