Re: [fw-general] help with Zend\Db\Sql\Expression

2013-11-14 Thread Ralph Schindler
Hi, I am having trouble reading through your code sample, do you have an example with a stack trace/error? Or some kind of reproduction case? -ralph On 11/8/13 3:07 AM, Steve Rayner wrote: I'm getting Object of class Zend\Db\Sql\Expression could not be converted to string with the

Re: [fw-general] Re: Making a Integer table row unsigned with Zend\Db\Sql\Ddl\Column\Integer

2013-08-08 Thread Ralph Schindler
Currently, this is not possible. Although, it would be fairly easy to implement. The relative classes are: The Integer type: https://github.com/zendframework/zf2/blob/master/library/Zend/Db/Sql/Ddl/Column/Integer.php The Column base type:

Re: [fw-general] Pls help with unwanted quotes in db-queries

2013-04-19 Thread Ralph Schindler
$select-join(array('m' = 'media'), m.foreignKey = p.id and m.belongsTo='product', array('mediaType', 'media' = $paths), $select::JOIN_LEFT); The on-part of this join produces: `m`.`foreignKey` = `p`.`id` and `m`.`belongsTo` = `'product'` - the backticks around product are actually invalid in

Re: [fw-general] Re: Pls help with unwanted quotes in db-queries

2013-04-19 Thread Ralph Schindler
is, I think, much slower than select * from xyz where id=534, especially if the id is datatyped as int in Mysql, and even more so when there is an index on that column. Where does mysql document this performance optimization? Everything I see says this is a micro-optimization at best.

Re: [fw-general] Re: Pls help with unwanted quotes in db-queries

2013-04-19 Thread Ralph Schindler
Hi, So the deal here (in my case): if I want to join on numeric columns (and that are datatyped as such in mysql), the conversion doesn't take that much time in small tables; however, in large ones, it will add up. It's just that I don't know the reasoning behind the omission of this feature

Re: [fw-general] Help using predicate and nesting conditions

2013-04-18 Thread Ralph Schindler
The code below generates the following sql statement: * EXAMPLE2:* SELECT persons.* FROM persons WHERE givenName LIKE '%john%' OR surname LIKE '%john%' OR givenName LIKE '%doe%' OR surname LIKE '%doe%' AND active = 1 ORDER BY surname ASC LIMIT '2' OFFSET '0' $spec = function (Where $where) use

Re: [fw-general] Struggling with Zend\Db

2013-03-12 Thread Ralph Schindler
On the surface, it appears that Zend\Db\TableGateway corresponds to Zend_Db_Table, Zend\Db\ResultSet to Zend_Db_TableRowset, and Zend\Db\RowGateway to Zend_Db_Table_Row. If so, should I use the ZF2 classes the same way I did their counterparts in ZF1, or has the whole paradigm shifted? This

Re: [fw-general] ZF2_PATH and ZEND_SERVER_MODULES_PATH

2013-02-21 Thread Ralph Schindler
X-Powered-By: PHP/5.3.21 ZendServer/5.0 I think you need Zend Server 6 for this to work out of the box. Zend Server 6 will ship with the ZendServerGateway module with the ZEND_SERVER_MODULES_PATH environment variable set and pointing to the correct place. Sure enough, /vendor is totally

Re: [fw-general] zend 2 Authentication The supplied parameters to DbTable failed to produce a valid sql statement

2013-02-14 Thread Ralph Schindler
Are you using 2.1.1? This was an issue in 2.1.0: https://github.com/zendframework/zf2/issues/3623 -ralph On 2/14/13 7:12 AM, whisher wrote: Hi, I'm getting this error playing around with Authentication The supplied parameters to DbTable failed to produce a valid sql statement, please check

Re: [fw-general] Join on different database

2013-01-10 Thread Ralph Schindler
You would need to use the TableIdentifier as your $table where $table is accepted: https://github.com/zendframework/zf2/blob/master/library/Zend/Db/Sql/TableIdentifier.php This is supported in Zend\Db\Sql\Select, Insert, Update, Delete. -ralph On 1/10/13 3:52 AM, natix wrote: Hi, I have 3

Re: [fw-general] Combine TableGateway, RowGateway and Entity classes

2012-12-12 Thread Ralph Schindler
Can you help me reproduce this? I have this repository here: https://github.com/ralphschindler/Zend_Db-Examples That has a database already setup. I'd like to get to the bottom of that error you have there. I've used TableGateway to produce entity objects without problem, so I'd need to

