View Source

<ac:macro ac:name="toc" />

<h2>Information</h2>

<ul>
<li>Date: 22 February 2012, 18:00-19:00 UTC</li>
<li><ac:link><ri:page ri:content-title="2012-02-22 Meeting Agenda" /><ac:link-body>Agenda</ac:link-body></ac:link></li>
<li>Moderator: Matthew Weier O'Phinney (nickname weierophinney)</li>
<li>Next meeting: 29 February 2012</li>
</ul>


<h2>Summary</h2>

<h3>i18n/l10n RFC</h3>

<p>(Search for &quot;18:02:08&quot; in the log.)</p>

<p>Discussion centered around completeness of the <ac:link><ri:page ri:content-title="RFC - i18n layer" /><ac:link-body>i18n/l10n RFC</ac:link-body></ac:link>.</p>

<p>The primary issues raised:</p>

<ul>
<li>The RFC should clearly note how currency and measurement localisation will be handled.</li>
<li>The RFC should note how classes/components dependent on i18n/l10n will be updated; in particular, routing, filters, and view helpers were raised as examples. Several noted that for items like routing, the base routes available should not require i18n/l10n, but that these capabilities should be done either via decoration or extension.</li>
<li>A debate arose regarding whether or not i18n/l10n-specific filters, view helpers, and routes should be kept inside the i18n/l10n namespace in order to reduce dependencies in those components (i.e., Zend\Filter would not have a dependency on i18n/l10n). There are good arguments on either side, and we decided to push this to the mailing list.</li>
<li>We need a namespace for the i18n/l10n components.</li>
</ul>


<p><strong>tl;dr</strong>: The RFC is an excellent start, but a few details need to be addressed still.</p>

<h3>Forms RFC</h3>

<p>(Search for &quot;18:28:41&quot; in the log.)</p>

<p>Matthew posted the <ac:link><ri:page ri:content-title="RFC - Forms" /><ac:link-body>Forms RFC</ac:link-body></ac:link>, and we had initial discussion<br />
and feedback during the meeting.</p>

<ul>
<li>Additional use case illustrations were requested:
<ul>
<li>Use case around forms in MVC</li>
<li>Use case about partial validation</li>
<li>Use case of PRG</li>
</ul>
</li>
<li>Artur Bodera (Thinkscape) suggested a more &quot;template&quot;-driven way of rendering, a hybrid of sprintf with named segments, which could reduce number of view helpers required, and make rendering fairly flexible.</li>
<li>isValid() should not alter form/element state (value should be bound). This was intended in the RFC, but needs to be made explicit.</li>
<li>A number of people either like the ZF1-style decorators or the simplicity of &quot;echo $form&quot;. The question is whether we may be able to build a solution that makes that possible on top of the proposed architecture. Matthew will take this under consideration.</li>
<li>Rob Allen (Akrabat) asked if the intention is for the validation/normalization chain to replace Zend\Filter\Input; Matthew answered in the affirmative, and will update the RFC accordingly.</li>
</ul>


<p><strong>tl;dr</strong>: A lot of enthusiasm and ideas flying; the RFC has a little ways to go before it captures the various requirements.</p>

<h3>Beta 3 Readiness</h3>

<p>(Search for &quot;18:48:25&quot; in the log.)</p>

<p>Matthew reported that progress is good for shipping beta3 next week. The open<br />
pieces are:</p>

<ul>
<li>View layer (merged by Rob Allen just prior to the meeting)</li>
<li>DB abstraction layer (Ralph Schindler is almost ready to issue a PR for this)</li>
<li>Configuration refactoring (Ben Scholzen (DASPRiD) is reviewing the last set of changes submitted by Enrico Zimuel (ezimuel); Evan Coury (EvanDotPro) will prepare the Reader factory once merged)</li>
<li>A modest pull request queue</li>
<li>Documentation for new/refactored components.</li>
</ul>


<p>During the meeting, we agreed:</p>

<ul>
<li>Code Freeze for beta3 will happen Monday morning, CST.</li>
<li>Rob Allen will attempt to use the new DB layer with his tutorial application, and Evan Coury will attempt to integrate it in the ZfcUser module, as &quot;real world&quot; tests and review of the DB layer.</li>
<li>Everyone will attempt to get documentation in no later than end-of-day on Monday.</li>
</ul>


<p><strong>tl;dr</strong>: It's a bit tight, but the new features look fairly solid for purposes of the beta, and just need a bit of user testing and polish.</p>

<h2>Log</h2>

