Re: [fw-general] Conceptual/Technical Question for Multiple Module App (ZF 1.10)

2010-04-08 Thread Ralph Schindler
I can help give you some perspective with regards to ZF 1.10, Zend_Application, and modules: I have a project structure like so: |- .zfproject.xml |- application | |- Bootstrap.php | |- configs | | `- application.ini | |- controllers | | |- ErrorController.php | | `- IndexController.php | |-

Re: [fw-general] zendc_db_adapter

2010-04-08 Thread Ralph Schindler
This adapter was shipped as part of Zend Core several versions ago before Zend Framework (Zend_Db_Adapter_Db2) was updated to include more i5 related functionality. I have used the Zend_Db_Adapter_Db2 for various i5 tasks, and I would suggest you start there to see how far that gets you.

Re: [fw-general] problem with join and distinct

2010-04-08 Thread Ralph Schindler
It's hard to understand what the tables relationships you are working with from your code. Could you perhaps create a reproduction scripts (http://ralphschindler.com/2010/02/18/the-anatomy-of-a-bug-issue-reproduction-script) that would help the community understand the tables, their

Re: [fw-general] mistyping in manual example?

2010-03-29 Thread Ralph Schindler
You are right, I've fixed it in trunk. Thanks! Ralph scs wrote: Hello, In http://framework.zend.com/manual/en/zend.controller.exceptions.html, in the last code sample: I think line 8: if (!$controller) { should be if (!$class) { Right? scs

Re: [fw-general] Is 'zf enable layout' supported in v1.9.6

2010-03-29 Thread Ralph Schindler
No, that is a new feature of Zend_Tool 1.10. resources.layout.layoutPath = APPLICATION_PATH /layouts/scripts/ Like mentioned by jsuggs, Zend_Tool simply adds that line to your application.ini file and also creates the necessary directory for you. -ralph rls wrote: I'm using Zend

[fw-general] Introducing a Tool for Namespacing PHP5 Prefixed codebases

2010-03-25 Thread Ralph Schindler
- but don't let that stop you from running it over other components or even your own code. Let me know what you think! Ralph Schindler

Re: [fw-general] Re: Zend PDF drawText and blank PDF files

2010-03-25 Thread Ralph Schindler
That is indeed odd, I'll ask Stas if he knows anything about the iconv implementation on this type of machine. What we've seen on AIX/Ibm I5 machines is that the iconv implementation uses different names for various character sets- The other issue might be that the endianness of that machine

Re: [fw-general] ZF CLI Bash Completion Script

2010-03-22 Thread Ralph Schindler
This is pretty awesome, I am gonna check it out ... I'm trying to get the script to dynamically load the commands (right now they're just hard coded so custom providers and future updates aren't included) but I can't for the life of me get it to work. I could alter the output of help in

Re: [fw-general] Graphs using Zend Framework

2010-03-15 Thread Ralph Schindler
There is no graphing component in ZF. You might want to have a look at this proposal: http://framework.zend.com/wiki/display/ZFPROP/Zend_Image+-+Dolf+Schimmel But you also might want to have a look at a few other technologies: * jpgraph you already mentioned is very good * outputing XML

Re: [fw-general] Re: Purpose of .zfproject.xml project file

2010-03-15 Thread Ralph Schindler
Its purpose is to track the assets that the tools has created. That is the only way that Zend_Tool can determine the context of a particular file.. so it answers questions like: is this file a model file or a controller file? What is this directory for, Where is the models directory for my

Re: [fw-general] problem with Zend_Session_SaveHandler_DbTable

2010-03-15 Thread Ralph Schindler
Wow, interesting. Can you file an issue for this? This looks like a good patch to include. How did the null terminator get included in the object data btw? -ralph Ondrej Ivanič wrote: Hi, 2010/3/12 Ondrej Ivanič ondrej.iva...@gmail.com: Surprisingly, the output from error_log was

Re: [fw-general] Zend_Service_Twitter short url

2010-03-15 Thread Ralph Schindler
There is an outstanding proposal at: http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_ShortenUrl+-+Martin+Hujer Comment on it, and lets drive it to completion. -ralph Shaun Farrell wrote: I am in the process of updating the Zend_Service_Twitter to add all the Twitter API calls. I

Re: [fw-general] Zend PDF drawText and blank PDF files