Re: [fw-general] [ZF2] Paginator DbSelect not counting rows as expected

2012-11-20 Thread Ralph Schindler
What database are you using? It might be an issue, but it's hard to tell: * what database? (it looks like mysql quoting) * do you think it's an issue that you're also using `c` just like the dbselect adapter as an alias? does it change the output if you change your alias? (Paginator uses c)

[fw-general] Webinar this Thursday on Modeling with Zend\Db

2012-11-13 Thread Ralph Schindler
/PatternsTutorialApp Where we explore modeling and using Zend\Db for persistence. * Second, from my Zend\Db talk where we explored the Zend\Db Select API. The link to the webinar is here: http://www.zend.com/en/company/news/event/1151_webinar-zenddb-usage-in-architecting-models Thanks! Ralph Schindler

Re: [fw-general] Executing manually built SQL queries - Is there an easier way?

2012-11-09 Thread Ralph Schindler
The third and forth lines (prepare*() execute()) seem needlessly verbose. Can't it be simplified down into a single execute() function on the Select object? On the select object, probably not. The Select object by itself does not do SQL abstraction, only when prepared with a Sql object

[fw-general] Issue Tracking now moved to GitHub

2012-09-28 Thread Ralph Schindler
Hey Everyone, Zend Framework 2 has officially cut over our issue tracking needs to GitHub in accordance with the proposal approved 2 weeks ago. We've also ported all open issues to the GH issue tracker, and labeled them as best we could (including tagging as many usernames we could

Re: [fw-general] Check ACL on routing

2012-09-12 Thread Ralph Schindler
You effectively have 2 options: First, and I am sure least favorite option from a framework perspective: Put your acl check in an onDispatch() method inside of the routed controller (that means at least a controller was dispatched). Inside of this method, you could do whatever check you

Re: [fw-general] Array support in TableGateway

2012-07-25 Thread Ralph Schindler
I don't see why this would be a problem, could you fork the repository and issue a pull request for the feature? -ralph On 7/17/12 2:52 AM, henit wrote: Hi. In ZF2 beta5, Zend\Db\Sql\Select has been extended to support an array as argument for from. This is very good, for instance for table

Re: [fw-general] ZF2 DB Result position forwarded?

2012-06-21 Thread Ralph Schindler
throw new Exception\RuntimeException('This result is a forward only result set, calling rewind() after moving forward is not supported'); This occurs because $this-position is set to 5, as if it has allready traversed the results before it gets to the view. I only use the result object one

[fw-general] Fixing Zend_Db_Statement::_stripQuoted() seg-faults on large SQL strings in ZF 1.x

2012-05-21 Thread Ralph Schindler
have large SQL that is being passed through Zend_Db. Thanks! Ralph Schindler -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com

Re: [fw-general] ZF2 Db\Sql\Select WHERE `name` LIKE 'cmp%' breaks the query

2012-05-15 Thread Ralph Schindler
Based off of what is in master, I can confirm that this works: https://github.com/ralphschindler/Zend_Db-Examples/blob/master/example-15.php What is the error/exception you are getting? -ralph On 5/13/12 9:51 PM, cmple wrote: Hi, It seems like the LIKE expression cannot accept the '%'

Re: [fw-general] ZF2 Db\ResultSet-toArray() algoritm

2012-03-26 Thread Ralph Schindler
In general, if you have a toArray() method, it is generally accepted that the return value of that method will be a PHP type array. If you are wanting to get the objects in your view, simply iterate over the ResultSet. The default return type in the default ResultSet is a RowObject which is

Re: [fw-general] Re: ZF2 Db\ResultSet-toArray() algoritm

2012-03-26 Thread Ralph Schindler
You should be choosing the proper mysql extension based on your needs. Mysqli is great for scripts that do alot of data-warehouse type of iterations (due to its forward-only moving cursor by default). PDO on the other hand is great for object model kind of stuff because by default, it buffers

[fw-general] Zend\Db Refactored in Beta3

2012-02-23 Thread Ralph Schindler
Hey all, This is a followup on the status of Zend\Db. As of today, Zend\Db is code-complete for the list of tasks I planned on completing for the Beta3 release of Zend Framework. In no special order, and not an exhaustive list, those tasks included: * Zend\Db\Adapter: * Driver -

Re: [fw-general] Zend_Db_Adapter_Sqlsrv::limit() not compatible with SQL Server 2000

