Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Bryce Lohr
base for everyone to see :) Regards, Bryce Lohr

Re: [fw-general] Zend Auth Adapter Http takes user supplied realm by default?

2009-03-04 Thread Bryce Lohr
Hi Jan, My apologies for assuming you were using Basic authentication; I see your point clearly now. This is a legitimate bug in the adapter. You can try the attached patch (not tested) if you like. Please file a bug report for this. Thanks! Bryce Lohr Jan Wagner-Rosenkranz wrote: Bryce

Re: [fw-general] Zend Auth Adapter Http takes user supplied realm by default?

2009-03-04 Thread Bryce Lohr
defined by the resolver for the adapter's currently-configured realm (as specified by the developer). Your custom resolver that includes the realm logic you need is a good work-around. If you're inclined, you can file a feature request and include a patch. Regards, Bryce Lohr Jan Wag

Re: [fw-general] http authentication resolver

2009-02-13 Thread Bryce Lohr
ecide whether the login is valid. It's an unfortunate kludge, but that is the current state of things. :/ Hope this helps, Bryce Lohr Neil Garb wrote: Hi all I'm trying to get to grips with how to do basic HTTP authentication, with user details in a database. I'd like users

Re: [fw-general] IIRF ReWrite Rules for Zend Framework on IIS

2009-01-22 Thread Bryce Lohr
t in more than a year and a half, so I don't know if it'll still work properly. I haven't kept up with any newer versions of IIRF (the project had seemed to die right about the time I was doing this). Regards, Bryce Lohr drj201 wrote: Hello, Does anyone use IIRF with Zend Frame

Re: [fw-general] NTLM Auth For grabbing data.

2008-10-06 Thread Bryce Lohr
I'm not aware of any PHP implementation of the NTLM auth scheme, but I'd be keen to know if one is out there as well. Regards, Bryce Lohr DJ Necrogami wrote: Content-Length 1656 Content-Typetext/html Server Microsoft-IIS/6.0 WWW-AuthenticateNegotiate NTLM X-Powered-By

Re: [fw-general] Zend_Filter_Input and Arrays

2008-09-23 Thread Bryce Lohr
Glad to help! Incidentally, I already have a few implementations of such validator decorators in the Laboratory here: http://framework.zend.com/svn/framework/laboratory/library/Zend/Validate/ See the file Array.php, which does exactly what I had mentioned. Regards, Bryce Lohr cvogt wrote

Re: [fw-general] Zend_Pdf and printing in general questions

2008-08-25 Thread Bryce Lohr
t support absolute positioning, which complicated my plan to the point where I just created the invoices directly in PDF with fpdf. Hope this helps, Bryce Lohr Michał Zieliński wrote: Said that I was thinking about html (without PDF gen). What if I create 3000 invoices as a one HTML document.

Re: [fw-general] Zend_Filter_Input and Arrays

2008-08-15 Thread Bryce Lohr
Another, perhaps simpler, approach would be to create an array-aware decorator that decorates a validator object with the ability to validate arrays. That might be the easiest way to let a scalar-only validator automatically validate each element of a given array. Regards, Bryce Lohr cvogt

Re: [fw-general] How are you using Zend_Pdf?

2008-08-06 Thread Bryce Lohr
s all the form fields with the dynamic values from the FDF. Since the FDF is easy to write, and separated from the PDF, it's pretty easy to populate even complex, multi-page forms. See this URL for more info: http://www.tgreer.com/fdfServe.html Regards, Bryce Lohr Sasa Ebach wrote:

Re: [fw-general] How are you using Zend_Pdf?

2008-08-06 Thread Bryce Lohr
ts of text currently automatically divided over multiple pages? If not, that would also be a nice feature. +1 for this. Regards, Bryce Lohr

Re: [fw-general] How are you using Zend_Pdf?

2008-08-04 Thread Bryce Lohr
e API should be low-level enough so things like multiple groups and subtotals could be implemented. I haven't looked in detail at the changes you're planning for the next version of Zend_Pdf, so it could be that your proposed version can already handle this stuff fairly easily.

Re: [fw-general] Zend_Deprecation is ready for community review.

2008-07-17 Thread Bryce Lohr
introduce a new dependency that doesn't currently exist. I don't have a feel for how big of a deal this is right now, but I figured it would be worth mentioning. Regards, Bryce Lohr

