Hello,
I am new to using the MVC (or any other design pattern) as well as zend
framework.
I can find lots and lots of documentation on what a controller is and how it
works however I am still struggling to find out how to decide how to
organise controllers in my applicaiton.
Say I had a
Sorry for refreshing so old thread but I have question to the example.
What if I don`t have the max depth of menu/submenu?
I mean in the above example there can be two submenu: submenu and
subsubmenu. What if there could be more? Is there a way to define it less
static?
THanks for any clue.
--
I`ve website sections stored in db. Each section has zero or more children
which then can also have children... so these sections are stored as a tree
structure.
Here is a sample sections hierarchy with url addresses:
-Home (http://domain.com/)
-About (http://domain.com/about/)
-Structure
Hi Guys,
I want to manipulate the standard default router.
At the moment I have the default
:module/:controller/:action
I want to first check the :module and change its case to lower case.
Then If the Url is myModule/Action, the default router expects the :action to
be the
I'm pretty terrible at the whole MVC thing but I've done ok with a separate
controller for each table (except for obvious exclusions like intersection
tables or tiny tables for normalization purposes), and then extra
controllers for stuff in your app, like users, and action helpers /
bootstrap
I have finally got the dojo editor working, well so I thought.
I just set up an insert to database, but it isnt sending the data there.
I am using this as a form element. (i use 3 of these for different fields,
but they are all basically the same though.
$this-addElement('Editor',
You can call setPrependBase(true) on the redirector action helper, and
it should fix your problem.
ardx wrote:
The base URL for my app is '/xx'. I am using version 1.7 of the framework.
I want to redirect to the 'activate' action of the 'user' controller, for
which the url would be
http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.regex
-Matt
On Mon, Dec 1, 2008 at 2:47 AM, Michał Zieliński [EMAIL PROTECTED] wrote:
Sorry for refreshing so old thread but I have question to the example.
What if I don`t have the max depth of
You should read up on RESTful URLs and REST in general. The gist is
/resource/action/id.
-Matt
On Mon, Dec 1, 2008 at 1:41 AM, Julian102 [EMAIL PROTECTED] wrote:
Hello,
I am new to using the MVC (or any other design pattern) as well as zend
framework.
I can find lots and lots of
That should be fixed with the release of 1.7.1 later today.
,Wil
From: Vladas Diržys [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 27, 2008 10:51 PM
To: fw-general
Subject: [fw-general] website
Hi,
in the download page of website (http://framework.zend.com/download/latest)
I just ran across this site (I know, I'm probably the last person on the
internet to know about it) and noticed that they have a pretty good PHP
tutorial section: http://www.pixel2life.com/tutorials/php_coding/. Some
very good Zend Framework tutorials popped up when I searched for Zend,
but other
Thanks for the reply Jason.
The actionstack was definitely the right way to go - i managed to develop a
solution using it, so thanks for pointing it out.
An explanation, in case someone has the same problem:
The actionstack is only loaded (lazy-loaded) when the actionstack helper is
used
I know how to create individual Zend_Form objects and display them in my view,
error check them, etc. Now what I am attempting to do though is have a form
class that can be called via various methods and have different combinations of
the form (output) be displayed.
If I only assign the first
Hi all,
It is my pleasure to announce the release of Zend Framework 1.7.1! You
can download this new mini release from the ZF download site:
http://framework.zend.com/download/latest/
A list of all issues resolved in this release can be found at:
I've got a couple of apps with a static route that is an empty string.
This route is used for the base of the domain (/). After upgrading
to 1.7.1, the route no longer matches requests for the base of the
domain.
On Mon, Dec 1, 2008 at 1:54 PM, Wil Sinclair [EMAIL PROTECTED] wrote:
Hi all,
It
Rather than looping through the registered plugins, the Front controller
exposes a getPlugin method which you can use to retrieve an instance of
a plugin by class name.
tony stamp wrote:
Thanks for the reply Jason.
The actionstack was definitely the right way to go - i managed to develop a
Removing the 3 lines of code in Zend_Controller_Request_Abstract that
reference ZF-3465 fixes it.
On Mon, Dec 1, 2008 at 2:10 PM, Jordan Moore [EMAIL PROTECTED] wrote:
I've got a couple of apps with a static route that is an empty string.
This route is used for the base of the domain (/). After
On Sun, Nov 30, 2008 at 10:07 PM, ardx [EMAIL PROTECTED] wrote:
[...]
I have tried setting the base url explicitly in the front controller:
$this-_front-setBaseUrl('/xx');
but this does not alter the problem behavior.
What am I missing?
I use $this-_front-setBaseUrl('/xx') and for
We're looking in to it now. If necessary, we can release a patch relatively
quickly.
,Wil
-Original Message-
From: Jordan Moore [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2008 2:53 PM
To: Wil Sinclair
Cc: fw-general
Subject: Re: [fw-general] Zend Framework 1.7.1 is now
-- Jordan Moore [EMAIL PROTECTED] wrote
(on Monday, 01 December 2008, 02:10 PM -0800):
I've got a couple of apps with a static route that is an empty string.
This route is used for the base of the domain (/). After upgrading
to 1.7.1, the route no longer matches requests for the base of the
-- Jordan Moore [EMAIL PROTECTED] wrote
(on Monday, 01 December 2008, 02:52 PM -0800):
Removing the 3 lines of code in Zend_Controller_Request_Abstract that
reference ZF-3465 fixes it.
Still need the static route that triggers the issue... I'd rather have
*both* issues resolved, not just one ;)
Sorry for the delayed response.
Apparently this was happening because I wasn't specifying the
controller for that route (it previously defaulted to index). This
seems like a significant change for a mini release.
On Mon, Dec 1, 2008 at 6:21 PM, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
-- Jordan Moore [EMAIL PROTECTED] wrote
(on Monday, 01 December 2008, 07:02 PM -0800):
Sorry for the delayed response.
Apparently this was happening because I wasn't specifying the
controller for that route (it previously defaulted to index). This
seems like a significant change for a mini
The route that fails is as follows:
routes
homepage
typeZend_Controller_Router_Route_Static/type
route/route
defaults
actionhomepage/action
/defaults
/homepage
...
/routes
The only configuration-type changes I make to the front controller is
setting the default module
Hello,
I have been using ZF for sometime and really enjoyed it. Now I am
trying to develop a more complex web application. For performance and
some other reasons, I want to call an external library written in C++.
Is it possible to do so from PHP? Thanks.
Bin
-- Jordan Moore [EMAIL PROTECTED] wrote
(on Monday, 01 December 2008, 08:24 PM -0800):
The route that fails is as follows:
routes
homepage
typeZend_Controller_Router_Route_Static/type
route/route
defaults
actionhomepage/action
/defaults
/homepage
...
This chapter shows a number of examples from simplifying layout in general
with 'CSS-less' layout managers, to dynamic loading of content in content
panes, and how
to create a wizard widget with a StackContainer and a small amount of
scripting.
You can download the article in PDF format on this
Hi guys,
The subject line sums it all up. I do some URL generation in the controller
/ model (form submission URLs and so on), and I'd love to be able to use the
same url View Helper that has proven so wonderful in my Views. What's the
trick? I'm sure it's something simple that I'm not smart
no that is not possible.
however it should be realitvly straightforward to compile the c++ library
into your php and offer a frontend to PHP for it. This is not as hard as it
sounds, you should find some information by googling that issue :)
On Mon, 1 Dec 2008 21:37:32 -0700, Bin Hu [EMAIL
29 matches
Mail list logo