acceptable for security reasons (as the
originating address can be spoofed). I would like a simple script that can
be invoked directly from php.
Any help would be highly appreciated
Thanks!
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend Framework| http
work from the looks of
it:
http://phpseclib.cvs.sourceforge.net/viewvc/*checkout*/phpseclib/phpseclib/Mat
h/BigInteger.php?revision=1.5
Short of updating the functions and variables the make them explicitly
public and private, I'm not sure what else would need to be done to that.
--
Ralph
-$key = $value;
}
I'm doing this because the user has the option of passing in either a model
(an object type), or an array of the data that would be in the model. But, I
don't want to have two different code paths for processing the data.
--
Ralph Schindler
Software Engineer
at the end of your session with following a defined mapping scheme.
This component therefore tries to achieve the separation of Business logic
from the underlying persistence.
comments are greatly appreciated,
Benjamin
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend
and Zend_Queue? I don't have the bandwidth right
now to complete these two projects and I hate to leave them sit in the
laboratory and incubator.
Thanks.
-Justin
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend Framework| http://framework.zend.com/
in the way of unit tests/docs. Etc. Just want to
get a sense of what level of work is left. It appears a lot of people are
interested in this!
Thanks!
Ralph
On 1/27/09 11:46 AM, Justin Plock jpl...@gmail.com wrote:
Correct.
Thanks.
-Justin
On 1/27/09, Ralph Schindler ralph.schind...@zend.com
. In other cases, an associative array is just
fine.
-ralph
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend Framework| http://framework.zend.com/
Hey Keith,
I think thats an issue with the CLI Client and parsing options. I will
check into it today and roll out a new devel package later tonight or
tomorrow morning (i also have to check code from another contributor).
The package will be 'devel2' when it comes out
-ralph
keith Pope
linked in there believe).
-ralph
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend Framework| http://framework.zend.com/
.
-ralph
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend Framework| http://framework.zend.com/
The channel is located at http://pear.zfcampus.org
Give it a whirl and let me know what you think. I plan on spinning out some
new devel packages as I introduce (or reintroduce) some new features into
the Zend_Tool component, and as the Zend_Application proposal takes shape.
Cheers!
Ralph
--
Ralph
box. If I manually type /admin/index the pagination works fine
How do I forward the user to the admin controller so it doesnt break
pagination
thx for any pointers
Eric
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend Framework| http
place
in its development.
The wiki articles are getting checked against the codebase, then published
to devzone as well. Stay tuned!
-ralph
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend Framework| http://framework.zend.com/
, not respecting subqueries by prefixing them with the table
alias, and not adding parentheses where necessary (adding the latter should
be a given when adding select expressions?).
Am I going against the grain here? ;)
Thanks for the help.
Alex
--
Ralph Schindler
Software Engineer
Security Service and the Macro 4 plc internal virus protection system.
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend Framework| http://framework.zend.com/
implement more complex stuff like sending queries to different servers
and merging the results and so on.
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend Framework| http://framework.zend.com/
or subqueries?
eg:
1. DELETE FROM table1 WHERE col1 IN ( '1', '2' )
2. DELETE FROM table1 WHERE col1 IN ( SELECT col2 FROM table2 WHERE
col3=? )
Or is it only capable of handling basic equalities?
Thanks.
Alex
--
Ralph Schindler
Software Engineer | ralph.schind...@zend.com
Zend
Taco Jung wrote:
Hi,
I'm in the situation where I need to access tables in different
databases and looking for a good way of using Zend_Db with multiple
databases.
Two options here:
in your table definitions, you can set $_schema = 'myschema';
Also, you can pass this information in at
in a host based cookie which makes the
website create a cart per language.
Any idea to workaround this in a clean way ?
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
the company.
-ralph
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
a look at
the Quickstart guide and the quickstart application:
http://staging.framework.zend.com/docs/quickstart
-ralph
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
hoping you all can help before going down that path.
Thanks in advance.
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
-cases where this would be
useful for rapid development and easy cooperation with the rest of Zend
Framework.
-- A.J. Brown
Zend Certfied PHP Engineer
HOME: http://ajbrown.me
BLOG: http://coding-adventures.blogspot.com
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend
I know of this problem too, I actually started working on a proposal for an
autoloader that would play nice with other autoloaders.
http://framework.zend.com/wiki/display/ZFPROP/Zend_Loader_Autoloader+-+Ralph
+Schindler
In short, it would allow you to register a namepsace prefix that would
only
have to have anything to do with Zend_Loader, and no other component
should directly reference Zend_Loader, everything should be done
through the SPL autoload stack.
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
bugs). Lemme ping him.
For projects with a large number of committers, I've found this to be the best
way to keep things organized.
That's what is prompting all of this :)
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
There is one in SPL already:
http://www.php.net/~helly/php/ext/spl/classRecursiveDirectoryIterator.html
Have you had a look at it? DOes that suit your needs?
-ralph
wadearnold wrote:
I am looking to implement a RecursiveDirectoryIterator based off of the SPL's
DirectoryIterator and
of a nights work you fix 2 distinctly different
issues, for example one in Zend_Controller and another in Zend_Db, they
should each be committed to svn within their own separate commit. This will
help in not only merging, but backing out regressive issues.
--
Ralph Schindler
Software Engineer
,
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
);
}
I'm using the stable version of 1.6.1
I don't see my message and I don't even see it in the $_SESSION
superglobal
If there's anymore information needed, please let me know...
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http
, Rob Riggen [EMAIL PROTECTED] wrote:
Is there a way to force the character set on mysql db connections to UTF-8?
Thanks,
Rob
Robert Riggen - Zend Certified Engineer
Big Yellow Technologies, LLC
Essex Junction, VT 05452
802.578.6719
[EMAIL PROTECTED]
--
Ralph Schindler
contain module
directories...
Best regards.
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
want to use a different layout folder for the
new module i developing now hence my quest.
-
dee
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
the command lines? I am using Plesk 8.4 and do not have access to the
shell.
I'm new with Zend Framework and new with PHP as well. Any help is greatly
appreciated.
Thanks,
springgrass
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http
\Zend_Tool\bin\zf.php(55):
ZendL_Tool_Rpc_Endpoint_Cli::main()
#5 {main}
thrown in C:\wamp\phpinc\ZendFramework-1.6.0RC3\library\Zend\Loader.php on
line 232
Any ideas, anyone?
Thanks,
ken
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http
Any ideas, anyone?
Thanks,
ken
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
to
join up!
Thanks,
Ralph Schindler
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
others couldn't do, which is sort of sad when I look back at the
high expectations (or speculations?) that were built up in the first mails
about a ZF tooling environment.
my .02.
Best regards
Tobias
2008/7/11 Ralph Schindler [EMAIL PROTECTED]:
Paddy + Rob,
Thank you guys for taking
be going through your 'building a blog'
posts you've got on your blog.
-ralph
--
Ralph Schindler
Software Engineer | [EMAIL PROTECTED]
Zend Framework| http://framework.zend.com/
A perfect example of how this should be done is Zend_Db. From ZF1.0 -
1.5, they introduced a new way of doing thing. All my code now uses the
1.5 way, but the old one still worked. When upgrading to 1.5, we made 0
code changes. Zero. And that's how a well designed upgrade should
behave.
I
Actually, in the case you bring up, I think it depends on the goals of
the object which influence its api. When you talk about having getters
and setters, you are typically modifying the STATE of an object...
In other words, you are actually further defining the objects role.
In you example,
Thomas,
Have you looked into PHP_CodeSniffer? It seems pretty promising, and it
might be a good solution in the interim for checking code.
-ralph
reto wrote:
Hi Thomas,
The word apidoc checker sounds very interesting. :)
If you could think about making this available, that would be very
Well, I am able to extract on both OSX as well as Vista with 7Zip
I will talk to the team more over the next few days on perhaps finding a
better way to distribute demo like applications.
-ralph
Julian Davchev wrote:
Is it just me or archive is broken and cannot extract.
Ralph Schindler
Try holding down shift when you reload. It looks like the old
stylesheet is loading perhaps?
Let me know,
-ralph
Mark Maynereid wrote:
Hi,
The new ZF site's home page looks broken under Firefox 2.0.0.12 on Debian's
stable 'etch' release. I have attached a screenshot.
It also fails to
You should be setting these options through
Zend_Session::setOptions($options);
Then, call Zend_SEssion::start();
OR, you can pass the options to Zend_SEssion directly
Zend_Session::start($options);
By default, Zend_Session will turn ON use_only_cookies (this is why the
option needs to be
Is your workstation windows and your server *nix?
If so, that could be the problem. You are probably refereing to that
vaidator in a case insensitive way. Perhaps try loading it with
NotEmpty instead of notempty.
If that doesnt work, perhaps there is some deeper issue.
-ralph
Karl Katzke
Hi David,
This is interesting work. While the scope of your Plugger is pretty
high-level, I think you might be able to leverage a component already in
Zend Framework to handle what you call areas and loading.
http://framework.zend.com/manual/en/zend.loader.pluginloader.html
While
Yeah, I would like to see the ability to 'call to action' or something
to that effect in Jira/Confluence. Perhaps Wil, you can see if there
exists a plugin for this type of feature? It would be immensely useful.
Kinda like a reverse Watch this feature.
-ralph
Is there a mechanism for
) and am totally ready
to get cooking ;)
Thanks all!
Wil Sinclair wrote:
I couldn't be happier to announce that as of this morning, Ralph
Schindler has joined the Zend team to work on ZF full time! Congrats,
Ralph! Now get back to work. :)
,Wil
Navigation, in this days, is not just a vertical or horizontal menu. I spent
a month developing 6 components for a social networking site that used tags
as its main navigation system. And believe, we had to develop some really
interesting algorithms. So I'm basically concerned about this stuff,
Ralph, Fix the Zend_Auth_Adapter_DbTable and the object FETCH_MODE bug
Don't make me nag you on #zftalk ;)
Wednesday is my Zend Framework issues day. I plan to sit down a go
through my issue list and make alot of commits that day. That said:
Zend_Auth_Adapter_DbTable is gonna be
I'm just going off memory right now, but I think stack traces for
exception objects are wound up from the point which they are created,
not the point which they are thrown from. So this would mean that when
you look at the trace from the exception, it originates from the
getException method,
wrote:
It's at the throw, not at instantiation.
On Dec 14, 2007 12:14 PM, Ralph Schindler [EMAIL PROTECTED] wrote:
I'm just going off memory right now, but I think stack traces for
exception objects are wound up from the point which they are created,
not the point which they are thrown from. So
yes, you can make the call, but for things like that, you might be
interested in this usage case:
// from views (you'd be essentially over writing the file at that index.
// but this would be a application Best practice you'd decide for
// the whole project
$view-HeadScript()-offsetSetFile(-50,
Are you starting Zend_Layout without passing it any parameters? Do you
give it the path to your layout scripts? Do you set a layout script to
render?
Also, do you have any empty image tags in your site that might be
calling img src= on your site? If so, that might be pulling up your
index
Are you using Zend_Layout? Do you have it set to look for layout
scripts and are setting a default layout?
Or, are you using _forward by any chance?
-ralph
duforu wrote:
Thanks for the tip. I took your advice and removed the calls to render.
Unfortunately the page is still producing
Hey Richard,
We are actually working on the Placeholder implementations at this exact
moment! There were some changes needed to the made to the Placeholder
and Registry to facilitate the new Head*() helpers.
That said, I think until tomorrow (if you need Zend_Layout) you might
want to roll
Actually, what you describe is exactly the intention. The idea that
Action Controller rendered view scripts can inject some dependencies
into the final layout. To be honest, I used my original headTitle() for
this, and I have not put the current headTitle() (in the incubator) into
However, specifying the default prefix as Zend_View_Helper for helpers
placed under views/helpers/ doesn't make much sense since Zend prefix
is occupied by the official Zend Framework components, so if I wanted
to place helpers there at all (it's more likely that I have my own
library), I think
Dodger wrote:
Ralph,
Do you have any documentation or usage examples? Is there a proposal
document?
I am actually working on that stuff as I write this.
Effectively, in executing and building the code for Zend_Layout, I got
to the point where the Inflector was needed. Upon proofing out the
Hey Glen,
I'll take some time to respond how I think things are going, and I
can probably address a few of your suggestions inline below.
1. Support for PHP namespaces.
- Obviously, this can only happen after 5.3, and would probably not be
backward compatible.
- This is not a high
Ralf Kramer wrote:
public function init()
{
Zend_Controller_Action_HelperBroker::addPrefix('Quasda_User_Helpers');
$helper = Zend_Controller_Action_HelperBroker::getHelper(User_Helper);
$helper-doSmth();
}
Try this:
public function init()
{
Hey Kexiao,
PHP itself already has XML support above and beyond most other
languages. That said, there are a number of XML interfaces you should
look at.
For xml parsed into native structures:
http://us.php.net/simplexml
For a dom based interface to xml:
http://us.php.net/dom
Or if you
Hey, I was at zendcon all this week, as soon as I get back in town (on
sunday) ill look into your problem and have an answer.
-ralph
ViShap wrote:
Today I installed a fresh XAMPP with PHP 5.2.4
SAME PROBLEM!
The Session-values do whatever the like - be random as hell :(
It realls looks
Richard Thomas wrote:
Any planned meetups?
When and where, I have already found Darby and Matthew.. and a few other
zenders.
From the framework though, not that many so far
-ralph
I think this is part of a bigger problem in general actually.
As noted here: http://framework.zend.com/issues/browse/ZF-417
I really think the framework could benefit from a component driven test
manager. PHPUnit3 is pretty great, but its overall goodness is to test
code and suites.. and I
As noted here: http://framework.zend.com/issues/browse/ZF-417
Hehe, I guess we can say that this problem pops up exactly once every year..
http://framework.zend.com/wiki/display/ZFDEV/Zend+Framework+Unit+Tests+Manager
Added by Ralph Schindler, last edited by Ralph Schindler on Oct 05
Interesting you should bring this up. I am in the planning and
discovery stages for this component. Once I get an api planned and a
skeleton created, I will propose it for consideration to be included in
the core.
The quick overall idea is that it will be a component (not completely
unlike
Same issue talked about here:
http://framework.zend.com/issues/browse/ZF-1680
-ralph
debussy007 wrote:
Hello,
I can see in the doc that Zend_Auth_Adapter_DbTable allows to authenticate
if a username and password have been given. But in my case I have an extra
field that allows to know
And there is a nice little undocumented feature that allows for CONST
replacement and Global Var replacement, like so:
like this:
;; Cache settings
cache.use = true
cache.path = APPLICATION_PATH variable/cache/
OR this:
;; SESSION SETUP
session.name
This is not the ini format, you are tring to merge the ini format and
the array format, you need to do one or the other. To use ini, it would
look like this:
ldap.option.host = 10.78.165.44
ldap.option.bind_dn = cn=LDAPUser,OU=Users,DC=example,DC=com
or if you wanted to use sections
[ldap]
Here is an idea:
http://pastebin.ca/665838
Since Partial is what I consider a stateless helper, i dont see an
issue in allowing for the signature of the helper to determine its
behavior. For example, my implementation (as noted above), could be
changed to this:
public function
Matthew Weier O'Phinney wrote:
No. 5.2.0 introduced a BC break in property overloading with previous
PHP versions, as well as shipped a broken version of ArrayObject. The
Right.
5.2.1 fixes things somewhat, in that ArrayObject now works. However, you
still cannot overload to arrays
Kevin McArthur wrote:
The biggest issue is that the debian etch (now stable) distribution
spec's on php 5.2.0 which currently causes an incompatibility between
parts of Zend Framework and Debian.
We should encourage Debian should fix this. Perhaps pressure can be put
on them to raise the
Ralf Eggert wrote:
Hi,
I wonder if anyone has implemented a pingback / trackback functionality
yet. What would be the best approach, which components should be used?
Any hints, tutorials or links?
Thanks and Best Regards,
Ralf
I can offer code.. ;)
http://pastebin.com/f64e59367 (linked
I am looking for use cases of people using Zend_Db_Table for their
modeling needs.
Specifically, the easiest use case would be an inheritance paradigm, like:
/controllers/
/models/
/BlogPosts.php [class BlogPosts extends Zend_Db_Table_Abstract]
/BlogPost.php [class BlogPosts extends
I have just tested your code (in two scripts) and it seemingly works fine.
$ cat test_session1.php
?
require_once 'Zend/Session/Namespace.php';
$authNamespace = new Zend_Session_Namespace('Zend_Auth');
$authNamespace-user = myusername;
?
Username set.
$ cat test_session2.php
?
require_once
I think this is a great idea, and I imagine it would be best implemented
as a Controller plugin. By hooking the routeStartup() and
routeShutdown(), can you then set the isDispatched flag to not dispatch.
Then at dispatchLoopShutdown(), the response object can be populated
with the cache
don't use that would define their own.
Obviously everything is possible but I'm saying this based on other PHP
apps I've seen.
Andi
-Original Message-
From: Ralph Schindler [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 26, 2007 10:47 AM
To: Bill Karwin
Cc: Zend Framework General
Subject
Hey Simon,
I had this discussion back in the day with Gavin, and at the time,
there was little bandwidth to take on/ enforce this type of
cross-component requirement.
I would also be interested in aiding you in this endeavor in a minimal way.
* Review the existing 'defaults' proposal by
Inline below:
Bill Karwin wrote:
-Original Message-
From: Ralph Schindler [mailto:[EMAIL PROTECTED]
factory(Zend_Config $config);
factory(string $type, Array $args);
factory(string $type, Zend_Config $args);
Yes, I agree with that. It's no problem to code it.
Awesome
Zend_Db_Registry::getInstance()-BlogAdapter = $db;
should be
Zend_Db_Registry::getInstance()-blog = $db;
//OR
Zend_Db_Registry::getInstance()-blog = Zend_Db_Registry::DEFAULT;
There are two thoughts below:
Bill Karwin wrote:
// current behavior: specifying literals
$db = Zend_Db::factory('mysqli', array(...));
// current behavior: specifying values from config
$db = Zend_Db::factory($config-db-adapter,
$config-db-options-toArray());
// new behavior: factory
Perhaps this is a case of trying to hitting a nail with a sledgehammer,
I dunno. I simply want to expose a single method to handle only one
xmlrpc. Basically, this is implementing pingback functionality of blog
software. The XmlRpc request looks like this:
?xml version=1.0?
methodCall
if only that would work via the mailing list eh?
;)
Keith Pope wrote:
Hi,
When using Zend_Auth what is the best practice for use of the identity?
Consider that a loaded question ;)
The real answer: it depends.
A) Propagating username in session.
+ less disk space, io used in the session file
+ no need to worry about serialization
-
Better yet, we should create a system, based on the ZF of course, where
CLA members have a chance to be part of the Wiki is down again pool.
Each member can select a date and time slot, if the wiki goes down in
their time slot.. Free T-Shirt. Pool is then reset for the next Wiki
crash. You
I can confirm this, and its major. I just posted an issue and jira and
my description got blown away. Hopefully it resides in a DB somewhere.
If its not there, take JIRA down for the time being (until fixed) so
that people aren't submitting empty issues.
Simon Mundy wrote:
Hi Darby
I
Hey Paddy, I have time for this now, perhaps it would be good to start
getting out thoughts on there? Ill go first (if the wiki is up) ;)
Pádraic Brady wrote:
Hi Mark,
When I checked it last, Ralph had yet to post a response there. If he
does, and assuming the Wiki is up of course ;), I'll
No, I don't see Zend_Layout as accepted as is, and I have not been told
that. In all truthfulness, I've expressed a concern to Matthew that the
development of such component, be it spearheaded by a community member
or not, be completely visible to the community as much as possible
throughout
Sascha,
Thanks for the bug report, I have fixed it and committed the fix as
well as some changes to the class. I have updated both the working
version Xend_Layout, and the for proposal version Zend_Layout.
Kevin McArthur will have tutorials ready pretty soon, but it sounds like
you're
I know why this is: its based on a bug in the PluginBroker and how the
plugin broker dispatches plugins and what happens when exceptions are
thrown.
the relevant bug numbers are:
ZF-1649
ZF-1650
Ill keep you posted, so no need to get super down and dirty looking for
the problem ;)
Thank!
There is an inconsistency here, and I am getting to the root of the problem.
PotatoBob wrote:
ViewRenerer is inconsisteny with the default routes and possibly custom
routes because instead of rendering 'actionName.phtml' which would be
consistent with the name of the action it renders the
Wiki down time, thats right kids, Java's own personal gift to the zend
framework.
Can someone put paddles on the server and jumpstart the tomcats heart?
which hits the Web-MVC barrier.
Best regards,
Pádraic
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com
- Original Message
From: Ralph Schindler [EMAIL PROTECTED]
To: Pádraic Brady [EMAIL PROTECTED]
Cc: Martin Carpentier [EMAIL PROTECTED]; Zend Framework
I do this very thing. The only requirement is that you have access to
setting apache environment variables.
Essentially, I have this in my development vhost:
SetEnv APPLICATION_STATE development
My bootstrap file reads the environment variables to determine what
section of the config to
Matthew Weier O'Phinney wrote:
Partials have been on my to-do list for a while now. They actually don't
require any changes on the view level; you can very simply create a new
View object in the helper, setup the environment from the old view
object (minus the variables), assign variables as
First and foremost, its important to know that Zend_Layout implements a
well known and well documented pattern which has been discussed here
before, the Two-Step-View.
Pádraic Brady wrote:
Hi Martin,
From reading the proposal extract it seems like a solution to some
similar problems I
I have a component proposal (writing it as we speak) for Zend_Layout. A
full working implementation can be found at
http://svn.ralphschindler.com/repo/Xend/
(executed in the Xend_Layout namespace) minimal docs and usage is in the
docs folder.. Several people on #zftalk have had a chance to
Shahar Evron wrote:
I generally like the idea as long as it is kept optional. I personally
like to load models by defining a model path (eg. APP_MODEL_DIR)
constant in my bootstrap file, and then call
Zend_Loader::loadClass('User', APP_MODEL_DIR);
I completely agree with you there, and yes,
301 - 400 of 447 matches
Mail list logo