zend-framework

Which PHP Framework is right for this project?

Hello all, I have asked this question before (didn't get a definite answer) and have read a lot of similar questions to this and I apologize to those getting tired of these sort of questions. :) I have a fully working PHP web project using my half pint PHP skills in a procedural way. But its not up to scratch at all. It can break at an...

Can you detect what framework a website is running on or what cms they use?

If you have a suspicion that a website is running on a certain framework or using a certain CMS is there a way to tell for certain? I have found methods for drupal using the Live HTTP headers plugin (http://www.lullabot.com/articles/is-site-running-drupal) but I am currently looking for a way to figure out if a site is using the Zend fra...

Zend Framework Query

Can anyone help me to do this in the right way?I mean.. like that : $db->select()->group..... I tried a few times, but doesn't work for me :( $this->q->fetchAll('select * from clubs, club_photos_default where clubs.id=club_photos_default.c_id group by clubs.id'); Best Regards, ...

How do I write Routing Chains for a Subdomain in Zend Framework in a routing INI file?

Hi, I am trying to create a subdomain using the Zend Router, and then for each section under a subdomain, such as subdomain.site.com/section/ I am creating another route and then trying to chain it to the subdomain route. but I don't know how. I have read all the documentation I could find and all the forums, but it leads me to figure i...

zend search lucene

I have a database that I would like to leverage with Zend_Search_Lucene. However, I am having difficulty creating a "fully searchable" document for Lucene. Each Zend_Search_Lucene document pulls information from two relational database tables (Table_One and Table_Two). Table_One has basic information (id, owner_id, title, description, l...

Does any one have an example of a website build in ZendFrameWork?

I want to know what this looks like. I don't have any ideas about ZendFramework, and that makes me sad. :( If any one knows of a site which is built in ZendFramework, or has any other experience with it, please do let me know your thoughts. ...

Ajax problem in Zend Framework

I want to make a edit profile form for my website. My idea is getting JSON object and after user updates the data, I will use Ajax to send the request to update the database. Here is the question. I want to use the Zend validator to validate the form. How can I use it when I use ajax to submit data? ...

How to validate form element generated by js in Zend Framework

I want to allow users to add textbox element using javascript by clicking the add button. I would like to know how I can use Zend validate to validate those elements that are created by javascript. ...

Zend framework web app not coming up?

I am trying to get a web app made on Zend Framework up but am encountering this error Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/worm/index.php on line 17 Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader.php' (include_p...

Cannot unserialize object after storing it serialized in database!

I'm trying to store a complex object here and am doing that by serialising the object running a mysql_real_escape_string on it and inserting it into a mysql database. However when I retrieve it running a sql query - I'm using Zend frameworks Zend_DB_Table here but anyway - and when I try to stripslashes and unserialize I dont get my obj...

Zend Framework and Drupal on the same domain

I have a small application written in Zend Framework that I want to embed into Drupal Page. Both apps (ZF and Drupal) are be located at the same domain. But per my knowledge ZF requires to be installed in the root of server, where I already have Drupal. My concern is that ZF controller will mistreat Drupal page requests as bad controlle...

I need a Zend Framework start up guide PDF file.

I need a Zend Framework start up guide PDF file. http://www.mikaelkael.fr/Zend-Framework-1-8-x-documentation.html this is an advanced level..but i need a beginners level ...

dojo crashes ie6 when using Zend Framework

I'm having issues with a application that I am writing that uses Dojo and Zend Framework. The issue only effects Internet Explorer 6, other versions of IE, ff, chrome and safari work fine with no issues. When IE6 lands on the login page it crashes with the send details to microsoft dialog box. The login script uses dojo to provide som...

File Upload and Unit Testing with Zend Framework

How can one best test a controller action which receives a file upload using Zend_Test_PHPUnit_ControllerTestCase? Ideally, $this->getRequest()->setPost() would take a filename in the data array, but this does not seem to be supported. I would be willing at this stage to bootstrap/run my application on the command line and create a req...

Zend Framework ORM-style table data gateway vs. extending Zend_Db_Table_Abstract

In the Zend Framework Quickstart, there has been a change from models that extend Zend_Db_Table_Abstract to the Table Data Gateway pattern. Personally, I have not had much experience with this pattern and I keep hearing this should most likely be used instead of the old way. A short example from the quickstart: Old way: class Default...

WebApps: Avoid Timeout when processing large amt of data

in web applications, how do i handle processing of large amounts of data that usually cause timeouts? eg. processing a db to output a large report? i usually use PHP/Zend Framework/MySQL. ...

Change an associative array into an indexed array / get an Zend_Table_Row_Abstract as non-associative

Hi out there in Stackland. I was wondering if there was either a function or an easy way to change an associative array into an indexed array. To elaborate, I'm using the Zend framework, and I've got a point in my site where I take out a row of an SQL table as an associative array. I've passed it to javascript via an echoed in JSON. ...

Custom forms in Magento

Can anyone provide a dummy guide \ code snippets on how to create a front end form in Magento that posts data to a controller action. Im trying to write a variant of the contact us from. (I know its easy to modify the contact us form, as outlined here). I'm trying to also create a feedback form with additional fields. Given this basic ...

Pagination and DAL

I'm currently implementing my DAL using DAO's. I would like to do pagination at the database level, so in my DAO's I currently have methods like getEvents($page, $limit) and getEventCount() Then in my service layer I'm returning an array array($events, $eventCount) and setting up the pagination in my controller (using Zend_P...

how much more efficient will it be to develop in PHP if using Zend Framework than not ?

I haven't determined to learn about zend framework, so your advice is important for me to make a final decision! ...