Re: [fw-general] Zend\DI: Use concrete class instead of interface everywhere

2014-02-05 Thread Marco Pivetta
/blog/zend-framework-2-controllers-and-dependency-injection-with-zend-di/ Cheers, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] ZfcAdmin

2014-02-05 Thread Marco Pivetta
ZfcAdmin is pretty much stable - it does only provide a standard navigation container where to attach items, not much more... Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 5 February 2014 08:28, dolphin pochta.dolp...@gmail.com wrote: Hi. I would like to know

Re: [fw-general] Re: ZfcAdmin

2014-02-05 Thread Marco Pivetta
know that there may be objections, clarify, proposals. Therefore, I propose my module as a prototype. What does your module do? And why would it replace ZfcAdmin? What do you think? Well, I honestly don't know, because your questions are not very clear. Marco Pivetta http://twitter.com

Re: [fw-general] Re: ZfcAdmin

2014-02-05 Thread Marco Pivetta
navigation container by name. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] Rasmus Lerdorf opinion on PHP frameworks: They all suck!

2014-02-05 Thread Marco Pivetta
. Cheers, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] Rasmus Lerdorf opinion on PHP frameworks: They all suck!

2014-02-06 Thread Marco Pivetta
balanced tree of machines or a dedicated micro-service built with C or something like that :P Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] Caching on a ZF 2 / Doctrine 2 application

2014-02-06 Thread Marco Pivetta
/reference/second-level-cache.html If you cannot use 2.5 (master) right now, you may check http://stackoverflow.com/questions/15661296/doctrine-2-and-orm-how-to-cache-every-query-for-some-entity- yes, that's a lot of manual work. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com

Re: [fw-general] Rasmus Lerdorf opinion on PHP frameworks: They all suck!

2014-02-06 Thread Marco Pivetta
On 6 February 2014 14:59, Greg dev...@gmail.com wrote: My first impression is that the route event should only return a route matched (SRP?); its simpler and would allow the route match to be retrieved from the service manager without needing a route event (or if there is no matched route).

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

2014-02-15 Thread Marco Pivetta
Hi Mat, Does your module also work with the normal view helpers? Didn't check in depth, but it seems to me like you are using only custom plugins with your own interface. Cheers, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 14 February 2014 18:06, mtymek [via

Re: [fw-general] Where to place template files in ZF2?

2014-02-19 Thread Marco Pivetta
You can probably just use the standard view structure for ZF2 - you would just need a different template resolver instance for it. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 19 February 2014 19:11, dennis-fedco dmatve...@fedco-usa.com wrote: Say I have

[fw-general] Re: customize ZF2 ?

2014-02-23 Thread Marco Pivetta
an exact reasoning on why you are trying to do that. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/customize-ZF2-tp4661729p4661731.html Sent from the Zend Framework mailing list

[fw-general] Re: customize ZF2 ?

2014-02-23 Thread Marco Pivetta
a motivation behind having per-repo packages, and that's maintainability, upgrades and security. Why are you trying to move your repo to `/usr/`? Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- View this message in context: http://zend-framework-community.634137.n4

[fw-general] Re: customize ZF2 ?

2014-02-23 Thread Marco Pivetta
. Cheers, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/customize-ZF2-tp4661729p4661736.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Re: customize ZF2 ?

2014-02-24 Thread Marco Pivetta
that ZF2 comes from somewhere inside `vendor`. You can't really edit ANYTHING without `vendor`, since that's composer's domain (no touching!). Instead, customize your `autoload_namespaces.php` by registering your own autoloader manually. You can just edit that file, no problems. Marco Pivetta

[fw-general] Re: customize ZF2 ?

