[fw-general] Zend AMF and Zend Guard Problems (solved)

2008-12-21 Thread msa
Just something that I tripped on when upgrading my production server (running Zend Guard optimized version of the project). If Zend Guard is set to "remove PHPDoc Blocks" during the encoding you will get problems with the Zend AMF communication where RemoteObjects are not cast correctly to the cor

Re: [fw-general] action calling

2008-12-21 Thread Aniketto
What is the "action" of your form (from the final HTML)? how are you setting it (in the PHP)? In my action I am setting $form->setAction(mailist/detail) , so in detail.phtml I can write action = $this->getAction(). Actually the problem lies here as on the previous page I set action for correspon

Re: [fw-general] action calling

2008-12-21 Thread Brenton Alker
Aniketto wrote: > Hi all, > > I have a page displying databse table. One field is text box and can be > edited. Now when I click on submit button, the same page should get > displayed. But I get a 'Page not found error'. > > The url also contains controller name twice . > It should be actually >

[fw-general] action calling

2008-12-21 Thread Aniketto
Hi all, I have a page displying databse table. One field is text box and can be edited. Now when I click on submit button, the same page should get displayed. But I get a 'Page not found error'. The url also contains controller name twice . It should be actually http://localhost/mobile_mail/admi

Re: [fw-general] Default value of a Zend_Dojo_Form_Element_DateTextBox in a Zend_Form

2008-12-21 Thread Cameron
is the output of $zdate->getIso() correct? On Sat, Dec 20, 2008 at 7:36 AM, Barrett Conrad wrote: > I know this post if aging, but I'm still having some difficulty with it. > > I attempted using Zend_Date's getIso, with basically no change. > > class My_Zend_Form extends Zend_Form { > > public fu

Re: [fw-general] What do you use to manage your ZF projects?

2008-12-21 Thread Cameron
I'm using Project Locker - http://www.projectlocker.com - it's a hosted SVN + Trac system, supports unlimited projects, works really well, it's not terribly pretty, but it's basically everything you need all in one package. Now if only they could integrate some sort of billing system so I can have

Re: [fw-general] Interact with zend_http request

2008-12-21 Thread Giuliano Riccio
You are welcome :) And good luck with your project! Giuliano jgillespie wrote: > > Success!! > > Thanks for all the help. I actually had a third request in there, but for > some unknown reason using resetParameters(); and setConfig(), I was still > getting an issue with cookies not being p

Re: [fw-general] CronMe; Free web cron service - Just another project with ZF

2008-12-21 Thread kirpit
Thank you for the feedback. I never planned to charge even a penny about basic needs. Believe more in the "freemium" idea. But I "may be" consider to ask for some donate things for conjobs such need to work more frequently as you said. Like many of yours, i plan twice and code once. So the system

Re: [fw-general] CronMe; Free web cron service - Just another project with ZF

2008-12-21 Thread till
On Sun, Dec 21, 2008 at 1:29 PM, kirpit wrote: > Hello people, > > I just managed to finish one another project purely developed with ZF. > > (copy/paste from the mainpage) Free web cron service is that enables you to > setup your own crontabs with web interface and lets you to execute any URL > o

Re: [fw-general] Zend_Json and escaping...

2008-12-21 Thread till
On Sun, Dec 21, 2008 at 11:58 PM, dele454 wrote: > > Or does javascript ignore the backslash when parsed? > According to the spec you don't have to escape the backslash in JSON, but you can. PHP escapes it. Just put your json string through eval and see -- I think it's removed when you convert t

Re: [fw-general] What do you use to manage your ZF projects?

2008-12-21 Thread till
On Sun, Dec 21, 2008 at 8:33 PM, Robert Castley wrote: > Hi, > > Just curious here. I/we currently use Bugzilla & CVS, no formal wiki but I > do have a MediaWiki used for somethings. > > I am looking for a solution that fits all, so the obvious choices are 'Trac' > like. > > My problem is that I

Re: [fw-general] Zend_Http_Client vs cURL

2008-12-21 Thread till
On Mon, Dec 22, 2008 at 12:23 AM, Luiz A Brandao Jr wrote: > Hello, > > What's the reason to use Zend_Http_Client over the cURL extension? > Do you know how Zend_Http_Client performs comparatively to curl? > > Thank you, > > Luiz If performance is your #1 priority over maintainable code then it's

[fw-general] Zend_Http_Client vs cURL

2008-12-21 Thread Luiz A Brandao Jr
Hello, What's the reason to use Zend_Http_Client over the cURL extension? Do you know how Zend_Http_Client performs comparatively to curl? Thank you, Luiz

Re: [fw-general] Zend_Json and escaping...

2008-12-21 Thread dele454
Or does javascript ignore the backslash when parsed? - dee -- View this message in context: http://www.nabble.com/Zend_Json-and-escaping...-tp21119364p21120263.html Sent from the Zend Framework mailing list archive at Nabble.com.

RE: [fw-general] What do you use to manage your ZF projects?

2008-12-21 Thread Karol Grecki
Everything is raised as tickets, there are different types like bug, task, proposal etc. You can organise them using milestones, components and versions. I used milestones for projects because they have special meaning in Roadmap view, but you can chose any of them and create appropriate reports u

RE: [fw-general] What do you use to manage your ZF projects?

2008-12-21 Thread Robert Castley
Hi Karol, How do you handle issue/bug tracking? In Bugzilla I can choose the Product and then the component etc. More research tonight has unveiled the following projects: 1) Redmine (seems to be like Trac but written in Ruby). Not used Ruby or Rails so not comfortable with this from a systems

