Re: [fw-general] Zend Mail encoding

2009-04-09 Thread Benjamin Eberlei
should the string be ? > "utf8" / "utf-8" / "UTF8" / "UTF-8" / ... > > And finally third and last question, is it a good idea to encode mail > headers in utf8 ? Do all mail boxes support this encoding ? > > Thank you for any help ! -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Caching the SoapClient

2009-04-09 Thread Benjamin Eberlei
What authentication? If you authenticate via a token (which is common for stateless SOAP servers) you can of course cache the token. But when the SOAP Server is authenticating via stateful sessioning then you don't need to authenticate in each request. In either case you don't need to cache the S

Re: [fw-general] Caching the SoapClient

2009-04-09 Thread Benjamin Eberlei
Then you have probably disabled WSDL caching. The WSDL is of course fetched via HTTP and therefore takes some time to execute. you should look for the wsdl caching ini options in your php.ini On Thu, 9 Apr 2009 13:23:01 -0700 (PDT), ArthurZend wrote: > > Actually I just checked...the time is s

Re: [fw-general] Caching the SoapClient

2009-04-09 Thread Benjamin Eberlei
Put this in your view: WSDL Cache: another tip, if you know the WSDL is not changing you can also copy it to disc and intialize it from there. This saves one HTTP call for everytime the wsdl is not cached and only goes to the disc. -- Benjamin Eberlei http://www.beberlei.de

Re: AW: [fw-general] Zend JSON umlaut (special chars)

2009-04-11 Thread Benjamin Eberlei
oding will > return null. So > > [{"id":"124","name":null},{"id":"125",...] > > is an example (with only the first element), but when I var_dump the > encoded var, I get > > array(16) { > [0]=> > array(2) { > ["id"]=> > string(3) "124" > ["name"]=> > string(17) "Baden-Württemberg" > } > ... > > > > I see the last version (1.7.8). Did you encounter the same problem? > > > > Thank you -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Does Zend_Json_Expr work?

2009-05-19 Thread Benjamin Eberlei
Have you enabled the enableJsonExprFinder option? http://framework.zend.com/manual/en/zend.json.advanced.html#zend.json.advanced.expr you have to add the option: $jsonObjectWithExpression = Zend_Json::encode( $data, false, array('enableJsonExprFinder' => true) ); On Mon, 18 May 200

Re: [fw-general] ZF CLI slow

2009-05-31 Thread Benjamin Eberlei
recursive search for all providers in your includepath is the problem. greets, Benjamin -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Test-driven development does not work properly with Zend_Test

2009-06-08 Thread Benjamin Eberlei
F and now > after moving to 1.8.2 my approach is not possible any more. > > Any one any ideas? > > Thanks, > > Ralf > > P.S. Maybe the upgrade to a new PHPUnit version caused this issue? -- Benjamin Eberlei http://www.beberlei.de

[fw-general] A Zend_Db Adapter for ext/mysql (mysql_*)

2009-06-13 Thread Benjamin Eberlei
-- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] A Zend_Db Adapter for ext/mysql (mysql_*)

2009-06-14 Thread Benjamin Eberlei
he main framework. > > Best regards, > Tobias > > 2009/6/13 Matthew Ratzloff : > > CLA? Proposal? Inclusion in the framework? :-) > > > > -Matt > > > > On Saturday, June 13, 2009, Benjamin Eberlei wrote: > >> Hello everyone, > >> >

[fw-general] Using a DI Container with Zend_Application

2009-06-16 Thread Benjamin Eberlei
. http://www.whitewashing.de/blog/articles/117/ Any other DI container that uses __isset, __set and __get can also be integrated with Zend_Application. Very awesome! :) Greetings, Benjamin -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Get Curl handle ressource when use Zend_Http_Client with Zend_Http_Client_Adapter_Curl

2009-06-17 Thread Benjamin Eberlei
info($this->_curl); > } > } > > Is it the best way to do? > Or something can be change directly in the framework in a future release ? > > Thanks hello, this cannot be done currently, but would be nice probably. Can you add a feature request in Jira Issue Tracker?

Re: [fw-general] Zend_Application and Unit Testing wi th phpunit make inlude_path growth without limits

2009-07-22 Thread Benjamin Eberlei
for exactly the cases you describe there is the concept of "dataproviders" which is a loop around your test method, which is then allowed to accept different input parameters based on an outside data source. http://www.phpunit.de/manual/current/en/writing-tests-for-phpunit.html#writing-tests-for

[fw-general] Proposal for Extensions to Zend_Db_Expr

2009-08-03 Thread Benjamin Eberlei
abstract from vendor specfic syntax of building database queries, conditions, functions and such. It should implement as much common functionality of the current supported database drivers as possible. http://framework.zend.com/wiki/display/ZFPROP/Zend_Db_Expr+Extension+-+Benjamin+Eberlei The

Re: [fw-general] Zend_Session Garbage Collections Works?

2009-08-10 Thread Benjamin Eberlei
than > >> the file handler? > >> > >> - Alex > > > > The file handler is faster, but the db handler can provide persistence > > across multiple servers and is potentially more secure depending on the > > hosting environment. - pw -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Unit Testing ZFW

