Re: [fw-general] Accessing Zend Framework from the Command Line

2009-02-25 Thread Ralph Schindler
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

Re: [fw-general] pure-PHP BigInteger support

2009-02-24 Thread Ralph Schindler
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

Re: [fw-general] stdClass Question

2009-02-06 Thread Ralph Schindler
-$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

[fw-general] Re: [zf-contributors] Zend_Db_Mapper Proposal - Ready for Review

2009-01-27 Thread Ralph Schindler
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

Re: [fw-general] S3 and Queue

2009-01-27 Thread Ralph Schindler
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/

Re: [fw-general] S3 and Queue

2009-01-27 Thread Ralph Schindler
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

Re: [fw-general] Is Cal Evan's Globals.php a recommended approach

2009-01-16 Thread Ralph Schindler
. In other cases, an associative array is just fine. -ralph -- Ralph Schindler Software Engineer | ralph.schind...@zend.com Zend Framework| http://framework.zend.com/

Re: [fw-general] Zend_Tool

2009-01-15 Thread Ralph Schindler
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

Re: [fw-general] Model / Form / Resource Loading in Modules

2009-01-13 Thread Ralph Schindler
linked in there believe). -ralph -- Ralph Schindler Software Engineer | ralph.schind...@zend.com Zend Framework| http://framework.zend.com/

Re: [fw-general] Is Cal Evan's Globals.php a recommended approach

2009-01-13 Thread Ralph Schindler
. -ralph -- Ralph Schindler Software Engineer | ralph.schind...@zend.com Zend Framework| http://framework.zend.com/

[fw-general] ZF Pear channel / Zend_Tool installation

2009-01-08 Thread Ralph Schindler
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

Re: [fw-general] $this-_forward() questions

2009-01-06 Thread Ralph Schindler
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

Re: [fw-general] Zend_Tool sub forum?

2009-01-05 Thread Ralph Schindler
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/

Re: [fw-general] Subquery Generation

2009-01-05 Thread Ralph Schindler
, 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

Re: [fw-general] Question about DB calls in models and efficiency

2009-01-05 Thread Ralph Schindler
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/

Re: [fw-general] Using 2 databases with Zend_Db, when you have the same model.

2009-01-02 Thread Ralph Schindler
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/

Re: [fw-general] Zend_DB : deletion

2008-12-30 Thread Ralph Schindler
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

Re: [fw-general] Using 2 databases with Zend_Db, when you have the same model.

2008-12-22 Thread Ralph Schindler
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

Re: [fw-general] Sharing a session between 2 hostnames

2008-12-10 Thread Ralph Schindler
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/

Re: [fw-general] Zend Lucene don't work with 64bit and Zend Optimizer. Zend or Zend Framework, take responsibility!

2008-12-08 Thread Ralph Schindler
the company. -ralph -- Ralph Schindler Software Engineer | [EMAIL PROTECTED] Zend Framework| http://framework.zend.com/

Re: [fw-general] Include directive..

2008-12-08 Thread Ralph Schindler
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/

Re: [fw-general] Cannot redeclare class Zend_form without opcode caching

2008-12-04 Thread Ralph Schindler
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/

Re: [fw-general] Zend_Net Package?

2008-12-04 Thread Ralph Schindler
-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

Re: [fw-general] Overriding Zend_Loader::loadClass()

2008-12-03 Thread Ralph Schindler
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

Re: [fw-general] Overriding Zend_Loader::loadClass()

2008-12-03 Thread Ralph Schindler
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/

[fw-general] Re: [zf-contributors] Zend Framework SVN Commit Proposal

2008-11-05 Thread Ralph Schindler
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/

Re: [fw-general] Does a RecursiveDirectoryIterator exist in ZF?

2008-11-05 Thread Ralph Schindler
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

[fw-general] Zend Framework SVN Commit Proposal

2008-11-04 Thread Ralph Schindler
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

Re: [fw-general] Zend_Tool document / command reference?

2008-10-16 Thread Ralph Schindler
, -- Ralph Schindler Software Engineer | [EMAIL PROTECTED] Zend Framework| http://framework.zend.com/

Re: [fw-general] FlashMessenger

2008-10-03 Thread Ralph Schindler
); } 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

