Hello,
I start with a small project and use the Survivethedeepend because of
nice domain layer and Unittests.
Now I have the problem to understand, how I can use the datamappers.
I don't know the strategy, how to get e.g. an entry in a controller:
$entry = new ZFExt_Model_EntryMapper;
or
$entry
Just a note to say that PHP5.2.11 corrects the spl_autoload_functions() bug
that Zend_Loader_Autoloader tries to emulate. (
http://www.php.net/ChangeLog-5.php)
Patch should have been merged to 5.3 branch.
Cheers
Julien.P
I completly don't understand.
--
View this message in context:
http://www.nabble.com/url%28%24urlOptions%2C-%24name%2C-%24reset%29---what-is-%24name---tp25491945p25505948.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Me too, what routes have to do with url helper?
Regards,
Saša Stamenković
On Fri, Sep 18, 2009 at 11:44 AM, aoohralex aoohra...@gmail.com wrote:
I completly don't understand.
--
View this message in context:
Artsemis,
Check out this
http://framework.zend.com/manual/en/zend.view.controllers.html
I also think you can override the viewRenderer. Below is an example from
framework.zend.com and shows how to use smarty. I assume if you just change
the setViewBasePathSpec to your dir that might work.
you zend tool maybe pointed at a different version of the framework that
your app is acutally running.
Try echoing Zend_Version::version(); in your app and see what that gives
you.
if it shows your the version you downloaded and your Zf tool is a different
version you need to update your zf
I completly don't understand.
You can use a specific route (selected by $name) do build url with.
Take a look at
http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.basic
-- Jan
Shaun Farrell wrote:
Artsemis,
Check out this
http://framework.zend.com/manual/en/zend.view.controllers.html
I also think you can override the viewRenderer. Below is an example from
framework.zend.com and shows how to use smarty. I assume if you just
change
the setViewBasePathSpec
I have difficulty reaching the issue tracker. I just wanted to comment
on one, as a reply to Benjamin, but it has become unresponsive.
-Bart
--
Bart McLeod
Space Web
Middenlaan 47
6865 VN Heveadorp
The Netherlands
t +31(0)26 3392952
m 06 51 51 89 71
@
Jan Pieper-2 wrote:
I completly don't understand.
You can use a specific route (selected by $name) do build url with.
Take a look at
http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.basic
-- Jan
I have read and I still don't understand sense
It's only useful if you have multiple routes. Sounds like you're using the
default route only, so just ignore it. If you need to pass a $reset flag,
pass null or 'default' as the second argument.
-- Mon
On Fri, Sep 18, 2009 at 8:41 PM, aoohralex aoohra...@gmail.com wrote:
Jan Pieper-2
El vie, 18-09-2009 a las 05:41 -0700, aoohralex escribió:
I have read and I still don't understand sense of second argument. Maybe
tell me what should I write in second argument if I use only url's:
http://localhost/CONTROLLER/ACTION/KEY/VALUE ??
default
If you don't want to use any specific
I think I've tracked down WHERE the problem is occurring, but I still
have no idea why. In application/modules/default/controllers/ my index
controller looks like this:
class indexController extends Fs_Controller_Action
{
public function init()
{
ok thx alayn and Mon - I will use 'default' :)
--
View this message in context:
http://www.nabble.com/url%28%24urlOptions%2C-%24name%2C-%24reset%29---what-is-%24name---tp25491945p25508445.html
Sent from the Zend Framework mailing list archive at Nabble.com.
I have a strange problem - when I write in url action layout doesn't work, I
see only content of view - examples:
it work:
http://localhost:81/library
it doesn't work:
http://localhost:81/library/index
but both adresses are the same (default action is index) - so how is it
possible ?
and
Hi,
I followed the tutorial at zendcasts.com ( http://tinyurl.com/n4hee2 )
to setup testing environment for my ZF enabled application. Everything
went fine with regards to the tutorial.
But the tutorial recommends including a test class that extends
Zend_Test_PHPUnit_ControllerTestCase in
Hello,
I have a controller that contains too many line of codes, which made
the controller too large.
So I want to split each action into eactly one class files.
Is it recommended? If not, what are the recommended way to make the
controller thin?
Thanks.
On Friday 18 September 2009 07:10 PM, Ryan Chan wrote:
Hello,
I have a controller that contains too many line of codes, which made
the controller too large.
So I want to split each action into eactly one class files.
Is it recommended? If not, what are the recommended way to make the
Artsemis wrote:
Shaun Farrell wrote:
Artsemis,
Check out this
http://framework.zend.com/manual/en/zend.view.controllers.html
I also think you can override the viewRenderer. Below is an example from
framework.zend.com and shows how to use smarty. I assume if you just
change
Hello,
On Fri, Sep 18, 2009 at 9:48 PM, Sudheer Satyanarayana
sudhee...@binaryvibes.co.in wrote:
On Friday 18 September 2009 07:10 PM, Ryan Chan wrote:
Consider splitting your code into multiple controllers and perhaps modules.
Do you have model classes by the way?
Consider the
Hi all!
I need some help because I can' t figure out what could be the
problem. I decided I see what is this Zend_Application and its looks
like it will be part of my life if I want to work with ZF in further
time.
I'm using Windows XP with wampserver (php-5.2.6).
php.exe's path is in among the
I have know - I had in layout:
?php echo $this-headLink()-appendStylesheet('css/main.css') ?
WITHOUT SLASH AT THE BEGINNGING !!
It should be:
?php echo $this-headLink()-appendStylesheet('/css/main.css') ?
and now everything is ok.
--
View this message in context:
Yeah i assume that would work too. The ZF Manula says
In fact, you can stack paths using the addScriptPath() method. As you add
paths to the stack, Zend_View will look at the most-recently-added path for
the requested view script. This allows you override default views with
custom views so that
Yes, this has been in since 5.3.0. I am actually suprised that it got
back ported to the 5.2 branch. Ideally we could use this, but since we
support PHP 5.2.6 onward, we need to keep our autoloader in tact as is.
Supporting that feature in userland actually take quite a bit of code.
I'll
Greetings, all!
Four years ago today, I boarded a plane to San Jose, CA, to start work
at my new employer, Zend Technologies, Ltd., as a PHP Developer on the
newly formed eBiz team. Since I first started at Zend, I've been
contributing to Zend Framework, with gradually more areas of
I installed zf library in /usr/bin/zend/library
the zf.sh in /usr/bin/zend/bin/zf.sh
this is on a mac running leopard with the php Apple installed. I did change
the include_path in php.ini to:
/usr/bin/zend/library
I'm getting an error message when I try /usr/bin/zend/bin/zf.sh. I think it
I installed zf library in /usr/bin/zend/library
the zf.sh in /usr/bin/zend/bin/zf.sh
this is on a mac running leopard with the php Apple installed. I did change
the include_path in php.ini to:
/usr/bin/zend/library
I'm getting an error message when I try /usr/bin/zend/bin/zf.sh. I think it
Quick question, I am running Zend Page Caching to cache some flickr photos
so that I don't have to pull the files down all the time since they don't
change. My question is...
On the manual pages for Page Caching it says that you don't have to generate
the Id since it is generated automatically.
If I can chime in with another benefit - bug hunting tends to push you into
exploring components you take for granted. You have no idea how useful that can
be, not only in using the component, but identifying improvements and fixes not
currently raised as issues. Let's not forget the hunting
I love the Zend Framework's functionality, but so much of how all the
necessary components hang together in a production quality Website is
difficult to discern.
I would like to get all of the following configured and working before I
write a single line of application specific code:
30 matches
Mail list logo