2009-08-16 Thread Benjamin Eberlei
not, > >>> remember that the command line version of PHP has its own php.ini file, > >>> so make sure you're editing the correct one. > >>> > >>> -- > >> > >> Yes, when memory is increased to 1GB, then it will die at another place. > >> > >> I have verified my memory setting using php -i | grep memory > >> > >> > >> Anyone can run the unit test successfully? -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Using Zend_Db_Select without a db connection

2009-08-19 Thread Benjamin Eberlei
> $select = $db->select() > ->from('users') > *->where('username = ?', 'test'); // throws exception: SQLSTATE[HY000] > [2013] Lost connection to MySQL server at 'reading initial communication > packet', system error: 111* > It seems that quoteInto() is attempting to connect to the database. Is this > necessary? Is there a way to stub in a fake database connection in order to > use Zend_Db_Select? > > -- > Hector -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Zend Amazon not working anymore

2009-08-28 Thread Benjamin Eberlei
ler_Dispatcher_Standard->dispatch(Object(Zend_Controller_Reques >t_Http), Object(Zend_Controller_Response_Http)) #5 > C:\wamp\www\_phpscriptor\public_html\application.php(182): > Zend_Controller_Front->dispatch() #6 C:\wamp\w in > C:\wamp\www\_phpscriptor\public_html\library\Zend\Service\Amazon.php on > line 110 > > - > visit my website at http://www.phpscriptor.com/ > http://www.phpscriptor.com/ -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Data Mappers and Relational Modelling

2009-08-29 Thread Benjamin Eberlei
h > > > > >> the choices and populate the questions with them. > > >> > > >> Implementing it this way you make your Model independent of the Mapper > > > > and > > > > >> therefore the storage type. > > >> > > >> Hector Virgen wrote: > > >> > Also, since each question belongs to a quiz, should the Question > > > > object > > > > >> > contain an instance of the Quiz object it belongs to? > > >> > > >> I think it's acceptable if you use this backreference somewhere. > > >> > > >> Hector Virgen wrote: > > >> > If I follow this pattern, then when I "find" a single AnswerChoice > > >> > object, > > >> > the AnswerChoiceMapper would load the parent Question object, which > > >> > loads > > >> > the parent Quiz object, which loads the parent User object, etc. > > >> > This seems > > >> > to be inefficient, especially when iterating through multiple answer > > >> > choices. > > >> > > >> With the Data Mapper layer decoupled from your model you may now > > > > implement > > > > >> another mapper for each use case which pulls exactly as many > > > > dependencies > > > > >> as > > >> needed. You could still use techniques you mentioned like Identity Map > > > > or > > > > >> Lazy Loading. Martin Fowler describes them very good in > > >> http://martinfowler.com/books.html#eaa PoEAA . > > >> > > >> Tim. > > >> -- > > >> View this message in context: > > > > http://www.nabble.com/Data-Mappers-and-Relational-Modelling-tp25193848p25 > >198001.html > > > > >> Sent from the Zend Framework mailing list archive at Nabble.com. > > > > -- > > -- > > [MuTe] > > -- -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Best practice to share identity map across mappers? Static registry?

2009-08-30 Thread Benjamin Eberlei
hink of is always a sort of a > static one (either through static members, or static "managers", or > even some injectable containers which default to static > Zend_Registry). > > What would you suggest, other than the static way? > > Thank you in advance. > > M. -- Benjamin Eberlei http://www.beberlei.de

[fw-general] Re: [fw-mvc] Understanding 'Service Layer' and 'Domain Model'

2009-09-01 Thread Benjamin Eberlei
There are two kinds of services: 1. The Service Layer, which is kind of the public API of the model/business logic/domain towards the controller and views. This is what fowler describes as Service Layer pattern. 2. Domain Services, objects that are not entities or value objects, but still belong

Re: [fw-general] zend_mail wrong charset

2009-09-02 Thread Benjamin Eberlei
t.it', $this->_dscDest); > $mail->setBodyText($testo); > $mail->setSubject('Registrazione'); > > $mail->send(); > > please help me can you please give the complete "getTraceAsString()" output and put tha

Re: [fw-general] Data Mappers and Relational Modelling

2009-09-04 Thread Benjamin Eberlei
Hello Chris, there is an example/readme at www.beberlei.de/zendentity which is a quickstart rewrite of the bug model in the Zend_Db manual. It has some quirks, but a working (though slightly different) demo is in the http://framework.zend.com/svn/framework/standard/incubator/demos/Zend/Entity r

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

2009-09-09 Thread Benjamin Eberlei
Don't underestimate yourself :-) We are always happy for any help and ralph would probably mentor you through the process if you would dedicate yourself to implementing this (and he hasn't started yet). If you seperate the Provider and the actual deletion, you can probably get this working by wri

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