2010-03-15 Thread Ralph Schindler
Since you are on Solaris, can you output the PHP_OS string for me? Also, can you copy the iconv related information from your phpinfo()? I think I might know the problem.. -ralph Shadedream wrote: I'm testing out a tutorial for Zend PDF to see if it will be suitable for a project I'm working

Re: [fw-general] problem with Zend_Session_SaveHandler_DbTable

2010-03-11 Thread Ralph Schindler
Out of curiosity, if you replace the error_log() function with a file_put_contents() does it return the same thing? error_log() is subject to the ini value log_errors_max_len and might sometimes truncate it. Also, is the $data already in the database? Is the column for data long enough?

Re: [fw-general] quickstart, 1.10.2 and zf.sh

2010-03-10 Thread Ralph Schindler
What was the error you saw that made you switch to the backtick? And, I assume the shell you are running from is bash (not that i think that should matter much, but need to understand your environment). Are you using cygwin on win32? -ralph Jeffery wrote: I had to rewrite the zf.sh script

Re: [fw-general] Redundant include paths in Zend_Tool-generated projects?

2010-03-02 Thread Ralph Schindler
Yes, it's sort of redundant. The fact of the matter is that there are two ways of ZFifying your project. You can create an application that expects ZendFramework to be on your systems include_path (by system I mean the PHP environment governed by /etc/php.ini or win32 equivilant.) This

Re: [fw-general] Removing of intersection table fields in findManyToManyRowset()

2010-03-02 Thread Ralph Schindler
Hey all, From a code maintenance standpoint, the patch for this issue was categorized as a bug. This means the expected behavior was broken, and is subject to being fixed in any release- Major, Minor, and even Mini. Issue tracker improvements and feature requests can be included in Minor

Re: [fw-general] Zend_Log possible security issue

2010-02-22 Thread Ralph Schindler
Hey All, I've looked into this issue report to some detail and can say that this is not an issue within ZF itself. As noted by the report, this is an issue in PHPIDS, particularly when using a potentially unsafe operation (/e modifier in a PregReplace filter, without sanitation)- not in ZF.

Re: [fw-general] the reference guide is really getting on my nerves

2010-02-19 Thread Ralph Schindler
I will be adding some logging to the site to see what the problem could be, are you just getting a 200 / empty page? or is it a 404 or 500 error? -ralph Jason Austin wrote: I, too, am experiencing similar issues on ff3.6 on osx. It seems to have only happened since the commenting system was

Re: [fw-general] PDO or Mysqli?

2010-02-18 Thread Ralph Schindler
In terms of the general use cases (anything documented in the manual, Zend_Db_Table, Zend_Db_Select) - you will see no discernible difference. The only time you'll see any differences is if you are using extension specific features. I suggest you have a look at the chart at the bottom of this

Re: [fw-general] Setting large memory_limit in php.in cause zend framework 1.10.1 to fatal

2010-02-17 Thread Ralph Schindler
Fatal errors emminating from PHP itself are PHP issues. I am actually not sure there is an issue here as memory_limit should be set to something sensible (like say max a couple of hundred megs for really intensive scripts). Also, I notice you are running the Suhosin patch. While that is

[fw-general] Bug Hunt days today and tomorrow!

2010-02-17 Thread Ralph Schindler
the bug hunt: http://framework.zend.com/wiki/display/ZFDEV/Monthly+Bug+Hunt+Days and hop onto Freenode/#zftalk.dev to get started! Hope to see you there! -- Ralph Schindler Software Engineer | ralph.schind...@zend.com Zend Framework | http://framework.zend.com

Re: [fw-general] problem with zend framework installation on XAMPP

2010-02-15 Thread Ralph Schindler
I would put Zend Framework outside of the htdocs folder for a few reasons: one being that they are not files you'd call from the web, and two for security. Place the ZF files in D:\xampp\php\ZendFramework Then make sure your include_path in the php.ini file looks like this at least

Re: [fw-general] Several issues for Zend_Tool 1.10

2010-02-15 Thread Ralph Schindler
Hey Jurian, There were many issues for people when Zend_Tool used a scanning approach to finding providers. For background it worked like this: Zend_Tool would scan every file in the include_path and check to see if it matched the *Manifest.php or *Provider.php pattern. This caused many

Re: [fw-general] Migrate old project for use with Zend_Tool?

2010-02-12 Thread Ralph Schindler
Not currently, that is a interesting an difficult task- and it's on the backlog of things to do. Given that we've gotten so far in the 1.10 release, this might be a feature addition for 1.11 The problem is that any static script would have to look at the existing project and try to guess

