Re: [fw-general] Redirect from within a route

2014-07-03 Thread Ben Scholzen 'DASPRiD'
way to accomplish this? Thanks in advance -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework | http://www.dasprids.de -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe

Re: [fw-general] Refactoring towards ZF2 (subfolders)

2014-03-04 Thread Ben Scholzen 'DASPRiD'
for having no clear separation in that module :) -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework | http://www.dasprids.de -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr

Re: [fw-general] E-mail module for ZF

2014-02-16 Thread Ben Scholzen 'DASPRiD'
.nabble.com/E-mail-module-for-ZF-tp4661685.html Sent from the Zend Framework mailing list archive at Nabble.com. -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework | http://www.dasprids.de -- List: fw-general@lists.zend.com Info: http

[fw-general] Fwd: OwnRouter

2013-12-20 Thread Ben Scholzen
Just forwarding to general ML, so others get the chance to reply (AKA, I'm lazy ;)). Original Message Betreff:OwnRouter Datum: Sat, 21 Dec 2013 02:00:41 +0100 Von:Luis Cervantes luiscervantesj...@gmail.com An: m...@dasprids.de Hello Dasprids First of all ,

Re: [fw-general] ServiceManager Factories and Callable functions

2013-11-07 Thread Ben Scholzen 'DASPRiD'
it makes more sense to really define all factories as classes, instead of closures. Closures are just great for rapid prototyping. -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework | http://www.dasprids.de -- List: fw-general@lists.zend.com Info

Re: [fw-general] ClosureStrategy implements HydratorInterface

2013-09-06 Thread Ben Scholzen 'DASPRiD'
. Is there some magic to get this work? For what do I need the StrategyInterface? Greetings Marc -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework | http://www.dasprids.de -- List: fw-general@lists.zend.com Info: http

Re: [fw-general] Creating custom routers in ZF2

2013-08-02 Thread Ben Scholzen 'DASPRiD'
g...@gpcentre.net http://www.gpcentre.net/ -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework | http://www.dasprids.de -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr

Re: [fw-general] ZF2 Routing question

2013-07-19 Thread Ben Scholzen 'DASPRiD'
in file /module/Admin/config/module.config.php Is there a possibility to keep main /admin route in mentioned file, and sections route (e.g. /admin/webpages) in separate modules? Thanks. -- Regards, Tom Kuter -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de

[fw-general] Fwd: About Translatable segments

2013-06-02 Thread Ben Scholzen
Forwarding to ML. Original Message Betreff:About Translatable segments Datum: Sun, 2 Jun 2013 19:01:46 + Von:Juan Pedro Gonzalez unaputacue...@hotmail.com An: m...@dasprids.de m...@dasprids.de Hi Ben, I've been trying to make use of your work with

Re: [fw-general] Fwd: About Translatable segments

2013-06-02 Thread Ben Scholzen 'DASPRiD'
Juan, The problem here is that the normal TreeRouteStack is hard-coded into the MVC RouterFactory. It'd likely make sense to make that part configurable. @Matthew: Any idea on how to implement that in a sane way? On 02.06.2013 23:52, Ben Scholzen wrote: Forwarding to ML. Original

Re: [fw-general] Zend 2 routes literal + child routes segment doesn't work

2013-05-09 Thread Ben Scholzen 'DASPRiD'
On 09.05.2013 23:16, whisher wrote: admin/user // it works admin/user/test //it works admin/user/test/id/1 //it doesn't work :( admin/user/test/1 -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework | http://www.dasprids.de -- List: fw

Re: [fw-general] First optional routing segment acts as mandatory one for child routes

2013-04-03 Thread Ben Scholzen 'DASPRiD'
: http://zend-framework-community.634137.n4.nabble.com/First-optional-routing-segment-acts-as-mandatory-one-for-child-routes-tp4659601.html Sent from the Zend Framework mailing list archive at Nabble.com. -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework

Re: [fw-general] ZF1, Zend_Application, Zend_Config_Yaml, Zend_Loader_PluginLoader - issue with pluginPaths Options in Yaml configuration

2012-03-09 Thread Ben Scholzen 'DASPRiD'
). Another guy of which I forgot the name is going to write new YAML reader for Zend\Config, but without a stub implementation like we have right now in ZF1. At some point I may look into the specifications again, but right now there are too many other components requiring my attention. -- Ben

Re: [fw-general] Re: Outlook calendar and PHP