2009-09-09 Thread Benjamin Eberlei
On Wednesday 09 September 2009 06:47:49 pm David Mintz wrote: > On Wed, Sep 9, 2009 at 10:13 AM, Benjamin Eberlei wrote: > > Don't underestimate yourself :-) We are always happy for any help > > and ralph would probably mentor you through the process if you would >

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread Benjamin Eberlei
The approach you are describing is misusing Zend Entity as a data access layer only, however its purpose is really managing of object identities. Although its possible to dynamically set a different metadata model based on properties its really not recommended at all and there will be no support w

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread Benjamin Eberlei
tings, Benjamin On Thu, 10 Sep 2009 13:05:29 +0100, keith Pope wrote: > 2009/9/10 Benjamin Eberlei : >> >> The approach you are describing is misusing Zend Entity as a data access >> layer >> only, however its purpose is really managing of object identities. >> A

Re: [fw-general] Zend_Entity Entity instantiation quest ion

2009-09-11 Thread Benjamin Eberlei
The createEntity() method in the loader is pretty much internal, what exactly do you want to inject into a specific entity? You can overwrite the Mapper however, which instantiates the loaders and overwrite the method in entity loader. The Aggregate metadata map has the disadvantage that you eith

Re: [fw-general] Zend_Db_Select::union() behaving

2009-09-21 Thread Benjamin Eberlei
mentioned. greetings, Benjamin -- Benjamin Eberlei http://www.beberlei.de

[fw-general] Re: [fw-db] Modeling MySQL enum

2009-09-22 Thread Benjamin Eberlei
You shouldnt use Mysql ENUMS, they have some ugly properties. Any change in the list of allowed fields requires a complete rebuild of the table, which can take ages. Using a Char and filtering in the application is much better! greets, Benjamin On Tue, 22 Sep 2009 02:27:02 -0700 (PDT), umpirsky

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

2009-09-22 Thread Benjamin Eberlei
sorry but that i dont understand. The factory makes certain assumptions about what is possible and what not in creating an adapter. Changing the assumptions is a B/C break. Of course its a bug that ZendX Firebird cannot be loaded from the previous assumptions but that is not a valid cause to ove

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

2009-09-22 Thread Benjamin Eberlei
s to class Zend_Db_Adapter_Mysqli. This is case-insensitive." Which it is now not anymore! On Tue, 22 Sep 2009 18:02:12 +0200, Benjamin Eberlei wrote: > sorry but that i dont understand. > > The factory makes certain assumptions about what is possible > and what not in creating a

Re: [fw-general] ZF 1.9.3 and phpunit 3.4.0 zf_tool prob lem

2009-09-22 Thread Benjamin Eberlei
do you have phpunit on your include path twice? On Tue, 22 Sep 2009 18:06:15 +0200, Ladislav Prskavec wrote: > If run zf tool: > > >zf version > > Fatal error: Cannot redeclare class > phpunit_framework_testsuite_dataprovider in > /usr/local/zend/share/pear/PEAR/PHPUnit/Framework/TestSuite/

Re: [fw-general] spaces in url with Zend_http

2009-09-22 Thread Benjamin Eberlei
e redirects with spaces in the > location. Firefox and IE don't have a problem with it, they do maybe some > encoding self. valid issue that you are getting this from other sites header locations. I will file an issue for this problem and discuss it with the maintainer :-) greets, Benjamin -- Benjamin Eberlei http://www.beberlei.de

[fw-general] Zend Form Element PluginLoader for Validators

2009-09-24 Thread Benjamin Eberlei
Hello everyone, I want to use non-Zend validators for my elements and use the array options notation to build my form, where i realized that i can't really set the plugin loaders for the validators of each field. However while browsing through the code I saw that every element creates its own plu

Re: [fw-general] setClassmap in Zend_Soap_AutoDiscover

2009-10-18 Thread Benjamin Eberlei
n a soap server. > > > > Now I don't want the outer world to have to bother with a different > > classname and want to use the setClassmap in Zend_Soap_Server. > > > > But I also do use the Zend_Soap_AutoDiscover to generate the wsdl file. > > Is i

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

2009-10-29 Thread Benjamin Eberlei
o Doctrine also. Also special thanks to all those that offered help, feedback and contributions. greetings, Benjamin -- Benjamin Eberlei http://www.beberlei.de

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

2009-10-29 Thread Benjamin Eberlei
e the roadmap at > >> http://framework.zend.com/roadmap/1.10.0 > >> > >> I hope to see an early proposal to start to help. > > > > We're in the very early stages of gathering requirements; I honestly > > don't see it being ready for 1.10. > > > > -- > > Matthew Weier O'Phinney > > Project Lead| matt...@zend.com > > Zend Framework | http://framework.zend.com/ -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Zend_Tool_Framework Customization

2009-11-02 Thread Benjamin Eberlei
gt; > These types of things can definitely be handled by a custom profile. TO > that though, there are probably a few places where having attributes > persist into the context object make sense (this would make it easier to > customize things like the name of a directory or file). > > I'll keep you updated via the mailing list on the new features I'll be > pushing out this week. > > -ralph -- Benjamin Eberlei http://www.beberlei.de

[fw-general] Zend_Text_Tree proposal ready for review

2009-11-05 Thread Benjamin Eberlei
was written already for this task should be generally refactored to allow to print treets on the console using a Tree structure (like the unix command tree generates). Here is a simple proposal for this: http://framework.zend.com/wiki/display/ZFPROP/Zend_Text_Tree+-+Benjamin+Eberlei greetings

Re: [fw-general] zfproject.xml