Re: [fw-general] bootstrap include path confusion

2010-02-10 Thread Ralph Schindler
A couple of notes: I would first try to build a bare bones project with the Zend_Tool command line in 1.10 just to see what a project would look like, the names that are expected by default, and where things generally go. Once you do that, you might get a better feel for the kind of changes

Re: [fw-general] Re: Zend_Application_Resource_Multidb

2010-02-03 Thread Ralph Schindler
to be bootstrapped before the session On 2010-02-02, at 2:39 PM, Ralph Schindler-2 [via Zend Framework Community] wrote: I like this idea, ..., but have you thought if there is a backward compatible way of adding this behavior to the existing Db resource? like resources.db.multidb = 1

Re: [fw-general] Zend_Application_Resource_Multidb

2010-02-02 Thread Ralph Schindler
I like this idea, ..., but have you thought if there is a backward compatible way of adding this behavior to the existing Db resource? like resources.db.multidb = 1 resources.db.multidb.default = db1 resources.db.db1.dbname = resources.db.db1.params.xxx = resources.db.db2.dbname =

Re: [fw-general] Files which are outside the public folder

2010-01-29 Thread Ralph Schindler
Well, this is gonna be tricky. Ideally, they are simply served from the public directory. But if you want to add some level of access control around them, you'll need to put them outside of the public/ directory, and wrap the download in a PHP script that will do your access control.

Re: [fw-general] catching exception of db connection error

2010-01-13 Thread Ralph Schindler
I would highly suggest you keep the database connection lazy-loaded if you either a) have a few routes that definitely don't do anything with the database, or b) you use caching during some routes thus saving the trip to the database. For sites that might have many requests or a high amount

Re: [fw-general] Re: FlashMessenger in a view helper

2010-01-05 Thread Ralph Schindler
That, or assign it from within a controller's action (which might be more appropriate: $this-view-flashMessenger = $this-_helper-FlashMessenger; But technically, you should probably simply pass the messages to the view without giving them full access to the object: if

[fw-general] Re: [fw-db] How to print a single column ordered/grouped list from db table data?

2010-01-02 Thread Ralph Schindler
How do you distinguish sub-article in your database? -ralph Enkhbilguun Erdenetsogt wrote: Happy New Year, I would like to print articles list ordered/grouped by year column of my db table, but I can't find how I should loop to print something like the following: * 2007 (column year)

Re: [fw-general] Is this filter alive?

2009-12-30 Thread Ralph Schindler
You might also want to have a look through these filters: http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Filter/Word/ Perhaps they too might prove useful. -ralph Саша Стаменковић wrote: Yeah, utf-8... Regards, Saša Stamenković On Thu, Dec 24, 2009 at 1:06 PM, scs

[fw-general] Zend_Db_Table_Row recursive cascade delete feature

2009-12-30 Thread Ralph Schindler
does it suit your needs, but also think about if there any conceivable issues that might arise from this feature. If so, I see no reason why this cannot go into 1.10. Thanks in advance Happy New Year! Ralph Schindler

Re: [fw-general] Zend_Tool in 1.10

2009-12-18 Thread Ralph Schindler
prodigitalson wrote: # ability to persist alternate namings of things # ability to scan existing projects (lower priority, and harder to do) # ability to use alternate config type (moderate complexity, low priority) Its ironic that the 3 things i want/use most are not complete and have

Re: [fw-general] Zend_Tool in 1.10

2009-12-18 Thread Ralph Schindler
I'd be open to ideas on how to scan and determine what the context of a file is.. do you have any ideas? :) This is next on the list. -ralph Jurian Sluiman wrote: On Tuesday 15 Dec 2009 15:51:53 Ralph Schindler wrote: Hello all, As some of you are aware, a significant amount of new

Re: [fw-general] Zend_Tool in 1.10

2009-12-18 Thread Ralph Schindler
deep. Same with ApplicatonDirectory. This way you can interatively add up missing resources to your project.xml For View and Controller directories we might need an additional refresh method to resync the stuff in already existing folders. On Fri, 18 Dec 2009 09:46:07 -0600, Ralph Schindler

Re: [fw-general] version number in Zend_Version

2009-12-18 Thread Ralph Schindler
I particularly rely on these version numbers when building pear packages that are distributable via pear.zfcampus.org Currently, the stable release is 1.9.x. The version numbers in trunk are very useful when creating packages. As you can see, it follows the PEAR/PHP version naming scheme.