Re: [fw-general] Returning the request URI

2008-12-21 Thread Brenton Alker
Steven Szymczak wrote: > Is there a simple method for obtaining the request URI for any given > page? Or does it have to pieced together using getBaseUrl(), > getControllerName(), getActionName(), and so forth (or just taken from > $_SERVER['REQUEST_URI'])? > > I've searched the manual and nothin

RE: [fw-general] Build a conditional Query

2008-12-21 Thread SalamFall
Thanks a bunch, you saved me for the week. I will try it now. Thanks again Gina-Marie Rollock wrote: > > This is easily done. > > Within each of your if statements, simply call the access the select > variable and add your conditions, like so: > > if(!(empty($this->getPost('customer_name') >

Re: [fw-general] What do you use to manage your ZF projects?

2008-12-21 Thread Karol Grecki
Robert I had the same problem over a year ago and settled for Trac. It doesn't support multiple projects but we use milestones for it e.g. "project A sprint 1" It integrates really well with Subversion and there's a lot of plugins extending its functionality. It may still be your best bet if

[fw-general] Zend_Json and escaping...

2008-12-21 Thread dele454
Hi, I used the Zend_Json::encode function to convert a php array to a Json object. But what i realised is that Json seems to be escaping the '/' in the items/properties. I file mappings saved in the db and for each record returned by my model, Json escapes the paths specified: [{"EventID":"144"

[fw-general] Returning the request URI

2008-12-21 Thread Steven Szymczak
Is there a simple method for obtaining the request URI for any given page? Or does it have to pieced together using getBaseUrl(), getControllerName(), getActionName(), and so forth (or just taken from $_SERVER['REQUEST_URI'])? I've searched the manual and nothing I've come across really seems

Re: [fw-general] What do you use to manage your ZF projects?

2008-12-21 Thread Jake McGraw
My company uses: Mantis + SVN + svk (for branching) Mantis has a really nice plugin for commits that catches "bug " and appends the commit to the bug status. - jake On Sun, Dec 21, 2008 at 2:33 PM, Robert Castley wrote: > Hi, > > Just curious here. I/we currently use Bugzilla & CVS, no f

[fw-general] What do you use to manage your ZF projects?

2008-12-21 Thread Robert Castley
Hi, Just curious here. I/we currently use Bugzilla & CVS, no formal wiki but I do have a MediaWiki used for somethings. I am looking for a solution that fits all, so the obvious choices are 'Trac' like. My problem is that I need a solution that will support multiple projects. (Trac doesn't

Re: [fw-general] Interact with zend_http request

2008-12-21 Thread jgillespie
Success!! Thanks for all the help. I actually had a third request in there, but for some unknown reason using resetParameters(); and setConfig(), I was still getting an issue with cookies not being passed on, and a local redirect issue even with maxredirects set to 0. After restarting Apache2, th

RE: [fw-general] Build a conditional Query

2008-12-21 Thread Gina-Marie Rollock
This is easily done. Within each of your if statements, simply call the access the select variable and add your conditions, like so: if(!(empty($this->getPost('customer_name') { $select->where('customer_name = ?', $this->getPost('customer_name'); } You can add as many pieces to your $select

Re: [fw-general] Interact with zend_http request

2008-12-21 Thread Giuliano Riccio
Probably you need to do a third Zend_Http request building the url as that js does. As said before, the only way is to emulate what that js does. Giuliano jgillespie wrote: > > I understand what your saying now, and have passed on the cookies to a > Zend_Http, and I get further, however using m

Re: [fw-general] Problem by creating a custom router with "fall back" to a "CMS database module"

2008-12-21 Thread Michał Zieliński
Is this preferred way to solve such problem? -- View this message in context: http://www.nabble.com/Problem-by-creating-a-custom-router-with-%22fall-back%22-to-a-%22CMS-database-module%22-tp19646242p21116555.html Sent from the Zend Framework mailing list archive at Nabble.com.

RE: [fw-general] Zend PDT 2.0 RC1 available

2008-12-21 Thread Robert Castley
Actually there now seems to be a RC2 release available from the PDT project on eclipse.org. Downloading now and I will see if this has fixed/improved the niggles I found in the 1st beta. - Robert -Original Message- From: Robert Castley Sent: Sun 12/21/2008 1:53 PM To: fw-general@lists.z

[fw-general] Zend PDT 2.0 RC1 available

2008-12-21 Thread Robert Castley
The new Zend PDT (built on Eclipse Ganymede) is now available as a Release Candiate: http://downloads.zend.com/pdt/all-in-one/ Also, it looks like there will be a 1.0.5 release to fix issues in 1.0.3. - Robert This email

[fw-general] CronMe; Free web cron service - Just another project with ZF

2008-12-21 Thread kirpit
Hello people, I just managed to finish one another project purely developed with ZF. (copy/paste from the mainpage) Free web cron service is that enables you to setup your own crontabs with web interface and lets you to execute any URL on specified time/date. Take a look: http://cronme.org/ Fee

[fw-general] Build a conditional Query

2008-12-21 Thread SalamFall
Thanks in advance for any help on this. I want to build a Conditional query for example. $package = new Package() $select = $package->select()->from('packages')->join('customers', 'customers.id = packages.pid) ->where('packages.id = ?', 347)->order('recdate DESC'); I want to be a