Re: [fw-general] Zend_Db specify character set

2008-09-30 Thread Ralph Schindler
, 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

Re: [fw-general] Zend_Tool for modular applications

2008-09-23 Thread Ralph Schindler
contain module directories... Best regards. -- Ralph Schindler Software Engineer | [EMAIL PROTECTED] Zend Framework| http://framework.zend.com/

Re: [fw-general] Zend_Layout

2008-09-22 Thread Ralph Schindler
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/

Re: [fw-general] Question about Quickstart tutorial

2008-09-16 Thread Ralph Schindler
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

Re: [fw-general] Zend_Tool working in 1.6 RC3?

2008-08-28 Thread Ralph Schindler
\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

Re: [fw-general] Zend_Tool working in 1.6 RC3?

2008-08-27 Thread Ralph Schindler
Any ideas, anyone? Thanks, ken -- Ralph Schindler Software Engineer | [EMAIL PROTECTED] Zend Framework| http://framework.zend.com/

[fw-general] Zend_Tool Development List

2008-07-15 Thread Ralph Schindler
to join up! Thanks, Ralph Schindler -- Ralph Schindler Software Engineer | [EMAIL PROTECTED] Zend Framework| http://framework.zend.com/

Re: [fw-general] What's up with Zend_Tool?

2008-07-11 Thread Ralph Schindler
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

Re: [fw-general] Why haven't you reviewed the Zend_Tool proposals?

2008-07-03 Thread Ralph Schindler
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/

Re: [fw-general] Establishing naming conventions for Zend Framework 2.0

2008-05-23 Thread Ralph Schindler
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

Re: [fw-general] Best practice in class-zend coding?

2008-05-19 Thread Ralph Schindler
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,

Re: [fw-general] API Documentation

2008-04-01 Thread Ralph Schindler
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

Re: [fw-general] Zend_Layout Zend_View Enhancements Demo

2008-03-20 Thread Ralph Schindler
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

Re: [fw-general] New ZF site home page broken under Firefox/Debian

2008-03-17 Thread 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

Re: [fw-general] Problem with Sessions

2008-03-13 Thread Ralph Schindler
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

Re: [fw-general] Autoload issue with PHP 5.1.6

2008-03-05 Thread Ralph Schindler
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

Re: [fw-general] A simple plugin manager class to handle all plugins by request or more

2008-02-27 Thread Ralph Schindler
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

Re: [fw-general] code freeze begins, development may continue as usual

2008-01-27 Thread Ralph Schindler
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

Re: [fw-general] Ralph Schindler

2008-01-21 Thread Ralph Schindler
) 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

Re: [fw-general] Feedback and questions: 2007

2007-12-29 Thread Ralph Schindler
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,

Re: [fw-general] One person's opinion...

2007-12-23 Thread Ralph Schindler
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

Re: [fw-general] Reducing the number of loaded exception files

2007-12-14 Thread Ralph Schindler
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,

Re: [fw-general] Reducing the number of loaded exception files

2007-12-14 Thread Ralph Schindler
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

Re: [fw-general] HeadScript

2007-12-13 Thread Ralph Schindler
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,

Re: [fw-general] Zend_Layout - Is this strange?

2007-12-12 Thread Ralph Schindler
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

Re: [fw-general] Site rendering content multiple times

2007-12-12 Thread Ralph Schindler
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

Re: [fw-general] Layout in svn broken

2007-12-12 Thread Ralph Schindler
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

[fw-general] Re: Incubator View placeholders

2007-11-30 Thread Ralph Schindler
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

Re: [fw-general] Zend_View enhancement

2007-11-08 Thread Ralph Schindler
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

Re: [fw-general] RFC - miscellaneous enhancements

2007-11-04 Thread Ralph Schindler
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

Re: [fw-general] RFC - miscellaneous enhancements

2007-11-03 Thread Ralph Schindler
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

Re: [fw-general] Writing ActionHelper: Undefined property: $_actionController