2010-09-16 Thread Ben Scholzen
Am 16.09.2010 18:00, schrieb Alexander Steshenko: another thing here is that there's really nothing decent out there to work with/parse iCal properly. Yep, sorry, I'm still working on Zend\Ical ;) -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework

Re: [fw-general] Any word character route and default route together

2010-08-28 Thread Ben Scholzen
-addRoute('redirecttosearch', $route); But its brake the default route, /index, /search, etc. no longer works. How can I set to use this route only if default route doesn't match? Insert that route before the default route (current router is handling routes LIFO). -- Ben Scholzen 'DASPRiD

Re: [fw-general] [Zend_Date] Sunday weekday 0 / 7

2010-08-22 Thread Ben Scholzen
')); But it didn't work. Thank you for any help ! -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework | http://www.dasprids.de PGP key: http://stuff.dasprids.de/pgp/ben-scholzen-pgp-key.asc

Re: [fw-general] Match Route on the fly by URI or Request object

2010-07-28 Thread Ben Scholzen
On Tue, 27 Jul 2010 19:16:25 +0200, Sebastian Bechtel m...@sebastian-bechtel.info wrote: Hi, I know the subject sounds a bit strange so I'll explain. I have two independent projects with their own routes file and with their own domain. I have access to the routes configuration of both.

Re: [fw-general] Re: Renaming file before upload

2010-07-18 Thread Ben Scholzen
Am 18.07.2010 03:28, schrieb ClintR: I could show you a snippet of procedural php that does. I guess the solution would be to upload to a temp folder, then move/rename it to the folder I originally intended? That is renaming after the upload. -- Ben Scholzen 'DASPRiD' Community Review

Re: [fw-general] [ZF 1.10.4] Chain route + language code

2010-07-08 Thread Ben Scholzen
to work around it: Have one empty static route, which sets default language, module, controller and action. Have an additional single language route which sets default module, controller and action. After those, have you chained route. Hope that helps. -- Ben Scholzen 'DASPRiD' Community Review-Team

Re: [fw-general] Partial Access to View Helpers

2010-04-18 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William Gaggioli wrote on 19.04.2010 00:41: Hi all, Quick question - when using a partial to render an aspect of the view, will the partial have access to view helpers? Specifically, I want to use the url view helper, so that I can call

Re: [fw-general] What will happen, when Zend_Cache is filled up?

2010-04-17 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas D. wrote on 18.04.2010 02:11: Hi, I want to cache loaded articles into Zend_Cache to save the roundtrip to the persistent store. I don't see a need to set a lifetime for a cached article, because when I update or delete an article, I

Re: [fw-general] Re: **call for votes** issues with Zend_View_Helper_Url

2010-03-05 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 monk.e.boy wrote on 05.03.2010 16:14: but 90% of the time I am making links that go from one action to another, I almost never jump between modules. So making me put the module name in each url() is anoying, but I'm always passing parameters

Re: [fw-general] Zend Date

2010-01-17 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MySQL works fine with the ISO timestamp. Mark Murphy wrote on 17.01.2010 21:40: But there has to be an easier way to set the format than having to write a helper. Is there something with Zend_Locale, or something like that? Maxence Delannoy

Re: [fw-general] Just a thought - a Zend book explaining complete SME to enterprise build

2009-12-20 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mike For this you may probably want at some techdemos. Namely one is Matthew's Scrummer, tho I don't know if it is released yet. The other one is my blog system, which is currently under heavy development, but the blog module itself is close to be

Re: [fw-general] Routers and caching

2009-12-12 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BenG wrote on 11.12.2009 12:11: Hi, Our application requires a number of routes to be defined which are dependent on dynamically populated database fields. This currently results in quite a lot of queries on each page load. Is it possible to

Re: [fw-general] Current Module in Application Resource

2009-12-03 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You mean you want to access the current module in you bootstrap? The module is only known after the dispatcher was started and the routing finished. You may want to do you logic in a controller plugin: $front-getRequest()-getModuleName(); takeshin

Re: [fw-general] ZF Open Source Project: Example of Best Practices?

2009-11-26 Thread Ben Scholzen 'DASPRiD'
You could take a look at my blog's sourcecode. The new one I'm currently working in is not finished yet but should give you a good example. http://site.svn.dasprids.de/trunk swilhelm wrote on 25.11.2009 21:52: Prompted by Fozzyuw's latest post, I will approach the issue from a different tack.

Re: [fw-general] Chain Route: Define module, controller, action and parameters after chaining