2009-11-10 Thread Benjamin Eberlei
to generate controllers, actions and views for a module. greetings, Benjamin -- Benjamin Eberlei http://www.beberlei.de

[fw-general] Integration of Zend Tool and Doctrine 1

2009-11-10 Thread Benjamin Eberlei
people from both Doctrine and Zend Framework background. http://framework.zend.com/wiki/display/ZFPROP/Doctrine+1+and+Zend_Tool+Integration+-+Benjamin+Eberlei I would be very happy to get feedback from both communities on this proposal, any flaws it might have but also additional features or ideas

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

2009-11-25 Thread Benjamin Eberlei
Hello, Its not a failure to recognize that a proposal generates lots of "duplicate code", which is currently better solved in other projects. This also has nothing to do with Zend, since the component was approved under the premise that its community contributed. An ORM is a huge undertaking and

Re: [fw-general] Re: Zend Framework 1.9.6 missing Zend/Queue/Adapter/Stomp/IO.php and other files

2009-12-08 Thread Benjamin Eberlei
You have to run phpunit from the tests directory, best using the bootstrap like the following: cd tests phpunit --bootstrap TestHelper.php Zend_AllTests On Tue, 8 Dec 2009 06:03:40 +0100, Andrea Turso wrote: > I downloaded the Zend Framework from trunk using svn and ran > phpunit tests/ > It st

[fw-general] Zend_View_Helper_Jquery - Ready for Review

2008-07-14 Thread Benjamin Eberlei
Hello guys, i wanted to let you know that my Zend_View_Helper_Jquery proposal is ready for review: http://framework.zend.com/wiki/display/ZFPROP/Zend_View_Helper_Jquery+-+Benjamin+Eberlei Please discuss. Important discussion for the beginning are the concerns/problems I raised in the first

Re: [fw-general] Contributor mailing list. . .

2008-07-15 Thread Benjamin Eberlei
Hello Wil, where exactly is this zf-contributor list located, I cant find anyhting on the webseite? just write to [EMAIL PROTECTED] for subscription? regards, Benjamin Wil Sinclair schrieb: Hi all, the ZF team at Zend would like to propose a new list- 'zf-contributor' for contributors to th

Re: [fw-general] Zend_View_Helper_Jquery - Ready fo r Review

2008-07-17 Thread Benjamin Eberlei
Due to renaming issue (ZendX Package and own namespace) it changed to: http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery_View_Helper_JQuery+-+Benjamin+Eberlei Sorry On Thu, 17 Jul 2008 11:58:08 -0400, "Jake McGraw" <[EMAIL PROTECTED]> wrote: > Page n

Re: [fw-general] Announcing Project Planetarium!

2008-07-22 Thread Benjamin Eberlei
docs >/ requirements.txt?view=markup> > IRC: #planetarium @ irc.freenode.net <http://irc.freenode.net> > > > This email has been scanned for all known viruses by the MessageLabs Email > Security Service and the Macro 4 plc internal virus protection system. > > > > > This email has been scanned for all known viruses by the MessageLabs Email > Security Service and the Macro 4 plc internal virus protection system. > -- -- Benjamin Eberlei

[fw-general] Zend_View_Dtl ready for review

2008-08-04 Thread Benjamin Eberlei
/Zend_View_Dtl+-+Benjamin+Eberlei The Django Template language is an object oriented template system, that allows for template inheritence. See http://www.djangoproject.com/documentation/templates/ on how it works. I have already finished a first version of this component downloadable under http

Re: [fw-general] Context Dependent Menus

2008-08-08 Thread Benjamin Eberlei
ut.phtml you can then echo this named segment with: layout()->menu1; ?> hope it helps. On Friday 08 August 2008 07:42:26 Greg Freeman wrote: > What is the best way to create context dependent menu's etc in ZF? Does ZF > have anything similar to slots or component slots such as those available > in symfony? > > Thanks -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Speed and performance between ZF releases

2008-08-28 Thread Benjamin Eberlei
> I'm asking this, because when there are discussions about frameworks - > >> almost everyone says that ZF is one of slowest frameworks out there > > > > (if > > > >> compared to Symfony, Cake etc.). It would be good to know if ZF is > >> making > >> progress, or failing because of all new functions added to it. > >> > >> Thanks! > >> > >> Endijs Lisovskis > >> -- > >> View this message in context: http://www.nabble.com/Speed-and- > >> performance-between-ZF-releases-tp19164298p19164298.html > >> Sent from the Zend Framework mailing list archive at Nabble.com. -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Call actions via CLI

2008-08-28 Thread Benjamin Eberlei
ed for some time. > > Just wondering if there are any plans afoot to proceed with a CLI > request object, or how others are currently using ZF with the CLI. > > :wq > > Greg. -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Speed and performance between ZF releases

2008-08-28 Thread Benjamin Eberlei
ay 28 August 2008 14:17:09 Matthew Weier O'Phinney wrote: > -- Benjamin Eberlei <[EMAIL PROTECTED]> wrote > > (on Thursday, 28 August 2008, 11:06 AM +0200): > > Rasmus Lerdorf had a new talk (froscon08) on framework performance in > > general and vs using no frame

Re: [fw-general] require_once performance issue in ZF