Re: [fw-general] Path in zend framework

2009-12-16 Thread Ralph Schindler
It looks like you have some kind of extension (perhaps it is XDebug), that is forcing previously silenced warning to pop up. That is actually not the issue. What you pasted below are just warnings.. do you see a fatal error somewhere else? Also, can you turn off whatever option is making

[fw-general] Zend_Tool in 1.10

2009-12-15 Thread Ralph Schindler
Hello all, As some of you are aware, a significant amount of new features on the Zend_Tool list for it's release in ZF 1.10. To get insight into what's new, please check out: http://framework.zend.com/issues/browse/ZF-7940 Currently, these features are in trunk and can be installed and

[fw-general] Re: [zf-contributors] Re: [fw-general] Zend_Tool in 1.10

2009-12-15 Thread Ralph Schindler
will be able to autoload inside your Zend_Application application. -ralph Саша Стаменковић wrote: What will zf create model generate? Regards, Saša Stamenković On Tue, Dec 15, 2009 at 3:51 PM, Ralph Schindler ralph.schind...@zend.com mailto:ralph.schind...@zend.com wrote: Hello all

[fw-general] Zend Framework Survey for 2009

2009-12-15 Thread Ralph Schindler
Please help us shape the future of Zend Framework! We need your input to help us better understand the way ZF is used in the real world, what's working and what isn't, and where you would like us to invest next. With ZF 2.0 work commencing soon - there has never been a better time to provide

Re: [fw-general] Re: [zf-contributors] Re: [fw-general] Zend_Tool in 1.10

2009-12-15 Thread Ralph Schindler
, 2009 at 4:08 PM, Ralph Schindler ralph.schind...@zend.com mailto:ralph.schind...@zend.com wrote: This will generate an empty model file, with the appropriate class name, in the appropriate location. so zf create model FooBar will create a file application/models

Re: [fw-general] Problem with zend tool

2009-12-14 Thread Ralph Schindler
Do you have multiple Zend frameworks in your include_path? That is not supported if so. This is a known issue in 1.8-1.9 ZF's for people who have unconventional stuff in their include_path, or multiple copies of ZF laying around. -ralph Jigal sanders wrote: On my ubuntu machine when i try

Re: [fw-general] The postdispatch event of all action will be executed twice after integrating smarty.

2009-12-14 Thread Ralph Schindler
I am not understanding what you asking. postDispatch() and preDispatch() are Zend_Controller lifecycle hooks. They can be found either at the plugin layer, or the action helper layer. The only direct coupling you can find for these concepts, and Zend_View, would be inside Zend_Layout- which

Re: [fw-general] Shared hosting error on my application

2009-12-11 Thread Ralph Schindler
What is this prototype directory you have in here? Is this b/c you only have writeable access to the public_html directory? -ralph davykiash wrote: I have just deployed my applicaction that works pretty well on my local host onto my shared host. However when i try to navigate i get this

Re: [fw-general] XMheL

2009-12-04 Thread Ralph Schindler
PHP has awesome built in support for handling XML. http://www.php.net/manual/en/refs.xml.php What exactly are you needing to do? If you are dealing with xml documents, DOM might be a good choice. For dealing with xml snippets that you want represented in PHP object format, SimpleXML would

Re: [fw-general] zf.sh create model from 1.9.6 framework

2009-12-04 Thread Ralph Schindler
Creating a model is not something that was supported in the 1.9.x series. The screenshot only demonstrates the help screen for the command line, which can also include your own custom providers: like dbAdapter and model. This is probably a bit misleading, and I will replace the screenshot

Re: [fw-general] getFrontController() returns null?

2009-12-03 Thread Ralph Schindler
I would check to see if your environment is the same: * PHP Version * ZF Version Then, if you don't see any issues there, try turning error_reporting and display_errors on, just to see if there are some warnings being raised on the production machine. Generally, the code should work exactly

Re: [fw-general] weird problem

2009-11-30 Thread Ralph Schindler
It sounds like you have some kind of encoder extension in PHP perhaps? Maybe it is trying to automatically unencode the file b/c it sees encoded values in it? Can you check what extensions you have loaded? -ralph Apostol Victor wrote: nop is only one 2009/11/30 Vladas Diržys

Re: [fw-general] pear channel error

2009-11-10 Thread Ralph Schindler
That is quite odd, I've seen the zlib issue before. It sounds odd that a reboot fixed it, generally, php-cli re-reads its environment on every run so rebooting, or restarting a service is never really required. Locally I am running pear 1.8.1 Let me know if it's something I need to have a

