zend-framework

Skip SSL Check in Zend_HTTP_Client

All, I am using Zend_HTTP_Client to send HTTP requests to a server and get response back. The server which I am sending the requests to is an HTTPS web server. Currently, one round trip request takes around 10-12 seconds. I understand the overhead might be because of the slow processing of the web server to which the requests go. Is i...

Zend lucene : Multiple criteria on search = bad results

Hello, I new to lucene, and i noticed something annoying : In my search bar, if I type "USA" : return all the matches -> OK. If I type "Developper" : return all the matches -> OK BUT, -if i type "USA Developper", it'll not return me all the developper in the USA. It'll return me some developper in UK, DE, FR + Developpers, Sta...

zend plugin for eclipse

hi, i am planning to start develop a website that uses webservices , i am thinking using zend framework. as i am pretty much new for zend , i don't know much about its tools and configuration i have eclipse installed in my computer , now is there something like zend plug in that i can download and install in eclipse. As i have down...

How can I create Zend Form Element extends A html tag not INPUT

How can I create Zend Form Element implements A html tag not INPUT. I need create something like that: $Link = new Zend_Form_Element_Link( $field_name, array( 'label'=>'THIS IS LINK', 'href'="#", 'other_attrs' => array() ) ); Do I should use loadDefaultDecorators function or either? This Link element is not actually related t...

Can Db_Table models be used in bootstrap?

Hi, I wrote this piece of code to my bootstrap public function _initRouter() { $pages = new Pages(); $routes = $pages->getRoutes(); $front = Zend_Controller_Front::getInstance(); $router = $front->getRouter(); $router->addRoutes($routes); return $router; } I get the following error message 'No adapter found ...

Zend Db Field Comments

Hi All, does anyone know if you can get individual field comments from mysql using Zend Db. What im working on is a registration form that gets all its fields from the db table. At the moment im using the field names to generate the labels for the form elements however it would be much better to get this data from the information_schema...

[zend] best practice on rendering several views based on same dynamic data

HI all, I would like to have some input on the following: I would like some views to be systematically rendered (I can call $this->render from my layout for these views) regardless of which controller/action is executed. However the content used in these views is based on the same dynamically generated data and the code behind it is q...

Is this the right way of integrating Zend Framework with Doctrine 2?

i seem to managed to integrate Doctrine 2's autoloaders to Zend's, tho i am not sure if i am doing it correctly ... directory structure /application /models /User.php // following classes are doctrine models /Post.php /Tag.php /proxies /... // proxy classes generated by doctrine /.....

Remote Address Parameter in Zend_Http_Client

Hi Am developing a public site that uses the Zend_Http_Client to access remote logic.Is there a property/way in the Client adapter that I could set the remote address of the user browsing the site? Currently am using this workaround which combines both remote address and remote useragent. $client = new Zend_Http_Client(); $clie...

Sidebar missing after adding a custom decorator to a form element

the side bar is in the layout.phtml file. i am very confused why does adding 1 decorator to my form, cause my sidebar ... hmm actually its every thing after that section#main - i am using HTML5 - to go missing layout.phtml ... /* scripts and all */ ... <body> <header> ... </header> <nav> ... </nav> <div class="clear" /> ...

How to configure the Zend autoloader to load a custom path for resources before the default path

Separate but related to http://stackoverflow.com/questions/3363764/how-to-dynamically-override-forms-and-or-views-using-zend. I want Zend to try to load custom forms/views before loading a set of default forms for a web application to let clients create custom forms for their application. How do you configure the autoloader to load a d...

Zend Framework set view which returns html ready for output

I'm currently working on subscription mail message and have spotted one moment. To make controller more cleaner i would like to put all html generation inside view script. I know only render method for such needs, but it outputs script right away. Thanks ...

Zend_Navigation: Breadcrumbs not rendered when i have request params

i have setup Zend_Navigation and breadcrumbs seems to work only without query strings. say i have setup my navigation like ... ... array( 'label' => 'Posts', 'controller' => 'post', 'pages' => array( array( 'label' => 'view', 'controller' => 'post', 'action' => 'view', ...

How do i truncate a post (HTML/Markdown) but not give invalid markup

is there a way i can truncate a post. eg. create a blog summary. while not breaking the markup? 1st i am thinking of HTML if that can be done, how do i work on markdown posts i use PHP/Zend Framework/MySQL/Doctrine2 ...

Zend - How to install on WAMP

Hello all, If there is an easy to follow instruction or tutorial that I can use to learn how to install Zend on my machine that has a WAMP installation? The video listed http://www.zendcasts.com/getting-started-with-zend-and-wamp-server/2009/06/ is hard to read what he is writing. Thank you ...

What should I install in order to use Zend Framework?

Hello all, Based on the http://framework.zend.com/download/latest Zend Framework + Zend Server Community Edition(CE) Zend Framework Full Package Zend Framework 1.10.7 Full Should I install Zend Server Commuity Edition or just install package? Thank you ...

Zend Framework - Where is the directory for the library installed by Zend Server Community Edition?

Hello all, I am using Windows XP and installed Zend Server Community Edition 5.0.2. Please refer to http://wiki.mpsoftware.dk/doku.php/tutorials/zend_framework_in_phpdesigner_7 ///////////// Create a new project in phpDesigner 7 from the menu Project > Project Manager. Under 'Libraries', add the path to Zend Framework. Now load the ne...

Zend Framework: Hide navigation item in menu by show in breadcrumbs

i am using Zend_Navigation i want to show the nav item in the breadcrumbs but hide it in my menu, how can i do that? ...

Zend Framework: Looking For a Basic "stub" for a project

We've got a lot of ZF experience. Current project needs a basic user "control panel" and a staff "control panel" backend. We could roll this from scratch, but it seems like a waste of time. What we'd like: User Management (registration, forgot password, remember me, etc) ACL & Authentication A simple "backend control panel" for th...

Preventing SQL injections with PHP and Zend Framework - how?

I'm trying to defend the sign-in form on my page from SQL injections. On the serverside, I use Zend Framework (Zend_Db,Zend_Db_Table_Abstract), but its build-in injection prevention functions: quote, quoteInto, quoteIdentifier don't make their work well (as far as I know how to use them). Other ways like mysql_real_escape_string, addslas...