2008-08-29 Thread Benjamin Eberlei
gt; plan ? > > Thanks, > > PS: for people understanding Chinese, you may see my blog to talk about > this more specifically: http://blog.gslin.org/archives/2008/08/29/1639/ -- Benjamin Eberlei http://www.beberlei.de

[fw-general] Cannot compile Documentation - HtmlHelp XSL file missing

2008-09-06 Thread Benjamin Eberlei
top in all manual dirs that i checked (standard, extras incbutator). Can anyone point me to the non-missing file? Benjamin -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Cannot compile Documentation - HtmlHelp XSL file missing

2008-09-06 Thread Benjamin Eberlei
n DOCBOOK_XSL variable quite on top in all > > manual > > dirs that i checked (standard, extras incbutator). > > > > Can anyone point me to the non-missing file? > > > > Benjamin > > -- > > Benjamin Eberlei > > http://www.beberlei.de -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Why Dojo of All???

2008-09-16 Thread Benjamin Eberlei
/ZendX_JQuery_View_Helper_JQuery+-+Benjamin+Eberlei then a jQuery UI proposal, which allows integration of some of the jQuery UI widgets as part of view helpers and form elements into your ZF app. http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery+UI+Widgets+Extension+-+Benjamin+Eberlei personally i think

Re: [fw-general] Why Dojo of All???

2008-09-17 Thread Benjamin Eberlei
ook at your > demo's before anything else! > > Regards, > > Bart McLeod > > Benjamin Eberlei schreef: > > Hello Bart, > > > > i have already put together two proposal concerning jQuery support, one > > for a generic helper that takes care of loading jQu

Re: [fw-general] Cronjobs with ZF

2008-09-25 Thread Benjamin Eberlei
t/html/application/controllers/CronController.php* > > ) > > Regards, > > José > > P.S: This is the same question someone did on the internet, but without > answers... -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] adding jQuery js code to my view

2008-09-28 Thread Benjamin Eberlei
thing else I should be doing, or if > I'm not supposed to echo it. > > My "./js/jquery-1.2.6.min.js" path works if I do: > src="./js/jquery-1.2.6.min.js"> > > I'm missing something conceptually. Any ideas? -- Benjamin Eberlei http://www.beberlei.de

[fw-general] Request for Feedback: Interface for Zend_Controller_Action

2008-09-30 Thread Benjamin Eberlei
Hello everyone, last week i posted an issue that offers a very little patch that adds an interface for Zend_Controller_Action and changes the requirements of the Standard Dispatcher to this interface only (instead of the abstract action controller). http://framework.zend.com/issues/browse/ZF-4

Re: [fw-general] Datagrid in Zend Framework

2008-10-03 Thread Benjamin Eberlei
http://www.bolsadeideas.cl/zsamer Blog Zend Framework: State of the Art > >> > >> http://www.bolsadeideas.cl Bolsa de Ideas > >> -- > >> View this message in context: > >> http://www.nabble.com/Datagrid-in-Zend-Framework-tp17108164p19760525.htm > >>l Sent from the Zend Framework mailing list archive at Nabble.com. > > - > http://www.bolsadeideas.cl/zsamer Blog Zend Framework: State of the Art > > http://www.bolsadeideas.cl Bolsa de Ideas -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Difference between minimal and full version

2008-10-04 Thread Benjamin Eberlei
> Thanks, Mark hello mark, the minimal version has the complete ZF library, exactly as the full version has. the full version additionally has all the unit tests, documentation and the dojo stuff. things you don't need in most circumstances. greetings, Benjamin -- Benjamin Eberlei http://www.beberlei.de

[fw-general] Updated Zend_Http_Client_Adapter_Curl in Incubator

2008-10-11 Thread Benjamin Eberlei
debugging!) -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] PHP Catchable fatal error: Argument 4 passed to Zend_Dojo_View_Helper_DateTextBox::dateTextBox() must be an array, null given in Zend/Dojo/View/Helper/DateTextBox.php on line 64

2008-10-12 Thread Benjamin Eberlei
oblem described above. you ahve to set it to => array() to explicity stating its emptiness. greetings Benjamin -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Zend Framework 1.7 Preview Release is now available!

2008-10-14 Thread Benjamin Eberlei
On Tuesday 14 October 2008 08:26:04 Marko Korhonen wrote: > Hi, > > Where is ZendX (eg. ZendX_JQuery) documentation? > > br, Marko -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] ZF performances / profiling the culprit

2008-10-23 Thread Benjamin Eberlei
or your translations to > >>> see if that speeds things up. If so, you may be able to develop > >>> using TMX, and write a build script that converts to gettext later. > >> > >> I will give them a try on Thursday and Friday and keep you inform of > >>

Re: [fw-general] error in JQuery datepicker?

2008-10-23 Thread Benjamin Eberlei
e id cannot be called > > 'begin'. It can be called 'begin1'. Maybe there is something in my > > form magic that it causing this. So I should try this without any > > magic, in a very simple form. Wanted to share it with you before I > > forget. > > > > Bart -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] error in JQuery datepicker?

2008-10-23 Thread Benjamin Eberlei
mpatibility issue later, that I can describe more properly, I will > let you know. > > At the moment, I am a little sad that using jquery directly is simpler > than using its' ZF integrated counterpart. I was expecting the > opposite...but I will not give up yet. > > Regards, &