Re: [fw-general] simple synchronization / transaction question

2008-07-17 Thread Bryce Lohr
t is off the top of my head (maybe "SERIALIZABLE" transaction isolation level is sufficient?). You should be able to find the answer in the Postgres docs. Hope this helps, Bryce Lohr

Re: [fw-general] Object Oriented and dealing with array coming from Zend_Db and Zend_Form

2008-06-27 Thread Bryce Lohr
od. In SWilk's discussion below, all the load/store methods he describes would be placed in your data mapper classes rather than your models. [1] http://propel.phpdb.org/trac/ [2] http://martinfowler.com/eaaCatalog/dataMapper.html Regards, Bryce Lohr SWilk wrote: iosonogio wrote: > >

Re: [fw-general] leaving Zend

2008-05-21 Thread Bryce Lohr
Darby, Thank you for the help you gave to me and to the framework as a whole! Best wishes to you in your new challenges. -Bryce Lohr Darby Felton wrote: Hi all, My last day at Zend will be this Friday, May 23. It's been an indescribably great experience working with the Zend Fram

Re: [fw-general] Zend_Validate_Alnum

2008-02-11 Thread Bryce Lohr
I agree. I'll vote for having this option! Regards, Bryce Lohr Darby Felton wrote: Łukasz Wojciechowski wrote: I think that Zend_Validate_Alnum shoudn't check if string is empty or not. You have other validator for this (NotEmpty), therefore the messages are duplicat

Re: [fw-general] ZF Packaging

2008-01-23 Thread Bryce Lohr
ng tarball/zip download. Best regards, Bryce Lohr Wil Sinclair wrote: Actually, I’m a bit ignorant since I’m a relative PHP newbie, but let me turn that question around- why would a PEAR channel be a good way to distribute ZF? That is, considering the current ZF installation is

Re: [fw-general] ZF Packaging

2008-01-22 Thread Bryce Lohr
I second the request for PEAR channel. Is there any reason why that would not be a good way to distribute the framework? Regards, Bryce Lohr Pádraic Brady wrote: Hi Will, It sounds good - an optional lean package would frighten off far less prospective users who have heard tales

Re: [fw-general] Zend_Validate - translate message templates

2007-12-05 Thread Bryce Lohr
Thanks Darby! That's encouraging news. I'll keep my eyes open. :) Regards, Bryce Lohr Darby Felton wrote: Hi Bryce and Sascha, Matthew and I have discussed some changes to the validation classes, and when I take a look at them, I'll also keep in mind how better we can support

Re: [fw-general] Zend_Validate - translate message templates

2007-12-05 Thread Bryce Lohr
classes? What do you think? I agree. I think what comes out of Matthew's work will be a big step forward. Hopefully, through Zend_Form, he will get the necessary changes made to make central error handling possible. Regards, Bryce Lohr

Re: [fw-general] Zend_Validate - translate message templates

2007-12-04 Thread Bryce Lohr
ate in the wiki. The "Submit a new proposal" link automatically creates an empty one from the template, I believe: http://framework.zend.com/wiki/display/ZFPROP/Home Regards, Bryce Lohr Sascha Goebel wrote: Hi Bryce, sorry for the late answer, I'm pretty busy with my official

Re: [fw-general] Zend_Form

2007-12-04 Thread Bryce Lohr
I completely agree with Matthew R, Matthew O, Simon, and others on this... I put my vote in for keeping the framework JavaScript-independent. Regards, Bryce Lohr Matthew Ratzloff wrote: Hi everyone, I feel compelled to trot out my essay from last year on this subject. It has some concepts

Re: [fw-general] NT Authentication Pdo MSSQL

2007-11-21 Thread Bryce Lohr
Thank you for the clarification on this, Thomas. I was unaware of your adapter in the incubator. Regards, Bryce Lohr Thomas Weidner wrote: This is wrong... Actually I made a PDO ODBC Adapter. You can find it within the incubator. Greetings Thomas I18N Team Leader - Original Message

Re: [fw-general] NT Authentication Pdo MSSQL