2009-11-16 Thread Ben Scholzen 'DASPRiD'
You either read wrong or I made a mistake in the documentation: Inner routes override the parameters of outer routes. Innocentus wrote on 16.11.2009 17:56: I am chaining two routes (a standard route with translated segments and a simple regex-route) to create a new route. According to the

Re: [fw-general] Zend_Rest_Route + Chaining

2009-11-14 Thread Ben Scholzen 'DASPRiD'
The rest-route is overriding the module given in the hostname route. You may try this (not tested): $restRoute = new Zend_Rest_Route($front, array('module' = 'api'), array('api')); This should enforce the api-module if the first segment of the URL does not match any existing module. Kyle

Re: [fw-general] How to translate controller and action names in the url with a Zend_Translate with gettext adapter?

2009-11-14 Thread Ben Scholzen 'DASPRiD'
I could be wrong, but could it be that you didn't add any routes to it but using the standard module route? That one doesn't support translations. Laurens van Vliet wrote on 13.11.2009 15:19: Hi, I'm developing a international website with Zend Framework 1.9.5 and I would like to know

Re: [fw-general] spaces in url with Zend_http

2009-09-23 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin Eberlei wrote on 22.09.2009 21:44: On Tuesday 22 September 2009 09:38:37 pm Derk wrote: Hello, Is it true that Zend_Http can't deal with spaces in the uri? I got some exceptions with the message ... is not a valid HTTP path. I know

Re: [fw-general] SpiffyCalendar for the Zend Framework

2009-09-16 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralph Schindler wrote on 16.09.2009 16:51: Your component is very intersting. From a developers standpoint, I can tell you that the problem of calendaring comes up more than you think. In the past, we've seen several Zend_Calendar proposals, most

Re: [fw-general] Zend Auth and subdomains

2009-08-29 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sergio Rinaudo wrote on 30.08.2009 01:44: If a website is structured between various subdomains, what should be a solution with Zend Framework to have an user logged for each subdomain? I'm stuck with this problem.. Just set the cookie domain in

Re: [fw-general] [fw-mvc] - Zend_Config_Xml with attributes

2009-08-17 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vibhor Singh wrote on 17.08.2009 13:13: Now suppose I want to access data under this node(items type=”shoes”), then how should I do this using the Zend_Config_Xml object. Can someone please help me in this? Any help would be greatly appreciated.

Re: [fw-general] Zend Config Writer and constants.

2009-08-15 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mustafa A. Hashmi wrote on 15.08.2009 13:03: Zend Framework version 1.7.4. PHP version 5.2.4 (ubuntu hardy 8.04 pkg) Hi all, When updating a configuration file via Zend_Config_Writer_Ini, I noticed that constants defined in the configuration

Re: [fw-general] Chain default route

2009-08-14 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sergio Rinaudo wrote on 14.08.2009 18:27: Hi, yes, the default route is a Zend_Controller_Router_Route_Module as explained in this page of the doc

Re: [fw-general] 8 custom routers ... should I worry about performance ?

2009-08-12 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 debussy007 wrote on 12.08.2009 21:47: I would have had less routes if the default values were working like it is suggested in the manual. E.g. Zend_Controller_Router_Route(':lang/:controller/:pageid/*', array('controller' = 'index'), array('lang'

[fw-general] Re: [zf-contributors] API/Interface changes?

2009-08-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 till wrote on 10.08.2009 13:37: IMHO, that's not a bad idea as well. I mean, generally it sort of depends how useful 10 vs 60 is. Configuration is not a bad idea, but it might also help to add a page to the manual so people just set the ini

Re: [fw-general] Best way to have custom URL's for each web page ?

2009-08-08 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 debussy007 wrote on 08.08.2009 21:08: Hi, I'm building a CMS and I want to allow the users to configure for each page and language a personnalized URL. E.g. rename http://example.com/services/list to: in French

Re: [fw-general] Zend_Controller_Router_Route_Regex and Apache 403 Forbidden error

2009-08-01 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sergio Rinaudo wrote on 01.08.2009 17:11: Hi, I'm using a Zend_Controller_Router_Route_Regex to make searches on my application, unfortunatelly, when I search special characters like double quote or also or I get the Apache 403 forbidden

Re: [fw-general] How will the naming scheme look with Php 5.3 namespaces?

2009-07-30 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have a few question about what the naming scheme will look like now that Php 5.3 and namespaces is here. I've looked a bit at Zend_Application and how that component is structured. 1. Should all base level classes be moved? So that for

Re: [fw-general] Zend Bootstrapping

2009-07-29 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is this possible? No, use a controller plugin for that. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Zend_Navigation save to XML

2009-07-23 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would be helpful when you could provide a dump of the generated Zend_Config object. Additionally, it doesn't make any sense to set an extend on the root node of the configuration. ... : ___ _ ___ ___ ___ _ ___

[fw-general] Re: Your DokuWiki password

2009-07-23 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'd like to create a proposal about error-handling as exceptions in PHP, and thus required write access to the RFC section of the php wiki. Could you enable my user account dasprid to do so? Thanks in advance, Ben Scholzen

Re: [fw-general] Re: Your DokuWiki password

2009-07-23 Thread Ben Scholzen 'DASPRiD'
;) ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : ::: : Web: http://www.dasprids.de : : E-mail : m...@dasprids.de : : Jabber : jab...@dasprids.de : : ICQ: 105677955 : ::: Ben Scholzen 'DASPRiD' schrieb: Hello, I'd like to create a proposal about error-handling as exceptions in PHP

Re: [fw-general] Getting the id generated after insert

2009-07-18 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 $id = $db-insert('my_table', $data); ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] hostname route chain in application.ini