[fw-general] Anyone on PHP Conference in Mainz?

2008-10-26 Thread Benjamin Eberlei
Hello, i wanted to ask if anyone is going to be on the international PHP conference in mainz next week? Would be great to get together with some of the ZF users/devs.

Re: [fw-general] error in JQuery datepicker? -possible fix /bug in php?

2008-10-26 Thread Benjamin Eberlei
exactly where I will have to be looking. The > >>> reason that the 'begin' id caused the error is that the 'begin' > >>> field is grouped together with other form elements automagically, > >>> because I just hate to set decorators every time. It is

Re: [fw-general] Database Migrations - Yes, No, Maybe?

2008-11-07 Thread Benjamin Eberlei
haven't > seen any mention of it in tutorials or other information, but since I'm > new, I figure chances are I'm missing something. If this doesn't exist, > is it planned? > > Thanks. -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Zend_Search_Lucene is very sloooooow

2008-11-08 Thread Benjamin Eberlei
ezcomponents has an ready to go solr service component, if you are eager to use solr in your php application. On Sat, 8 Nov 2008 13:21:49 +, "keith Pope" <[EMAIL PROTECTED]> wrote: > Talking of solr maybe Zend_Service_Solr would be a good addition to > the Zend Core? > > 2008/11/8 Ralf Egger

Re: [fw-general] jQuery, jqGrid and ZF - pager doesn't work

2008-11-14 Thread Benjamin Eberlei
x27;)", >... > ); > After Zend_Json::encode($myarray) i have: > ... > "pager": "jquery('#pager2')" > ... > > from jqGridDocumentation: pager defines that we want to use a pager bar to > navigate through the records. This must be a valid html element; > In my example it's a string. > > What is the best solution for this? > > regards, -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] AjaxLink in ZendX_JQuery

2008-11-19 Thread Benjamin Eberlei
ink it could be useful to have an extra "datatype" option in AjaxLink > View Helper: the "javascript" option to eval the server's response in the > client. -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] PDF, IE7 and sessions

2008-11-19 Thread Benjamin Eberlei
> This should render a PDF with a single blank page. However, IE7 returns a > general error "Internet Explorer cannot display the webpage". If I comment > the session_start() line, the PDF is rendered fine. My problem is that I > need to get some session variables first before

Re: [fw-general] ZendX Jquery reports Zend_Dojo error???

2008-11-25 Thread Benjamin Eberlei
lete:' ) ); > $elem->setJQueryParams ( array ('data' => array ('New York', > 'Berlin', > 'Bern', 'Boston' ) ) ); > $subForm2->addElement ( $elem ); > > // Submit Button > $elem = new Zend_Form_Element_Submit ( "btn1", array ('value' > => 'Submit' > ) ); > $subForm1->addElement ( $elem ); > $form->addSubForm ( $subForm1, 'subform1' ); > $form->addSubForm ( $subForm2, 'subform2' ); > > $formString = $form->render ( $view ); > } > > AFTER pointing url to the page, i am getting quite strange error: > Fatal error: Call to undefined method > Zend_Dojo_View_Helper_TabContainer::addPane() in > D:\wamp\www\singlescash\library\ZendX\JQuery\View\Helper\TabPane.php on > line 72 > > I think i dont call any Zend_Dojo view helper in here? Or i do? > I am using Zend_dojo forms on web site, but not within this directory and > this controller -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] ZendX Jquery reports Zend_Dojo error???

2008-11-25 Thread Benjamin Eberlei
addElement ( $elem ); > >> > >>// Add Autocomplete Element > >>$elem = new ZendX_JQuery_Form_Element_AutoComplete ( "ac1", > >> array > >> ('label' => 'Autocomplete:' ) ); > >>$elem->setJQueryParams ( array ('data' => array ('New York', > >> 'Berlin', > >> 'Bern', 'Boston' ) ) ); > >>$subForm2->addElement ( $elem ); > >> > >>// Submit Button > >>$elem = new Zend_Form_Element_Submit ( "btn1", array ('value' => > >> 'Submit' > >> ) ); > >>$subForm1->addElement ( $elem ); > >>$form->addSubForm ( $subForm1, 'subform1' ); > >>$form->addSubForm ( $subForm2, 'subform2' ); > >> > >>$formString = $form->render ( $view ); > >>} > >> > >> AFTER pointing url to the page, i am getting quite strange error: > >> Fatal error: Call to undefined method > >> Zend_Dojo_View_Helper_TabContainer::addPane() in > >> D:\wamp\www\singlescash\library\ZendX\JQuery\View\Helper\TabPane.php on > >> line 72 > >> > >> I think i dont call any Zend_Dojo view helper in here? Or i do? > >> I am using Zend_dojo forms on web site, but not within this directory > >> and this controller > > > > -- > > Benjamin Eberlei > > http://www.beberlei.de -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Cannot consume SOAP Service