2007-11-21 Thread Bryce Lohr
PHP 5 first came out, so YMMV. :) Note that the PHP manual recommends using ODBC to connect to MS SQL, rather than the DBLIB adapter. Also, unfortunately, there's no Zend_Db_Adapter_Pdo_Odbc yet. Regards, Bryce Lohr Terry Shipclark wrote: Hello All, I am currently attempting

Re: [fw-general] Zend_Pdf requirements

2007-11-08 Thread Bryce Lohr
model loosely based on XSL-FO. I agree with your sentiments about FO; a more streamlined subset might be more practical in general. Also, I'm sure you've seen DOMpdf; a CSS interpreter written in PHP that renders to PHP; there's probably a lot of good ideas in there to reuse. Regard

Re: [fw-general] Zend_Validate - translate message templates

2007-11-08 Thread Bryce Lohr
this proposal page: http://framework.zend.com/wiki/x/fXM There are a also few unit tests in the laboratory for this class as well. If this seems like it might be useful, and you want more info, drop me a line. HTH, Bryce Lohr Sascha Göbel wrote: Hi fellow hackers! I'm writing an applic

Re: [fw-general] Zend_Pdf requirements

2007-11-08 Thread Bryce Lohr
could just build a PDF file with all those characters, and see if it comes out as gibberish. Regards, Bryce Lohr

Re: [fw-general] Zend_Pdf requirements

2007-11-07 Thread Bryce Lohr
d, since you're most likely using those features right now. HTH, Bryce Lohr Rick Gigger wrote: I am currently using both R&OS PDF and FPDF. I'm going to need to add support for both Japanese and Chinese soon. I am planning on either updating one or both of those those two pdf engine

Re: [fw-general] Zend_Pdf requirements

2007-11-05 Thread Bryce Lohr
and FPDF). Regards, Bryce Lohr Rick Gigger wrote: Is there an actual feature in the pdf spec for handling text blocks or will the zend library handle measuring and wrapping the text and then simply drawing each line in it's respective location on the page?   On Nov 2, 2007, at 6

Re: [fw-general] Zend_Pdf requirements

2007-11-02 Thread Bryce Lohr
Hi Alexander, I'd like to second Karol's request for text block formatting. IMHO, I think text blocks (with automatic line/page breaks and alignment) should be moved up the priority list. This is the missing feature preventing me from using Zend_Pdf right now. Respectfully,

Re: [fw-general] Zend_Lucene_Search for PDFs

2007-11-01 Thread Bryce Lohr
PHP manual with code snippets and links to utilities to extract text from PDF documents. http://www.php.net/manual/en/ref.pdf.php HTH, Bryce Lohr

[fw-general] Re: [fw-core] Utility functions: Calculating binary string length

2007-10-26 Thread Bryce Lohr
st my $0.02, Bryce Lohr Jack Sleight wrote: Shahar Evron wrote: True, a function is a natural solution - but I think most core people would consider adding functions to ZF to be against all design concepts. There is a middle path of course - utility classes grouping static methods. Yeah, I

Re: [fw-general] Zend_Db_Table_Ralationships and select()

2007-10-23 Thread Bryce Lohr
It's a well known and documented fact that Zend_Db_Table does not support joins. To the best of my knowledge, the currently recommended solution is issue straight SQL queries when you need to do joins. Regards, Bryce Lohr ViShap wrote: And where is my advantage doing

Re: [fw-general] Zend_Db_Table_Ralationships and select()

2007-10-23 Thread Bryce Lohr
It appears you're trying to do this: $info->update($fields, "user_id = (SELECT id FROM users WHERE nick = ?)" => $userNick); As long as your nicks are unique, this will work. Note that this will produce an error on MS SQL due to a PHP bug. Regards, Bryce Lohr ViShap

Re: [fw-general] Using Zend_Auth_Adapter_Http

2007-10-03 Thread Bryce Lohr
ction. If I could see those, it would help me understand what's going on. Regards, Bryce Lohr mbneto wrote: Hi, I am trying to use Zend_Auth_Adapter_Http according to the example from http://framework.zend.com/manual/en/zend.auth.adapter.http.html with no luck. I have the following c

Re: [fw-general] RE: Zend_Filter_Input: extending the wildcard feature

2007-08-16 Thread Bryce Lohr
Just a quick clarification: the Zend_Validate_Builder and Zend_Filter_Builder code is ready to be used. Just check the code out from the Laboratory and put it to work. If anyone does use it, I would like to hear of any problems or concerns. Thanks! Bryce Lohr Mark Maynereid wrote: Thanks