2009-07-04 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should take another look at the documentation again, you must chain every single route (or use tree-structure chaining, tho this is not suitable for INI-configuration files). So both the route plain and announces should have abstract = true, then

Re: [fw-general] Zend_DB_Table: delete() won't delete any row in dependent tables

2009-06-30 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should probably take a look at Foreign Keys and Cascading in your database's manual. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : :

Re: [fw-general] Fwd: Transferring site to 5.0.5 php installation

2009-06-17 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You need at least version 5.1.4 or later, source: http://framework.zend.com/svn/framework/standard/branches/release-1.5/documentation/manual/en/ref/requirements.xml Any newer ZF version depends on an even higher PHP version.

Re: [fw-general] Putting Zend Framework application online

2009-06-16 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In any case, you can just put a .htaccess file in your root directory, rewriting all requests into the public directory. See: http://site.svn.dasprids.de/trunk/.htaccess ... : ___ _ ___ ___ ___ _ ___: : | \

Re: [fw-general] Use Lucene as a stand alone component

2009-06-16 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There's no difference in using it without the MVC-part of ZF, as it doesn't use it. You just need Zend_Loader and Zend_Exception in place. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : |

Re: [fw-general] Tricky Router Question

2009-06-15 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd suggest that you extend the dispatcher and check inside there, if an overring controller exists (and also make sure, that it extends the original controller). Then additionally, cache the result of the check (memcached if possible) so you avoid

[fw-general] Zend_Toolbar proposal ready for review

2009-06-11 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi peeps, I've just finished the proposal for Zend_Toolbar, a debug bar for Firefox. I'd like to collect some feedback before moving on to the next step: http://framework.zend.com/wiki/display/ZFPROP/Zend_Toolbar+-+Ben+Scholzen Regards, Ben

Re: [fw-general] 3 column template using Zend_Layout example

2009-06-04 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://tinyurl.com/actionstack ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : ::: :

Re: [fw-general] Multiple sites with same code

2009-05-28 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If I understand you right, you are talking about shared libraries. In that case I would just create an svn repos which get's linked via svn:externals in all projects which require it. Then everytime you make fixes to it, they will be updated in all

Re: Fwd: [fw-general] Proposal for Zend_Search_Xapian

2009-05-17 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm also working on a Zend_Search_Sphinx implementation. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

[fw-general] Zend_Service_Linkback proposal ready for review

2009-05-16 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Good day to everyone! Ryan and myself have put together a proposal for Zend_Service_Linkback, to add Client and Server components to easily allow Pingback, Trackback and Refback services to be performed by ZF based applications. We would appreciate

[fw-general] Article about writing config files with PHP arrays

2009-05-08 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For those who are interested in writing their config files with PHP arrays, or want to read reasons for using them, should take a look at my newest article in my blog:

Re: [fw-general] My_Controller_Action not found

2009-05-06 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You most certainly didn't add the My_ namespace to the autoloader. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-03 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno Friedmann wrotes: 1. What OS you are using during development? Windows? Mac? Linux? openSUSE Linux 11.1 (32bits due to multimédia and proprietary software : Zend studio, Adobe AIR 32bit software runs fine on a 64bit system, thanks to ia32