2008-11-25 Thread Benjamin Eberlei
g the service. > > It looks like an java problem, but we also tested the same soap server > using a Microsoft Dynamics AX soap client and got the same result. Okay we > do not get "NULL" as return value from service, the Microsoft soap client > shows "1" as result. > > So I am searching for a solution how to get it working. I am absolutly > clueless why I do not get the correct result. Is there someone who can > verify or solve my problem? :-) > > If there are any questions or if there are more information needed, please > ask! If needed I can upload my sources. > > -- Jan -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Validating JQuery forms via AJAX

2008-11-26 Thread Benjamin Eberlei
Hello Manuel, there is currently no way to validate your form via ajax unless you implement that yourself. I might implement that someday, but the form plugin is not part of jQuery or jQuery UI, so I havent integrated that yet. best regards, Benjamin On Wed, 26 Nov 2008 02:58:18 -0800 (PST), m

Re: [fw-general] Validating JQuery forms via AJAX

2008-11-26 Thread Benjamin Eberlei
e is interested, i > can > share my code and we can promote it to ZF. > > > -----Mensaje original- > De: Benjamin Eberlei [mailto:[EMAIL PROTECTED] > Enviado el: miércoles, 26 de noviembre de 2008 14:50 > Para: fw-general@lists.zend.com > Asunto: Re: [fw-gen

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread Benjamin Eberlei
You have to give dataType = html as additoinal parameter to the options, because for security by default ajax responses are handled as text. On Wed, 26 Nov 2008 08:07:39 -0800 (PST), vladimirn <[EMAIL PROTECTED]> wrote: > > I would like to figure this out: > On my index.phtml page is a link: > -

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread Benjamin Eberlei
> >>> 'method' => 'POST')); > >>> ?> > >>>   > >>> ajaxLink( > >>> "[ Delete ]", > >>> "/admin/index/delete", > >>> array( 'id' => > >>> 'delete', > >>> > >>> 'update' => '#contentJ', > >>> > >>> 'noscript' => false, > >>> > >>> 'method' => 'POST')); > >>> ?> > >>> > >>> > >>> > >>> > >>> > >>> > >>> --end of hello.phtml > >>> --- > >>> > >>> SO far you can see that i tried to create 2 links inside hello.phtml. > >>> All > >>> data are displayed, but [ Edit ] and [ Delete ] links are not links at > >>> all, > >>> just plain text. > >>> Is it possible to make them as ajaxLink within given container > >>> (contentJ) > >>> and clicking on them, new content is pulled in contentJ div? > >>> > >>> Thanks a lot, > >>> V > >>> > >>> -- > >>> View this message in context: > >> > >> http://www.nabble.com/jQuery-Ajax-link-inside-container--how-to-make-thi > >>s--tp20703903p20703903.html > >> > >>> Sent from the Zend Framework mailing list archive at Nabble.com. -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread Benjamin Eberlei
> >> >>> 'update' => '#contentJ', > >> >>> > >> >>> 'noscript' => false, > >> >>> > >> >>> 'method' => 'POST')); > >> >>> ?> > >> >>>   > >> >>> ajaxLink( > >> >>>"[ Delete ]", > >> >>> "/admin/index/delete", > >> >>>array( 'id' => > >> >>> 'delete', > >> >>> > >> >>> 'update' => '#contentJ', > >> >>> > >> >>> 'noscript' => false, > >> >>> > >> >>> 'method' => 'POST')); > >> >>> ?> > >> >>> > >> >>> > >> >>> > >> >>> > >> >>> > >> >>> > >> >>> --end of hello.phtml > >> >>> --- > >> >>> > >> >>> SO far you can see that i tried to create 2 links inside > >> >>> hello.phtml. All > >> >>> data are displayed, but [ Edit ] and [ Delete ] links are not links > >> > >> at > >> > >> >>> all, > >> >>> just plain text. > >> >>> Is it possible to make them as ajaxLink within given container > >> >>> (contentJ) > >> >>> and clicking on them, new content is pulled in contentJ div? > >> >>> > >> >>> Thanks a lot, > >> >>> V > >> >>> > >> >>> -- > >> >>> View this message in context: > >> > >> http://www.nabble.com/jQuery-Ajax-link-inside-container--how-to-make-thi > >> > >> >>s--tp20703903p20703903.html > >> >> > >> >>> Sent from the Zend Framework mailing list archive at Nabble.com. > > > > -- > > Benjamin Eberlei > > http://www.beberlei.de -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Zendx Jquery Datepicker custom viewscript

2008-11-26 Thread Benjamin Eberlei
;).datepicker({"showOn":"both","buttonImage":"\/images\/j >query\/calendar.gif","dateFormat":"yy-mm-dd","buttonImageOnly":"true"}); > > > to > > $("#time_event_end").datepicker({"helper":"datePicker","jQueryParams":{"sho >wOn":"both","buttonImage":"\/images\/jquery\/calendar.gif","dateFormat":"yy- >mm-dd","buttonImageOnly":"true"},"options":[]}); > > What have i done wrong? i don't think its in the .phtm file right? its the > way ive used setDecorators? > > Any and all help gratefully recieved! > > Will -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Zendx Jquery Datepicker custom viewscript

2008-11-26 Thread Benjamin Eberlei
l file to manage the layout with that? > > beberlei wrote: > > datepicker needs the UiWidgetElement Decorator, NOT the ViewHelper > > decorator. -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Zendx Jquery Datepicker custom viewscript