Re: [fw-general] Doctrine backend scaffolding in Zend Framework

2009-11-10 Thread Ralph Schindler
Hey Gerard, You should join in at #zftalk.dev and continue this conversation with Benjamin Eberlei. He was originally authoring Zend_Entity, but has recently dropped this development in favor of Doctrine integration. I think we'll soon see a proposal on here:

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-09 Thread Ralph Schindler
I would inspect whats going on inside that user loop. It seems like perhaps in that loop either some objects are growing, or memory is being lost somehow, OR your database result set when iterating is actually larger than 500M. Are you using Zend_Db_Table for this? Are the rows being stored

Re: [fw-general] Zend_Tool_Framework Customization

2009-11-03 Thread Ralph Schindler
Additionally there should be additional basic types like Directory, PhpFile, OtherFile which can be used as placeholders for non-application critical resources that need representation though. Directory and File already exist, but they are currently marked as abstract. I can change

Re: [fw-general] Zend_Tool_Framework Customization

2009-11-03 Thread Ralph Schindler
Stamenković On Mon, Nov 2, 2009 at 4:56 PM, Ralph Schindler ralph.schind...@zend.com wrote: I am tackling several of these features now, in preparation for the 1.10 release (this code is and will be in the incubator.) Can anyone elaborate on the .zf.ini properties that are respected or what one needs

Re: [fw-general] Zend_Tool_Framework Customization

2009-11-02 Thread Ralph Schindler
I am tackling several of these features now, in preparation for the 1.10 release (this code is and will be in the incubator.) Can anyone elaborate on the .zf.ini properties that are respected or what one needs to do to set up custom profiles? Custom profiles are pretty much completely, they

Re: [fw-general] Zend_Filter_Inflector Usage

2009-11-02 Thread Ralph Schindler
The inflector is all about replacing things with specific rules. If you want to do what you are asking, the simplest way is to do this: $filter = new Zend_Filter(); $filter-addFilter(new Zend_Filter_Word_CamelCaseToUnderscore()); $filter-addFilter(new Zend_Filter_StringToLower()); $text =

Re: [fw-general] Undefined variable in Zend_Db_Select

2009-11-02 Thread Ralph Schindler
This will make its way into ZF 1.9.6 (or 1.10) whichever comes first. -ralph Luiz Vitor wrote: I didn´t up to now: ZF-8190. I always try to post in the lists first, just to be sure that I´m not doing anything wrong :) Thanks for you help. On Fri, Oct 30, 2009 at 10:33 AM, till

Re: [fw-general] Discontinuing Zend Entity in favour of Doctrine integration

2009-10-30 Thread Ralph Schindler
Time to go back to using Doctrine then :( bye bye nice models. Do you think it would be a good idea to update the Quickstart guide now to not use the Data Mapper pattern and use doctrine instead? I would strongly disagree with that move. I think ZF has always offered 2 solid

Re: [fw-general] Help Getting Mail Through to Lists

2009-10-25 Thread Ralph Schindler
Try mailing fw-general-h...@lists.zend.com. This email should come back to you regardless of if you are subscribed or not. This will at least ensure that your email is making it to the list server if you get a response. -ralph Arthur M. Kang wrote: I am sure I am trying to mail from the

Re: [fw-general] Re: Zend_Db_Table sequence problem...

2009-10-25 Thread Ralph Schindler
Out of curiosity, if you are using MySQL, why not use the autoincrement feature of the RDBM system? Or, is your concern about supporting sequences if you choose to switch vendors mid-stream? -ralph scs wrote: As I was searching for my problem below, I read that the sequences are only

Re: [fw-general] Mysql adapter

2009-10-23 Thread Ralph Schindler
The mysql extension does not support preparing queries or binding values, it only supports straight pass through of sql and returning a result set. So in short a) it doesnt support php to database best practices, and b) it is not in active development, only maintenance mode.

Re: [fw-general] Zend_Tool

2009-10-15 Thread Ralph Schindler
If you had just created a project, you will need to cd into the project directory. So if you did, zf create project Foo, Next you'll need to do cd Foo At this point, you'll be able to interact with the new project. -ralph Ed Lazor wrote: Any how to fix this error? From inside of Zend

[fw-general] Re: [zf-contributors] Re: [fw-general] Issue tracker down for upgrades

