Skip to main content

Questions tagged [zend-framework]

open source, object-oriented web application framework implemented in PHP.

0 votes
1 answer
59 views

I am new to PHP . I have primarily worked on java. I want to run the helloworld program for PHP. I got it how to do it through blog But I have got some basic questions :- Do I need to install both ...
user3198603's user avatar
  • 1,896
5 votes
2 answers
376 views

Recently I debated with a colleague of mine about to the following issue: I claimed that it is not MVC sane and good practice to directly load a Model via Zend Framework's ViewHelper because it is a ...
Dimitoriosu Deshirasu's user avatar
0 votes
2 answers
90 views

in my project I am finding that I mix and match the following two patterns, when it comes to organizing classes in folders/namespaces: Modularized MVC Blocks module/Album/Feature/Controller/...
Dennis's user avatar
  • 8,267
2 votes
1 answer
214 views

This question is about handling namespaces and unit testing in ZF2. Let's say I have a module called Application. I have constructed composer.json to be like so "autoload":{ "psr-4": { "...
Dennis's user avatar
  • 8,267
4 votes
2 answers
154 views

I don't understand the actual point of Node.js and Zend routers. I feel like they are trying to replace the query string, but I only see examples of single level routes. For example this is what I ...
user3822370's user avatar
1 vote
3 answers
190 views

Controller: function indexAction() { if ($condition) $this->renumPosition($id); //LINE #1 } //Redirect only - function's sole purpose is to call another function function ...
Dennis's user avatar
  • 8,267
7 votes
2 answers
1k views

Brief Summary This question is asking for guidance on how to deal with Zend Form library that allows me to specify how to construct each form element (Controller side) and how to render each element (...
Dennis's user avatar
  • 8,267
1 vote
1 answer
134 views

In writing PHPSPEC tests for a Zend Framework 2 application, I'm left wondering how far to 'dig'. Consider this very simple case: A DomainService (Domain in the URL sense of the word) should be ...
Saeven's user avatar
  • 119
5 votes
2 answers
1k views

I am looking at this example Relevant excerpt from above: class AlbumController { public function getAlbumTable() { if (!$this->albumTable) { $sm = $this->...
Dennis's user avatar
  • 8,267
1 vote
0 answers
152 views

I will approach this from two directions (+ raw HTML itself being de-facto third) Proprietary HTML-generating code Code generating facilities provided by a popular library Proprietary HTML-generating ...
Dennis's user avatar
  • 8,267
2 votes
0 answers
230 views

Well this could be a very wide question as every project have different philosophies. But meanwhile question is that We have lot of projects like Yii, Drupal, Apigility which requires full write ...
kuldeep.kamboj's user avatar
0 votes
1 answer
762 views

A team has implemented a web application using MySql, PHP with the Zend framework and Angular.js on the client side. I am in charge of implementing the SEO for this application. I understand I have ...
Jérôme Verstrynge's user avatar
1 vote
1 answer
708 views

I'm introducing some more coding quality standards and checks via a new project - in particular, the PHP-FIG recommendations. This project using Zend Framework 2, and I have a fairly simple entry ...
HorusKol's user avatar
  • 4,161
1 vote
1 answer
1k views

I'm working in Zend framework 1 and was using Zend_Registry to store objects so that I could replace them in my controllers while unit testing: $auth = Zend_Registry::get('Auth'); // set in Bootstrap....
Martyn's user avatar
  • 795
6 votes
2 answers
2k views

I have an application that needs to accept and output values in both US Custom Units and Metric system. Right now the conversion and input and output is a mess. You can only enter in US system, but ...
Dennis's user avatar
  • 8,267

15 30 50 per page