[fw-general] Zend CMS Crisis

2007-09-13 Thread Waigani
Hi, I'm the central developer for a univeristy division. For the past three months I've been developing a CMS with Zend Framework. It has gone very well and has had good feed back. There are many departments that want to come on board as well as campuses in other cities. It answers a lot of the

[fw-general] register plugins for particular controllers

2007-09-13 Thread Daniel Rossi
Hi there, I would like to be able to setup plugins for particular controllers. A particular controller will be attempting to render a video mimetype depending on a few params. Obviouslly I dont want this available to all controllers. Let me know what is possible thanks.

AW: [fw-general] Zend CMS Crisis

2007-09-13 Thread Leo Büttiker
Hi, I think that Zend is a great Framework and developing a CMS with it will be cool and not to hard. But there are approximately 1 Billion CMS (open and closed source) around in the web. Developing a new one would be, in my point of view, just a wast of time. If you don't have very special

Re: [fw-general] Zend CMS Crisis

2007-09-13 Thread Rob Allen
Waigani wrote: Problem is: a college just showed me mysource Matrix, which is the competition. Have I just wasted the past three months? It already does everything I'm developing, and if it does not, it can be extended / developed. It already has huge buy in from governments and education

AW: [fw-general] The validation of StringLength can't be used with Chinese

