Re: [fw-general] CMS for Zend Framework

2011-07-05 Thread Benjamin Eberlei
I know two: http://www.redsparkcms.de http://www.pimcore.org/ On Tue, 05 Jul 2011 22:47:38 +0200 Jawad wrote: > You should also have a look at the Centurion Project > (http://centurion-project.org/) which is a quite powerful self-defined > "CMF" (content management framework powered by Zend F

Re: [fw-general] session problem on multiple ajax request

2011-02-21 Thread Benjamin Eberlei
you can add the ajax request onto a stack and execute them in a predefined order, so that they are not simoultaneously. On Mon, 21 Feb 2011 16:01:33 +0200 Serkan Temizel wrote: > Hi zenders, > > I have a session problem. On a page I load 8 to 30 simultaneous ajax > requests to update the page.

Re: [fw-general] Is Zend_Soap_Server/PHP slow or the network?

2011-02-11 Thread Benjamin Eberlei
You can use KCachegrind and Xdebug to find out exactly what functions of PHP your app take that long. Its either the query, the array to xml transformation or something entirely new ;) On Sat, 12 Feb 2011 15:26:48 +0900 Simon Walter wrote: > Hi all, > > I've made a few SOAP services with Zend

Re: [fw-general] How to create “Dynamic” Zend Navigation

2011-01-30 Thread Benjamin Eberlei
You have to create your own page types for this, its described in the docs. On Sat, 29 Jan 2011 21:30:29 -0800 (PST) jiewmeng wrote: > > With Zend_Navigation, I can do something like > > Home > Projects > Collaborators > > but What if I want something more useful > > Home > Project name > Co

[fw-general] Re: [zf-contributors] Re: [fw-general] Re: [zf-contributors] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-19 Thread Benjamin Eberlei
Well bad-practice is the fact that currently each form element generates its own javascript code. If there were a bunch of zf jQuery plugins that are integrated and those are used through classes then the extension might be more helpful, but this requires a complete rewrite and stricter focus

[fw-general] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-17 Thread Benjamin Eberlei
Hello everyone, 2 years ago I was pretty sure of the Dojo and jQuery components/integration into ZF. I have since changed my mind radically. I do maintained the jQuery component but I would suggest to drop it for 2.0 for the following reasons: 1. It encourages writing no JS code at all, this wi

Re: [fw-general] XPath vs Query / Zend Test

2010-12-13 Thread Benjamin Eberlei
xpath would be '//*[id="message"]' afaik On Sun, 12 Dec 2010 18:50:30 -0700, Aaron Murray wrote: > Hi Everyone, > > > > Just having a quick problem that probably is due to lack of XPath > knowledge. > > > > This works: $this->assertQueryContentContains("#message", "default");

Re: [fw-general] Re: ZF 2.0 when and what?

2010-11-16 Thread Benjamin Eberlei
Hey Nick, Doctrine does not rely on getters and setters for hydration. It only uses reflection to set and get the values. That is why we cannot implement your requested support for dynamic fields. However the functionality you want from Doctrine 2 exists in 2.0 already and is planned to b

Re: [fw-general] Re: Zend_Soap calls returning NULL

2010-06-25 Thread Benjamin Eberlei
rd wrote: > >> On Sat, Apr 10, 2010 at 3:49 AM, Benjamin Eberlei >> wrote: >> > >> > Hello Andrew, >> > >> > what kind of op-code cache are you using? I have heard from people that >> > this what you are describing is

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

2010-05-23 Thread Benjamin Eberlei
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 all the contributors to various Doctrine-related components and combined them into a single release and w

Re: [fw-general] Re: Zend_Soap calls returning NULL

2010-04-10 Thread Benjamin Eberlei
Hello Andrew, what kind of op-code cache are you using? I have heard from people that this what you are describing is happening with e-accelerator, personally I never had a problem with APC. However I should really update the documentation, the WSDL is not something to be generated dynam

Re: [fw-general] Re: Doctrine 2.0 - Entities/Models - Naming and Autoloading

2010-03-23 Thread Benjamin Eberlei
the SPL Autloader implementation allows registering multiple autoloaders at the same time, i.e. why not use a Doctrine\Common\ClassLoader for the entities when they are namespaced and use Zend_Loader_Autoloader for the Zend stuff only? You are free to choose what combination of autoloaders y

Re: [fw-general] Using application resources from Zend_Tool

2009-12-24 Thread Benjamin Eberlei
:39:07 +0100, Jurian Sluiman wrote: > On Thursday 24 Dec 2009 14:25:33 Benjamin Eberlei wrote: >> Hey Jurien, >> >> This is awesome, from my POV the next step would be to replace the >> configuration >> you gave with explicit resources in a Zend Tool P

Re: [fw-general] Using application resources from Zend_Tool

2009-12-24 Thread Benjamin Eberlei
Hey Jurien, This is awesome, from my POV the next step would be to replace the configuration you gave with explicit resources in a Zend Tool Project context. My idea would be: zf create doctrine.project --for-module=blog It would then create the schema, sql, fixtures, migrations and models fold