2012-02-10 Thread Ralph Schindler
How different is the LIMIT implementation different from SQL Server 05 and 08? I fear that since ZF1 is approaching its final minor version and that there are far fewer people running 2000 in production over 2005, it might night make sense for this in ZF1. -ralph On 2/10/12 10:19 AM,

[fw-general] Re: Naming of Classes / Interfaces / Traits in ZF2 Poll

2012-02-08 Thread Ralph Schindler
Special note: this Poll closes today in 1 hour. Cheers, -ralph On 2/1/12 3:39 PM, Ralph Schindler wrote: Hi all, I've closed off the editing of the poll verbiage and opened up the naming poll for all framework.zend.com users to vote in. Url below. Some notes-- You can edit your vote after

[fw-general] Naming of Classes / Interfaces / Traits in ZF2 Poll

2012-02-01 Thread Ralph Schindler
Hi all, I've closed off the editing of the poll verbiage and opened up the naming poll for all framework.zend.com users to vote in. Url below. Some notes-- You can edit your vote after you've made it if you've changed your mind. This poll will close before the next ZF2 meeting (next

[fw-general] Re: [zf-contributors] Naming of Classes / Interfaces / Traits in ZF2 Poll

2012-02-01 Thread Ralph Schindler
I'll try and sum up what we discussed in #zftalk.2 today. For instance; I am having some issues understanding some of the votes. My main concern is ultimately consistency in the naming of itself and there seems like there might be an option missing as well. From my point of view having an

Re: [fw-general] What is the recommended way of using Doctrine2 with ZF1?

2012-01-03 Thread Ralph Schindler
Check out these two branches: https://github.com/ralphschindler/NOLASnowball/tree/doctrine2-managed and https://github.com/ralphschindler/NOLASnowball/tree/doctrine2-managed-crud You may also want to check out: https://github.com/guilhermeblanco/ZendFramework1-Doctrine2 -ralph On

[fw-general] Tools going down for upgrading.

2011-12-09 Thread Ralph Schindler
Hey all, I will be taking the tools down for an hour or so while I upgrade them. I'll ping back when everything is running again. -ralph -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com

[fw-general] Re: Tools going down for upgrading.

2011-12-09 Thread Ralph Schindler
/wiki Thanks, Ralph On 12/9/11 10:12 AM, Ralph Schindler wrote: Hey all, I will be taking the tools down for an hour or so while I upgrade them. I'll ping back when everything is running again. -ralph -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe

Re: [fw-general] Re: Zend coding style and multiline string concatenation

2011-11-18 Thread Ralph Schindler
! Ralph Schindler -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com

Re: [fw-general] Auto Generated Admin App/Plug-in

