Re: [Components] Template variable

2010-03-04 Thread Thomas Koch
Hi José, you might want to check, whether $errors in your case has the value null. This might be the cause. AFAIK the template engine considers variables of type null to not be sent at all. Best regards, Thomas Koch, http://www.koch.ro -- Components mailing list Components@lists.ez.no http

[Components] RFS: ezcomponents

2009-08-03 Thread Thomas Koch
to have a look and eventually sponsor it. The package still misses proper dependency mapping from the components version to the releases version. For now everything depends on version 2009.1.1. I'll add this mapping for the next version. Best regards, Thomas Koch, http://www.koch.ro

[Components] Turning point in eZC history

2009-07-06 Thread Thomas Koch
could be caught already in the design phase. Now, when there are only 4 people payed (part time) to look over requirements and design documents, more and more errors can pass into the final code. Best regards, Thomas Koch, http://www.koch.ro -- Components mailing list Components@lists.ez.no http

Re: [Components] new form component

2009-07-06 Thread Thomas Koch
confident, that it may become useful. Best regards, Thomas Koch, http://www.koch.ro -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components

Re: [Components] new form component

2009-06-15 Thread Thomas Koch
more will inevitable lead to overcomplex crap, IMHO. Now I'm putting it to work in a rather complex form. Would be happy to get your feedback. If there's interest, we could s/ymc/ezc/ it. http://github.com/thkoch2001/ymc-htmlform/tree/master Best regards, Thomas Koch Thomas Koch a écrit

[Components] new form component

2009-06-12 Thread Thomas Koch
requiredPresent requiredNonEmpty value htmlName htmlType validator interface Validator ^^^ The validator is optional or can be a proxy validator to group several validators. First validation is done by the filter extension. Thomas Koch, http://www.koch.ro -- Components mailing

Re: [Components] ezcSearch Feedback - custom solr options

2009-06-04 Thread Thomas Koch
cases unusable component. Best regards, Thomas Koch http://www.ymc.ch -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components

[Components] str_index_of could give PHP errors

2009-05-18 Thread Thomas Koch
Hi, if the template function str_index_of receives an empty string as needle, it's underlying implementation with strpos raises a PHP warning: Warning: strpos(): Empty delimiter in ... I did not fill a bug for this, since I consider it a design decision, whether the template component should

Re: [Components] ezcPersistentObject

2009-05-05 Thread Thomas Koch
Hi Maxime, I also don't use MySQL time types anymore since they suck. You may want to write a converter like the attached one. Best regards, Thomas attachment: not_null_datetime_converter.php -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components

[Components] My topics of interest for the developer day

2009-04-20 Thread Thomas Koch
to Stefanie Schweitzer s...@ez.no cc ezcomponents, ezpublish Dear Stefanie, this morning my train tickets arrived for the trip to the developer day. - I'm happy to see my university again! I've some topics to propose. Some of them are important for me, others are an offer for anybody

[Components] sql-comments for ezcDatabase

2009-04-18 Thread Thomas Koch
I'm just looking at a talk[1] from a flickr guy and he mentions a debugging trick they use: While in Debug mode, enhance each SQL query with a comment containing the full PHP backtrace. Thus you can see in the DB-log where each query comes from in your PHP code. May I put this as an

Re: [Components] [ezcTemplate] Cannot compile template

2009-04-17 Thread Thomas Koch
Where do you write the compiled templates? Does the PHP process (Apache/CLI?) has write permissions for this place? Best regards, Thomas Am Friday 17 April 2009 16:23:59 schrieb Thomas, Maxime: Please help Logica to respect the environment by not printing this email Please send text only to

[Components] substitute ezc*Instance with registry class in ezcBase

2009-04-14 Thread Thomas Koch
Hi, I opened an issue[1] that ezcSearch misses lazy initialization and as a first attempt to solve it, I copied ezcPersistentSessionInstance and addapted it as ezcSearchInstance. But ezcPersistentSessionInstance has itself been copied from ezcDatabaseInstance. And I need another xyzInstance

[Components] allow @ operator only on internal functions?

2009-04-14 Thread Thomas Koch
I use an error handler to transform all PHP errors to exceptions. No I got: Exception: ErrorException include(/tmp/cache/arrayCache/.ezcMetaData): failed to open stream: No such file or directory in Cache/src/storage/file/array.php at line 57 Stack trace: 1.

Re: [Components] ezcSearch Feedback