2008-11-27 Thread Benjamin Eberlei
ere, and would like to find > a way to keep markup of forms in the control of the design / front end team > rather than having the backed team programing them, whilst still using the > good bits of zend_form. -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Calling non-php library

2008-12-01 Thread Benjamin Eberlei
no that is not possible. however it should be realitvly straightforward to compile the c++ library into your php and offer a frontend to PHP for it. This is not as hard as it sounds, you should find some information by googling that issue :) On Mon, 1 Dec 2008 21:37:32 -0700, Bin Hu <[EMAIL PROT

Re: [fw-general] Help with Zend_Soap_AutoDiscover and array of complex types

2008-12-03 Thread Benjamin Eberlei
* @return MyComplexTypeB[] > */ > function testRequest($request){} > } > > It appears to be ignoring the Strategy that I set, when dealing with > properties of complex types. > > Thanks -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] QUestion about jQuery ajaxLink- can anyone take a look on this please?

2008-12-03 Thread Benjamin Eberlei
ECTED]>: > >> Anyone pls? > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/QUestion-about-jQuery-ajaxLink--can-anyone-take-a- > >>look-on-this-please--tp20732925p20795245.html Sent from the Zend > >> Framework mailing list archive at Nabble.com. -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] QUestion about jQuery ajaxLink- can anyone take a look on this please?

2008-12-03 Thread Benjamin Eberlei
;>> ajaxLInk > >>> content. > >>> > >>> Is my english to bad, or no one here can give me an answer? :) > >>> I really want thats about my english and that i dont know to > >>> explain :) > >>> If anyone thinks that could help on this, i will explain

Re: [fw-general] Zend_Soap_AutoDiscover and document literal

2008-12-15 Thread Benjamin Eberlei
Setting document/literal will be possible with the AutoDiscover component that will be shipped with the ZF 1.8 release in february next year. Until then, you should extend and override the specific functions (setClass, addFunction) to gain the desired functionality. greetings, Benjamin On Sun,

Re: [fw-general] Zend_Http_Client vs cURL

2008-12-22 Thread Benjamin Eberlei
You can also use cURL as adapter for Zend_Http_Client. There is a version in the SVN incubator. The Socket Adapter of Zend_Http_Client has far less functionality than cURL. You need Zend_Http_Client for certain components that rely on it (Service_* for example, Zend_Rest). On Mon, 22 Dec 2008 00

Re: [fw-general] Is javascript framework integration into ZF really that beneficial?

2009-01-05 Thread Benjamin Eberlei
d run the javascript files through some sort of > minify.) > > Best, > Bob -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Question regarding dojo forms rendered in templates called via xhr.

2009-01-08 Thread Benjamin Eberlei
de quite a few attempts to selectively load the required > dojo modules (with dojo.addOnLoad), but for some reason I am not > getting it right. I am also confused about setting dojo to > "declarative" mode in the view template when we have already done so > in the predispatch action... > > Any help would be much appreciated. > > Thanks, > -- > Mustafa A. Hashmi -- Benjamin Eberlei http://www.beberlei.de

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

2009-01-10 Thread Benjamin Eberlei
the registry is global too and it has no type checking, which makes a global class that has setter and getter for specific types winner over a general registry in my opinion. static classes that contain objects and are used inside dynamic objects are always an obstacle to testing, singletons more

Re: [fw-general] Re: Re[fw-general] comendation to solve problem with ZendJsonExprFinder in Zend_Json::encode()

2009-01-12 Thread Benjamin Eberlei
hello mezoni, thanks for the report, i'll look into it. haven't thought about UTF-8 so much in the keys. On Sun, 11 Jan 2009 15:46:29 -0800 (PST), mezoni <819...@mail.ru> wrote: > > These code will be passed to json_encode > > {"modal":true,"buttons":{"Zend_Json_Expression_Index_0":"Ze

Re: [fw-general] contributing to Zend Search Lucene

2009-01-12 Thread Benjamin Eberlei
Hello Matt, this sounds like a great addition. You should make an SVN diff of all your changes and put it into a Patch Issue into the ZF Jira Issue Tracker. Additionally you should provide unit-tests for your changes and make sure that old functionality is not broken. Post all this attachments i

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

2009-01-13 Thread Benjamin Eberlei
LSO (if this is more of a convention Zend_Controller_Registry > extends ArrayObject), this would reduce the intra-component dependencies. > > Also, PHP is not java, so containers need to be rebuilt on each request, > whereas in Java the container might need to be built once and put into > resident memory for all requests. > > Those are two ideas I wanted to float ever since hearing of DI. Im sure > this will turn in to a blog post, since its more of a how does DI affect > PHP sort of question. > > Let me know what you think. > > -ralph -- Benjamin Eberlei http://www.beberlei.de

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

2009-01-13 Thread Benjamin Eberlei
, Matthew Weier O'Phinney wrote: > -- Benjamin Eberlei wrote > (on Tuesday, 13 January 2009, 06:11 PM +0100): >> great post ralph! this is a step into a brighter future ;-D >> >> my two cents though. >> >> 1. having __construct(array $options); is cool

  1   2   >