[fw-general] Zend_Tag_Cloud screencast

2009-04-23 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, I've just release my Zend_Tag_Cloud screencast, take a look at leave a comment if you like. http://www.dasprids.de/blog/2009/04/24/zend-tag-cloud-screencast Regards, Ben - -- ... : ___ _ ___ ___ ___ _

Re: [fw-general] Zend_Tag - lack of examples

2009-04-22 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the feedback, I'll add some more examples for the GA. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Zend_Tag - lack of examples

2009-04-22 Thread Ben Scholzen 'DASPRiD'
. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : ::: : Web: http://www.dasprids.de : : E-mail : m...@dasprids.de : : Jabber : jab...@dasprids.de : : ICQ: 105677955 : ::: Ben Scholzen 'DASPRiD' schrieb

Re: [fw-general] Zend_Translate and Routes

2009-04-20 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The chain route in 1.8 (trunk and PR) allows this pretty easily, take a look at the documention (trunk, not compiled so far). ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \

Re: [fw-general] Trying to forward request using ActionStack plugin

2009-04-06 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://www.rmauger.co.uk/2009/03/why-the-zend-framework-actionstack-is-evil/ ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_|

Re: [fw-general] Trying to forward request using ActionStack plugin

2009-04-06 Thread Ben Scholzen 'DASPRiD'
. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : ::: : Web: http://www.dasprids.de : : E-mail : m...@dasprids.de : : Jabber : jab...@dasprids.de : : ICQ: 105677955 : ::: Ben Scholzen 'DASPRiD' schrieb: http://www.rmauger.co.uk/2009/03/why

Re: [fw-general] Can I combine these routes?

2009-03-31 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd do: routes.article.route = :controller/:link routes.article.defaults.action = article routes.article.reqs.controller = (students|teachers|resources) to make sure, that no wrong controller can be called. ... : ___

Re: [fw-general] Zend Progress bar and jsPull adapter.

2009-03-31 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did you take a look at the demo in demos/Zend/ProgressBar/ ? ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Zend_Application using modules

2009-03-24 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When creating your bootstrap file, the methods are actually executed in the order they appear in the class. The same goes for the resources; they are executed in the order they are added (FIFO). ... : ___ _ ___ ___

Re: [fw-general] Force full URL names

2009-03-20 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not really. When assembling a route, the default values are always omitted from right-to-left. If you really want SEO URLs, you should not use the module-route. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __|

Re: [fw-general] SECURITY ADVISORY

2009-03-20 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just switch your svn:externals to the branch. Thus you will also get future security-fixes (if any). New tags will not be created for the old branches. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_)

Re: [fw-general] Case Insensitive Module Names?

2009-03-13 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why would you want to do that? a) It's against SEO b) The assemble method will always create the correct case-sensitive version. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _

Re: [fw-general] Zend_Controller_Router_Route Zend_Translate?

2009-03-12 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pretty simple, you would make your route look like this: :@controller/:@action or :@module/:@controller/:@action But really copying the module-route by this is not possible. I suggest you to create one route per action as usual. And personally, I

Re: [fw-general] Zend_Controller_Router_Route Zend_Translate?

2009-03-12 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I see, you got so far yet. Well then, what's the actual problem? ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Zend_Controller_Router_Route Zend_Translate?

2009-03-12 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ah yeah, you should add them in the reverse direction. They are always evaluated LIFO. Also, you should remove the default routes. Regards, Ben ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \

Re: [fw-general] Re: Registering an object to work through out the entire views scripts

2009-03-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is a translate view helper which you may want to look at. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Zend_Date: Unable to parse the date format string

2009-03-09 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 $date = new Zend_Date('2009-03-09 09:20', Zend_Date::ISO_8601); ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Zend_Date: Unable to parse the date format string

2009-03-09 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, just don't use internal values but the public constants. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Zend_ProgressBar (Ideas?)

2009-03-06 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A bit late, but, you should just use jsPull with the persistentNamespace. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/

Re: [fw-general] Writing a patch help

2009-03-04 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When the current unit tests do not fail, you have to create a new test which fails with the current version (1.7.6) but successes with your patch. The test itself should be located in the test suite of the component.

[fw-general] Zend_Controller_Router_Route_Translatable is ready for review

2009-03-02 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi people, I have just finisehd the proposal for the translatable route. I welcome any comments and ideas for it. http://framework.zend.com/wiki/display/ZFPROP/Zend_Controller_Router_Route_Translatable+-+Ben+Scholzen Regards, Ben