2007-10-21 Thread Ralph Schindler
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() {

Re: [fw-general] Zend Framework XML function

2007-10-19 Thread Ralph Schindler
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

Re: [fw-general] Zebd_Session bugs me :(

2007-10-12 Thread Ralph Schindler
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

Re: [fw-general] ZendCon

2007-10-08 Thread Ralph Schindler
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

Re: [fw-general] incubator tests cleanup

2007-10-05 Thread Ralph Schindler
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

Re: [fw-general] incubator tests cleanup

2007-10-05 Thread Ralph Schindler
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

Re: [fw-general] Zend_Workflow

2007-09-23 Thread Ralph Schindler
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

Re: [fw-general] Zend_Auth question

2007-09-19 Thread Ralph Schindler
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

Re: [fw-general] comments in Zend conf.ini file

2007-08-23 Thread Ralph Schindler
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

Re: [fw-general] comments in Zend conf.ini file

2007-08-23 Thread Ralph Schindler
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]

Re: AW: [fw-general] Zend_View Enhanced Status?

2007-08-21 Thread Ralph Schindler
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

Re: [fw-general] New Zend_Form Proposal

2007-08-08 Thread Ralph Schindler
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

Re: [fw-general] FlashMessenger - Indirect modification of overloaded property

2007-08-07 Thread Ralph Schindler
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

Re: [fw-general] Pingback / Trackback with ZF

2007-08-04 Thread Ralph Schindler
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

[fw-general] Looking for examples: Zend_Db_Table in Modeling

2007-08-02 Thread Ralph Schindler
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

Re: [fw-general] Session problem

2007-08-01 Thread Ralph Schindler
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

Re: [fw-general] Seeking Zend_Controller_Router_Route_Immutable

2007-07-30 Thread Ralph Schindler
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

Re: [fw-general] Config-driven framework components

2007-07-27 Thread Ralph Schindler
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

Re: [fw-general] Config-driven framework components

2007-07-26 Thread Ralph Schindler
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

Re: [fw-general] Config-driven framework components

2007-07-26 Thread Ralph Schindler
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

Re: [fw-general] Config-driven framework components

2007-07-26 Thread Ralph Schindler
Zend_Db_Registry::getInstance()-BlogAdapter = $db; should be Zend_Db_Registry::getInstance()-blog = $db; //OR Zend_Db_Registry::getInstance()-blog = Zend_Db_Registry::DEFAULT;

Re: [fw-general] Config-driven framework components

2007-07-26 Thread Ralph Schindler
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

[fw-general] Zend_XmlRpc_Server questions

2007-07-20 Thread Ralph Schindler
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

[fw-general] /etc/init.d/jira restart /etc/init.d/confluence restart

2007-07-19 Thread Ralph Schindler
if only that would work via the mailing list eh? ;)

Re: [fw-general] Zend_Auth quick question

2007-07-19 Thread Ralph Schindler
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 -

Re: [fw-general] Wiki / Jira down again

2007-07-14 Thread Ralph Schindler
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

Re: [fw-general] Wiki up but JIRA only halfway

2007-07-14 Thread Ralph Schindler
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

Re: [fw-general] Release Schedule

2007-07-11 Thread Ralph Schindler
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

Re: [fw-general] Release Schedule

2007-07-11 Thread Ralph Schindler
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

[fw-general] Re: Small Bug in Xend_Layout

2007-06-29 Thread Ralph Schindler
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

Re: [fw-general] Re: Small Bug in Xend_Layout

2007-06-29 Thread Ralph Schindler
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!

Re: [fw-general] ViewRenderer inconsistency with routes and view scripts

2007-06-28 Thread Ralph Schindler
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

[fw-general] YOU KNOW WHAT TIME IT IS?!?!?!

2007-06-28 Thread Ralph Schindler
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?

Re: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread Ralph Schindler
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

Re: [fw-general] Deployment dependent code

2007-06-25 Thread Ralph Schindler
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

Re: [fw-general] Two-Step View, subclassing controller, etc

2007-06-25 Thread Ralph Schindler
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

Re: [fw-general] Two-Step View, subclassing controller, etc

2007-06-25 Thread Ralph Schindler
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

Re: [fw-general] Two-Step View, subclassing controller, etc

2007-06-21 Thread Ralph Schindler
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

Re: [fw-general] Model Loading helper (Everyone likes diagrams!)

2007-06-20 Thread Ralph Schindler
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,

<    1   2   3   4   5   >