2009-03-23 Thread Thomas Koch
Hi Derick, thanks for your answer. Am Monday 23 March 2009 13:37:43 schrieb Derick Rethans: On Mon, 23 Mar 2009, Thomas Koch wrote: 4) Indexing only one document at a time Unfortunatly I did not run a benchmark before I changed my code, but it felt much slower afterwards. I believe

Re: [Components] ezcPersistentObjectCollection

2009-03-09 Thread Thomas Koch
) { $values[] = $object-$property; } return $values; } } Best regards, -- Thomas Koch, http://www.koch.ro YMC AG, http://www.ymc.ch -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components

Re: [Components] newbies in trouble

2009-03-07 Thread Thomas Koch
send the php file which causes the error and the exact error message including the line, where the error happened? Best regards, Thomas Koch Am Saturday 07 March 2009 13:59:43 schrieb François-Emmanuel CORTES: hi there, we encountered a problem when dealing with installation of ezComponents

Re: [Components] Oracle and Persistent Objects

2009-03-07 Thread Thomas Koch
Am Saturday 07 March 2009 19:36:57 schrieb Tobias Schlitt: I actually have no clue why this is set in the database handler. Maybe someone else knows (@ team members)? Please look at http://issues.ez.no/IssueView.php?Id=10161 Best regards, -- Thomas Koch, http://www.koch.ro YMC AG, http

Re: [Components] Chinese code question

2009-03-05 Thread Thomas Koch
-character-sets-primer.html and make sure, that mysql is configured the right way. Try to issue a set names utf8; statement at the beginning of your MySQL session. Best regards, Thomas Koch Am Thursday 05 March 2009 09:31:51 schrieb chenlong85.2004: hi ,when i use database component, i find

Re: [Components] ezcTree and Oracle

2009-02-27 Thread Thomas Koch
identifiers needs to be lower case. This is enforced to keep code compatibility across all supported databases. I'm sorry, but I've no idea about the second issue. Wait a bit if the eZ guys will answer you. Cheers, Thomas Koch Am Friday 27 February 2009 19:02:31 schrieb Peter Hopfgartner: Dear

Re: [Components] PDF generation - design document - CSS parser

2009-02-24 Thread Thomas Koch
in other components, too[1]. [1] http://lists.ez.no/pipermail/components/2008-April/003579.html Best regards, Thomas Koch Am Tuesday 24 February 2009 11:25:36 schrieb Kore Nordmann: [1] http://svn.ez.no/svn/ezcomponents/trunk/Document/design/pdf_design.txt -- Thomas Koch, http://www.koch.ro

[Components] Components Request: Smart loading of javascript / css

2009-01-21 Thread Thomas Koch
/articles/hosting/#configure -- Thomas Koch, http://www.koch.ro YMC AG, http://www.ymc.ch -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components

[Components] Component Request: Daemon

2009-01-20 Thread Thomas Koch
that could be done by a daemon. [1] http://pear.php.net/package/System_Daemon Best regards, -- Thomas Koch, http://www.koch.ro YMC AG, http://www.ymc.ch -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components

[Components] RFS: lib-ezcomponents-base-php

2009-01-16 Thread Thomas Koch
this package. If everything is ok, I'll continue all other components in the same way. Kind regards Thomas Koch -- Thomas Koch, http://www.koch.ro YMC AG, http://www.ymc.ch -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components

Re: [Components] [svn-components] 9741 - in /trunk/PersistentObject/src/queries: ./ find_query.php

2009-01-13 Thread Thomas Koch
for ezcPersistentFindQuery class. + * @todo To maintain BC completely, this class should actually extend + * ezcQuerySelect, although this is code overhead. Needs to be discussed. -- Thomas Koch, http://www.koch.ro YMC AG, http://www.ymc.ch -- Components mailing list Components@lists.ez.no

Re: [Components] HowTo incoperate ManyToMany Related data in ezcPersistentObject, a proposal.

2008-11-15 Thread Thomas Koch
I've had exactly the same problem, filled it in issue http://issues.ez.no/IssueView.php?Id=13170activeItem=2 and had a similiar idea. :-) Best regards, Thomas Koch Am Saturday 15 November 2008 11:15:55 schrieb Benjamin Eberlei: There are cases when in many to many relationships you need

[Components] inDevMode

2008-10-17 Thread Thomas Koch
] https://www.ohloh.net/projects/ymcgitwiki -- Thomas Koch, Software Developer http://www.koch.ro Young Media Concepts GmbH Sonnenstr. 4 CH-8280 Kreuzlingen Switzerland Tel+41 (0)71 / 508 24 86 Fax+41 (0)71 / 560 53 89 Mobile +49 (0)170 / 753 89 16 Webwww.ymc.ch -- Components mailing