Re: [fw-general] Zend_Controller_Router_Route Zend_Translate?

2009-02-27 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hehe, we just had the same topic some days ago. I solved the same problem some time ago, with simply a new route (which i will probably port to ZF in modified way some day). It works like this: Fixed text is prepended with an @, while translatable

Re: [fw-general] Zend_Config_Xml Encoding Issue

2009-02-25 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did you probably save the xml file with UTF-8 encoding? ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Securely passing params between actions

2009-02-19 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That really depends. The easiest thing would be to store the value in a session, and if required give the user an hashed identifier as parameter to identify the data. If the data should be long-term persistent or for multiple users, store the data in

Re: [fw-general] Internationalized URLs/Routes

2009-02-19 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Inno, I solved the same problem some time ago, with simply a new route (which i will probably port to ZF in modified way some day). It works like this: Fixed text is prepended with an @, while translatable parameters are prepended with :@. For

Re: [fw-general] Securely passing params between actions

2009-02-19 Thread Ben Scholzen 'DASPRiD'
solution? How about something like $this-_setInternalParam() and $this-_getInternalParam() Would that be hard to implement? On Thu, Feb 19, 2009 at 12:07 PM, Ben Scholzen 'DASPRiD' m...@dasprids.de mailto:m...@dasprids.de wrote: Disable the default route, and only use custom

Re: [fw-general] Zend_Paginator's totalItemCount property question?

2009-02-18 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's: $paginator-getTotalItemCount(); ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Base Controller convienience methods

2009-02-18 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Or, as actions are suffixed with Action, helpers could thus be suffixed with Helper. So you could access the URL-Helper like this: $this-urlHelper(...); Just random thoughts. ... : ___ _ ___ ___ ___ _ ___: :

Re: [fw-general] Base Controller convienience methods

2009-02-18 Thread Ben Scholzen 'DASPRiD'
: : Jabber : jab...@dasprids.de : : ICQ: 105677955 : ::: Ben Scholzen 'DASPRiD' schrieb: Or, as actions are suffixed with Action, helpers could thus be suffixed with Helper. So you could access the URL-Helper like this: $this-urlHelper

Re: [fw-general] Re: [fw-db] Subselects using Zend_Db_Select

2009-02-18 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, when you want to switch the DB engine, it does matter. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ :

Re: [fw-general] Re: [fw-db] Subselects using Zend_Db_Select

2009-02-18 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And answer to the question is: - --- $subSelectDraft = $db-select() -from('articles', array('COUNT(*)') -where('status =

Re: [fw-general] Re: routes like username.domain.com

2009-02-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.hostname ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : :

Re: [fw-general] bug in Zend_Config_Writer_Ini

2009-01-14 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The config writers are not intended to write configs which do not contain sections (except the array writer). Tho it is correct that no errors should be thrown at that point. ... : ___ _ ___ ___ ___ _ ___: : |

Re: [fw-general] Sharing a session between 2 hostnames

2008-12-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Set the cookie domain of the session to .your-domain.com. See Zend_Session options for more information. Ben ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) |

Re: [fw-general] Sharing a session between 2 hostnames

2008-12-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://www.melbournechapter.net/wordpress/programming-languages/php/cman/2006/06/15/sharing-a-session-across-multiple-domainsservers-with-php/ First hit on google with the following keywords: one session over multiple domains Hope you get that next

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 a) It's old -- released in August, 2007. Tell that to the IE 6 users :p ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/

Re: [fw-general] generic view for Json contextSwitch

2008-12-08 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When you just want to send JSON, and not render a view, why don't you simply use $this-_helper-json(); ? Ben ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) |

Re: [fw-general] [Dumb Question] How do I use the URL view helper in my controllers?

2008-12-02 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 *MVC police arriving* Use the url action helper, it works exacly like the url view helper. Also the view helper may output html-escaped in the future, so you shouldn't rely on this. And yes, the assembly method may change completly with 2.0.

Re: [fw-general] Calling non-php library

2008-12-02 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Take a look at this wonderful PECL tutorial by Sara Golemon: http://devzone.zend.com/node/view/id/1021 Ben ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) |

Re: [fw-general] Working progressbar demo

2008-11-30 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it about the upload demo or the jsPush demo? If it's the latter one, I'll setup an apache2 in my windows VirtualBox, but else I don't have any idea why it is not working for you. ... : ___ _ ___ ___ ___ _ ___

  1   2   >