2009-10-15 Thread Ralph Schindler
Yep, sure did, and tested it with one of my issues, as well as tested downloading of old attachments. It should be good to go now. -ralph Matthew Weier O'Phinney wrote: -- Jon Whitcraft jwhitcr...@mac.com wrote (on Wednesday, 14 October 2009, 07:29 PM -0400): I'm trying to Attach a file to

Re: [fw-general] Getting Started - Issues on CentOS

2009-10-12 Thread Ralph Schindler
It looks like those directories are not executable by your user and they are . This is a known issue and will be fixed in 1.10. Basically, Zend_Tool attempts to use an auto-detection mechanism to find its providers. In the coming days, I will produce a alpha version of 1.10 that you can

Re: [fw-general] Zend pdf and vertical text

2009-10-11 Thread Ralph Schindler
Have a look here: http://devzone.zend.com/article/2525 There are some hints in there. Hope it helps, -ralph Sergio Rinaudo wrote: Hello, is it possible using Zend_Pdf to draw a text vertically? I did not find anything in the documentation. Thanks

Re: [fw-general] joinLeft using table object and a specified schema

2009-10-11 Thread Ralph Schindler
Try this: Dont use the $table in the from. Instead.. $table -select(Zend_Db_Table::SELECT_WITH_FROM_PART) -leftJoin($table-getInfo('name'), 'users_id'); This will return the select object with the from part already applied. Also, if you must dynamically get the name, use $table-info().

Re: [fw-general] Dumb question...

2009-10-10 Thread Ralph Schindler
You can use SVN to get to them at this url: http://framework.zend.com/svn/framework/standard/incubator/ The incubator does not get shipped in the release packages, mainly b/c they are still incubating. Most of these components are in a state of flux until they get promoted to trunk, then

Re: [fw-general] Is the book Is Zend Framework: The Official Programmer ’s Reference Guide based on ZF v1.9?

2009-10-09 Thread Ralph Schindler
And... I was wrong, it IS actually based on *1.9.3*. Hope that helps! -ralph Ralph Schindler wrote: This is not an official response, as I would have to find confirmation. If I had to guess, it was based on 1.8 strickly looking at the release date, and what I know about publishing timelines

Re: [fw-general] getActionName() in bootstrap

2009-10-09 Thread Ralph Schindler
What are you trying to accomplish? Bootstrapping is the task of setting up resources for MVC components to consume (if they need them), so doing route specific stuff in the bootstrap doesnt make alot of sense. On the other hand, if you do need to do something, a controller plugin is the

Re: [fw-general] Zend_Acl roles and permission on action

2009-10-08 Thread Ralph Schindler
As a side note, you may also find that by using the assertion system, you can create dynamic rules as assertions that will further lookup information from the database as needed. Using this as a reference: http://ralphschindler.com/2009/08/13/dynamic-assertions-for-zend_acl-in-zf Imagine that

Re: [fw-general] Is the book Is Zend Framework: The Official Programmer ’s Reference Guide based on ZF v1.9?

2009-10-08 Thread Ralph Schindler
This is not an official response, as I would have to find confirmation. If I had to guess, it was based on 1.8 strickly looking at the release date, and what I know about publishing timelines. Either way, this is a good thing. 1.8 offered up Zend_Application, which IMO rounds out what a

Re: [fw-general] discover: ACL serialisation

2009-10-04 Thread Ralph Schindler
You could start by looking at this project: http://code.google.com/p/zfsecurity/ While its no longer being developed, it had similar goals to what you are describing. -ralph Rakotomandimby Mihamina wrote: Hi all I would like to put ACL in some SQL tables For the moment, just a 3 role ACL:

Re: [fw-general] Cannot use object of type Zend_Session_Namespace as array

2009-10-04 Thread Ralph Schindler
What version of Zend Framework and what version of PHP are you running? -ralph Jakobud wrote: I'm new to Zend, so I'm not sure if I'm doing anything wrong... Here is my test code: ? require_once(Zend/Loader.php); Zend_Loader::loadClass('Zend_Session');

Re: [fw-general] Customization of query string in URL

2009-10-04 Thread Ralph Schindler
Hi Rizwan, You should start by having a look at the Default routes section of this page in the documentation: http://framework.zend.com/manual/en/zend.controller.router.html FYI, it sounds as if your application will be served from myapp/public/, this would be known as the baseUrl. Beyond

[fw-general] Zend_Db_Select from() join() fixes