2007-09-13 Thread Leo Büttiker
In my point of view this might be a bug in the Zend Framework. It would be great if you can send a patch to the mailinglist, some zend guys might be able to put the patch in the next realase. Von: mikespook [mailto:[EMAIL PROTECTED] Gesendet:

RE: [fw-general] Zend CMS Crisis

2007-09-13 Thread Georg von der Howen
Hi, I did start development of a CMS with Zend Framework as soon as it first came out as an early alpha in March/April 2006. Due to lack of time and some other more pressing projects, the development stopped around March this year. But if you are interested the frontend can be seen at

Re: [fw-general] Zend CMS Crisis

2007-09-13 Thread Waigani
We looked at a few CMS's, Mambo and the like. And we wanted something with clean code, flexible etc etc. Indeed the Framework is an ideal basis to build a CMS. And we have a fully functioning one which is scaleable etc etc. Its just the community that you don't get when you do it yourself. Do you

Re: [fw-general] Zend CMS Crisis

2007-09-13 Thread Nick Lo
I'm the central developer for a univeristy division. For the past three months I've been developing a CMS with Zend Framework. It has gone very well and has had good feed back. There are many departments that want to come on board as well as campuses in other cities. It answers a lot of

Re: AW: [fw-general] The validation of StringLength can't be used with Chinese

2007-09-13 Thread Pádraic Brady
I don't think you can class it as a bug. The problem is that both extensions are optional (except for Windows where iconv had to be built in) so it's difficult to rely on them for something as common as string length validation. Until PHP6 pops up, I'd suggest creating a subclass which

Re: [fw-general] Zend CMS Crisis

2007-09-13 Thread Karol Grecki
So, you didn't know there are other CMS on the market before you began? That's quite disturbing. Anyway, you can always try building a better one. Looks like MySource Matrix doesn't even work on PHP5. You might want to invent a better wheel, just for fun of it, maybe you're bored. Or you want to

RE: [fw-general] Zend CMS Crisis

2007-09-13 Thread Simon R Jones
Ask yourself do you have any specific requirements you need to solve at your university that makes it easier to develop your own code. Having your own system can make a lot life easier when customising specific features, though I'd advise you keep the core features as simple as possible to make

Re: AW: [fw-general] The validation of StringLength can't be used with Chinese

2007-09-13 Thread mikespook
As far as I know, the Zend_Search_Lucene has already used the iconv extension. So, I don't think using the iconv ext will be a problem for us. 在07-9-13,Pádraic Brady [EMAIL PROTECTED] 写道: I don't think you can class it as a bug. The problem is that both extensions are optional (except for

Re: [fw-general] The validation of StringLength can't be used with Chinese

2007-09-13 Thread Nico Edtinger
According to the wiki iconv is enabled by default/included in all supported PHP versions. It's also used in Zend_Mime_Decode. nico Pádraic Brady wrote: I'll check iconv's status if no one else replies - looks like the Wiki and Jira are currently offline but if iconv is an acceptable

[fw-general] Access member variable of a class

2007-09-13 Thread Kexiao Liao
Say if we want to access a class member variable inside the class itself. Is there any way we can access the member variable without using $this- prefix? In that way we do not need to type extra $this- prefix. -- View this message in context:

Re: [fw-general] Access member variable of a class

2007-09-13 Thread Tobias Gies
Hi Kexiao, No, this is not possible. It may be possible in C# and Java, but in PHP you always have to type $this- if you want to read or manipulate a member variable of the current object. Greets from Germany ;) 2007/9/13, Kexiao Liao [EMAIL PROTECTED]: Say if we want to access a class

[fw-general] E-mail regular expression and empty fields.

2007-09-13 Thread ArticSun
Hi all! I got two questions about validating form data. The first one might be the simplest. I've got a regular expression which checks if an e-mail address is correct: new

[fw-general] developers: merge fixes to release-1.0 branch for inclusion with 1.0.2

2007-09-13 Thread Darby Felton
Hi all, This is just a friendly reminder to the framework developers to have your code and unit test improvements that are already committed to the trunk reviewed, revised if needed, and merged to the release-1.0 branch. Changes that are not merged by code freeze - I should soon have a better

Re: [fw-general] E-mail regular expression and empty fields.

2007-09-13 Thread Darby Felton
Hi, Have you tried using Zend_Validate_EmailAddress? If for some reason it is unsatisfactory for your use case, you can help us to improve it by discussing the shortcomings you encounter here, and filing issues in the JIRA issue tracker:

Re: [fw-general] Multiple Error Controllers

2007-09-13 Thread Matthew Weier O'Phinney
-- Ralf Kramer [EMAIL PROTECTED] wrote (on Thursday, 13 September 2007, 02:11 AM +0200): I'd like to develop a module based application and want to assign an own ErrorHandler class for each module. So I have a structure like this: /public /controllers IndexController.php

Re: [fw-general] register plugins for particular controllers

2007-09-13 Thread Matthew Weier O'Phinney
-- Daniel Rossi [EMAIL PROTECTED] wrote (on Thursday, 13 September 2007, 04:30 PM +1000): Hi there, I would like to be able to setup plugins for particular controllers. A particular controller will be attempting to render a video mimetype depending on a few params. Obviouslly I dont want

Re: AW: [fw-general] The validation of StringLength can't be used with Chinese

2007-09-13 Thread Matthew Weier O'Phinney
-- Pádraic Brady [EMAIL PROTECTED] wrote (on Thursday, 13 September 2007, 02:45 AM -0700): I'll check iconv's status if no one else replies The rule of thumb is that if the extension is enabled in a vanilla build of PHP, it's fair game (that, or if the functionality clearly notes that it

RE: AW: [fw-general] The validation of StringLength can't be used with Chinese

2007-09-13 Thread Bill Karwin
-Original Message- From: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED] (iconv is used already in a number of components -- XmlRpc, Lucene, Mime, and likely some others.) Also I found iconv used in Zend_Pdf, and a few of the web services. So yes, it is certainly fair to use it.

Re: [fw-general] Multiple Error Controllers

2007-09-13 Thread Ralf Kramer
Thnx Matthew, the plugin works fine. Best regards /Ralf If you want to have it dynamically change per-action, the easiest way would be to create a plugin that runs a preDispatch(); it would look something like this: class OverrideErrorModule extends Zend_Controller_Plugin_Abstract

Re: [fw-general] Zend CMS Crisis

2007-09-13 Thread Waigani
Hi Karol, Of course I reviewed other CMSs but they didn't fit the bill for xyz reasons. Mysource though is one I didn't review and seems very comprehensive. I did my own because the Zend Framework base seemed to quickly and easily give me everything that was lacking in the other CMSs. Karol

[fw-general] RE: Zend CMS Crisis

2007-09-13 Thread Waigani
Hi Simon, Yes. The framework makes a lot of database applications a lot easier. There will be central libraries with phpdocumentor API, which all the applications will run off. So this aids is collaborative development among php developers and reduces repetitive coding across the division. I

Re: [fw-general] Zend CMS Crisis

2007-09-13 Thread Waigani
Hi Nick, Thanks for the post. I think I'm just freaking out. That is some really good advice you've given esp about how many people will know ZF in three years time as apposed to mysource. I will gather all the info from these posts and way up integrating a ZF friendly cms or continuing the

[fw-general] hats off to Matthew

2007-09-13 Thread David Mintz
Kudos to Matthew Weier O'Phinney for traveling to New York City yesterday and giving a fine presentation on ZF for nyphp.org in the back room of a loud bar where the screen was too far away for the audience to read the text. You made it look easy. Thanks also for answering question and question

Re: [fw-general] Escape POST variable's value

2007-09-13 Thread Jude Aakjaer
Hi, Checkout the manual in relation to Zend_Db quoting http://framework.zend.com/manual/en/zend.db.html#zend.db.adapter.quoting I believe also all the variable replacement methods such as $db-insert('table_name', array('fieldone' = $value1, )); performs automatic quoting Regards Jude A.