<ac:macro ac:name="html"><ac:parameter ac:name="output">html</ac:parameter><ac:plain-text-body><![CDATA[
<style>
pre.log {
white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */
white-space: -pre-wrap; /* Opera 4 - 6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */
word-wrap: break-word; /* IE 5.5+ */
border: 1px solid darkgray;
padding: 0.5em;
}
</style>
<pre class="log">
Feb 22 18:00:28 &lt;weierophinney&gt; Let's begin!
Feb 22 18:00:36 &lt;weierophinney&gt; Once again, I forgot to solicit a moderator.
Feb 22 18:00:46 &lt;weierophinney&gt; Which means I'm it.
Feb 22 18:00:58 &lt;DASPRiD&gt; heh
Feb 22 18:01:03 &lt;weierophinney&gt; Reminder: agenda is here: http://bit.ly/x6rG6w
Feb 22 18:01:32 &lt;weierophinney&gt; First topic: i18n RFC
Feb 22 18:01:39 &lt;weierophinney&gt; DASPRiD, want to begin?
Feb 22 18:01:55 &lt;DASPRiD&gt; weierophinney, actually i'm half-away right now
Feb 22 18:02:03 &lt;DASPRiD&gt; maybe swap order
Feb 22 18:02:08 &lt;weierophinney&gt; RFC is here: http://framework.zend.com/wiki/display/ZFDEV2/RFC+-+i18n+layer
Feb 22 18:02:35 &lt;weierophinney&gt; DASPRiD, main point is to discuss the RFC -- do people feel it's complete? if not, what isn't addressed? etc.
Feb 22 18:02:45 &lt;weierophinney&gt; bueller
Feb 22 18:02:47 &lt;weierophinney&gt; bueller
Feb 22 18:02:54 &lt;weierophinney&gt; (quiet bunch here)
Feb 22 18:03:07 &lt;DASPRiD&gt; question is, is anyone actually "here"
Feb 22 18:03:10 &lt;DASPRiD&gt; feels kinda silent
Feb 22 18:03:10 »» ocramius taking a look again
Feb 22 18:03:14 &lt;kobsu&gt; o/
Feb 22 18:03:17 »» ralphschindler is here
Feb 22 18:03:20 &lt;MikeA_&gt; :)
Feb 22 18:03:22 &lt;DASPRiD&gt; ah yeah, there we go
Feb 22 18:03:34 »» EvanDotPro is lurking
Feb 22 18:03:38 &lt;DASPRiD&gt; so, to give a quick brief about the RFC again:
Feb 22 18:03:47 &lt;ocramius&gt; are there any other locale-aware components not includedin the RFC?
Feb 22 18:04:01 &lt;DASPRiD&gt; ocramius, well, the router
Feb 22 18:04:09 &lt;weierophinney&gt; ocramius, only ones I'm aware of are Router, Currency, and Measure.
Feb 22 18:04:11 &lt;tom_anderson&gt; Validator\Float
Feb 22 18:04:24 &lt;DASPRiD&gt; it's mainly about getting rid of the current i18n core in ZF and using the Intl extension shipped with PHP
Feb 22 18:04:44 &lt;DASPRiD&gt; weierophinney, yeah, measure only very briefly for formatting the numbers
Feb 22 18:04:55 &lt;ralphschindler&gt; Zend\Form by extension of validator/filter is locale aware
Feb 22 18:04:55 &lt;weierophinney&gt; tom_anderson, I think that's covered with the NumberFormatter, as it can parse numbers
Feb 22 18:05:03 &lt;DASPRiD&gt; weierophinney, indeed
Feb 22 18:05:17 &lt;weierophinney&gt; DASPRiD, that may also cover currency, iirc
Feb 22 18:05:21 &lt;ocramius&gt; DASPRiD: so should the router implement that idea of "LocaleAware" DASPRiD?
Feb 22 18:05:46 &lt;DASPRiD&gt; ocramius, translatable segments will be integrated into the segment route
Feb 22 18:05:50 &lt;ocramius&gt; (I'm repeating myself)
Feb 22 18:05:51 &lt;DASPRiD&gt; (this is partly already done)
Feb 22 18:05:55 &lt;DASPRiD&gt; weierophinney, it does
Feb 22 18:06:04 &lt;weierophinney&gt; ralphschindler, actually, form also has traditionally allowed "translation" of labels. But if that's done in the view layer, it may be a moot point.
Feb 22 18:06:04 &lt;DASPRiD&gt; both parsing and formatting
Feb 22 18:06:27 &lt;ocramius&gt; okay
Feb 22 18:06:34 &lt;ocramius&gt; well, then it's fine for me...
Feb 22 18:06:57 &lt;DASPRiD&gt; about the availability of the PHP Intl extension:
Feb 22 18:07:10 &lt;DASPRiD&gt; It is actually in the core, but depending on the distribution, it has to be enabled
Feb 22 18:07:19 &lt;DASPRiD&gt; Also, for compiling from source, it requries the ICU headers
Feb 22 18:07:28 &lt;DASPRiD&gt; else it is silently disabled
Feb 22 18:07:51 &lt;weierophinney&gt; I can verify that it's not enabled by default when compiling from source, actually, which is a bit of a PITA.
Feb 22 18:08:15 &lt;DASPRiD&gt; weierophinney, so you have to pass --enable-intl ?
Feb 22 18:08:18 &lt;ralphschindler&gt; so, is it safe to say that if you want i18n features, you'll have a php distribution with i18n on?
Feb 22 18:08:19 &lt;ocramius&gt; weierophinney: should components check if extension_loaded ?
Feb 22 18:08:22 &lt;weierophinney&gt; DASPRiD, yes.
Feb 22 18:08:38 &lt;weierophinney&gt; ralphschindler, I would think so, if you're using 5.3+
Feb 22 18:09:01 &lt;EvanDotPro&gt; i'm +1 and saying it's up to the user to enable intl if they want i18n.
Feb 22 18:09:06 &lt;EvanDotPro&gt; s/and/for
Feb 22 18:09:14 &lt;weierophinney&gt; I do know that Zend Server enables it by default, and most _distributions_ do as well.
Feb 22 18:09:29 &lt;weierophinney&gt; so to me, it's kind of a moot point whether or not a vanilla install has it enabled.
Feb 22 18:09:31 &lt;DASPRiD&gt; weierophinney, yeah, or at least (edbian/ubuntu) ship a php5-intl package
Feb 22 18:09:42 &lt;ocramius&gt; repeating question: should components check if extension_loaded ?
Feb 22 18:09:48 &lt;weierophinney&gt; ocramius, yes, I think so.
Feb 22 18:09:52 &lt;ocramius&gt; okay
Feb 22 18:09:54 &lt;weierophinney&gt; DASPRiD, can you note that in the RFC?
Feb 22 18:10:05 &lt;DASPRiD&gt; weierophinney, at which points would components check for that?
Feb 22 18:10:07 &lt;DASPRiD&gt; on __construct ?
Feb 22 18:10:16 &lt;DASPRiD&gt; or above class declaration?
Feb 22 18:10:32 &lt;weierophinney&gt; DASPRiD, the only other concern from the comments I've not seen addressed so far is the matter of DateTime allowing reset based on formats.
Feb 22 18:10:44 &lt;weierophinney&gt; DASPRiD, we usually do it in __construct.
Feb 22 18:10:47 &lt;DASPRiD&gt; weierophinney, ah, i talked with kobsu about that
Feb 22 18:10:48 &lt;ralphschindler&gt; DASPRiD: in __construct
Feb 22 18:10:53 &lt;weierophinney&gt; DASPRiD, yeah?
Feb 22 18:10:56 &lt;kobsu&gt; yes we talked about it
Feb 22 18:10:58 &lt;weierophinney&gt; what did kobsu indicate?
Feb 22 18:11:02 &lt;ralphschindler&gt; you don't want class_exists($class, true) to throw an error or exception
Feb 22 18:11:05 &lt;DASPRiD&gt; kobsu, your turn
Feb 22 18:11:15 &lt;kobsu&gt; weierophinney: that maybe i was using it wrongly :D
Feb 22 18:11:21 &lt;weierophinney&gt; kobsu, LOL
Feb 22 18:11:30 &lt;weierophinney&gt; okay, can one of you update that comment thread, then?
Feb 22 18:11:39 &lt;weierophinney&gt; just so folks know what the resolution to that discussion was.
Feb 22 18:11:42 &lt;kobsu&gt; DASPRiD had some better practices in mind
Feb 22 18:12:08 &lt;weierophinney&gt; Anybody else have any initial feedback for DASPRiD on the i18n/l10n rfc?
Feb 22 18:12:20 &lt;DASPRiD&gt; i'll update the rfc @ module checking
Feb 22 18:12:30 &lt;weierophinney&gt; DASPRiD, thx
Feb 22 18:12:33 &lt;ralphschindler&gt; i'd prefer composition of i18n features instead of it baked in
Feb 22 18:12:46 &lt;weierophinney&gt; ralphschindler, can you clarify?
Feb 22 18:12:52 &lt;ralphschindler&gt; so $route = new LocaleRoute(new Route(….))
Feb 22 18:12:58 &lt;weierophinney&gt; ah.
Feb 22 18:12:59 &lt;ralphschindler&gt; intend of Route having locale features in its codebase
Feb 22 18:13:04 »» weierophinney agrees in that regard.
Feb 22 18:13:20 &lt;DASPRiD&gt; ralphschindler, actually i had that idea already
Feb 22 18:13:23 &lt;DASPRiD&gt; forgot to not it :)
Feb 22 18:13:29 &lt;ralphschindler&gt; i dislike how our current route has so much code in it for something as simple as parsing out parts (b/c of i18n stuffs)
Feb 22 18:13:40 &lt;DASPRiD&gt; ralphschindler, although wrapping around any kind of route doesnt really work
Feb 22 18:13:54 &lt;DASPRiD&gt; ralphschindler, i was more thinking about extending the segment route
Feb 22 18:13:55 &lt;weierophinney&gt; well, then have separate, locale-aware routes.
Feb 22 18:13:59 &lt;DASPRiD&gt; to have a TranslateSegmentRoute
Feb 22 18:14:05 &lt;weierophinney&gt; but keep the base ones sane. :)
Feb 22 18:14:16 &lt;DASPRiD&gt; weierophinney, yeah, so extending may be fine?
Feb 22 18:14:19 &lt;ralphschindler&gt; I'm just saying to examine that architecture
Feb 22 18:14:27 &lt;ocramius&gt; nice catch ralphschindler :) +1 for this separation
Feb 22 18:14:29 &lt;weierophinney&gt; DASPRiD, can you note about router, currency, and measure in the rfc as well?
Feb 22 18:14:35 &lt;DASPRiD&gt; sure
Feb 22 18:14:36 »» Thinkscape reporting in
Feb 22 18:14:38 &lt;weierophinney&gt; greets, Thinkscape and mabe_
Feb 22 18:14:46 &lt;DASPRiD&gt; i'd just have to add a little logic to the base segment rotue to allow such extension
Feb 22 18:14:50 &lt;ocramius&gt; Thinkscape: discussing http://framework.zend.com/wiki/display/ZFDEV2/RFC+-+i18n+layer
Feb 22 18:14:50 &lt;DASPRiD&gt; without too much copy/paste code
Feb 22 18:15:01 &lt;weierophinney&gt; DASPRiD, re: currency/measure, simply indicate that these are addressed with \NumberFormatter.
Feb 22 18:15:09 &lt;DASPRiD&gt; weierophinney, sure
Feb 22 18:15:19 &lt;weierophinney&gt; DASPRiD, extension would be okay, but composition would be better, if possible.
Feb 22 18:15:25 &lt;DASPRiD&gt; weierophinney, oh, it is already noted
Feb 22 18:15:29 &lt;weierophinney&gt; DASPRiD, thx
Feb 22 18:15:30 &lt;DASPRiD&gt; see last point in the 5.3 list
Feb 22 18:15:39 &lt;DASPRiD&gt; "Locale-aware formatting of numbers and currencies"…
Feb 22 18:15:50 &lt;Xerkus&gt; i don't understand why routes should be localized at all
Feb 22 18:16:04 &lt;weierophinney&gt; DASPRiD, kk -- there was a comment about it, and you kind of brushed it off as "maybe" -- but it looks like you're planning to address it.
Feb 22 18:16:05 &lt;ocramius&gt; Xerkus: I actually got that requirement many times...
Feb 22 18:16:09 &lt;Thinkscape&gt; Xerkus: it's useful to me
Feb 22 18:16:14 &lt;weierophinney&gt; Xerkus, I don't either, but a lot of folks use them.
Feb 22 18:16:22 &lt;weierophinney&gt; which means it's a feature we should target.
Feb 22 18:16:29 &lt;DASPRiD&gt; weierophinney, well, the comment was about the old rfc
Feb 22 18:16:38 &lt;DASPRiD&gt; i should probably have createad a new page
Feb 22 18:16:45 &lt;weierophinney&gt; DASPRiD, so post another comment indicating it's addressed, so folks like me don't get confused. :)
Feb 22 18:17:04 &lt;DASPRiD&gt; yeah will all be updated
Feb 22 18:17:16 &lt;weierophinney&gt; kk, coming up on time for this topic shortly... any other feedback for DASPRiD on the i18n/l10n rfc?
Feb 22 18:17:22 &lt;Thinkscape_&gt; DASPRiD: all in fafor of auto-detect component in zf2 ?
Feb 22 18:17:35 &lt;DASPRiD&gt; Thinkscape_, uh?
Feb 22 18:17:44 &lt;ocramius&gt; Thinkscape: that's in PHP 5.3
Feb 22 18:17:44 &lt;Thinkscape_&gt; $locale-&gt;setSupported(array('en_GB', 'nl_NL')); $locale-&gt;setDefault('en_GB'); $locale-&gt;autodetect($request);
Feb 22 18:17:50 &lt;ocramius&gt; oh, that one
Feb 22 18:17:53 &lt;DASPRiD&gt; Thinkscape_, ah that one
Feb 22 18:17:56 &lt;Thinkscape_&gt; it's not integrated into zf2 guts
Feb 22 18:18:13 &lt;DASPRiD&gt; Thinkscape_, yeah \Locale has auto detection, but not based on supported locales
Feb 22 18:18:22 &lt;Akrabat&gt; back
Feb 22 18:18:23 &lt;DASPRiD&gt; so we probably have to a helper for that
Feb 22 18:18:30 &lt;EvanDotPro&gt; DASPRiD: you mentioned module checking? what do you mean by that?
Feb 22 18:18:32 &lt;DASPRiD&gt; *to add
Feb 22 18:18:41 &lt;DASPRiD&gt; EvanDotPro, module_exists() calls in __construct
Feb 22 18:18:42 &lt;Thinkscape_&gt; also - have you been discussing integration with other zf2 components.... or rather - usage of locale stuff througout zf2 ?
Feb 22 18:18:43 &lt;Akrabat&gt; my only comment on i18n is that if I use \Router I don't want to have to have all of the ii8n stuff
Feb 22 18:18:44 &lt;weierophinney&gt; DASPRiD, that was in a comment as well. I think it's important to note in the RFC that there's a plan for it.
Feb 22 18:18:51 &lt;weierophinney&gt; Akrabat, yep, we covered that. :)
Feb 22 18:18:54 &lt;ocramius&gt; Akrabat: will be stripped
Feb 22 18:18:59 &lt;ocramius&gt; Akrabat: and separated
Feb 22 18:19:02 &lt;Akrabat&gt; ok good - so will live in another namespace?
Feb 22 18:19:06 &lt;ocramius&gt; (As of current discussion)
Feb 22 18:19:15 &lt;DASPRiD&gt; Akrabat, well, will be separate kind of routes
Feb 22 18:19:19 &lt;weierophinney&gt; Akrabat, more like there will be separate locale-aware routes.
Feb 22 18:19:23 &lt;Akrabat&gt; cos otherwise pear install router will pull in locale
Feb 22 18:19:24 &lt;EvanDotPro&gt; DASPRiD: you mean checking for the php extension? not zf2 modules.
Feb 22 18:19:32 &lt;DASPRiD&gt; Akrabat, mhhh
Feb 22 18:19:36 &lt;DASPRiD&gt; EvanDotPro, right
Feb 22 18:19:36 &lt;Thinkscape_&gt; routes is one thing that comes to my mind... but view rendering also requires a good integration.
Feb 22 18:19:41 &lt;Akrabat&gt; and that's one of my current pet peeves in zf11
Feb 22 18:19:42 &lt;Akrabat&gt; and that's one of my current pet peeves in zf1
Feb 22 18:19:46 &lt;weierophinney&gt; DASPRiD, Akrabat has a good point -- maybe put the locale-aware routes under a l10n namespace?
Feb 22 18:20:02 &lt;DASPRiD&gt; weierophinney, mh yeah could make sense
Feb 22 18:20:05 &lt;EvanDotPro&gt; DASPRiD: extension_loaded() ;)
Feb 22 18:20:10 &lt;DASPRiD&gt; EvanDotPro, whatever ;)
Feb 22 18:20:29 &lt;Akrabat&gt; other than that, I'm +1 for using php5.3 extension
Feb 22 18:20:42 &lt;weierophinney&gt; Thinkscape, if there are helpers for translation and various localization tasks that are injected with the appropriate objects, does that address things for you?
Feb 22 18:20:45 »» Thinkscape_ is now known as Thinkscape
Feb 22 18:20:52 &lt;DASPRiD&gt; okay so routes get into the i18n namespace
Feb 22 18:21:06 &lt;Thinkscape&gt; "injected with the appropriate object" - intl or zf2-wrapped ?
Feb 22 18:21:08 &lt;weierophinney&gt; should i18n/l10n view helpers also be in that namespace?
Feb 22 18:21:15 &lt;weierophinney&gt; Thinkscape, the ZF2 bits
Feb 22 18:21:21 &lt;DASPRiD&gt; weierophinney, could make sense
Feb 22 18:21:24 &lt;EvanDotPro&gt; weierophinney: i'd say yes.
Feb 22 18:21:29 &lt;DASPRiD&gt; so yes why not
Feb 22 18:21:43 &lt;Akrabat&gt; yes
Feb 22 18:21:46 &lt;DASPRiD&gt; same for filters and validators
Feb 22 18:21:49 &lt;Thinkscape&gt; weierophinney: well, to follow up: what are other zf2\whateverlocale responsibilities, other that wrapping intl ?
Feb 22 18:21:58 &lt;weierophinney&gt; DASPRiD, can you note that bit in the RFC as well, please? :)
Feb 22 18:22:00 &lt;Akrabat&gt; same reasoning from a dependent packaging point of view
Feb 22 18:22:08 &lt;DASPRiD&gt; weierophinney, sure, writing it down soon
Feb 22 18:22:17 &lt;mabe_&gt; will all i18n/l10n components going into the same namespace ?
Feb 22 18:22:29 &lt;DASPRiD&gt; okay, so all components which have hard-dependencies on i18n go into the i18n namespace
Feb 22 18:22:32 &lt;weierophinney&gt; mabe_, I think that's the general consensus.
Feb 22 18:22:56 &lt;DASPRiD&gt; what are we going to use for i18n namespace?
Feb 22 18:22:57 &lt;weierophinney&gt; DASPRiD, i18n/l10n -- or g11n (globalisation? is that right?)
Feb 22 18:23:06 &lt;Thinkscape&gt; that sounds odd
Feb 22 18:23:11 &lt;Thinkscape&gt; i.e. Zend\Filter\Translate
Feb 22 18:23:13 &lt;DASPRiD&gt; (l10n is actually the part of translating texts…)
Feb 22 18:23:16 &lt;Thinkscape&gt; it's in Filter, because it's a filter
Feb 22 18:23:21 &lt;DASPRiD&gt; Thinkscape, uh?
Feb 22 18:23:24 &lt;weierophinney&gt; (it's what li3 used)
Feb 22 18:23:39 &lt;DASPRiD&gt; (brb, getting pizza out of oven)
Feb 22 18:23:47 &lt;weierophinney&gt; Thinkscape, by that logic, all dojo or jquery stuff would be scattered between form, view, and whatnot.
Feb 22 18:23:56 &lt;Thinkscape&gt; Why would we move Zend\Filter\Translate into Zend\i18n\Filter ??
Feb 22 18:24:07 &lt;weierophinney&gt; making those packages then have dependencies on multiple other packages.
Feb 22 18:24:23 &lt;Thinkscape&gt; By that logic, why is Encrypt, Compress, File in filters ?
Feb 22 18:24:42 &lt;weierophinney&gt; Thinkscape, instead of the i18n stuff having dependencies on the components on which interfaces it depends.
Feb 22 18:24:49 &lt;weierophinney&gt; Thinkscape, they probably should not be.
Feb 22 18:24:58 &lt;DASPRiD&gt; re
Feb 22 18:25:00 &lt;Thinkscape&gt; so loosely-coupling as a primary goal?
Feb 22 18:25:35 &lt;Thinkscape&gt; because it does not help that 90% other filters are in Zend\Filter, while translate is in Zend\i18n\Filter (or wherever)
Feb 22 18:26:06 &lt;Xerkus&gt; filter Translate should be in \Filter\ and do nothing if translator object is not specified IMHO
Feb 22 18:26:31 &lt;weierophinney&gt; Thinkscape, can you raise this one on the ML? I think it needs further discussion.
Feb 22 18:26:36 &lt;Thinkscape&gt; weierophinney: ;)
Feb 22 18:26:38 &lt;Akrabat&gt; Thinkscape its a very important one, yes.
Feb 22 18:26:45 &lt;DASPRiD&gt; tbh, is Zend\Translator really a filter?
Feb 22 18:26:57 &lt;Thinkscape&gt; it's a translator :D
Feb 22 18:27:04 &lt;DASPRiD&gt; yes :)
Feb 22 18:27:13 &lt;Thinkscape&gt; but yeah, a filter of sorts...
Feb 22 18:27:14 &lt;mabe_&gt; but there is a filter for that trnaslator ;)
Feb 22 18:27:16 &lt;weierophinney&gt; Thinkscape, but it takes text and transforms it/filters it to an alternate representation. :)
Feb 22 18:27:23 &lt;Thinkscape&gt; true
Feb 22 18:27:34 &lt;ocramius&gt; hmm, never thought of it. Making it a filter makes it more flexible :)
Feb 22 18:27:34 &lt;Thinkscape&gt; so Translator goes into a bag of Zend\i18n
Feb 22 18:27:37 &lt;DASPRiD&gt; Zend\Transformer then
Feb 22 18:27:38 &lt;DASPRiD&gt; :P
Feb 22 18:27:42 &lt;weierophinney&gt; kk, let's move the discussion of where the various i18n/l10n stuff will live to the ML.
Feb 22 18:27:44 &lt;Thinkscape&gt; and we still have Filter\Translate to make things easy to find ...
Feb 22 18:27:51 &lt;Thinkscape&gt; (my little proposal)
Feb 22 18:27:52 &lt;SpiffyJr&gt; Forms!
Feb 22 18:27:54 »» SpiffyJr coughs
Feb 22 18:27:58 &lt;Thinkscape&gt; well, pyrus will have to manage :P
Feb 22 18:28:07 »» EvanDotPro hands SpiffyJr a bottle of water
Feb 22 18:28:18 &lt;Thinkscape&gt; rum
Feb 22 18:28:26 &lt;weierophinney&gt; Thinkscape, it's not just pyrus. It's how we set up packages. If we have to separate out individual classes from components, it becomes quite difficult.
Feb 22 18:28:34 &lt;Thinkscape&gt; weierophinney: I know :)
Feb 22 18:28:35 &lt;Thinkscape&gt; Next item on the agenda ?
Feb 22 18:28:41 &lt;weierophinney&gt; So, next item: forms rfc
Feb 22 18:28:44 &lt;weierophinney&gt; RFC is here: http://framework.zend.com/wiki/display/ZFDEV2/RFC+-+Forms
Feb 22 18:28:45 »» SpiffyJr cheers
Feb 22 18:28:49 &lt;weierophinney&gt; it's a FIRST DRAFT
Feb 22 18:29:00 &lt;Thinkscape&gt; Please no dummy &lt;/form&gt; at the end... sounds like a bad design.
Feb 22 18:29:06 &lt;Akrabat&gt; so now come the disclaimers...
Feb 22 18:29:11 &lt;DASPRiD&gt; Thinkscape, i already had that :)
Feb 22 18:29:15 &lt;DASPRiD&gt; &lt;?php echo $this-&gt;formRenderer()--&gt;render($form); ?&gt;
Feb 22 18:29:16 &lt;weierophinney&gt; Thinkscape, I hadn't thought of that. I _totally_ get it's a bad idea.
Feb 22 18:29:24 &lt;weierophinney&gt; can we move on to OTHER bits to discuss, then?
Feb 22 18:29:33 &lt;DASPRiD&gt; heh
Feb 22 18:29:50 &lt;ralphschindler&gt; weierophinney: LOVE the sprintf model
Feb 22 18:29:57 &lt;weierophinney&gt; damn.. just seeing the comments....
Feb 22 18:30:00 »» weierophinney speed reads...
Feb 22 18:30:31 &lt;Thinkscape&gt; I'd like to point out little thing: it's nice that we now can output chunks of the form with $this-&gt;someChunk() --- weierophinney: you explain that it's better, because a designer gets more control. But it is only a small improvement, because $this-&gt;label() STILL has some implicit way of rendering that &lt;label&gt;. What if I want labels to be &lt;ul&gt;&lt;li&gt; or &lt;span&gt; ? -- still need to subclass or whatever. So it does _not_ resolve zf1 f
Feb 22 18:30:32 &lt;EvanDotPro&gt; i agree with jurians that we need something for PRG -- that's a huge pain in zf1.
Feb 22 18:30:39 &lt;DASPRiD&gt; curl -o - http://framework.zend.com/wiki/display/ZFDEV2/RFC+-+Forms &gt; /dev/mwop
Feb 22 18:30:51 &lt;DASPRiD&gt; EvanDotPro, what exactly?
Feb 22 18:31:07 &lt;SpiffyJr&gt; Thinkscape, &lt;ul&gt;&lt;?php echo $this-&gt;label();?&gt;&lt;/ul&gt; ??
Feb 22 18:31:09 &lt;ocramius&gt; Thinkscape: what if we add arguments to the helpers?
Feb 22 18:31:24 &lt;Thinkscape&gt; SpiffyJr: no! I don't want &lt;label&gt; but &lt;li&gt; instead.
Feb 22 18:31:34 &lt;Thinkscape&gt; SpiffyJr: take a look at the example in RFC
Feb 22 18:31:41 &lt;SpiffyJr&gt; Comments or?
Feb 22 18:31:43 &lt;EvanDotPro&gt; DASPRiD: http://en.wikipedia.org/wiki/Post/Redirect/Get
Feb 22 18:31:54 &lt;dmitrybelyakov&gt; sometimes you might need your lable to wrap input
Feb 22 18:31:56 &lt;DASPRiD&gt; EvanDotPro, thx captn obvious :)
Feb 22 18:31:59 &lt;mabe_&gt; PRG shouldn't part of form - it's part of mvc
Feb 22 18:31:59 &lt;DASPRiD&gt; EvanDotPro, i know that pattern ;)
Feb 22 18:32:03 &lt;SpiffyJr&gt; Thinkscape, I see.
Feb 22 18:32:08 &lt;DASPRiD&gt; mabe_, +1
Feb 22 18:32:15 &lt;weierophinney&gt; Thinkscape, so, the basic form view helpers would spit out a single markup tag. If you wanted the label to be done differently, you either use a different helper, or pull the metadata manually from the object to build your markup.
Feb 22 18:32:32 &lt;Thinkscape&gt; weierophinney: back to square one in my opinion.
Feb 22 18:32:37 &lt;EvanDotPro&gt; DASPRiD: well i don't have a specific suggestion (maybe integration with a single-hop session container?) .. but we need *something*
Feb 22 18:32:46 &lt;ralphschindler&gt; i think a published/documented sprintf variable list should be the base implementation for output in forms/elements
Feb 22 18:32:54 &lt;weierophinney&gt; Thinkscape, what do you mean by "square 1" here?
Feb 22 18:33:00 &lt;ralphschindler&gt; that way, you only need to understand PHP in order to customize
Feb 22 18:33:08 &lt;DASPRiD&gt; EvanDotPro, flash messenger! ;)
Feb 22 18:33:25 &lt;mabe_&gt; lol
Feb 22 18:33:38 &lt;Thinkscape&gt; I didn't put much thought about it but I believe a template fragments strategy might be a good compromise ---- each form widget/elements is a hunk of parsable template. Changing it is a simple as replacing one string with another. Something along the lines of sprintf() but much more powerful.
Feb 22 18:33:41 &lt;weierophinney&gt; dmitrybelyakov, that's an implementation detail, and something a specialized helper could accomplish.
Feb 22 18:33:44 &lt;EvanDotPro&gt; DASPRiD: i use that currently, but i'm not sure that's the intended use case for something like this lol.
Feb 22 18:34:11 &lt;jurians&gt; weierophinney: for the RFC, I'd love to see some use cases: #1 forms in MVC setting, #2 forms with partial validation (ie from onBlur AJAX call) and #3 form with PRG pattern. Is that possible?
Feb 22 18:34:18 &lt;weierophinney&gt; Thinkscape, the problem with that approach is it requires us to ship templates with the framework. Which then means we need to create a way to make those discoverable.
Feb 22 18:34:34 &lt;weierophinney&gt; jurians, noting that now, and will add to the RFC.
Feb 22 18:34:39 &lt;jurians&gt; thanks
Feb 22 18:34:48 &lt;Thinkscape&gt; i.e. $form-&gt;fragments = array( "label" =&gt; "&lt;label&gt;:itemName&lt;/label&gt;", "errorItem" =&gt; "&lt;span class="error"&gt;:errorMessage&lt;/span&gt;" ........ )
Feb 22 18:34:53 &lt;ralphschindler&gt; Thinkscape: the sprintf example weierophinney has in there is a template fragment
Feb 22 18:34:54 &lt;Thinkscape&gt; weierophinney: not really templates
Feb 22 18:34:58 &lt;Thinkscape&gt; chunks of code
Feb 22 18:35:10 &lt;DASPRiD&gt; jurians, plz no xml :(
Feb 22 18:35:21 &lt;Thinkscape&gt; think - zf1 view helper for "dom element" ...it made a concat of "&lt;" + elName + something + something + "&gt;" ...
Feb 22 18:35:29 &lt;Thinkscape&gt; ralphschindler: exactly ...
Feb 22 18:35:32 &lt;ralphschindler&gt; return sprintf("&lt;div class=\"%s\"&gt;\n%s\n%s\n%s\n&lt;/div&gt;", …) could easily be sprintf($this-&gt;fragment, … )
Feb 22 18:35:36 &lt;weierophinney&gt; Thinkscape, what about sprintf usage, then?
Feb 22 18:35:38 &lt;Thinkscape&gt; ralphschindler: but I mean something more powerful, but simple nevertheless...
Feb 22 18:35:40 &lt;ralphschindler&gt; with positional replacements
Feb 22 18:35:43 &lt;ocramius&gt; Thinkscape: this probably comes from the depths of my ignorance, but do ZF1 forms support partials?
Feb 22 18:35:45 &lt;EvanDotPro&gt; jurians: good call on partial validation -- didn't think of that!
Feb 22 18:35:48 &lt;weierophinney&gt; Thinkscape, what's not powerful about sprintf?
Feb 22 18:35:50 &lt;Thinkscape&gt; ralphschindler: sprintf sucks because it requires knowledge of parameter order..
Feb 22 18:35:58 &lt;ralphschindler&gt; i have an idea on the more powerful part that fits in with sprintf ;)
Feb 22 18:36:01 &lt;weierophinney&gt; ocramius, there's a ViewPartial decorator.
Feb 22 18:36:12 &lt;weierophinney&gt; Thinkscape, point taken
Feb 22 18:36:19 &lt;ocramius&gt; weierophinney: cool, now I need 5 mins of facedesk ;)
Feb 22 18:36:28 &lt;Thinkscape&gt; you cannot do this in sprintf: '&lt;label id=":elementId" class="error"&gt;:errorMessage&lt;/label&gt;'
Feb 22 18:36:37 &lt;Akrabat&gt; annotations would be optional?
Feb 22 18:36:40 &lt;ralphschindler&gt; a ZenCoding expander could easily solve this as well for more complex fragments
Feb 22 18:36:42 &lt;Akrabat&gt; we could still do it via code/
Feb 22 18:36:49 &lt;Akrabat&gt; we could still do it via code? even
Feb 22 18:36:57 &lt;EvanDotPro&gt; ralphschindler: ooh that could be pretty cool
Feb 22 18:36:57 &lt;weierophinney&gt; Akrabat, yes
Feb 22 18:36:57 &lt;DASPRiD&gt; (EvanDotPro: 2 hours until last cigarette, that app worx!)
Feb 22 18:37:01 &lt;Akrabat&gt; k
Feb 22 18:37:04 &lt;DASPRiD&gt; s/until7since/
Feb 22 18:37:09 &lt;ralphschindler&gt; yes EvanDotPro - i've been sitting on that idea for a while now ;)
Feb 22 18:37:23 &lt;ocramius&gt; oh nice =)
Feb 22 18:37:25 &lt;Thinkscape&gt; ralphschindler: new syntax though
Feb 22 18:37:29 &lt;Thinkscape&gt; (quirky one)
Feb 22 18:37:34 &lt;ralphschindler&gt; $element-&gt;setFragment('div&gt;#somename%1s') … etc
Feb 22 18:37:38 &lt;weierophinney&gt; Thinkscape, I've noted about doing a hybrid of sprintf + named replacements
Feb 22 18:37:41 &lt;ralphschindler&gt; Thinkscape: we're not inventing the syntax
Feb 22 18:37:47 &lt;ocramius&gt; ralphschindler: sounds like a new component to me
Feb 22 18:38:01 &lt;EvanDotPro&gt; a filter?
Feb 22 18:38:07 &lt;ralphschindler&gt; yep, a filter
Feb 22 18:38:17 &lt;Thinkscape&gt; weierophinney: yes, but please keep in mind that it should be collection of fragments, NOT collection of classes each with a fragment, because this OO will bloat the thing out of proportions.
Feb 22 18:38:18 &lt;SpiffyJr&gt; ZenCode sure is handy... I could live with that.
Feb 22 18:38:28 &lt;Akrabat&gt; one minor point about zf1: isValid() calls setValues() internally. Can we ensure we don't change state in an isXxx() or hasXx() call please?
Feb 22 18:38:45 &lt;EvanDotPro&gt; Akrabat: +50
Feb 22 18:38:47 &lt;weierophinney&gt; Thinkscape, perhaps you can write up a ML post detailing how you envision that, then?
Feb 22 18:38:47 &lt;rizza&gt; Akrabat: +1
Feb 22 18:38:54 &lt;SpiffyJr&gt; Akrabat, good point - I'd rather call it something like bind();
Feb 22 18:38:54 &lt;weierophinney&gt; I don't want to interpret incorrectly.
Feb 22 18:39:03 &lt;Thinkscape&gt; weierophinney: you intepret correctly :)
Feb 22 18:39:16 &lt;SpiffyJr&gt; Akrabat, some naming that clearly expresses the form state is being modified.
Feb 22 18:39:18 &lt;ocramius&gt; SpiffyJr: where did I see that? ;)
Feb 22 18:39:22 »» DASPRiD has to note that we should at one point think about Filter policy again, eventually most view helpers and validators can be considered filters)
Feb 22 18:39:23 &lt;Thinkscape&gt; weierophinney: think instead of 20 classes, 2-3 form-related classes.... and that's it.
Feb 22 18:39:32 &lt;weierophinney&gt; Akrabat, not sure I follow...
Feb 22 18:39:45 &lt;ralphschindler&gt; I know he is not here to talk about it but elazar, with large forms, ran into significant performance issues with regards to forms in ZF1, if we lighten the architectural load, performance should increase (things like sprintf over decorators for one)
Feb 22 18:39:50 &lt;weierophinney&gt; Thinkscape, right, but are you talking view helpers? or elsewhere?
Feb 22 18:39:53 &lt;Thinkscape&gt; DASPRiD: filter filters and returns. View helper spews out the result.
Feb 22 18:40:03 &lt;EvanDotPro&gt; weierophinney: when you call isValid($postData) it populates the form object
Feb 22 18:40:06 &lt;DASPRiD&gt; Thinkscape, well, same thing kinda ;)
Feb 22 18:40:06 &lt;EvanDotPro&gt; with the values
Feb 22 18:40:07 &lt;Thinkscape&gt; weierophinney: both view helpers and form-building classes.
Feb 22 18:40:15 &lt;Thinkscape&gt; weierophinney: to make it simpler...
Feb 22 18:40:27 &lt;SpiffyJr&gt; weierophinney, isValid() changes form state which isn't very intuitive and something that an "isser" doesn't normally do.
Feb 22 18:40:30 &lt;weierophinney&gt; EvanDotPro, and Akrabat is suggesting not to do that?
Feb 22 18:40:32 &lt;Thinkscape&gt; weierophinney: I remember the stack when debugging zf1 form elements -- it was horrendous!
Feb 22 18:40:41 &lt;Akrabat&gt; weierophinney: currently callling $form-&gt;isValid() causes a state change on the form object. This is "unexpected" for a method name that looks like a test. I want to ensure that we name our methods around validation in zf2 do not do that
Feb 22 18:40:54 &lt;weierophinney&gt; Thinkscape, already the plan -- the only place I differed was the view helpers. But that may be easy to address.
Feb 22 18:40:57 &lt;Thinkscape&gt; weierophinney: (stack when _rendering_ zf1 form elements)
Feb 22 18:40:58 &lt;ralphschindler&gt; +1 on Akrabat
Feb 22 18:41:03 &lt;EvanDotPro&gt; weierophinney: i'm suggesting not to do that as well.. it's an isXxx() method.. should not be acting like a setter
Feb 22 18:41:08 &lt;mabe_&gt; weierophinney: You RFC has a $form-&gt;setInputFilter - will there also a output filter ?
Feb 22 18:41:11 &lt;Thinkscape&gt; weierophinney: yes, but if we do these fragments, we don't need 10 view helpers
Feb 22 18:41:13 &lt;Thinkscape&gt; only one
Feb 22 18:41:17 &lt;Thinkscape&gt; or a handful
Feb 22 18:41:27 &lt;ocramius&gt; agreed with Akrabat: that one is chaos
Feb 22 18:41:29 &lt;weierophinney&gt; Akrabat, makes sense -- I'd expect you'd need to bind values from the input filter manually
Feb 22 18:41:33 &lt;weierophinney&gt; Akrabat, I'll note that in the rfc
Feb 22 18:41:38 &lt;Akrabat&gt; cool
Feb 22 18:41:38 &lt;weierophinney&gt; mabe_, no
Feb 22 18:41:47 &lt;weierophinney&gt; mabe_, output filter is... the view layer.
Feb 22 18:41:53 &lt;Akrabat&gt; also, are we going to lose current zend\filter\input (i.e does this replace it?)
Feb 22 18:42:28 &lt;Akrabat&gt; cos two different things that we colloquially call "input filter" could be confusing
Feb 22 18:42:28 &lt;weierophinney&gt; Akrabat, I'd imagine this would replace it.
Feb 22 18:43:11 &lt;Akrabat&gt; great
Feb 22 18:43:15 &lt;weierophinney&gt; Akrabat, btw, I'd expect the isValid() call to either be direclty on the input filter, or, if on the form, proxy to it.
Feb 22 18:43:18 &lt;Thinkscape&gt; filter chain :)
Feb 22 18:43:27 &lt;weierophinney&gt; The values would be inside the input filter
Feb 22 18:43:30 &lt;SpiffyJr&gt; weierophinney, good
Feb 22 18:43:46 &lt;weierophinney&gt; so you'd need to bind them, or the form/elements would proxy to the filter to get their respective value.
Feb 22 18:44:19 &lt;Akrabat&gt; As others have mentioned, it would be helpful to add some code sample ideas on the entire process I think
Feb 22 18:44:35 &lt;weierophinney&gt; I've noted a number of things for the RFC, including additional usage samples. I'll update in the next day or two.
Feb 22 18:44:38 &lt;Akrabat&gt; makes sense
Feb 22 18:44:51 &lt;weierophinney&gt; We can discuss more on the lsit -- this is simply the first foray, as far as I'm concerned. :)
Feb 22 18:44:58 &lt;weierophinney&gt; Shall we move on to the last topic?
Feb 22 18:44:59 &lt;SpiffyJr&gt; weierophinney, action and method are the only things managed in the opening &lt;form&gt; tag, correct?
Feb 22 18:45:22 &lt;Thinkscape&gt; SpiffyJr: don't forget enctype :P
Feb 22 18:45:25 &lt;SpiffyJr&gt; Breaking IDE's HTML parser with that opening form helper makes me sad face.
Feb 22 18:45:31 &lt;Thinkscape&gt; SpiffyJr: and target..
Feb 22 18:45:38 &lt;rizza&gt; And class, name, id...
Feb 22 18:45:42 &lt;SpiffyJr&gt; We didn't touch on annotations! Or a potential form builder!
Feb 22 18:45:48 &lt;SpiffyJr&gt; Or all that cool stuff...
Feb 22 18:45:58 &lt;Akrabat&gt; form() view helper shoud be formOpener() or something too :) but in general I'm liking where this is going, but we'll need more ML time
Feb 22 18:46:25 &lt;ocramius&gt; SpiffyJr: you mean entity- stuff?
Feb 22 18:46:27 &lt;weierophinney&gt; SpiffyJr, and any other attributes you might want. HTML5 now has data-*. ;-)
Feb 22 18:46:36 &lt;ezimuel&gt; I think we should split the logic of form (like validation) from the form UI (rendering)
Feb 22 18:46:38 &lt;ocramius&gt; we can't surely ignore that... that stuff is going to get used more and more...
Feb 22 18:46:46 &lt;weierophinney&gt; SpiffyJr, I'll be changing the open/close tag bit. Noted that at the start. :)
Feb 22 18:46:47 &lt;rizza&gt; ezimuel: I believe that's the idea.
Feb 22 18:46:51 &lt;SpiffyJr&gt; Okay.
Feb 22 18:47:06 &lt;Akrabat&gt; I would love to solve Tomáš' issue too if we can and have a way to render a form without having to write a view script for it
Feb 22 18:47:16 &lt;DASPRiD&gt; weierophinney, don't forget "placeholder" is there as well :)
Feb 22 18:47:16 &lt;weierophinney&gt; ezimuel, that's the goal of the RFC. :)
Feb 22 18:47:23 &lt;weierophinney&gt; DASPRiD, ?
Feb 22 18:47:28 &lt;DASPRiD&gt; on input elements
Feb 22 18:47:30 &lt;SpiffyJr&gt; Akrabat, Should be easy to write a generic view helper...
Feb 22 18:47:35 &lt;rizza&gt; Akrabat: I'd like that, too.
Feb 22 18:47:41 &lt;DASPRiD&gt; &lt;input type="text" placeholder="Username" /&gt;
Feb 22 18:47:48 &lt;SpiffyJr&gt; Akrabat, $this-&gt;renderFormWithPTags($form); ... or whatever.
Feb 22 18:47:49 &lt;weierophinney&gt; DASPRiD, ah, right.
Feb 22 18:47:56 &lt;weierophinney&gt; I was thinking the view helper. :)
Feb 22 18:48:01 &lt;DASPRiD&gt; oh, heh
Feb 22 18:48:05 &lt;Thinkscape&gt; and input type="datetime"...
Feb 22 18:48:06 &lt;Akrabat&gt; SpiffyJr: yes, something like that
Feb 22 18:48:09 &lt;Thinkscape&gt; among others
Feb 22 18:48:10 &lt;weierophinney&gt; Akrabat, we may be able to do that. I'll think on it.
Feb 22 18:48:16 &lt;weierophinney&gt; kk, let's move on to the last topic.
Feb 22 18:48:17 &lt;DASPRiD&gt; Thinkscape, yeah, but thats sadly not widely supported yet :(
Feb 22 18:48:23 &lt;DASPRiD&gt; there's another topic?
Feb 22 18:48:25 &lt;weierophinney&gt; BETA 3 READINESS
Feb 22 18:48:26 &lt;rizza&gt; beta3
Feb 22 18:48:29 &lt;DASPRiD&gt; ah!
Feb 22 18:48:30 &lt;Thinkscape&gt; DASPRiD: but it's there, and easy to add-on to old browsers
Feb 22 18:48:35 &lt;SpiffyJr&gt; SHIP IT! Ship it all!
Feb 22 18:48:35 &lt;DASPRiD&gt; Thinkscape, true
Feb 22 18:48:40 &lt;DASPRiD&gt; modernizr to the rescue
Feb 22 18:48:44 &lt;SpiffyJr&gt; Oh wait, I'm not at work right now...
Feb 22 18:48:46 &lt;ocramius&gt; SpiffyJr: I think the entity- related stuff fits a module then
Feb 22 18:48:53 &lt;weierophinney&gt; MOVING ON
Feb 22 18:49:07 &lt;weierophinney&gt; I want to do code freeze (note, NOT docs freeze) by Friday.
Feb 22 18:49:08 &lt;SpiffyJr&gt; ocramius, fair enough, then. I'll keep working on SpiffyForm.
Feb 22 18:49:12 &lt;DASPRiD&gt; cat Form-Topic &gt; /dev/null
Feb 22 18:49:14 &lt;DASPRiD&gt; next one
Feb 22 18:49:14 »» Thinkscape hears ringing in his ears..
Feb 22 18:49:16 &lt;weierophinney&gt; Akrabat has merged the view layer today.
Feb 22 18:49:16 &lt;Akrabat&gt; Friday?!?!?
Feb 22 18:49:26 &lt;Thinkscape&gt; already?
Feb 22 18:49:28 &lt;SpiffyJr&gt; It's merged and ready?
Feb 22 18:49:34 &lt;weierophinney&gt; and we have DB about to be queued up for a PR
Feb 22 18:49:37 &lt;Akrabat&gt; has someone else other than ralphschindler used db yet?
Feb 22 18:49:39 &lt;weierophinney&gt; (right, ralphschindler?!?!?!)
Feb 22 18:49:50 &lt;ralphschindler&gt; yep, I'm getting close on the pull request
Feb 22 18:49:51 &lt;weierophinney&gt; Config is ready to merge (if not done already)
Feb 22 18:49:59 &lt;DASPRiD&gt; weierophinney, uhm
Feb 22 18:50:06 &lt;weierophinney&gt; And I have a massive PR queue to go through. :)
Feb 22 18:50:13 &lt;DASPRiD&gt; weierophinney, i only briefly looked over it
Feb 22 18:50:14 &lt;Akrabat&gt; Thinkscape, SpiffyJr: view-layer is definitely rounded off enough to go to beta
Feb 22 18:50:23 &lt;weierophinney&gt; DASPRiD, kk, GET CRAKING. :)
Feb 22 18:50:23 &lt;DASPRiD&gt; weierophinney, there are a few things left which have to be changed
Feb 22 18:50:28 &lt;SpiffyJr&gt; Akrabat, is it *already* merged?
Feb 22 18:50:31 &lt;weierophinney&gt; SpiffyJr, YES
Feb 22 18:50:35 &lt;SpiffyJr&gt; Beautiful!
Feb 22 18:50:39 &lt;DASPRiD&gt; weierophinney, will try to review it this evening
Feb 22 18:50:39 &lt;Akrabat&gt; SpiffyJr: yes - I closed the PR 1 hour ago roughly
Feb 22 18:50:40 &lt;SpiffyJr&gt; I'll put up another PR for you then. :)
Feb 22 18:50:47 &lt;weierophinney&gt; DASPRiD, thanks!
Feb 22 18:50:53 &lt;Thinkscape&gt; DASPRiD: next evening
Feb 22 18:50:57 &lt;DASPRiD&gt; Thinkscape, uh?
Feb 22 18:51:03 &lt;SpiffyJr&gt; weierophinney, I have some Zend\Navigation PR's that I will try to get in by Friday.
Feb 22 18:51:03 &lt;Akrabat&gt; I'm concerned about Friday code freeze
Feb 22 18:51:12 &lt;weierophinney&gt; Akrabat has a good point: ralphschindler will post when he has the PR ready, and point folks to the various samples. PLEASE REVIEW AND TEST
Feb 22 18:51:21 &lt;weierophinney&gt; Akrabat, is it due to the DB stuff?
Feb 22 18:51:23 &lt;Thinkscape&gt; Akrabat: what code freeze?
Feb 22 18:51:25 &lt;rizza&gt; Seems like a lot of things that need to be done by Friday...
Feb 22 18:51:30 &lt;SpiffyJr&gt; Thinkscape, the beta3 code freeze for Friday
Feb 22 18:51:35 &lt;weierophinney&gt; I can maybe extend to Monday
Feb 22 18:51:41 &lt;DASPRiD&gt; monday is probably more sane
Feb 22 18:51:44 &lt;Akrabat&gt; weierophinney: yes = db
Feb 22 18:51:45 &lt;DASPRiD&gt; gives us the weekend just in case
Feb 22 18:51:46 &lt;weierophinney&gt; Does having the weekend seem reasonable?
Feb 22 18:51:59 &lt;Thinkscape&gt; db is for beta4. right ?
Feb 22 18:52:15 &lt;weierophinney&gt; Thinkscape, no, beta3. There will be additional adapters for beta4, though.
Feb 22 18:52:46 &lt;weierophinney&gt; Thinkscape, ralphschindler has been testing on sqlite, mysqli/pdo_mysql, and sqlsrv/pdo_sqlsrv
Feb 22 18:52:54 &lt;weierophinney&gt; (and pdo_sqlite, obviously)
Feb 22 18:53:17 &lt;weierophinney&gt; There's enough differences between them that he's been able to ensure the architecture accommodates variances.
Feb 22 18:53:57 &lt;Akrabat&gt; something without auto-increment would be useful to test too really
Feb 22 18:54:11 &lt;Akrabat&gt; e.g. oracle :)
Feb 22 18:54:12 &lt;weierophinney&gt; ralphschindler, have you tested that scenario?
Feb 22 18:54:18 &lt;SpiffyJr&gt; New to B3: View, Log, Config, and DB?
Feb 22 18:54:20 &lt;Akrabat&gt; but I wouldn't wish that on anyone
Feb 22 18:54:30 &lt;ralphschindler&gt; Akrabat: sql server has IDENTITY
Feb 22 18:54:32 &lt;weierophinney&gt; SpiffyJr, yes.
Feb 22 18:55:00 &lt;Thinkscape&gt; Akrabat: ralphschindler: postgresql
Feb 22 18:55:01 &lt;weierophinney&gt; SpiffyJr, plus a host of PRs. I think this beta will have something like 200 PRs merged.
Feb 22 18:55:03 &lt;Akrabat&gt; ralphschindler: true
Feb 22 18:55:12 &lt;weierophinney&gt; Thinkscape, that's planned for beta4.
Feb 22 18:55:16 &lt;SpiffyJr&gt; weierophinney, very nice - removing the CLA was a very very good step.
Feb 22 18:55:24 &lt;Thinkscape&gt; weierophinney: you sure you can handle that before mon?
Feb 22 18:55:24 »» weierophinney agrees. :)
Feb 22 18:55:26 &lt;ralphschindler&gt; postgres is closer to my heart so, i plan on hitting it pretty soon
Feb 22 18:55:34 &lt;Thinkscape&gt; weierophinney: I believe in you nevertheless ;)
Feb 22 18:55:34 &lt;DASPRiD&gt; indeed @ cla
Feb 22 18:55:44 &lt;ralphschindler&gt; i've learned to dislike mysql after dealing with the wide range of databases out there ;)
Feb 22 18:55:46 &lt;weierophinney&gt; Thinkscape, on my end? Yes. PRs are typically not bad, and I hope to be through them by tomorrow regardless.
Feb 22 18:56:08 &lt;ocramius&gt; ralphschindler: you're late :D haven't you ever read the pgsql motto?
Feb 22 18:56:09 &lt;ocramius&gt; :D
Feb 22 18:56:13 &lt;weierophinney&gt; Thinkscape, but I think having the weekend for folks to review DB before we freeze the repo is a good idea.
Feb 22 18:56:16 &lt;Thinkscape&gt; ralphschindler: good for you :) postgresql is quite under-appreciated
Feb 22 18:56:26 &lt;ralphschindler&gt; ocramius: i'd been using postgres for postgis stuff in my spare time
Feb 22 18:56:29 &lt;ralphschindler&gt; i really like it
Feb 22 18:56:35 &lt;Thinkscape&gt; weierophinney: ok, worst case: some pr's wont go in
Feb 22 18:56:40 &lt;Akrabat&gt; has anyone got a plan to test config?
Feb 22 18:56:48 &lt;ocramius&gt; ralphschindler: the feature you need tomorrow, implemented yesterday :)
Feb 22 18:56:50 &lt;weierophinney&gt; Thinkscape, exactly. I'm not too worried abou tthem.
Feb 22 18:57:05 &lt;weierophinney&gt; Akrabat, ezimuel has written tests at this time, and is writing usage examples.
Feb 22 18:57:07 &lt;Akrabat&gt; a good use-case would be to redo the skeleton using config\reader
Feb 22 18:57:10 &lt;ezimuel&gt; Akrabat: I tested
Feb 22 18:57:16 &lt;weierophinney&gt; Akrabat, but we should do that part as well.
Feb 22 18:57:16 &lt;DASPRiD&gt; Akrabat, thankfully the new config layer is so simple, it can't really break ;)
Feb 22 18:57:19 &lt;ocramius&gt; weierophinney: don't forget about the PR discussion later ;)
Feb 22 18:57:27 &lt;SpiffyJr&gt; weierophinney, does the Zend\Config change require components consuming it to be refactored or has that already been done?
Feb 22 18:57:34 &lt;weierophinney&gt; ocramius, it didn't make the agenda. Will have to do it next week.
Feb 22 18:57:43 &lt;weierophinney&gt; ocramius, hint: you should add it. ;-)
Feb 22 18:57:43 &lt;DASPRiD&gt; EvanDotPro should use the Zend\Config\Factory in the module layer
Feb 22 18:57:45 &lt;Thinkscape&gt; i think I missed it - but have there been any developments with: 1) php5.4 poll 2) interface naming poll ?
Feb 22 18:57:46 &lt;ocramius&gt; oh, ok
Feb 22 18:57:54 &lt;Akrabat&gt; ezimuel: that's a good start :)
Feb 22 18:58:05 &lt;EvanDotPro&gt; DASPRiD: yep
Feb 22 18:58:12 &lt;weierophinney&gt; SpiffyJr, I _think_ that no further work has to be done. DASPRiD, Thinkscape, and ezimuel can better answer that.
Feb 22 18:58:18 &lt;DASPRiD&gt; SpiffyJr, well, no, Config() object is still the same, and the readers only return arrays
Feb 22 18:58:20 &lt;weierophinney&gt; Thinkscape, yes, I can update on those.
Feb 22 18:58:27 &lt;SpiffyJr&gt; DASPRiD, okay, thanks.
Feb 22 18:58:38 &lt;Thinkscape&gt; weierophinney: we have to plan a fat refactor ...
Feb 22 18:58:43 »» SpiffyJr heads to the hospital for the gigantic baby ultrasound
Feb 22 18:58:45 &lt;Akrabat&gt; generally, for db and config, I personally would like to see that someone has implemented these into a test mvc app
Feb 22 18:58:46 &lt;weierophinney&gt; Thinkscape, official decision: not doing a poll on 5.4 usage. We'll target 5.3, and ship a variety of traits for 5.4 users.
Feb 22 18:58:47 &lt;SpiffyJr&gt; Ciao.
Feb 22 18:58:51 &lt;DASPRiD&gt; SpiffyJr, and we already changed most componetns to be not aware of config but Traversable
Feb 22 18:58:58 &lt;DASPRiD&gt; SpiffyJr, enjoy
Feb 22 18:59:06 &lt;weierophinney&gt; Thinkscape, as for interface poll: it's closed. Abstracts are prefixed, interfaces and traits are suffixed.
Feb 22 18:59:07 &lt;SpiffyJr&gt; DASPRiD, I noticed Zend\Navigation wasn't updated yet. I'll update that as well before I submit my PR.
Feb 22 18:59:15 &lt;weierophinney&gt; (which goes in line with other frameworks as well)
Feb 22 18:59:25 &lt;Akrabat&gt; weierophinney: we need to write that up and post it on the dev blog
Feb 22 18:59:26 &lt;DASPRiD&gt; SpiffyJr, updated?
Feb 22 18:59:31 &lt;DASPRiD&gt; you mean config wise?
Feb 22 18:59:32 &lt;weierophinney&gt; Thinkscape, which means refactoring components to do those things
Feb 22 18:59:33 &lt;weierophinney&gt; Akrabat, noted.
Feb 22 18:59:34 &lt;Thinkscape&gt; weierophinney:are we targeting beta4 for the interface naming refactor?
Feb 22 18:59:34 &lt;SpiffyJr&gt; DASPRiD, yes
Feb 22 18:59:38 &lt;DASPRiD&gt; SpiffyJr, ah sure
Feb 22 18:59:42 &lt;SpiffyJr&gt; DASPRiD, it's still looking for Zend\Config not Traversable
Feb 22 18:59:45 &lt;DASPRiD&gt; SpiffyJr, just steal the traversable snippet from another component
Feb 22 18:59:48 &lt;DASPRiD&gt; :)
Feb 22 18:59:58 &lt;EvanDotPro&gt; DASPRiD: added to agilezen (config factory in zend\module)
Feb 22 13:00:03 &lt;weierophinney&gt; Akrabat, I'll get my site refactored with latest config/view stuff. No DB there for me to work with, though.
Feb 22 13:00:13 &lt;SpiffyJr&gt; DASPRiD, fully plan on it.
Feb 22 13:00:15 »» SpiffyJr leaves, for real
Feb 22 13:00:43 &lt;weierophinney&gt; gl, SpiffyJr
Feb 22 13:00:45 &lt;Akrabat&gt; k
Feb 22 13:00:58 &lt;weierophinney&gt; who wants to try using Zend\Db in a test site for us?
Feb 22 13:01:04 &lt;weierophinney&gt; can I get a volunteer?
Feb 22 13:01:13 &lt;weierophinney&gt; please?
Feb 22 13:01:34 &lt;Akrabat&gt; do we have db\table still?
Feb 22 13:01:40 &lt;DASPRiD&gt; (hopefully not)
Feb 22 13:01:43 &lt;Akrabat&gt; or is that not refactored this round?
Feb 22 13:01:46 &lt;weierophinney&gt; Akrabat, yes -- that was part of this beta.
Feb 22 13:01:51 &lt;weierophinney&gt; (and yes, refactored)
Feb 22 13:02:00 &lt;weierophinney&gt; ralphschindler, can you point Akrabat to table examples?
Feb 22 13:02:06 &lt;Akrabat&gt; I'll do db\table as part of my tutorial
Feb 22 13:02:12 &lt;weierophinney&gt; Akrabat, that's awesome, thanks
Feb 22 13:02:14 &lt;EvanDotPro&gt; weierophinney: we could try using zend\db in a ZfcUser branch
Feb 22 13:02:21 &lt;Thinkscape&gt; ralphschindler: does it have lastInsertId() ?
Feb 22 13:02:26 &lt;ralphschindler&gt; Thinkscape: yes
Feb 22 13:02:27 &lt;Akrabat&gt; afk - kids bedtime
Feb 22 13:02:29 &lt;Akrabat&gt; thanks guys
Feb 22 13:02:29 &lt;ralphschindler&gt; Akrabat: https://github.com/ralphschindler/Zend_Db-Examples/blob/master/example-06.php
Feb 22 13:02:29 &lt;weierophinney&gt; EvanDotPro, that would be awesome - do you have time?
Feb 22 13:02:31 &lt;ralphschindler&gt; 6-9
Feb 22 13:02:41 &lt;ralphschindler&gt; examples 6-9 that is
Feb 22 13:02:52 &lt;weierophinney&gt; kk, so:
Feb 22 13:02:56 &lt;weierophinney&gt; * code freeze Monday
Feb 22 13:03:00 &lt;EvanDotPro&gt; weierophinney: i might, i wanna knock out the few stories on agilezen that i have pending too but those are really minor.
Feb 22 13:03:05 &lt;Thinkscape&gt; ralphschindler: is query abstr. finished?
Feb 22 13:03:06 &lt;DASPRiD&gt; btw, i gotta leave here soon as well, can somebody post me the i18n log so i can update the RFC based on that?
Feb 22 13:03:14 &lt;weierophinney&gt; * Akrabat and EvanDotPro to try out Zend\Db on projects
Feb 22 13:03:21 &lt;ralphschindler&gt; Thinkscape: sql abstraction has basic implementation
Feb 22 13:03:25 &lt;weierophinney&gt; * Matthew to hit the PR queue
Feb 22 13:03:32 &lt;weierophinney&gt; * EVERYONE to help with docs. :)
Feb 22 13:03:34 &lt;ralphschindler&gt; trying to get the metadata component finished up
Feb 22 13:03:43 &lt;DASPRiD&gt; * DASPRiD to review Config
Feb 22 13:03:52 &lt;weierophinney&gt; DASPRiD, I'll get the log posted today.
Feb 22 13:03:58 &lt;DASPRiD&gt; weierophinney, perfect, thx
Feb 22 13:04:03 &lt;weierophinney&gt; DASPRiD, and, yes, good note on Config
Feb 22 13:04:37 &lt;weierophinney&gt; Thinkscape, you can see what ralphschindler has been working on on the board, btw -- all are under the "completed" heading (except metadata)
Feb 22 13:04:37 &lt;DASPRiD&gt; are we through now?
Feb 22 13:04:42 &lt;weierophinney&gt; I think so, yes.
Feb 22 13:04:49 &lt;weierophinney&gt; Any last words, or do we call it a day?
Feb 22 13:04:59 &lt;DASPRiD&gt; i call it a meeting
Feb 22 13:05:00 &lt;ocramius&gt; awesome day, not just day
Feb 22 13:05:02 &lt;Thinkscape&gt; you rock!
Feb 22 13:05:04 &lt;ocramius&gt; very well done!
Feb 22 13:05:11 &lt;EvanDotPro&gt; good meeting
Feb 22 13:05:15 &lt;EvanDotPro&gt; :)
Feb 22 13:05:27 &lt;weierophinney&gt; I'll get the log up in a bit, and I've taken notes for the forms rfc.
Feb 22 13:05:32 &lt;DASPRiD&gt; mwop calls it his 4th meeting today ;)
Feb 22 13:05:43 &lt;weierophinney&gt; everyone, start testing the view layer, and the DB stuff so we can merge. :)
</pre>
]]></ac:plain-text-body></ac:macro>