2009-10-03 Thread Ralph Schindler
Hey all, I have updated Zend_Db_Select to fix a problem several people might have experienced in one form or another (specifically when trying to use Zend_Auth_Adapter_DbTable::getDbSelect() to join against). The issue is here: http://framework.zend.com/issues/browse/ZF-6653 And the fix is

Re: [fw-general] Problem with autoloading and unit testing Zend_Application

2009-10-01 Thread Ralph Schindler
Mostly you should note that just as your application would bootstrap, so does your testing environment. This means that you need to have an Zend_Application being setup, and it would bootstrap as normal. This would assume that your bootstrap class probably has a method to setup your

Re: [fw-general] Errors in PHPDoc comments

2009-09-29 Thread Ralph Schindler
If you could, please file an issue per component in the issue tracker, and if you have it, supply a patch. The component maintainer will be able to review and commit the patch if everything looks kosher. Did you by chance use Zend_Reflection to introspect the DocBlocks? -ralph a...@net wrote:

Re: [fw-general] Help me to customize error

2009-09-29 Thread Ralph Schindler
Did you generate this ErrorController / error.phtml script? If so, from where? We had originally went through both the output of Zend_Tool as well as the quickstart application to ensure that the code does not use short_tags. So, if you can let us know where the code came from, we'll be happy

Re: [fw-general] I don't have dbAdapter so how can I create authentication ?

2009-09-23 Thread Ralph Schindler
If you are using Zend_Application to set up your application, you can get the adapter from the Zend_Db_Table default adapter (if you have that setting): $dbAdapter = Zend_Db_Table::getDefaultAdapter(); Or, you can get it from the Zend_Application resource container: $container =

Re: [fw-general] PDO_MYSQL vs. Pdo_Mysql ZF 1.9.3

2009-09-22 Thread Ralph Schindler
This is correct. In future releases of Zend_Db we'll be moving away from the confined naming schemed required by Zend_Db::factory(). The problem is (as noted by many developers in the issue tracker), that they do not want the factory to assume they have named their classes with the

Re: [fw-general] configure zf.sh, error message can't find zf.php, Mac, Leopard

2009-09-22 Thread Ralph Schindler
Hmm, it sounds like you cannot find the php binary. Are you sure its on your system? I have leopard, but have forgone the apple provided one b/c they have not configured it with all the proper amenities that I like to have inside my php stack. Typically, PHP can be found in /usr/bin/php.

Re: [fw-general] Zend_Tool with PHP 5.3

2009-09-22 Thread Ralph Schindler
I have not seen this issue. It is hard to diagnose why it would be attempting to load those files. I'll have to do more 5.3 testing with symbolic links to see what might be going wrong. This week I'll be doing a massive amount of work on Zend_Tool, and will likely have an answer for you by

Re: [fw-general] Issues with Zend_Db_Statement::_stripQuoted

2009-09-22 Thread Ralph Schindler
Vincent de Lau wrote: Hi all, Last week I ran into a couple of issues with Zend_Db_Statement::_stripQuoted(). I've created an issue in the tracker: http://framework.zend.com/issues/browse/ZF-7911 and mailed the problem to the database list, but got no response yet. The issues to address: - a

Re: [fw-general] Split controller actions into multiple classes

2009-09-22 Thread Ralph Schindler
I would first consider creating some protected methods within that controller to isolate some of your more repeated code. On first glance, a method creating $params, might make sense. In general, I dont think your controller is out of the ordinary, nor would I say it is especially long. I

Re: [fw-general] PHP5.2.11 corrects spl_autoload_functions

2009-09-18 Thread Ralph Schindler
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

Re: [fw-general] SpiffyCalendar for the Zend Framework

2009-09-16 Thread Ralph Schindler
Your component is very intersting. From a developers standpoint, I can tell you that the problem of calendaring comes up more than you think. In the past, we've seen several Zend_Calendar proposals, most notably Thomas's:

[fw-general] Most Wanted: Zend_Acl Issues

2009-09-15 Thread Ralph Schindler
Hello everyone, With the new states added to Zend Framework issues tracker, I have pruned and triaged Zend_Acl's issues. You can tell them by the icon that looks like this: [I] in the link below: http://framework.zend.com/issues/secure/IssueNavigator.jspa?resolution=-1component=10070

Re: [fw-general] Is there anybody from Zend team ?

