Tutlist.com - Browse by Tag: zendframework

1 UPs
-vs-
0 DOWNs

1 Votes

Creating an ORM for PHP is not an everyday task but writing one is a good way to improve your PHP skills, especially if you use some of the additional features PHP 5.3 adds to the language. There are many excellent ORMs (Object Relational Mappings) already in existence and for a real-world project it would probably better to use one of these, but this tutorial uses the task of creating an ORM as a way to take a look at applications for some PHP 5.3 features.

2 UPs
-vs-
0 DOWNs

2 Votes

Lucene is not a database. It's an index. All field types other than unindexed are stored in a very efficient way, using minimal hashes to reflect each individual word type. When a search is made, the query is also transformed such that it will match those unique hashes of the data. Anything that you're not indexing should be something you're going to use to recover information from a database. Because we are going to normalize our data, this will be basically anything we'll be recovering about the document to display in a search result. Relying on the database to populate these fields will decrease your index size (and thus increase your search speed) by an order of magnitude.

0 UPs
-vs-
1 DOWNs

1 Votes

Based on the robust, multi-threaded GraphicsMagick library, aka the "Swiss Army knife of image processing", PHP's GraphicsMagick extension allows developers to add street cred to their image (sorry, I couldn't resist!) with some fairly powerful API methods. This article discusses the extension in detail, introducing you to its key functions and showing you how to rotate, resample, transform, crop, carve, and otherwise mangle your images until they roll over and beg for mercy. So come on in, and bring your evil laughter with you!

0 UPs
-vs-
0 DOWNs

0 Votes

With Zend Framework Release 1.10 there will be a way to handle compression and decompression. The new components Zend_Filter_Compress and Zend_Filter_Decompress provide a unified API for several compression formats. Actually the formats BZ2, GZ, LZF, RAR, TAR and ZIP are implemented.

0 UPs
-vs-
0 DOWNs

0 Votes

For reasons of performance and organization, chances are you're going to want to spread returned database results across several pages if a lengthy number are returned. However, doing so manually can be a tedious chore, requiring you to track things such as the number of results per page, the page number, and the current offset of the overarching query result. Recognizing this importance of such a feature, the Zend Framework developers created the Zend_Paginator component, giving developers an easy way to paginate result sets without having to deal with all of the gory details otherwise involved in a custom implementation.

2 UPs
-vs-
0 DOWNs

2 Votes

In Zend Framework based applications, error handling is typically done using the error controller, but there are different ways to send the execution to it - some better than others. Let’s look at some ways to trigger the error controller and how to have it handle different error conditions.

Popular Tut Tags

TUTlist on twitter

For all the newest TUTs, follow @tutlist

King Tuts

JohnGalt (105 Tuts)
JDStraughan (96 Tuts)
linkbuild (48 Tuts)
TJHooker (47 Tuts)
girish (39 Tuts)

TUTmark

Drag TUTmark to your bookmarks
to begin using our bookmarklet.

Don't know how to use a bookmarklet?
Check out this tutorial.

TUTlist News Feeds

Home Page (RSS and ATOM)
New TUTS (RSS and ATOM)
Subscribe by Email

Advertise HERE!

To learn how to get your ad here.
CONTACT US TODAY!