Quantcast
Channel: stoimen's web log » Web 2.0
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Bind Zend Action with Non-Default View – Part 2

Typical Setup Typically Zend Framework is setup to bind every controller’s action to a specific view. The names of the action and the view script must be the same, or at least must be similar –...

View Article



Image may be NSFW.
Clik here to view.

Zend Framework: Simple Acl Front Controller Plugin

Almost every web site need some abstraction over the access control list (ACL) to grant access of its users. As usual Zend Framework has quite good mechanism to deal with this – Zend_Acl. Out in the...

View Article

Media RSS and ZF – Part 2

Here’s the promised chunk of code making the most simple bridge between Zend Framework and Media RSS. Step 1 Just add a simple action in a controller: class IndexController extends...

View Article

Image may be NSFW.
Clik here to view.

Zend_Mail with GMail

You know how to setup Zend_Mail with SMTP, but you don’t know how to set it up with GMail! Here’s how to do it. Just follow the instructions $mailTransport = new...

View Article

Zend_Validate_Db_RecordExists in Zend Framework 1.10+

Zend_Validate_Db_RecodExists is an extremely useful validator in Zend Framework when you’d like to be sure that a give row exists. Now it seems to be even better. Before you could check for a specific...

View Article


Models in Zend Framework – Initialize All Methods with init()

In the Zend Framework’s documentation there are lots of examples how you can initialize all the actions in a given controller – by simply adding the init() public method in the controller’s code:...

View Article

Image may be NSFW.
Clik here to view.

Can Twitter Replace the RSS Feed Readers

I’m sure this is not the first time you’ve been asked this question. However there’s nobody today that doesn’t wonder the answer. For me – yes, twitter can replace the RSS feed readers, and NO – feed...

View Article

A Memcached Zend_Cache

Zend_Cache Usually Zend_Cache is used to store cache files on the file system, which can be really fast and useful in most of the cases. However there’s a faster cache mechanism and hopefully it’s...

View Article


Image may be NSFW.
Clik here to view.

How to Collect the Images and Meta Tags from a Webpage with PHP

Meta Tags and the Facebook Example You’ve definitely seen the “share a link” screen in Facebook. When you paste a link into the box (fig. 1) and press the “Attach” button you’ll get the prompted cite...

View Article


Image may be NSFW.
Clik here to view.

POST with Zend_Http_Client

CURL and Zend_Http It’s a well know fact that you can preform HTTP requests with CURL. Zend Framework does the same job with Zend_Http. Especially Zend_Http_Client can be used to “replace” the usual...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images