At my company (http://www.targetspot.com) we did something really
radical and used our company name:
Targetspot_
Crazy, I know.
- jake
On Fri, Mar 26, 2010 at 3:31 PM, Rob Allen r...@akrabat.com wrote:
On 26 Mar 2010, at 16:31, jsuggs wrote:
Just curious, but do most people namespace their
Joseph:
Within an instance of Zend_Test_PHPUnit_ControllerTestCase:
...
public function appBootstrap()
{
$this-application = new Zend_Application(
APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini'
);
$this-application-bootstrap();
On Wed, Mar 24, 2010 at 1:09 PM, Joseph Crawford
i...@josephcrawford.com wrote:
Jake,
Will I also have to move my Bootstrap.php file into the /tests/application/
directory or will it know where to find it?
No, just establish where your application.ini file is relative to your
tests. I
On Fri, Mar 19, 2010 at 2:17 AM, Mike A mik...@hotmail.co.uk wrote:
On 18 Mar 2010 at 19:02, Jake McGraw wrote:
I'd like to use Zend_Loader_Autoloader::setZfPath() and the
autoloaderZfPath application.ini directive to select a ZF version
based on Environment, exactly as described here:
http
On Fri, Mar 19, 2010 at 2:20 PM, Mike A mik...@hotmail.co.uk wrote:
On 19 Mar 2010 at 13:22, Matthew Weier O'Phinney wrote:
-- Mike A mik...@hotmail.co.uk wrote
(on Friday, 19 March 2010, 04:29 PM -):
On 19 Mar 2010 at 10:52, Matthew Weier O'Phinney wrote:
-- Jake McGraw jmcgr
I'd like to use Zend_Loader_Autoloader::setZfPath() and the
autoloaderZfPath application.ini directive to select a ZF version
based on Environment, exactly as described here:
http://framework.zend.com/manual/en/zend.loader.autoloader.html#zend.loader.autoloader.zf-version
What the tutorial fails
On Tue, Mar 9, 2010 at 12:05 AM, Cameron themsel...@gmail.com wrote:
On Tue, Mar 9, 2010 at 10:49 AM, Jake McGraw jmcgr...@gmail.com wrote:
On Mon, Mar 8, 2010 at 8:51 PM, Cameron themsel...@gmail.com wrote:
Ok, I just tried removing everything except for
$data = $authAdapter
You can use Digits and Between:
http://framework.zend.com/manual/en/zend.validate.set.html#zend.validate.set.digits
http://framework.zend.com/manual/en/zend.validate.set.html#zend.validate.set.between
- jake
On Fri, Mar 5, 2010 at 4:47 PM, Steve Rayner
sray...@williams-refrigeration.co.uk
On Thu, Mar 4, 2010 at 11:39 PM, Hector Virgen djvir...@gmail.com wrote:
Anything in your cookies causing you to stay logged in?
--
Hector
On Thu, Mar 4, 2010 at 7:30 PM, Cameron themsel...@gmail.com wrote:
Hi guys, I'm really not sure where I'm going with this one, it seems like
I must
On Tue, Jan 5, 2010 at 7:56 PM, Steven Szymczak
sc.szymc...@googlemail.com wrote:
I've just started digging deeper into Zend_Form and I'm interested in how to
go about unit testing them. I've looked through the PHPUnit docs,
zf-general archives, and Pádraic Brady's blog (briefly) but haven't
Can you show us some code?
- jake
On Mon, Jan 4, 2010 at 8:36 AM, Jacques Marques jmarqu...@gmail.com wrote:
Hello,
When I change anything in my controller and try access it I receive this
message:
Fatal Error: Cannot override final method Zend_Controller_Action::_forward()
...
I am
foreach($res as $field = $value) {
$this-view-{$field} = $value;
}
On Tue, Dec 22, 2009 at 4:28 PM, Eugen_cro eugen.bo...@tvz.hr wrote:
Hi all, I'm studying AjaxContent helper to stop my previous practice to just
echo things from controller for json responses..
Now, I have one question:
Assuming it's Iterable, if not, use type casting first:
$res = (array) $res;
- jake
On Tue, Dec 22, 2009 at 4:46 PM, Jake McGraw jmcgr...@gmail.com wrote:
foreach($res as $field = $value) {
$this-view-{$field} = $value;
}
On Tue, Dec 22, 2009 at 4:28 PM, Eugen_cro eugen.bo...@tvz.hr wrote
On Mon, Dec 21, 2009 at 11:10 AM, Daniel Latter dan.lat...@gmail.comwrote:
OK thanks for the replies, I understand your reasons but this too seems
unmanageable, say if you have 50 customers, thats 50 databases!!? or am I
missing somthing?
This isn't so terrible, sandboxing accounts to their
I'm digging into some TDD, and I've managed to convert all of my Models to
use Zend_Test_PHPUnit_DatabaseTestCase and it works wonderfully.
My question is, is there any way to integrate Connection Mocking, like that
with my model testing to work within the
Zend_Test_PHPUnit_ControllerTestCase? I
On Sat, May 2, 2009 at 1:14 PM, howard chen howac...@gmail.com wrote:
Please feel free to answer:
1. What OS you are using during development? Windows? Mac? Linux?
Mac OSX
2. Do you edit source code on localhost or remote? i.e. is your
testing environment reside on localhost or remote?
Steven:
To get code completion do something like:
/**
* @var MyCustomHelper
*/
protected $myCustomHelper;
...
public function init() {
...
$this-myCustomHelper = $this-_helper-myCustomHelper;
...
}
using the @var notation will allow Eclipse to expand any reference.
- jake
On Tue, Feb
Philip:
Names (especially if you're handling international characters) tend to
have a huge sub set of possible characters and users tend to get very
pissed off if you develop a pattern that blocks their legal name. My
advice to you, check if it's blank, make sure it isn't too long for
your
try the following for the name w/ punctuation
uppercase dilemma:
preg_replace_callback('/(\b\w)/', create_function('$matches','return
strtoupper($matches[1]);'), $string);
- jake
On Wed, Jan 7, 2009 at 4:37 PM, Philip G g...@gpcentre.net wrote:
2009/1/7 Jake McGraw jmcgr...@gmail.com
Philip
My company uses:
Mantis + SVN + svk (for branching)
Mantis has a really nice plugin for commits that catches bug
and appends the commit to the bug status.
- jake
On Sun, Dec 21, 2008 at 2:33 PM, Robert Castley
robert.cast...@macro4.com wrote:
Hi,
Just curious here. I/we currently use
I'm trying to create a custom Zend_Session save handler that works
with memcache. The code basically goes like this:
?php
class Custom_Session_SaveHandler_Memcached implements
Zend_Session_SaveHandler_Interface {
private $cache = null;
public function __construct($cache) {
$this-cache
12, 2008 at 12:31 PM, Jake McGraw jmcgr...@gmail.com wrote:
I'm trying to create a custom Zend_Session save handler that works
with memcache. The code basically goes like this:
?php
class Custom_Session_SaveHandler_Memcached implements
Zend_Session_SaveHandler_Interface {
private $cache
;
}
and it works. Thanks for the help though.
- jake
On Fri, Dec 12, 2008 at 2:11 PM, till t...@php.net wrote:
On Fri, Dec 12, 2008 at 7:30 PM, Jake McGraw jmcgr...@gmail.com wrote:
Update:
Looks like the PECL serialize/unserialize used for storing the
$_SESSION array is different from PHP
Hello all, bit of a problem, not sure how to resolve it.
We've developed a RESTful JSON API using Zend Framework MVC. The API
makes heavy use of the Zend_View_Helper_Json object, each controller,
which represents a separate resource does the following when its done
processing:
. Just modify the response and disable
viewrenderer and layout.
I would do the actual logging in a controller plugin (not helper!). That way
it's more pluggable.
Regards,
Jaka Jancar
On 8. Sep 2008, at 20:15, Jake McGraw wrote:
Hello all, bit of a problem, not sure how to resolve
()
function works across all my inheriting controllers:
public function init()
{
$this-_helper-getHelper('Json')-suppressExit = TRUE;
}
- jake
Christoph
Jake McGraw wrote:
$this-getHelper('Json')-suppressExit = true;
Chris, you saved me at least day from having to rewrite all those
This isn't necessarily a problem with Zend Framework, but I
encountered it while trying to beautify my PHP error screens using ZF
MVC. Here's the scenario:
I'm using the following code to generate exceptions when an error occurs in PHP:
if (!function_exists('exceptions_error_handler')) {
I've spent the last two days struggling with this error:
We've been utilizing REST-ful JSON server for a couple of months now to host
our data api (it's written using Zend Framework). Our client apps access
this API, and decode the JSON. Yesterday, one of our client apps stopped
working,
error_reporting, log_errors, everything is set up.
- jake
On Fri, Aug 15, 2008 at 5:20 PM, Jake McGraw [EMAIL PROTECTED] wrote:
I've spent the last two days struggling with this error:
We've been utilizing REST-ful JSON server for a couple of months now to
host our data api (it's written using
-non-zts-20050922/xdebug.so
Again, nothing in error reporting, logging, etc. Just a blank screen.
Also, this works fine (same JSON) outside of Zend_Controller_Action.
-Matt
On Fri, Aug 15, 2008 at 8:20 AM, Jake McGraw [EMAIL PROTECTED] wrote:
I've spent the last two days struggling
screen.
Also, this works fine (same JSON) outside of Zend_Controller_Action.
-Matt
On Fri, Aug 15, 2008 at 8:20 AM, Jake McGraw [EMAIL PROTECTED] wrote:
I've spent the last two days struggling with this error:
We've been utilizing REST-ful JSON server for a couple of months now
to preDispatch(), View, Layout rendering causes blank screen.
- jake
Does the view do anything to the data? i.e. expect a exact array key to
exist?
Just some thoughts
Terre
-Original Message-
From: Jake McGraw [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 12:13 PM
To: fw-general
-
From: Jake McGraw [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 1:07 PM
To: Terre Porter; fw-general
Subject: Re: [fw-general] Zend_Json::decode in Controller causing Blank
Screen of Death
On Fri, Aug 15, 2008 at 12:31 PM, Terre Porter
[EMAIL PROTECTED] wrote:
I've been
a perspective?
Thanks for all help.
- jake
On Fri, Aug 15, 2008 at 3:51 PM, Jake McGraw [EMAIL PROTECTED] wrote:
Terre:
Thanks for the effort, but I have also been able to set up a basic
Controller / Layout / View and get my code to work. There still
appears to be some kind of intractable issue
Page not found:
http://framework.zend.com/wiki/display/ZFPROP/Zend_View_Helper_Jquery+-+Benjamin+Eberlei
- jake
On Thu, Jul 17, 2008 at 11:41 AM, Juan Felipe Alvarez Saldarriaga
[EMAIL PROTECTED] wrote:
Great news! :D
Like Matthew say, don't care wich JS framework you use if you can use
I've promoted the following components from standard/incubator/ to
standard/trunk/ in preparation for the 1.6.0 release:
Where is this in the wiki?
- jake
I've promoted the following components from standard/incubator/ to
standard/trunk/ in preparation for the 1.6.0 release:
Where is this in the wiki?
http://framework.zend.com/wiki/display/ZFPROP/Standard+Library
I should have been more specific, I'm not seeing any
You can find it in the svn repo. It will be compiled and part of the
official 1.6 docs later on, but for now, the code lives in the repository
only (as it is usual for new components.
No proposal documentation? Not that I don't mind digging elbow deep into new
code, just thought there would
I believe a lot of folks have been bit by this bug:
http://framework.zend.com/issues/browse/ZF-2978
The solution is posted here:
http://framework.zend.com/issues/browse/ZF-2978?focusedCommentId=20489#action_20489
Doesn't work because $_lastResponse is a private member so try using this:
Is this still the case for the 1.5.2 release or current trunk? The
indications on that bug are that it's fixed.
Looking at 1.5.2, looks like this was fixed.
- jake
?php
/**
* FIXME Use this class instead of Zend_XmlRpc_Client until bug is fixed
*
Here's the code:
http://rafb.net/p/GEpl5468.html (Code paste site)
My problem is that the first insertion is always successfully
committed to the database, even when I throw an exception. I've read
up on the way pdo_mysql handles transactions, none of my code
performs any task on DDLs, so my
, Jun 25, 2008 at 4:56 PM, Jake McGraw [EMAIL PROTECTED] wrote:
Here's the code:
http://rafb.net/p/GEpl5468.html (Code paste site)
My problem is that the first insertion is always successfully
committed to the database, even when I throw an exception. I've read
up on the way pdo_mysql handles
FlashMessenger is meant for displaying messages only after receiving a
second request, like a redirect:
FIRST REQUEST
Client to Server - POST form values
Server - Process form values
Server - Form values will cause a redirect, record all messages FlashMessenger
Server to Client - Send redirect
My goal with this helper was to be able to leverage a similar interface to
FlashMessenger
for a generic message storage that would persist messages across redirects
_and_ make them available if a redirect did _not_ occur.
This is a solution we came up with at company, I'd highly suggest
Analytics currently doesn't provide an API:
http://www.google.com/support/analytics/bin/answer.py?hl=enanswer=55561
- jake
On Fri, May 30, 2008 at 10:18 AM, Łukasz Wojciechowski
[EMAIL PROTECTED] wrote:
Hey,
is it possible to login to analytics with Gdata? I was trying with
$client =
I've used headScript with great success, typically, I'll have a layout
define my js library and then have each template insert it's
particular:
layout.phtml:
? $this-headScript()-prependFile('/js/jquery.js'); ?
... further down ...
?= $this-headScript() ?
search.phtml:
?
I was much faster and pratic than any oo way..
By this logic, why are you using any Zend Framework component?
Everything Zend does can be accomplished without a single object, just
process scripts top to bottom, throw in a couple of conditional
includes and put each piece of functionality in a
for the quick reply Jake,
One think I forgot to mention, I will be receiving some data through this
port (Dow Jones News Wire) in XML format. Is it still possible?
Jake McGraw wrote:
I believe you'll want to use Apache Virtual Hosts for this, as that is
what you would use to process SSL requests
Matthew, anyone watching this issue:
The provided solution:
class My_XmlRpc_Client extends Zend_XmlRpc_Client
{
public function call($method, $params = array())
{
$request = new Zend_XmlRpc_Request($method, $params);
$this-doRequest($request);
if
Technically, support for Zend Framework isn't required, they only need
to support PHP to get it working. I sat through the demo, looks
promising as an alternative to Amazon storage services.
- jake
On Tue, Apr 8, 2008 at 10:47 AM, Bradley Holt
[EMAIL PROTECTED] wrote:
Has anyone else heard
For the life of me, I can't find the FlashMessenger documentation in
the API browser:
http://framework.zend.com/apidoc/core/classtrees_Zend_View.html
If it isn't there, where should it be?
- jake
woohoo, site search! Much appreciated.
- jake
On Mon, Mar 17, 2008 at 9:58 AM, Alan Wagstaff [EMAIL PROTECTED] wrote:
Thanks to Wil and everyone involved in the Zend Framework project -
downloading it as we speak :-)
Love the new site as well, looks very Web 2.0 :-)
Just one thing
http://framework.zend.com/manual/en/zend.gdata.youtube.html
Shows up as Japanese for me :(.
- jake
On Mon, Mar 17, 2008 at 11:57 AM, Tobias Gies [EMAIL PROTECTED] wrote:
Hey Matthew,
Actually... that language switch is part of the search form. There's
another box below the list of
Thanks!
On Mon, Mar 17, 2008 at 12:35 PM, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
-- Jake McGraw [EMAIL PROTECTED] wrote
(on Monday, 17 March 2008, 12:13 PM -0400):
http://framework.zend.com/manual/en/zend.gdata.youtube.html
Shows up as Japanese for me :(.
Minor caching
54 matches
Mail list logo