[fw-general] CMS for Zend Framework

2011-07-05 Thread Stephan Stapel
Hi, I am searching for a decent php CMS system which basically just provides an API and an administration backend for creating new content. I'd like to create the presentation for the content on my own (using Zend Framework). Ideally, the CMS would also be implemented using Zend Framework f

[fw-general] Using SSL for certain controllers

2010-02-19 Thread Stephan Stapel
Hi! I'm searching for a solution to implement SSL redirection within Zend Framework applications. I've already found this posting: http://www.mail-archive.com/fw-general@lists.zend.com/msg10878.html but wondered if someone has a solution for controlling the SSL enforcement on a per controll

[fw-general] Controller actions/ distinguishing between GETs and POSTs

2008-05-18 Thread Stephan Stapel
Hi! this is probably a simple question but unfortunately I couldn't find the answer in the docs. I'd like to use a different handling within my action methods for POST and GET requests to implement PRG behaviour. Is there an easy way to find out 'how' the action method was invoked (e.g. throug

Re: [fw-general] Opening Office documents from a controller action

2008-05-07 Thread Stephan Stapel
> It's not the Zend Framework that causes this issue, as far as I know > it's entirely the browser. Yes and no. IE6 obviously sucks in its support of the Content-* header variables. But what's really funny is, that this very example works in that browser: $file = "myfile.pdf"; $f = fopen($file

[fw-general] Opening Office documents from a controller action

2008-05-07 Thread Stephan Stapel
Hi! It appears to me that my first attempt to send this message was blocked, so I'm resending (sorry if this message should finally appear twice in the mailinglist!). I have trouble loading Office documents and pdf files through a action controller. My idea was to use Zend_Controller_Action::_

[fw-general] user friendly URLs while using request parameters

2008-04-23 Thread Stephan Stapel
Hi, I'm currently preparing a website which was built using Zend Framework. I'm using the common URI scheme http://myhost/mypage.php/letter/a to transport parameters in a request. In some cases, additional get parameters are used. This website is about to launch so we are discussing usabilit

[fw-general] Json date type encoding/ decoding

2007-12-25 Thread Stephan Stapel
Hi! I'm working on scripts to to synchonize a website against a backend system. I'm planning to use json to transfer data back and forth between the systems which works rather well because of the small footprint (in comparison to xml). However, today I ran into a problem around date representatio

Re: [fw-general] Deployment dependent code

2007-06-25 Thread Stephan Stapel
Have a look at Zend_Config (http://framework.zend.com/manual/en/zend.config.adapters.ini.html ). I am already using the config classes. I was just asking myself if someone has best practises on using these classes. In fact, I

[fw-general] Deployment dependent code

2007-06-25 Thread Stephan Stapel
Hi! I guess a lot of you have the problem to have code that is used within multiple environments, a (local) environment for development, another for testing and a third for production. Usually, some things like database configuration differ between these environments. I was asking myself if

Re: [fw-general] Uploading files using Zend_Http_Client

2007-05-25 Thread Stephan Stapel
Hi! Actually there's an proposal for handling File Uploads and $_FILES. http://framework.zend.com/wiki/display/ZFPROP/Zend_Upload+-+Thomas+Weidner I understand that this is a proposal, but do you already have working code around this proposal? regards, Stephan

[fw-general] Uploading files using Zend_Http_Client

2007-05-25 Thread Stephan Stapel
Hi! I tried uploading a file using Zend_Http_Client as described in http://framework.zend.com/manual/en/zend.http.client.advanced.html but am a bit confused. Does someone have a little (self-contained?) example about uploading file? What I'm basically worrying about is how to integrate such an

Re: [fw-general] My portal-like framework (404 error)

2007-04-25 Thread Stephan Stapel
Hi again! > CamelCasing is allowed in these, but the url is normalized to lowercase > before mapping. In order to allow CamelCasing, use one of the word > separator characters in the URL. For instance, if you want to be able to > get CamelCaseController::camelCaseAction(), use '/camel-case/camel-c

Re: [fw-general] My portal-like framework (404 error)

2007-04-24 Thread Stephan Stapel
Sorry for the second posting. If someone had the 404 error when trying out the pages: I fixed this! There seems to be a bug around class and action naming (camel casing etc.) when running on a system that distinguishes between upper and lower case (non Windows :) ). Regards, Stephan

[fw-general] My portal-like framework

2007-04-24 Thread Stephan Stapel
Hi! thanks for all comments and validation hints. I have modified my framework so that it is now successfully validated (XHTML transitional...). It's still not beautiful, but it works! If someone wants to try, please see http://www.rehno.de (temporary site only). I have included a download

Re: [fw-general] Implementing complex Views with ZF

2007-04-24 Thread Stephan Stapel
Hi Nick! > I'm not sure where and how you're manipulating the DOM but I'd also > be curious as to how it works with potentially horribly XML unfriendly > content eg something that has been posted that originated in Microsoft > Word for example. I just remember in some of the PHP4 > XML based templ

Re: [fw-general] Implementing complex Views with ZF

2007-04-23 Thread Stephan Stapel
>> Manipulating the DOM is an interesting way of doing this since with >> xhtml we are moving closer to cleaner xml. However when I view the source >> of those pages it seems to be a bit of an invalid jumble, eg: I think I solved this issue by removing the and tags. If you like, take a look at t

Re: [fw-general] Implementing complex Views with ZF

2007-04-23 Thread Stephan Stapel
Hi! Manipulating the DOM is an interesting way of doing this since with xhtml we are moving closer to cleaner xml. However when I view the source of those pages it seems to be a bit of an invalid jumble, eg: DOM parsing probably is the safest way to modify all ahrefs and formactions. But you

Re: [fw-general] Implementing complex Views with ZF

2007-04-23 Thread Stephan Stapel
Hi Dinh, It is excellent, Stephan. It is a really good Composite View implementation. Could you share something on how you design it? yes, sure. That's why I posted it :) I currently use a programmatic description for the layout, it is stored into so-called containers which are built of fram

Re: [fw-general] Implementing complex Views with ZF

2007-04-22 Thread Stephan Stapel
Hi Padraic, I'm currently playing with a portal-like behaviour. I implemented a number of Controller/View pairs as portlets that can be layouted in any way you want on a webpage. I was initially not planning to mention this so early but to announce it later in this list when it is more matur

Re: [fw-general] Strange dispatching error (ZF 0.9.2)

2007-04-22 Thread Stephan Stapel
Hi! thanks for your answer Matthew! I'd suggest, ona d evelopment machine, using the returnResponse(true) call on the front controller in order to trap the response; check for exceptions, and if any are found, display the request object and exception: unfortunately, this sniplet didn't show a

[fw-general] Strange dispatching error (ZF 0.9.2)

2007-04-21 Thread Stephan Stapel
Hi! I am currently writting a couple of applications with Zend Framework with quite some success. When reading the Apache error log file, I discovered this entry: [Sat Apr 21 19:05:35 2007] [error] [client 127.0.0.1] PHP Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' w

Re: [fw-general] Re: Forwarding - Redirecting

2007-04-02 Thread Stephan Stapel
Hi! I asked myself why _forward() and _redirect() haven't the same footprint. As they are relatives without doubt, this would make the interface more consistent. Why not simply make the function look like this: _redirect($action, $controller = null, $module = null, $params = null); ? I guess thi

[fw-general] Routing URL calls to multiple controllers

2007-04-02 Thread Stephan Stapel
Hi! I hope that this question is not too silly. I am still thinking about this portal thing, i.e. how to implement a site using Zend Framework that consists of "portal container pages" and portlets within these containers. When invoking an action, this action needs to be routed to the appropriate

Re: [fw-general] Creating a portal-like site

2007-03-24 Thread Stephan Stapel
Hi Matt, > > Form actions would just be URLs like any other in your application. Say > a user is at the application index, and logs in. A form action of > '/user/login' would send form results to UserController::loginAction(). > that's right but probably wouldn't work here. What I imagined abo

[fw-general] Creating a portal-like site

2007-03-24 Thread Stephan Stapel
Hi! I am currently considering to create a portal-like application using Zend fw. I did a quick test (http://www.rehno.de) which works quite well: I used a standard-router and a table based layout. In each cell, I rendered a different 'portlet' using views. However, there's one issue that I'm wo

Re: [fw-general] Acl and Auth

2007-03-17 Thread Stephan Stapel
Hi! > Look @ developer-zone of zend.com and read the article concerning exactly > this topic ... page 2 or 3 by now I read this article by Simon (I guess you refer to this article...) and it indeed quite good. It covers Acl quite well but what I missed was the combination of both Acl and Auth. I

Re: [fw-general] ACL and Views

2007-03-14 Thread Stephan Stapel
Hi! >> I'm not quite sure how I should use ACL with Views. I have a menu where >> I'd like items not to be visible if users role(s) have no access to it. >> So I was planning on doing array of the menu items and passing that to >> the view or passing the whole ACL object to view. >> >> Views shoul