Re: [Components] Continuous integration for eZ Components

2008-09-16 Thread Thomas Koch
. If you like, I'd search for the hacks I did to get the right output from CodeSniffer and the changes I did to the templates. Best regards, Thomas Koch Am Monday 15 September 2008 22:37:22 schrieb Gaetano Giunta: Tobias Schlitt a écrit : Hi! I finally managed to setup my new home server

[Components] Presentation draft on content storage ideas

2008-07-31 Thread Thomas Koch
be honour to have you join us! Best regards, -- Thomas Koch, Software Developer http://www.koch.ro Young Media Concepts GmbH Sonnenstr. 4 CH-8280 Kreuzlingen Switzerland Tel+41 (0)71 / 508 24 86 Fax+41 (0)71 / 560 53 89 Mobile +49 (0)170 / 753 89 16 Webwww.ymc.ch -- Components mailing

[Components] ConsoleTools in the java world

2008-07-18 Thread Thomas Koch
/ Jakarta Commons CLI http://jakarta.apache.org/commons/cli/ ArgParser http://www.cs.ubc.ca/spider/lloyd/java/argparser.html JArgs http://jargs.sourceforge.net/ args4j https://args4j.dev.java.net/ https://args4j.dev.java.net/nonav/maven/apidocs/index.html Best regards, -- Thomas Koch, Software

[Components] commandline tools in ezc

2008-07-15 Thread Thomas Koch
://thread.gmane.org/gmane.comp.web.ezcomponents.devel/3766 An issue is already opened with number #013310. If the eZComponents team does not have time by now to develop an infrastructure, maybe could we at least agree on some points and try how it works out in practice? Best regards, -- Thomas

[Components] [PersistentObject] Postboned save

2008-07-10 Thread Thomas Koch
of the PHP request? Best regards, -- Thomas Koch, Software Developer http://www.koch.ro Young Media Concepts GmbH Sonnenstr. 4 CH-8280 Kreuzlingen Switzerland Tel+41 (0)71 / 508 24 86 Fax+41 (0)71 / 560 53 89 Mobile +49 (0)170 / 753 89 16 Webwww.ymc.ch -- Components mailing list Components

Re: [Components] [MvcTools] Input Validation separated from Controller

2008-06-26 Thread Thomas Koch
Am Donnerstag 26 Juni 2008 10:58:08 schrieb Derick Rethans: On Wed, 25 Jun 2008, Thomas Koch wrote: thanks for your work on this component! There is only one issue, about which I'm not sure if it is adressed by the request filter or not. I consider it to be very important for clean

[Components] [DbSchema][REQ] fluent interface for schema manipulation

2008-06-23 Thread Thomas Koch
help to name methods and properties according to SQL syntax. -- Thomas Koch, Software Developer http://www.koch.ro Young Media Concepts GmbH Sonnenstr. 4 CH-8280 Kreuzlingen Switzerland Tel+41 (0)71 / 508 24 86 Fax+41 (0)71 / 560 53 89 Mobile +49 (0)170 / 753 89 16 Webwww.ymc.ch

Re: [Components] console tools for ezc

2008-06-20 Thread Thomas Koch
windows user that their OS is not intended for any other usage then gaming, especially not responsible development. Best regards, -- Thomas Koch, Software Developer http://www.koch.ro Young Media Concepts GmbH Sonnenstr. 4 CH-8280 Kreuzlingen Switzerland Tel+41 (0)71 / 508 24 86 Fax+41 (0

[Components] console tools for ezc

2008-06-19 Thread Thomas Koch
for components, which only contains scripts, this applies, to have consistency. -- Thomas Koch, Software Developer http://www.koch.ro Young Media Concepts GmbH Sonnenstr. 4 CH-8280 Kreuzlingen Switzerland Tel+41 (0)71 / 508 24 86 Fax+41 (0)71 / 560 53 89 Mobile +49 (0)170 / 753 89 16 Web

[Components] [DbSchema] fluent interface for schema manipulation

2008-06-18 Thread Thomas Koch
only in my head, but I'd be happy to provide a patch, if you'd like to implement it. [1] http://www.koch.ro/blog/index.php?/archives/75-Changing-Database-Schemas.html Best regards, -- Thomas Koch, Software Developer http://www.koch.ro Young Media Concepts GmbH Sonnenstr. 4 CH-8280 Kreuzlingen