2009-09-15 Thread Ralph Schindler
Hey Aoohralex, Yes, myself, Alex Veremyev and our team leader Matthew Weier O'Phinney manage the Zend Framework project. Many others at Zend contribute to the project, but all of that is eclipsed by the 100's of active developers that Zend Framework has. Zend Framework would not be what it

Re: [fw-general] Zend_Validate_NotEmpty and null values

2009-09-15 Thread Ralph Schindler
the idea behind branches but which one should I check to see if a fix has already been committed so I don't open issues needlessly? My understanding was that the trunk was the most up to date. Martin Carpentier On Tue, Sep 15, 2009 at 02:22, Ralph Schindler ralph.schind...@zend.com

Re: [fw-general] Zend_Validate_NotEmpty and null values

2009-09-15 Thread Ralph Schindler
behind branches but which one should I check to see if a fix has already been committed so I don't open issues needlessly? My understanding was that the trunk was the most up to date. Martin Carpentier On Tue, Sep 15, 2009 at 02:22, Ralph Schindler ralph.schind...@zend.com mailto:ralph.schind

Re: [fw-general] Remove default routes, but keep the 404 errors

2009-09-14 Thread Ralph Schindler
Hey Jurian, Can you help me understand how you are triggering this behavior? With a clean project created with Zend_Tool, I've added this to my bootstrap: protected function _initNonExistentRoutes() { $front = Zend_Controller_Front::getInstance(); $router =

Re: [fw-general] Zend_Validate_NotEmpty and null values

2009-09-14 Thread Ralph Schindler
Can you check this against 1.9.2? I think work has been done in this area and might have already been fixed. -ralph Martin Carpentier wrote: Peter, Thank you for the reply. I'll open an issue then. Martin Carpentier On Sun, Sep 13, 2009 at 08:45, Peter Warnock petewarn...@gmail.com

Re: [fw-general] Zend_Validate_NotEmpty and null values

2009-09-14 Thread Ralph Schindler
Sorry, I meant to check against this: http://framework.zend.com/svn/framework/standard/branches/release-1.9/ Cheers! ralph Ralph Schindler wrote: Can you check this against 1.9.2? I think work has been done in this area and might have already been fixed. -ralph Martin Carpentier wrote

Re: [fw-general] zf tool: no way to delete yet?

2009-09-09 Thread Ralph Schindler
and would love to see people start contributing all sorts of functionality and features. -ralph David Mintz wrote: On Tue, Sep 8, 2009 at 11:55 PM, Ralph Schindler ralph.schind...@zend.com mailto:ralph.schind...@zend.com wrote: Hey David, [delete] functionality is slated for 1.10

Re: [fw-general] zf tool: no way to delete yet?

2009-09-08 Thread Ralph Schindler
Hey David, This functionality is slated for 1.10. It was left out of the 1.8 and 1.9 release for a couple of good reasons. Since deleting is a pretty irreversible action, and sometimes is also a recursive action- we wanted to ensure that the console/cli interface at least had the capability

Re: [fw-general] Debug Warning Zend Loader line 165

2009-09-08 Thread Ralph Schindler
Ed Lazor wrote: Should I expect to see these debug warnings when debugging my ZF-based application in Zend Studio? Debug Warning: /www/lib/zend/ZendFramework-1.9.2/library/Zend/Loader.php line 165 - fopen(/www/vhosts/local.test.com/application/views/helpers/Url.php) [a

Re: [fw-general] Zend_Form clearErrorMessages vs. clone the object

2009-09-06 Thread Ralph Schindler
Is there a better way? If not, is this a reasonable feature request, that is, to _really_ clear all messages so the object can be reused for batch ops. What exactly is the feature request? If you check out Zend_Form, it has been designed such that when its cloned, it will actually enforce

Re: [fw-general] Problem with key/value pair in URL routes

2009-09-03 Thread Ralph Schindler
This is interesting, I'll have to have a look at this in IIS, can you make a JIRA bug report for it and assign it to me? http://framework.zend.com/issues/ Also, can you make note which versions of IIS you are using, and how you are doing the url rewriting? -ralph humansky wrote: I found

Re: [fw-general] Problem with key/value pair in URL routes

2009-09-03 Thread Ralph Schindler
Excellent, thank you. I have been re-building my windows stack and will get to this in the coming days. Cheers! ralph Henry Umansky wrote: Hello Ralph, ticket created and assigned to you. http://framework.zend.com/issues/browse/ZF-7767 -Henry On Sep 3, 2009, at 1:40 PM, Ralph Schindler

<    1   2   3   4   5   >