[fw-general] Shamelss plug: Zend_Validate_Builder - wildcards and custom errors

2007-08-15 Thread Bryce Lohr
gards, Bryce Lohr

Re: [fw-general] i5/OS

2007-08-07 Thread Bryce Lohr
ed on this list: http://framework.zend.com/wiki/display/ZFDEV/PHP+Coding+Standard+%28draft%29#PHPCodingStandard%28draft%29-PHPExtensions Technically, it could just as well use the built-in md5() function. Regards, Bryce Lohr

[fw-general] Laboratory proposal updated: Zend_Validate_Builder, Zend_Filter_Builder

2007-08-07 Thread Bryce Lohr
m/svn/laboratory/library/Zend/Validate/Builder.php http://framework.zend.com/svn/laboratory/library/Zend/Validate/Builder/* Regards, Bryce Lohr

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

2007-07-29 Thread Bryce Lohr
Ralph Schindler wrote: Perhaps Zend_Db needs Zend_Db::getDefaultAdapter() ? This seems like a good idea to me. Regards, Bryce Lohr

[fw-general] Proposal ready for review: Nested Transactions for Zend_Db

2007-07-26 Thread Bryce Lohr
d back properly. See the proposal for a better description, and a patch that implements the feature. As always, comments and concerns are very welcome! :) Regards, Bryce Lohr

Re: [fw-general] Models, Objects and RDBMS - Best Practise

2007-07-10 Thread Bryce Lohr
st my $0.02. :) Hope this helps, Bryce Lohr

Re: [fw-general] Models, Objects and RDBMS - Best Practise

2007-07-09 Thread Bryce Lohr
ny of this yet. It sounds like a great idea to me, but then I could be totally off my rocker. :) So if this is crazy, or doesn't work for you, ignore it. Hope this helps, Bryce Lohr Sam Davey wrote: Hi, First off thank you to everyone who contributed to getting the first release o

Re: [fw-general] reroute post requests

2007-06-11 Thread Bryce Lohr
h the Request Method and Request URI, at a minimum. Regards, Bryce Lohr Martel Valgoerad wrote: Bryce Lohr wrote: I'd second a feature request to add REQUEST_METHOD to the existing Router & Route classes. I'll probably make this change you have proposed some time ago, Bryce. B

Re: [fw-general] reroute post requests

2007-06-08 Thread Bryce Lohr
this file for every valid URL (or class of URLs) in my system... :) This way, I easily get the requests to go straight to the actions that will process them. I'd second a feature request to add REQUEST_METHOD to the existing Router & Route classes. Regards, Bryce Lohr Nico Edtin

Re: [fw-general] Zend_Filter_Input::getEscaped()

2007-05-30 Thread Bryce Lohr
I literally busted out laughing when I read that... I'll take that as a compliment. :) I'll get back working on that in a few days (I have a beta release of my own to get through first). As always, I'm wide open to suggestions for the "dumbing down" part... ;) Rega

Re: [fw-general] Proposed backward-incompatible changes to Zend_Validate_* classes

2007-05-18 Thread Bryce Lohr
ave their input into this. Regards, Bryce Lohr Dale McNeill wrote: Bryce - I think that it should be the job of the Zend_Validate_Builder to understand required and optional fields. Again, I go back to my point that it doesn't make sense for an integer validator to return true for an

Re: [fw-general] Proposed backward-incompatible changes to Zend_Validate_* classes

2007-05-17 Thread Bryce Lohr
that one specific policy wouldn't be hard-coded into the system. I hope this clarifies for you guys why I proposed some of the things I did. I'm certainly not adverse to other solutions, however, so please, suggest alternatives. :) Many thanks, Bryce Lohr

[fw-general] Proposed backward-incompatible changes to Zend_Validate_* classes

2007-05-16 Thread Bryce Lohr
27;s not feasible to make this proposed change. Regards, Bryce Lohr

[fw-general] New Zend_Validate_Builder proposal

2007-05-15 Thread Bryce Lohr
mments/thoughts as comments on the proposal page. Please be warned, however, it's somewhat long; there's a lot in that proposal. :) Many thanks, Bryce Lohr