2011-08-31 Thread Ralph Schindler
We have nothing of the sort built-in. Perhaps in ZF2 there will be more opportunity to have standardized modules that do what you are anticipating. In short, there are many architectural issues with attempting to provide both some form of simplified model (like Django's attempt at

Re: [fw-general] Multiple spl_autoload registered handlers

2011-08-25 Thread Ralph Schindler
Again, why is this a problem, exactly? What if you have another autoloader registered later that _can_ handle it? If the first dedicated autoloader for that namespace couldn't handle it, chances are no other handler will (or should not). Thats not true. Autoloaders that are shipped with code

Re: [fw-general] Multiple spl_autoload registered handlers

2011-08-24 Thread Ralph Schindler
I think you might have meant to post this to the zf-contributors maillist where most ZF2 discussions are happening. if (false === class_exists('ClassA')) { //dynamically check to see if a local overriding class exists via the autoloader $class = new DefaultClass(); } else { $class = new

Re: [fw-general] Getting a The Zend Framework was not found error in Drupal

2011-07-11 Thread Ralph Schindler
I think this is probably a question for the Drupal list. If I HAD to guess what was going on.. You need to install the module and ALSO download/install Zend Framework 1.x. Once you do this, you need to one of the three things on the drupal install page: * Install the Zend Framework in

Re: [fw-general] Looking for help for suffix .html and public/ folder out of the url

2011-07-11 Thread Ralph Schindler
I have not fully tested this, but this is the route I would explore. It seems you're going to have to replace the default route. If you want to do this in your application.ini, it might look something like this: ;; Controller / Router resources.router.routes.default.route =

Re: [fw-general] Re: Several form on one page

2011-07-11 Thread Ralph Schindler
It sounds like you want subforms: http://framework.zend.com/manual/en/zend.form.forms.html#zend.form.forms.subforms Each top-level form is responsible for a single submission (POST or GET) to an new url. To have 3 forms on a page means that your submit will only submit what is in the scope

[fw-general] Next ZF 1.11.x Release, Bug-hunt wrap up Sanity Check

2011-05-04 Thread Ralph Schindler
Hello Everyone! Right now I am having a Blue Moon with a slice of orange. Why? Well, in part b/c I like Blue Moon, but also in part celebratory as the last few days (long days) have culminated in one of the most successful bug-hunts we've ever had. It's true that in the past we've closed

Re: [fw-general] Re: Strange File does not exist in apache log

2011-04-15 Thread Ralph Schindler
I think more information is needed. Which apache log file is it? access_log? error_log? or is it a special file to log php errors? Is it a php error? What does the full line look like? -ralph On 4/8/11 9:01 AM, xmariachi wrote: Has this been resolved? I'm having a similar issue. TIA --

Re: [fw-general] Re: Zend_Dom out of memory

2011-04-15 Thread Ralph Schindler
Can you create a small reproduction case? Also, what is the memory_limit of this script? -ralph On 4/13/11 1:21 PM, Kevin Z wrote: Hi, I can confirm this issue still exists. My version : PHP 5.3.3 (cli) (built: Jul 26 2010 17:37:00) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0,

Re: [fw-general] Re: Troubles with login

2011-04-04 Thread Ralph Schindler
Thanks for the heads up! I've fixed the url in crowd, it should now give the correct url to the password reset utility. Glad you can now get in, -ralph On 4/1/11 7:36 PM, Fabio Napoleoni wrote: I reset the password for the third time and this time has worked... Maybe also the unlock made by

Re: [fw-general] Zend_Auth storage

2011-04-01 Thread Ralph Schindler
Since you are using Zend_Auth_Adapter_DbTable, and calling $adapter-getResultRowObject(); .. The resulting object is simply a stdClass. If you'd like you can add information to that identity object. $identity-someProperty = $someValue; Then write that to the authentication storage medium.

Re: [fw-general] Re: Troubles with login

2011-04-01 Thread Ralph Schindler
Hey Fabio, It appears your around is marked as active. Perhaps a password reset? -ralph On 3/7/11 8:04 AM, Fabio Napoleoni wrote: Same happens to me. Tried to reset password but with no luck. My ZF account is fabio Please unlock me. Thanks. -- View this message in context:

[fw-general] Re: [zf-contributors] Tools going down for upgrade

2011-03-31 Thread Ralph Schindler
All the tools are back online and up to latest version- Jira, Crowd Confluence. Everything seems to be performing very well. If you find any inconsistencies, please let me know immediately! Thanks for your patience! -ralph On 3/30/11 10:00 AM, Ralph Schindler wrote: Over the next few

[fw-general] Tools going down for upgrade

2011-03-30 Thread Ralph Schindler
Over the next few hours, you will notice the Atlassian tools will be down. During this time, we'll be doing an upgrade and will alert you when the tools have been upgraded and are back online. Thanks! Ralph -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives

[fw-general] The March 2011 Bug-Hunt is Underway

2011-03-24 Thread Ralph Schindler
=11385sorter/field=issuekeysorter/order=ASC I'll be in #zftalk.dev if there is an issue that needs discussion. Happy hunting! Ralph Schindler -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com

Re: [fw-general] Re: [zf-contributors] ZF tools and SVN going offline briefly

2011-03-18 Thread Ralph Schindler
Seems like it could have been a momentary problem. Things seem fine right now. Please post back if you see see the issue. -ralph On 3/18/11 5:56 AM, Bert Van Hauwaert wrote: It seems like the wiki is still not available. I got this response: Proxy Error The proxy server received an invalid

Re: [fw-general] Reflection: get docblock for constants

2011-03-14 Thread Ralph Schindler
Hey Jan, Currently, no. http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Reflection/Class.php (there is a getProperty, but no getConstant) It appears constant support was never added (I guess no one ever really thought of needing to get the doccomment from a constant?)

Re: [fw-general] Comparison between frameworks

2011-02-24 Thread Ralph Schindler
Hey Robers- Better yet, How about describe what you will be attempting to do, with some specifics and we can give you some insight on which framework to use. ZF and Symfony can be used together, you can pick and choose the various components that fit your needs. Running through the

Re: [fw-general] ZF2 - Will there be a Zend\View\ViewEngine

2011-02-10 Thread Ralph Schindler
Hey Kevin, The Dojo component will need to be refactored at a later date. Currently, our MVC Interfaces proposal was approved and we are moving towards building an MVC implementation over the next months. Once we know what the C (Controller) and V (View) look like, we'll apply that to the

Re: [fw-general] Re: Troubles with login

2011-02-01 Thread Ralph Schindler
Your activity flag has been updated, please try it now and let me know if you still cannot get in. -ralph On 1/29/11 10:02 PM, zamanphp wrote: help me plz!

Re: [fw-general] Sharing the session among different Controllers

2011-01-30 Thread Ralph Schindler
There is no need to both start the session with Zend_Session and also call $session = new Zend_Session_Namespace();. What I suggest is this following: First decide on a sensible name that all your controllers can share, some kind of name that suits the purpose of the data that is being

Re: [fw-general] why Zend_Db_Adapter happened to be much slower than mysql_query

2011-01-27 Thread Ralph Schindler
Which adapter are you using? Mysqli or Pdo_Mysql? The only thing that perhaps I see that is an immediate difference is that you are using quote() that does userland quoting in some instances (depending on the adapter you are using). Multiply that by 1000 and perhaps that might be where you

Re: [fw-general] Does everyone use zf.sh?

2011-01-26 Thread Ralph Schindler
Hey Jurian, Zend_Tool is in exactly the state you describe. It's main purpose is project creation and immediate prototyping. Beyond the basics, there is/has been too much variation to be able to successfully model all developers workflows. 1) Not able to use with existing projects (scan

Re: [fw-general] Does everyone use zf.sh?

2011-01-26 Thread Ralph Schindler
Hey koji, Recently I used zf command(zf.sh), but it's hard to use. I guess you mean that it doesn't have all the features you'd like :) I think that usually something like controller class have their parent class custmized for each project or company. But the class files generated from zf

Re: [fw-general] Error handling in Zend

2010-12-16 Thread Ralph Schindler
exceptions and catching them in the index.php, add this value to you application.ini: resources.frontcontroller.throwExceptions = 1 Hope all that helps, Ralph Schindler On 12/15/10 3:43 PM, jalexander3 wrote: Hello, I have read about the ErrorController that comes standard with the framework

Re: [fw-general] Re: Keeping .zfproject.xml up to date with Zend_Tool

2010-12-09 Thread Ralph Schindler
That feature has still yet to be completed. Effectively, you are talking about a tool that will scan existing application assets, determine their context (is it a controller, model, etc?) and then write a new zfproject.xml file. Not an easy task. But, since Zend_Tool has become so stable,

Re: [fw-general] Intermittent Subversion Server Problems

2010-11-29 Thread Ralph Schindler
This has been fixed now, can you please try it? -ralph On 11/29/10 12:34 PM, brent wrote: Ever since Friday last week I've been having intermittent problems doing checkouts and updates from the ZF Subversion server. Sometimes a checkout will work and other times I get an error like the one

Re: [fw-general] ZFApp?

2010-11-26 Thread Ralph Schindler
Hey Mike, This was not released today.. I think when it was converted to google documents powerpoint/slidedeck format, the current date was injected into every slide. Fact of the matter is that this is VERY old.. probably based on Zend Framework 1.0 or 1.5, sometime between 2006 and

[fw-general] Announcing the November 2010 Zend Framework Bug-Hunt

2010-11-16 Thread Ralph Schindler
, Friday, Saturday. If you would like more information on specifics of participating, read our guide. Looking forward to seeing you at this month's Bug Hunt Days! Cheers! Ralph Schindler [links] * http://framework.zend.com/download/latest * http://framework.zend.com/svn/framework/standard

Re: [fw-general] Zend_Acl 1.11 broken my code

2010-11-12 Thread Ralph Schindler
('administrator') ? allowed : denied; // returns allowed Hope that helps. Terre -Original Message- From: Ralph Schindler [mailto:ralph.schind...@zend.com] Sent: Thursday, November 11, 2010 12:50 PM To: fw-general@lists.zend.com Subject: Re: [fw-general] Zend_Acl 1.11 broken my code I've

Re: [fw-general] Zend_Acl 1.11 broken my code

2010-11-11 Thread Ralph Schindler
I've been looking at this over the past day and I am attempting to find a solution. As you can see it was a fix for a previous issue: http://framework.zend.com/issues/browse/ZF-9643 Fixing the previous issue did not break any existing unit tests. I will get to the bottom of it and figure out

Re: [fw-general] Auto discovering/loading project providers.

2010-10-22 Thread Ralph Schindler
Hey Ellis, Can you try the 1.11RC1 that just came out? A patch to ensure this works was included in this release. Let me know if it meets your expectations. -ralph On 10/20/10 2:26 AM, ellis wrote: Hello, I'm trying to figure out how i can auto discover/load some project providers. IIRC,

[fw-general] Status of Exceptions Milestone in ZF2

2010-10-15 Thread Ralph Schindler
Hey All, We are coming to the end of the exceptions milestone of zf2, and I wanted to take a moment to see where everyone is on their contributions. The last ones on my plate are: Zend\CodeGenerator Zend\Reflection Zend\Session Zend\InfoCard (needs only to be merged) Zend\XmlRpc

Re: [fw-general] Firefox - double request

2010-10-12 Thread Ralph Schindler
I just wanted to add to this note Matthew pointed out.. This is the behavior of the stock rewrite rules that we suggest you use.. it is basically a catch all rewrite. It probably looks like this: RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR]

Re: [fw-general] Re: Select object behaviour

2010-10-05 Thread Ralph Schindler
What is intuitive to all though? Since Zend_Db is an abstraction layer around various vendor databases, it has to encapsulate the general perspective of all the database targets. Since LIMIT in SQL is far from standardized, and since no predominant understanding of LIMIT across all

Re: [fw-general] Re: Select object behaviour

2010-10-05 Thread Ralph Schindler
Right, but currently, people rely on this behavior. Not b/c they believe that limit(0) should return Zero rows, but because in our loosely-typed world, limit(null) or limit(false) means return everything. Unfortunately, limit() current casts everything to an integer, so someone calling

Re: [fw-general] Select object behaviour

2010-10-04 Thread Ralph Schindler
There is some more discussion here: http://framework.zend.com/issues/browse/ZF-7666 I'd follow up on that thread. The problem is that LIMIT is not an SQL standard, and there is no standard approach. http://troels.arvin.dk/db/rdbms/#select-limit As such, our API in ZF1 needs to remain as

Re: [fw-general] Status (or any known limitations/problems) with Ms sql and zend_db

2010-09-26 Thread Ralph Schindler
In the past 1.5 years, we've added support for Sql Server 2005+ via the Micrsoft driver Sqlsrv. More information on that here: http://msdn.microsoft.com/en-us/library/ee229551%28v=SQL.10%29.aspx This is a stable production ready driver that utilizes the Microsoft Native Client to communicate

Re: [fw-general] Committing to milestones branch

2010-09-24 Thread Ralph Schindler
As far as I know, you can make the pull request and I'll still get it. What I suggest is that you put a message in there that refers to the branch of milestones/exceptions. There are not alot of pull requests coming in currently, so it is easy enough to see what is what. Thanks! Ralph On

Re: [fw-general] Template Fall Back

2010-09-24 Thread Ralph Schindler
Can you explain in a bit more detail what you are attempting to accomplish (or see accomplished?) Given what you are asking, it seems like you are talking about default template in behavior and/or automatically selected view scripts? If you are talking themes, that is more of a concern for

Re: [fw-general] query the database. Uhh..where do those go?

2010-09-23 Thread Ralph Schindler
Hey Shawn, Now I would like to query the database to return specific data. For a simple example SELECT comment, email FROM Guestbook; Where would that go? The controller?, or the Mapper models/guestbookMapper.php, The model maybe? It's ok, common question. Your answer? It depends. If

Re: [fw-general] Best way to pass an array between two actions

2010-09-21 Thread Ralph Schindler
Hey debussy007, I am not sure what you mean by doing something wrong. If the data is not being passed, you might want to try gotoSimpleAndExit(). This will force a redirect immediately, which is probably what you want. $bookings needs to be something that can be represented in a url. As

Re: [fw-general] Zend_Auth storing special characters

2010-09-16 Thread Ralph Schindler
I've not seen this before, although I don't think i've had that situation before either.. Can you create a small reproduction script? -ralph On 9/15/10 9:47 AM, keith Pope wrote: Hi, Has anyone ever had any problems with Zend_Auth failing to store/serialize data that has ü etc in. I seem

[fw-general] Monthly Bughunt Days Starts NOW!

2010-09-16 Thread Ralph Schindler
Hey all, announcing the bug hunt for this month! ** Special Note: As of this month, there will be no more 1.10.x series releases. As such, there is no need to merge any commits from trunk to the release-1.10 branch. Our next major release will be 1.11.0. ** Taken from:

Re: [fw-general] ZF2: Community Involvement in the Next Major Milestone

2010-09-13 Thread Ralph Schindler
Hey Paul, Have you filled out the CLA and have a Jira account? If not, thats the place to start. After that, checkout the git documentation to understand how to get up and running with the ZF2 repository: http://github.com/zendframework/zf2/blob/master/README-GIT.txt As for Cache, I don't

Re: [fw-general] ZF2: Community Involvement in the Next Major Milestone

2010-09-13 Thread Ralph Schindler
...@wilmoore.com wrote: Ralph Schindler-2 wrote: Either reply to this email thread or fine me in #zftalk.dev to discuss what component you'd like to work on. As mentioned via IRC, I'll take on Uri, Rest\Route, and Pagination. Wanted to post here in case people want to know what is already being

Re: [fw-general] Re: Troubles with login

2010-09-13 Thread Ralph Schindler
Try now. I've set to active. -ralph On 9/13/10 9:43 AM, Maurício Meneghini Fauth wrote: Hi, I've had the same problems that Carlos had. I've tried to reset my password, but I could not. I think maybe my account could be inactive. Thanks 2010/9/13 Carlos Medinadeve...@simply-networks.de: Am

[fw-general] ZF2: Community Involvement in the Next Major Milestone

2010-09-09 Thread Ralph Schindler
to work on. Thanks Happy ZF(2)ing! -ralph -- Ralph Schindler Software Engineer | ralph.schind...@zend.com Zend Framework| http://framework.zend.com/

Re: [fw-general] Troubles with login

2010-09-07 Thread Ralph Schindler
Hi Carlos, Your account was marked in-active. This happens sometimes and I am unsure what causes it. In any case, I've marked it as active again, please try to see if it works for you- -ralph On 9/7/10 1:05 AM, Carlos Medina wrote: Hi Matthew, the i have reset my password three times but

Re: [fw-general] Re: Guidance on storing passwords securely

2010-08-31 Thread Ralph Schindler
It's always good to be extremely (perhaps even overly) concerned with security, particularly passwords when it comes to securing applications. There's a couple of thoughts I wanted to throw into this discussion that I think it is important to remember. * No implementation of computer

Re: [fw-general] Modular Application

2010-08-30 Thread Ralph Schindler
Rafael, I am not sure what you are asking actually. Are you asking how to make an application modular aware? If that is the case, this is achieved by adding something like this to your application.ini file: resources.frontController.moduleDirectory = APPLICATION_PATH /modules

Re: [fw-general] ZF 2 and project structure

2010-08-30 Thread Ralph Schindler
Interesting you bring this up. Currently, nothing like this has been decided yet. First we need to get the autoloading strategy in place, then beyond that start working on an MVC (Front Controller, View, Layout, etc) prototype. Personally, I've started favoring the former of what you

Re: [fw-general] ZF 2 and project structure

2010-08-30 Thread Ralph Schindler
Hi Yue, There is a milestone release of 2.0. Should you use it? I would not use it for a real application anytime soon.. 1.x is still the tried, tested, and truely stable release to use for app development. The API is and will be over the next few milestones a moving target. After it has

[fw-general] Zend Framework 1.10.8 Released

2010-08-25 Thread Ralph Schindler
. This will incorporate bugfixes from the 1.10 series, updates and normalization to validator translation strings, and a variety of new features. So stay tuned! -Ralph Schindler -- Ralph Schindler Software Engineer | ralph.schind...@zend.com Zend Framework| http://framework.zend.com/

Re: [fw-general] Improve Zend_Application: moving out the stateless world

2010-08-25 Thread Ralph Schindler
Hey Jurian, This is an interesting discussion, but the bigger question is: to what end? PHP (and other scripting languages) are largely successful b/c the conceptual application is completely encapsulated inside of a web request. This is also called a shared-nothing architecture. I have a

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

2010-08-18 Thread Ralph Schindler
methods $_SESSION. -ralph robert mena wrote: I am facing the same problem. Zend 1.10.7 and PHP 5.2.10 (centos with backported patches). Any ideas? On Sun, Oct 4, 2009 at 1:04 PM, Ralph Schindler ralph.schind...@zend.com mailto:ralph.schind...@zend.com wrote: What version of Zend Framework

Re: [fw-general] Errors persisting Doctrine 2 entity once user is logged in with Zend_Auth

2010-08-15 Thread Ralph Schindler
I honestly cannot see how Zend_Auth is the issue here. To help debug the situation, you should try deleting the session files to ensure that your session is clean. As for your exception message, that is a tough one. The exception (by looking at the youtube video) appears to say that the

Re: [fw-general] String to Zend_Db_Select Object

2010-08-12 Thread Ralph Schindler
This is not possible. For that to happen, you'd need an SQL parser/tokenizer, which there is not one in ZF. Moreover, the SQL you have is probably somewhat specific to a particular vendor implementation of SQL which, again, would make it really hard to build a parser/tokenizer that knows

Re: [fw-general] project planning

2010-07-29 Thread Ralph Schindler
As Matthew pointed out, yes, the state of ZF2 is still very much a work in progress. I would not pin a real project on it anytime before 2011. Stick with the tried and true when it comes to building project, right? That said, we are getting the API's in order now and testing out techniques

[fw-general] July Bughunt Starts Today!

2010-07-15 Thread Ralph Schindler
up and take first. Then in June, Christian Albrecht (a previous bug hunt winner) took home first again. Congratulations Jan Christian and thanks for making the bug hunt for May and June a success. If you have not already done so, please contact Ralph Schindler or Matthew Weier O'Phinney

Re: [fw-general] remember me and session cookies

2010-07-08 Thread Ralph Schindler
Response inline.. scs wrote: Hello, I have 3 questions: 1. How can I find about a logged-in user's session data? I would like to see when was the session started, how long has the user been idle? and how much time left for session expire? That is a tough one if you are using files. PHP's

Re: [fw-general] Zend_Scheduler

2010-07-08 Thread Ralph Schindler
I dont think Zend_Scheduler has been created as of yet. This is merely a proposal. What you might be interested in is taking existing components to do this job. For example, you could use Zend_Queue to schedule or create a queue of jobs, then write a script that is triggered to create and

Re: [fw-general] Any Zend employee around? Trying to get support to BUY one of your products (Zend_Guard)

2010-05-25 Thread Ralph Schindler
You've posted to this forum: http://forums.zend.com/memberlist.php?mode=viewprofileu=1166 I see there are a number of posts on centos http://forums.zend.com/search.php?st=0sk=tsd=dkeywords=centosfid[]=57 also, they seem quite responsive, if you tell me which post is yours, I can alert the

Re: [fw-general] Release of the ZF + Doctrine 1 Integration

2010-05-24 Thread Ralph Schindler
This is great! Nice work to you and all others involved in making it happen! -ralph Benjamin Eberlei wrote: Hello everyone, I completed a first version of Zend + Doctrine 1 integration today and want to share it with all you. Since currently the status on a 1.11 release is unclear I contacted

[fw-general] Zend Framework Bughunt Days Today and Tomorrow!

2010-05-20 Thread Ralph Schindler
Hey ZF Devs! It's that time of the month again! Thursday and Friday, 20-21 May 2010, Zend Framework will host its monthly bug hunt. For those of you unfamiliar with the event, each month, we organize the community to help reduce the number of open issues reported against the framework. Past

[fw-general] ZendCon CFP Ends Today!

2010-05-17 Thread Ralph Schindler
Just a reminder, everyone: The ZendCon 2010 Call for Papers ends today! http://dz.zend.com/a/12105 Get your abstracts in -- and hopefully I'll get a chance to meet you in November! -ralph

Re: [fw-general] create tree from arrays

2010-05-13 Thread Ralph Schindler
There are a couple of ways to go about buiding and recursing trees in PHP. Utilizing functions to do it is one route. The more object-oriented route would be to build a tree structure around SPL's RecursiveIterator, and RecursiveIteratorIterator. A component in Zend Framework that does this

Re: [fw-general] Zend_Db quoting issue

2010-04-21 Thread Ralph Schindler
$select-where('field2 = ?', 'foo', Zend_Db::PARAM_STR); This is not the type of values you are expected to provide here. $type, in this case, is expected to be one of these: Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, and Zend_Db::FLOAT_TYPE As mentioned here in the quote() documentation:

Re: [fw-general] Zend_Tool bug of Case Sensitivity or is this a feature?

2010-04-19 Thread Ralph Schindler
(index) message. When I call http://myproject/bar it works fine. So a module with a capital letter cannot be found by the router. If I change the directory path from /application/modules/Foo to /application/modules/foo everything works fine again. So, from this point I think having a capital

  1   2   3   4   5   >