2014-02-24 Thread Marco Pivetta
Argh, sorry, my mistake. I meant to tell you to customize init_autoloader.php ( https://github.com/zendframework/ZendSkeletonApplication/blob/2f60f8af002e6b7afc9f47a5e79e038e0baf5e3a/init_autoloader.php), and instead I wrote autoload_namespaces.php. Do not edit ANYTHING within vendor ;-) Marco

[fw-general] Re: customize ZF2 ?

2014-02-24 Thread Marco Pivetta
it as it pleases you. I still miss your point though - why is this being done? What's the rationale? The current structure comes from a lot Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- View this message in context: http://zend-framework-community.634137.n4

Re: [fw-general] ServiceManager can't find 'Config' service.

2014-02-27 Thread Marco Pivetta
/df6fa23483c990f3ac47400f7191a337d979b5ac/library/Zend/Mvc/Service/ConfigFactory.php The factory is registered in the ServiceListenerFactory: https://github.com/zendframework/zf2/blob/df6fa23483c990f3ac47400f7191a337d979b5ac/library/Zend/Mvc/Service/ServiceListenerFactory.php#L44 Cheers, Marco Pivetta http://twitter.com

Re: [fw-general] ServiceManager can't find 'Config' service.

2014-02-27 Thread Marco Pivetta
On 27 February 2014 21:01, Philip G guice...@gmail.com wrote: On Thu, Feb 27, 2014 at 11:48 AM, Marco Pivetta ocram...@gmail.comwrote: On 27 February 2014 20:37, Philip G guice...@gmail.com wrote: I'm creating a new ServiceManager instance and a abstract_factory instance is failing

[fw-general] Re: Registering module event listeners early in the stack

2014-03-10 Thread Marco Pivetta
listeners during `Application::init()`, and not during module loading. I'd actually say that we can make that optional by allowing end users to redefine their `index.php` (instead of using dirty hacks) Cheers, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 10 March 2014 18

Re: [fw-general] ZF2, Doctrine 2, and Composer autoload class redeclared error.

2014-03-11 Thread Marco Pivetta
/Application/Entity/articles.php on line 8 This looks like a typo of some kind. The information provided is insufficient to debug the problem, though. Could you provide a gist with the file paths, autoloader config and file contents of the class? Marco Pivetta http://twitter.com/Ocramius http

Re: [fw-general] Almost ready for 2.3.0!

2014-03-12 Thread Marco Pivetta
` or just increase the timeout if your connection is slow. This is surely not a ZF issue Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] ZF2 development visualization

2014-03-12 Thread Marco Pivetta
This is generated via gource - you can usually run it against any vcs ;-) On 12 Mar 2014 11:27, jmleroux jmleroux@gmail.com wrote: A little bit off topic... I don't know how to do this for ZF2, but this could be a good publicity https://www.youtube.com/watch?v=NMjA5N7kbEQ -- View

Re: [fw-general] Almost ready for 2.3.0!

2014-03-13 Thread Marco Pivetta
As reported in https://github.com/zendframework/zf2/issues/5963, the subtree split script is NOT working correctly. I'd suggest avoiding upgrades until this isn't fixed. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 13 March 2014 11:50, Norbert Máté mt.norb

Re: [fw-general] [Doctrine] Cache in use

2014-03-18 Thread Marco Pivetta
The fastest way to see if your cache is set, is checking your ORM configuration: $entityManager-getConfiguration() contains all the details that you want to check. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 18 March 2014 12:09, LEROUX Jean-Marie jmleroux

Re: [fw-general] [Doctrine] Cache in use

2014-03-18 Thread Marco Pivetta
QueryCacheProfile(10));' which cache my results, but it seems the lifetime is not taken into account by my Zend\Storage\Memcached. This was actually tested/implemented in https://github.com/doctrine/DoctrineModule/pull/345 - maybe a bug? Marco Pivetta http://twitter.com/Ocramius http

Re: [fw-general] How to get list of queries that go through db adapter

2014-03-18 Thread Marco Pivetta
Did you try using BjyProfiler? https://github.com/bjyoungblood/BjyProfiler Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 18 March 2014 18:53, Julian Vidal jul...@julianvidal.com wrote: I'm looking for a way to get a list of queries that my app executes. I'm

Re: [fw-general] Re: [Doctrine] Cache in use

2014-03-19 Thread Marco Pivetta
As discussed on #6001, ZF2 can't have per-item TTL by default. It is trivial to implement a small wrapper for it, as I've written at https://github.com/zendframework/zf2/pull/5386#issuecomment-29386320 Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 19 March 2014 16

Re: [fw-general] test or tests?

2014-03-21 Thread Marco Pivetta
Doesn't really matter, to be honest Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 21 March 2014 23:02, dennis-fedco dmatve...@fedco-usa.com wrote: https://github.com/ZF-Commons/ZfcBase/tree/master/test, but https://github.com/ZF-Commons/ZfcUser/tree/master/tests

[fw-general] Re: Double insert in the database with form, in zend 2.2 y 2.3

2014-03-26 Thread Marco Pivetta
Did you verify that you are not having any double submit? What is the offending code? Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 27 March 2014 01:17, donatello [via Zend Framework Community] ml-node+s634137n466191...@n4.nabble.com wrote: Hi! I’m a very

[fw-general] Re: Double insert in the database with form, in zend 2.2 y 2.3

2014-03-26 Thread Marco Pivetta
: `php -S localhost:8080 -t public public/index.php` will do. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 27 March 2014 01:33, donatello [via Zend Framework Community] ml-node+s634137n4661921...@n4.nabble.com wrote: THank you Marco! Are you Italian! :) I'm

[fw-general] Re: Double insert in the database with form, in zend 2.2 y 2.3

2014-03-28 Thread Marco Pivetta
::DEBUG, 'Wrote a db record!' . var_export($_SERVER, true)); That will let you see what is going on and why. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 28 March 2014 15:46, donatello [via Zend Framework Community] ml-node+s634137n4661929...@n4.nabble.com wrote

[fw-general] Re: Double insert in the database with form, in zend 2.2 y 2.3

2014-03-28 Thread Marco Pivetta
Hey Donatello, I have no idea why you have that redirect, but I'd suggest trying out the project just with the internal PHP server to cut out problems with XAMPP if there are any. Cheers, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 28 March 2014 16:51, donatello

Re: [fw-general] JavaScript and CSS within module

2014-05-02 Thread Marco Pivetta
, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 2 May 2014 22:26, Jonathan Sundquist jsundqu...@gmail.com wrote: Good afternoon. I'm working on a project where we have a lot of modules. We are looking to have each module contain the css, images, and javascript

Re: [fw-general] JavaScript and CSS within module

2014-05-04 Thread Marco Pivetta
directory within the module that contains them. That is also a good practice, as it allows you to namespace assets to avoid collisions with secondary modules that may provide their own. Cheers, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] JavaScript and CSS within module

2014-05-04 Thread Marco Pivetta
That's how AM was designed. AssetManager will cycle through configured resolvers and find (by priority) the first asset that is a hit. That way, multiple modules can map same paths, and the assets will basically be an union of all modules (depending on priority). Marco Pivetta http://twitter.com

Re: [fw-general] Zend Framework 1.12.6, 2.2.7, and 2.3.1 Released!

2014-05-23 Thread Marco Pivetta
about what you are doing. I won't take responsibility for any security issues introduced by doing that. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 22 May 2014 07:15, David Muir davidkm...@gmail.com wrote: The security fix broke our javascript templates

Re: [fw-general] Is that a good/bad/neutral practice to pass variables to Controller methods?

2014-06-11 Thread Marco Pivetta
controller logic, and I'd like to further extend these concepts to DTOs. If you find a good way of passing parameters to action controllers without being too opinionated, then please do share: I'd love to see more development in this direction. Marco Pivetta http://twitter.com/Ocramius http

[fw-general] Re: instantiation of validator plugin manager?

2014-06-15 Thread Marco Pivetta
. I'd check if you can use the FormElementManager coming from the main ServiceManager instance to build your forms (or a form factory). Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- View this message in context: http://zend-framework-community.634137.n4.nabble.com

Re: [fw-general] Bouncing emails?

2014-06-28 Thread Marco Pivetta
to the warning message ... there are a lot: Here are the message numbers: 41759 0.o We could really need a migration to google groups, this thing is getting very annoying over time (also the various spam messages in the list) :P Marco Pivetta http://twitter.com/Ocramius http

Re: [fw-general] Reduce basic request time of an ZF2 application

2014-07-03 Thread Marco Pivetta
layer takes a LOT of time to run. It depends on the app, but you should really profile it first. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] Reduce basic request time of an ZF2 application

2014-07-07 Thread Marco Pivetta
be careful. Additionally, move your modules' autoloading to `composer.json` and use a classmap via `./composer.phar dump-auoload --optimize`. HHVM is also a neat suggestion, but don't expect miracles from it: it just makes repeated operations faster. Marco Pivetta http://twitter.com/Ocramius http

Re: [fw-general] zfmodules

2014-07-17 Thread Marco Pivetta
/modules.zendframework.com/issues/183 Kthxbai. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] zfmodules

2014-07-17 Thread Marco Pivetta
On Thu, Jul 17, 2014 at 10:35 AM, Ralf Eggert r.egg...@travello.de wrote: Hi Marco, Marco Pivetta schrieb am 17.07.2014 09:48: Why is everyone re-iterating the same question over, and over, and over, and over, and over, and over, and over again? There is an issue: https://github.com

Re: [fw-general] Reduce basic request time of an ZF2 application

2014-07-17 Thread Marco Pivetta
. Probably the worst hosting solution around right now (in my own personal opinion, given their awesome upgrade strategy), but I can understand why this choice was made :-( You really want to move to your own VPS where you can setup services as you like. Marco Pivetta http://twitter.com/Ocramius

Re: [fw-general] Apigility - ongoing support development ?

2014-07-28 Thread Marco Pivetta
. Modules just work with it, as they do with normal zf2 apps. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] ZF2 Code Sniffer Ruleset

2014-08-18 Thread Marco Pivetta
by some package maintainers. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 18 August 2014 08:21, Ralf Eggert r.egg...@travello.de wrote: Hi, I am looking for an up-to-date ZF2 ruleset for PHP CodeSniffer. I would like to integrate it in PhpStorm which only offers

Re: [fw-general] Can we initialize a service at Bootstrap?

2014-09-22 Thread Marco Pivetta
the application and not the module itself. Is there a way to accomplish this task? Inject the service that will give you the data you need into the aggregate GoodService, then do the decision by fetching the data at runtime. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] converting errors to exceptions

2014-09-22 Thread Marco Pivetta
(only exceptions). Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

[fw-general] Re: Zend Framework 2 - Vendor package question

2014-10-23 Thread Marco Pivetta
? Is there a good point to start from to achieve this? Did you look at the modules system? And composer? That's pretty much all you need :-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- View this message in context: http://zend-framework-community.634137.n4.nabble.com

[fw-general] Re: Zend Framework 2 - Vendor package question

2014-10-23 Thread Marco Pivetta
can just keep different configs for admin and frontend views. You don't need to replace URLs in your application to make them admin or frontend depending on a config setting: just use different URIs. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- View this message

Re: [fw-general] Re: Multiple authentications

2014-11-10 Thread Marco Pivetta
\MvcEvent::EVENT_DISPATCH with a high priority - is attached only to event identifiers representing those marker interfaces Greets, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 7 November 2014 23:33, Emmanuel Bouton got...@gmail.com wrote: Or should I simply check

Re: [fw-general] @ZendTeam : ping

2014-11-10 Thread Marco Pivetta
to be reassured by his shepherd ;) You're not the first to ask about this situation, nor I think you will be the last, so no need to worry, nobody is being offended by perfectly legit questioning. Greets, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] @ZendTeam : ping

2014-11-11 Thread Marco Pivetta
the door. Greets, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] Zf2 manual leaking memory

2014-11-17 Thread Marco Pivetta
though my pc has plenty of ram. I tried to find out what caused it, but no luck. I suspect that it is the Disqus-integration that is to blame, but I'm not sure. I also see a bunch of trackers on that page: are you sure that it is none of them? Marco Pivetta http://twitter.com/Ocramius http

[fw-general] Re: 2D Barcode generation (e.g. DataMatrix ECC200)

2014-12-12 Thread Marco Pivetta
I strongly suggest that you look at https://github.com/Bacon/BaconQrCode Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 12 December 2014 at 08:25, calosteward [via Zend Framework Community] ml-node+s634137n4662403...@n4.nabble.com wrote: ZF is good. But I'm

[fw-general] Re: logger: adding user defined priorities

2014-12-15 Thread Marco Pivetta
Heya, I don't think the ZF2 logger has such a feature, and maybe the docs are simply out of sync because they were ported when ZF2 was released. I suggest digging in the existing test suite to see if anything suggests usage of non-standard log levels. Marco Pivetta http://twitter.com/Ocramius

[fw-general] Re: How to use redirect() outside controller in zend 2

2015-01-16 Thread Marco Pivetta
Why would you want to use the redirect helper in a module? Anyway, the redirect helper code is trivial: https://github.com/zendframework/zf2/blob/8615f24ebdfa905cc719be3c57649e93ea40ef20/library/Zend/Mvc/Controller/Plugin/Redirect.php#L62-L65 Marco Pivetta http://twitter.com/Ocramius http

Re: [fw-general] Absolute links on partial views

2015-01-13 Thread Marco Pivetta
provided an example with what you have so far: the information provided in this post seems insufficient to discover what is going on. Consider creating a gist about what you have right now at https://gist.github.com/ Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

[fw-general] Re: How to create entity of one table in zend 2 Doctrine 2

2015-01-14 Thread Marco Pivetta
The filter parameter accepts regular expressions, as far as I know. Look at the code, please. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 14 January 2015 at 11:23, Arvind Jha [via Zend Framework Community] ml-node+s634137n4662418...@n4.nabble.com wrote: Thanks

[fw-general] Re: How to create entity of one table in zend 2 Doctrine 2

2015-01-14 Thread Marco Pivetta
The `orm:convert-mapping` command supports a `filter` optional parameter. See https://github.com/doctrine/doctrine2/blob/9c3cb579313ae01cdd3467b9f89fc15e9677b46c/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php#L55-L58 for reference. Marco Pivetta http://twitter.com/Ocramius

[fw-general] Re: [zf-contributors] Zend Framework 2.4.0 Released!

2015-03-31 Thread Marco Pivetta
Awesome news! Nice to see that the hard work paid off - the amount of solved issues is just ginormous! Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 31 March 2015 at 19:37, Matthew Weier O'Phinney matt...@zend.com wrote: Hi, all! We've just released version

[fw-general] Re: ZF2 Custom View Helper problem

2015-01-25 Thread Marco Pivetta
that reflects your production environment. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-Custom-View-Helper-problem-tp4662444p4662445.html Sent from the Zend Framework mailing

Re: [fw-general] (In what case) Can a ServiceManager Injection be warrantable?

2015-08-05 Thread Marco Pivetta
to either scrap code or code that is actually doing some location job. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 5 August 2015 at 10:52, automatix i...@automatix.info wrote: Hello Community!As is generally known injecting the ServiceManager as dependency is a bad

[fw-general] Re: Zend 2 Application - Issue with concurrent user access

2015-10-25 Thread Marco Pivetta
the cap for any of those on any of the machines, it chokes and gets to a grinding halt (typically dropping connections or being very very slow). Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 19 October 2015 at 13:01, sreejith_y [via Zend Framework Community] < ml-n

Re: [fw-general] ZF3 release date

2015-10-21 Thread Marco Pivetta
Hi Ralf, I don't think there is a scheduled release atm. ServiceManager and EventManager v3 are being finalized though, and various components are being upgraded to consume those versions. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 20 October 2015 at 22:45, Ralf

[fw-general] Re: undefined index

2015-10-01 Thread Marco Pivetta
I doubt that an interface file has any functional logic in it: check the file contents, please. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 1 October 2015 at 09:45, aloksdubey [via Zend Framework Community] < ml-node+s634137n4662700...@n4.nabble.com>

[fw-general] Re: EdpSuperluminal Configuration in WAMP

2015-09-22 Thread Marco Pivetta
You'd just install it and enable it in the modules list. EdpSuperluminal doesn't need configuration. On Sep 22, 2015 19:34, "sreejith_y [via Zend Framework Community]" < ml-node+s634137n4662683...@n4.nabble.com> wrote: > Hi, > > Am very new to Zend 2 and I have a zend project with me. How Do I

[fw-general] Re: How to use ZendOptimizer

2015-11-18 Thread Marco Pivetta
You may want to read about OpCache: - https://tideways.io/profiler/blog/fine-tune-your-opcache-configuration-to-avoid-caching-suprises - https://tideways.io/profiler/blog/dodge-the-thundering-herd-with-file-based-opcache-in-php7 Marco Pivetta http://twitter.com/Ocramius http

Re: [fw-general] Can we disable escapers for html attributes?

2016-01-18 Thread Marco Pivetta
my custom ViewHelpers without loading Zend's. ¡That's a hell of > task! But if I wish to maintain control over my output there seems to be > no other solution. Atleast sticking to Zend Framework. > I really don't understand the reason to enforce attribute escaping. I repeat: that's wh

Re: [fw-general] Can we disable escapers for html attributes?

2016-01-18 Thread Marco Pivetta
There is no problem (from an SEO perspective) in having escaped attributes. Also, UTF-8 is big and scary: don't disable escaping, it's just like asking for trouble ;-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 18 January 2016 at 07:51, Juan Pedro Gonzalez

Re: [fw-general] Can we disable escapers for html attributes?

2016-01-18 Thread Marco Pivetta
t the escaping matches your data, if that's what you fear. Also see https://jsfiddle.net/5toL1c5r/ (proper escaping) Also see https://3v4l.org/PE8hk (proper parsing via DOM compliant APIs) Hope that helps Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] Can we disable escapers for html attributes?

2016-01-18 Thread Marco Pivetta
ss requirements, regardless which ones. > ...but allowing to have non-escaped strings in the attributes. or even a > general configuration key to disable escaping attributes and leave it > active by default but being able to disable it if you don't wish to use it. > There is no "wi

Re: [fw-general] ZendFramework-1.12.13-minimal yealds deleted files in search results

2016-01-16 Thread Marco Pivetta
I am a bit confused by the original question: * what are we talking about? (link to code/documentation relevant to your question) * what do you expect ZendFramework 1.x to do? * what is it doing instead? Cheers, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 15

[fw-general] Re: pass array variable to library/data.php

2016-01-29 Thread Marco Pivetta
What is library/data.php? On Jan 29, 2016 6:08 AM, "pfalllay [via Zend Framework Community]" < ml-node+s634137n4662830...@n4.nabble.com> wrote: > i am newbie in zend.how to pass array variable to library/data.php? > > -- > If you reply to this email, your message will

[fw-general] Re: as I can create a wrapper in zend2?

2016-02-23 Thread Marco Pivetta
Heya, You don't need any wrapper for an API: just write a factory for the service and use it :-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 22 February 2016 at 16:04, losorio30 [via Zend Framework Community] < ml-node+s634137n4662846...@n4.nabble.com>

Re: [fw-general] Error & Exception Handling in Expressive

2016-01-21 Thread Marco Pivetta
ull);` callable: implementing your own is the way to go ;-) Cheers, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] Error & Exception Handling in Expressive

2016-01-24 Thread Marco Pivetta
t simply moving it into your codebase as a first attempt, and abstract only when there is solid ground for doing so. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

Re: [fw-general] php-ZendFramework-extras-1.12.17

2016-02-19 Thread Marco Pivetta
Remi's repository is Remi's repository, not Zendframework's :-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 19 February 2016 at 09:25, <tanaka.akif...@probinds.co.jp> wrote: > Hello. > > I would like to install a set of php-ZendFramework 1.

Re: [fw-general] about list

2017-01-30 Thread Marco Pivetta
It's still working, but moderation is kinda meh, so there's loads of spam posts by bots :-( I would suggest posting questions directly on Github for easier cross-referencing and discoverability. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Mon, Jan 30, 2017 at 3:01

<    1   2   3   4