[Components] ezc's Who is Who

2008-06-04 Thread Thomas Koch
would already exist, then I would include it in my presentation. But I'd rather not include randomly found pictures from flickr :-) Cheers, -- Thomas Koch, Software Developer http://www.koch.ro Young Media Concepts GmbH Sonnenstr. 4 CH-8280 Kreuzlingen Switzerland Tel+41 (0)71 / 508 24 86

[Components] classlist generator script

2008-05-30 Thread Thomas Koch
I wrote a script to echo the classes found in specified autoload files or all the autoload files in given dirs. I use the output to autocomplete ezc Classnames in VIM. Please include the script in the scripts SVN dir, if you find it usefull. Best regards, -- Thomas Koch, Software Developer

[Components] ezcTreeDbInternalTableDataStore

2008-05-30 Thread Thomas Koch
to use different icons in the YUI tree. Something like this may work: 'SELECT id, parent_id' .implode(',', $data_fields). ', subnr'. 'FROM indexTable as i, (select count(*) from indexTable where parent_id = id) as subnr WHERE parent_id = $nodeId' Have a nice weekend, -- Thomas

[Components] extend ezcMail to parse other MIME objects (vcard, vcalendar)

2008-04-21 Thread Thomas Koch
, -- Thomas Koch, Software Developer Young Media Concepts GmbH Sonnenstr. 4 CH-8280 Kreuzlingen Switzerland Tel+41 (0)71 / 508 24 86 Fax+41 (0)71 / 560 53 89 Mobile +49 (0)170 / 753 89 16 Webwww.ymc.ch -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman

[Components] [DbSchema] adding schemas to existing database

2008-04-03 Thread Thomas Koch
for every extension/addition. (BTW: There seems to be an error in the docblock of ezcDbSchemaComparator::compareSchemas. The second parameter is documented twice.) c) Save the diffs in the extension. But where is the format defined? Cheers, -- Thomas Koch, Software Developer Young Media Concepts

Re: [Components] [AccessControl] Req. Draft

2008-04-02 Thread Thomas Koch
Am Mittwoch 02 April 2008 07:21:24 schrieb Piotrek Karas: Thomas Koch pisze: Hallo, I started a requirements document for a RBAC component one year ago, but proposed a component to store hierarchic data instead. Now the Tree component is stable and I've cleaned up the old req document

Re: [Components] New Component Suggestion - Spam Detector

2008-03-20 Thread Thomas Koch
a ContentObject containing the necessary data like remote IP, textbody, senders email address and so on. Possible Strategies * Akismet * Word blacklist * Net_DNSBL functionality * link to text ratio [1] http://en.wikipedia.org/wiki/Akismet Best regards, -- Thomas Koch, Software Developer Young

[Components] [AccessControl] Req. Draft

2008-03-20 Thread Thomas Koch
Hallo, I started a requirements document for a RBAC component one year ago, but proposed a component to store hierarchic data instead. Now the Tree component is stable and I've cleaned up the old req document. Have a nice easter time, if you celebrate it! -- Thomas Koch, Software Developer

[Components] FeatReq: ezcBase::addClassRepositories

2008-02-22 Thread Thomas Koch
Good Morning, what do you think about the method written below? Could it be added to ezcBase? The motivation is to have a quick way to add extensions to the autoloader. If you'd agree, to have this method included, I could also provide testcases. Cheers, Thomas Koch /** * adds

[Components] Summer of Code 2008

2008-02-20 Thread Thomas Koch
. If I'd have enough Karma, I'd volunteer to help in mentoring. Cheers, Thomas Koch [1] http://ezcomponents.org/contributing/cla [2] http://code.google.com/support/bin/answer.py?answer=60327topic=10728 [3] http://en.wikipedia.org/wiki/Akonadi -- Thomas Koch, Software Developer http://www.koch.ro

Re: [Components] eZ Components: Template Translation Syntax

2008-01-18 Thread Thomas Koch
language language de} {tr Please choose your language language fr} And then there's still issue 12161 about variables in static texts. As you've marked it as related to this topic, it may be considered. Cheers, Thomas Koch [1] http://issues.ez.no/IssueView.php?Id=12161ProjectId=1 -- Components

[Components] [PersistentObject] DateTime conversion for timestamp

2008-01-08 Thread Thomas Koch
, if you're allright with the idea. Cheers, Thomas Koch http://www.koch.ro -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components