Re: [fw-general] Using Connection Mock with Zend_Test_PHPUn it_ControllerTestCase

2009-12-19 Thread Benjamin Eberlei
Hey Jake, take a look at this section in the Zend_Test manual, it describes how to integrate Database and Controller TestCases: http://framework.zend.com/manual/en/zend.test.phpunit.db.html#zend.test.phpunit.db.testing.controllerintegration On Sat, 19 Dec 2009 07:37:17 -0800 (PST), dmitrybelyak

Re: [fw-general] Zend_Tool in 1.10

2009-12-18 Thread Benjamin Eberlei
Hey Ralph, I was thinking about this issue too, and I think its very easy to implement in a multi-step procedure. You would combine human- and machine input to find a module for example: zf detect project controller-directory /path/to/controllerDir zf detect project view-directory /path/to/viewd

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

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

[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] 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] 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] 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

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

[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] 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] 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] 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

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] 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] 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

[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] Zend_Db_Select::union() behaving

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

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_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: 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] 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] 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] 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] 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

[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] 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

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] 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] 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] 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] 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

[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_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

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?

[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] 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] A Zend_Db Adapter for ext/mysql (mysql_*)

2009-06-13 Thread Benjamin Eberlei
-- 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

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] 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: 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] 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: [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
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] 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] How to contact the Zend Framework team about OOP bad practices/suggestions?

2009-02-11 Thread Benjamin Eberlei
hello, you should create an account at http://framework.zend.com/issues and file issues against Zend_Db, put their alert level up based on what you think is necessary. Also make sure not to put all the things into one issue, but split them up so that they are unique items to be worked at. greeti

Re: [fw-general] Zend_Amf and Caching

2009-02-10 Thread Benjamin Eberlei
rver. And if I could > see the request coming in through some means I could cache my > $server->handle() response based on the incoming footprint. Anyone know of > a clever way to do this? > > Thanks in Advance, > Josh Team -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Problemas with ZendX_JQuery Datepicker - CSS and autocomplete

2009-02-04 Thread Benjamin Eberlei
se Candidate of 1.7, but that is not > > really > > a solution. I am sorry for that problem :-( > > > > greetings, > > Benjamin > > > > On Wednesday 04 February 2009 16:16:14 wesleywillians wrote: > >> Hi folks, > >> > >> I am doing many experiences with Datepicker. Its working fine, but the > >> CSS > >> is been applying. > >> I have downloaded a theme in ui.jquery.com and i call this: > >> >> /> > >> > >> All efects which I am expecting dont appear. > >> > >> Any Idea? > >> > >> About the autcomplete i receive a message saying: autocomplete is not a > >> function Where can i download the correct plugin to work together > >> with > >> the helper autocomplete? > >> > >> all the best! > >> Wesley > > > > -- > > Benjamin Eberlei > > http://www.beberlei.de -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Problemas with ZendX_JQuery Datepicker - CSS and autocomplete

2009-02-04 Thread Benjamin Eberlei
rect plugin to work together with > the helper autocomplete? > > all the best! > Wesley -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Generate PDF, DOCX, DOC and RTF with ZF

2009-01-29 Thread Benjamin Eberlei
; > If you need any help or want to talk about phpLiveDocx, just follow up > here or post me a message: > > http://tinyurl.com/culdpj > > Thank you > > Jonathan Maron > http://www.phpLiveDocx.org -- Benjamin Eberlei http://www.beberlei.de

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

2009-01-28 Thread Benjamin Eberlei
scheme. > > > > This component therefore tries to achieve the separation of Business > > logic from the underlying persistence. > > > > comments are greatly appreciated, > > Benjamin > > > > -- > > Benjamin Eberlei > > http://www.beberlei.de -- Benjamin Eberlei http://www.beberlei.de

[fw-general] Zend_Db_Mapper Proposal - Ready for Review

2009-01-25 Thread Benjamin Eberlei
Hello everyone, I finished up a new proposal that would greatly enhance domain driven development with the ZF: A generic data mapper component. http://framework.zend.com/wiki/display/ZFPROP/Zend_Db_Mapper+-+Benjamin+Eberlei Its a contrasting proposal to Zend_Db_Table, for handling the

Re: [fw-general] Best Practices: Eliminate redundancy within various controller init methods?

2009-01-23 Thread Benjamin Eberlei
There's a nice representation of this process here: > > > > http://surlandia.com/wp-content/uploads/2008/11/zf-dispatch-lifecycle-bw. > >jpg > > > > So, IMHO, a helper could be the solution, the only issue remaining might > > be the place to register the helper and then what callback method to > > use, init() or preDispatch(). > > > >> Regards, > >> > >> Rob... -- Benjamin Eberlei http://www.beberlei.de

Re: [fw-general] Zend_JQuery and form select element.

2009-01-23 Thread Benjamin Eberlei
x27;options' => > array > empty /* our empty values, or array if set */ > 'listsep' => string '' (length=6) > 'id' => string 'name' (length=20) > > In html: > > > > > <br /> > name > > > It's a bug, or I doing something wrong? > > regards, > pch -- 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

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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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] 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] 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-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] 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] 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
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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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.

  1   2   >