Re: [Components] [PersistentObject] DateTime conversion for timestamp

2008-01-08 Thread Thomas Koch
Am Dienstag 08 Januar 2008 17:31 schrieb Tobias Schlitt: Hi! On 01/08/2008 10:43 AM Thomas Koch wrote: I know you'll hate me, but I've got another 2cents. ;-) I set up a db with a timestamp column (since DatabaseSchema supports it) and wanted to use it in PO with the new date converter

Re: [Components] comp. proposal: ezcDateTime

2007-11-28 Thread Thomas Koch
On Wednesday 14 November 2007 10:32:04 Derick Rethans wrote: Hello! On Mon, 12 Nov 2007, Thomas Koch wrote: Those two classes are not complicate at all, but are really handy and fun to use once you have them and especially if work with booking data as we do. There are many more good ideas

Re: [Components] [translation] XLIFF

2007-11-28 Thread Thomas Koch
On Monday 26 November 2007 16:46:52 you wrote: On Mon, 26 Nov 2007, Thomas Koch wrote: most translation agencies tell us, that they don't know qt-linguist files (.ts), but do support XLIFF. So I thought, we could maybe implement the XLIFF support for ezcTranslation.[1] A quick view

[Components] [translation] XLIFF

2007-11-26 Thread Thomas Koch
informations then ezcTranslation. Do you already have some concrete ideas about the design of the XLIFF implementation? Would you like us to do the implementation? [1] http://issues.ez.no/IssueView.php?Id=11483 [2] http://docs.oasis-open.org/xliff/xliff-core/xliff-core.html Cheers, -- Thomas Koch

[Components] [UserInput] private/protected

2007-11-19 Thread Thomas Koch
getValidProperties() and call parent::__get() for all of them. Couldn't you make them protected? Please! Is sweare I'll not do anything bad with the variables! I searched docs/implementation.txt about any policy, when to use private or protected, but didn't find. Cheers, -- Thomas Koch Software

[Components] comp. proposal: ezcDateTime

2007-11-12 Thread Thomas Koch
I propose a component for time related problems, which I'd like to implement as my pet project. Many of the ideas are taken from Project Joda[1], with J as in Java. The first stage should include only two classes. Both classes are serializable, thus can be stored in sessions. ezcDateTime

Re: [Components] Getting Trying to get property of non-object

2007-11-08 Thread Thomas Koch
don't give an object to the formatAddress function. Cheers, -- Thomas Koch Software Entwickler www.billiger-mietwagen.de TourWerk GmbH Alter Markt 36-42 50667 Köln HRB: 7144 (Amtsgericht Freiburg) Geschäftsführer: Christian Mahnke Tel. +49221 272 408 18 Fax. +49221

Re: [Components] Dedicated eZ Components website launched

2007-11-08 Thread Thomas Koch
The layout looks a little bit weird in konqueror. What about a wiki like section, where users of ezc can post their usage examples and create best practice examples? -- Thomas Koch Software Entwickler www.billiger-mietwagen.de TourWerk GmbH Alter Markt 36-42

[Components] Reduce time consuming tasks

2007-11-02 Thread Thomas Koch
://issues.ez.no/IssueView.php?Id=11212; Cheers, -- Thomas Koch Software Entwickler www.billiger-mietwagen.de TourWerk GmbH Alter Markt 36-42 50667 Köln HRB: 7144 (Amtsgericht Freiburg) Geschäftsführer: Christian Mahnke Tel. +49221 272 408 18 Fax. +49221 272 408 29

[Components] HTTP_Client for ezc, PHPUnit?

2007-09-05 Thread Thomas Koch
have Silenium for complex web testing, but it's a too big thing if you only want to make simple tests. A HTTP_Client component and a SimpleWebTest class could share some code. Cheers, -- Thomas Koch Software Entwickler www.billiger-mietwagen.de TourWerk GmbH Alter

Re: [Components] autoload performance

2007-08-06 Thread Thomas Koch
Presentations on Ilia's site, which may be worth a look: http://www.ilia.ws/talks.php The ez people certainly know those talks, but there may be other readers interested in this topic. Cheers, -- Thomas Koch Software Entwickler www.billiger-mietwagen.de TourWerk GmbH

[Components] autoload performance

2007-07-30 Thread Thomas Koch
ezcBase, you could add a second base.php file to Base which is optimized for speed and doesn't do so much checking. In the application I can simply switch between the two ezcBase classes. Cheers, Thomas Koch -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo