IRC logs

20150806

Logs from channel #fedext on freenode - our official support channel.

IRC log range: 20150806*

20150806

  • 11:02:57 <galoppi> Hello everybody! Could someone please have a look at the code checker? I think that all of the TYPO3SniffPool rules are not executed. Try for example something like "Class Bla Extends Blupp" in your sourcecode what should be forbidden because of the upper cases in Class and Extends (just one example).
  • 11:03:46 <galoppi> I tried the check with calling ./vendors/bin/checkstyle
  • 11:04:25 <galoppi> I have a local Ubuntu 14.04 environment as vagrant box
  • 11:05:06 <galoppi> with PHP 5.5.9-1ubuntu4.11
  • 11:24:41 <galoppi> In Windows 7 Prof. SP 1 I get an error while trying "composer install":
  • 11:25:08 <galoppi> [ErrorException]
  • 11:25:09 <galoppi> ZipArchive::extractTo(C:\workspace\projects\flux/vendor/composer/9306f281/TYPO3-TYPO3.CMS-2e7ea60\typo3\sysext\impexp\Tests\Functional\ImportFromVersionFourDotFive\PagesAndTtContentWithRteImagesAndFileLink\DataSet\Assertion/importPagesAndRelatedTtContentWithRteImagesAndFileLink.csv): failed to open stream: Invalid argument
  • 11:25:40 <galoppi> after Installing typo3/cms (6.2.14) in fluidtypo3/flux
  • 11:26:40 <galoppi> With Linux there is no problem - but I would like to call the ./vendor/bin/make for the pre-commit hook on my windows machine
  • 11:41:50 <xaver> cool :)
  • 15:29:43 <mneuhaus> NamelessCoder: hey :)
  • 15:30:49 <mneuhaus> regarding the frontend simulation in the AbstractImageViewHelper i can keep that in for now if you like it just kinda screamed at my face since you guys already pulled that out into a static function for other instances :)
  • 15:33:02 <mneuhaus> but yea, you might be right, the simulateFrontendEnvironment looks more comprehensive in the AbstractImageViewHelper than in the FrontendSimulatorUtility
  • 15:33:12 <mneuhaus> i'll revert that
  • 16:02:29 <NamelessCoder> almost there mneuhaus - just those few things left
  • 16:04:10 <NamelessCoder> looks pretty good btw ;)
  • 16:23:01 <mneuhaus> NamelessCoder: yep always nice to see what power lies beneath fluid :)
  • 16:23:34 <NamelessCoder> the power of the sun! in the palm of my hand!
  • 16:23:37 <mneuhaus> ^^
  • 16:23:42 <NamelessCoder> of some other supervillain quote
  • 16:23:57 <mneuhaus> + it really feels like are dead-clean api
  • 16:24:09 <NamelessCoder> not yet, but soon ;)
  • 16:24:23 <NamelessCoder> it's messy now compared to the cleansed standalone fluid
  • 16:24:24 <mneuhaus> i mean from the html < > php world
  • 16:24:39 <NamelessCoder> ah right - yeah, the cleaning has almost entirely been internal API
  • 16:25:08 <mneuhaus> flux, and fluid is basically nothing else as a simple powerfull api
  • 16:25:30 <NamelessCoder> the XSLT nature is a stroke of genius
  • 16:26:09 <mneuhaus> how's the state of the cleansing by the way?
  • 16:26:19 <mneuhaus> i mean state of reintegration towards typo3
  • 16:26:23 <NamelessCoder> feature complete, unit tests ~ 60%
  • 16:26:31 <NamelessCoder> tests being done by Benni Mack among others
  • 16:26:32 <mneuhaus> nice
  • 16:27:00 <NamelessCoder> I expect to be able to begin the merge request any day now; plan is to include in 7.5
  • 16:27:12 <mneuhaus> yeah :)
  • 16:27:16 <NamelessCoder> it's going to be GOOD ;)
  • 16:27:18 <mneuhaus> ^^
  • 16:27:21 <mneuhaus> sure will :)
  • 16:27:34 <NamelessCoder> I'm going to abuse the fuck out of ExpressionNodes
  • 16:27:59 <mneuhaus> every time i have to use old pibase-shit i sit there and some fluid starts dripping from my eye ^^
  • 16:28:05 <NamelessCoder> hehe
  • 16:28:28 <mneuhaus> like for example?
  • 16:28:31 <NamelessCoder> I'm doing a huge project these days and it is almost exclusively pibase. I get to work with just two fluid implementations there. It sucks. :)
  • 16:28:37 <NamelessCoder> {somevariable as integer}
  • 16:28:49 <NamelessCoder> {somestupidobject as upcastedclass}
  • 16:29:16 <mneuhaus> phew, nice
  • 16:29:17 <NamelessCoder> {someobject::somemethod(parameter: foo)}
  • 16:29:32 <mneuhaus> hmm, not sure if i like that
  • 16:29:36 <NamelessCoder> {mynumber + 10}
  • 16:29:41 <NamelessCoder> it'd all be optional
  • 16:29:52 <mneuhaus> breaks the cleanlyness of the html<>php bridge
  • 16:29:56 <mneuhaus> yea sure
  • 16:30:11 <mneuhaus> but everything that there is, will be violated to death ^^
  • 16:30:33 <NamelessCoder> yep that's why we ship with no extra bells and whistles ;)
  • 16:30:37 <mneuhaus> ^^
  • 16:30:47 <NamelessCoder> will all be controlled (or rather, controllable) from view to view
  • 16:31:13 <NamelessCoder> supported node types can be versioned, for example always syncing with the COMPAT_VERSION flag
  • 16:31:42 <NamelessCoder> oh yeah and dynamic variable providers
  • 16:31:55 <NamelessCoder> 100% replaceable template paths lookups
  • 16:31:59 <mneuhaus> you mean version 7.4 of IfViewHelper .vs version 7.5?
  • 16:32:04 <NamelessCoder> (you don't even need templates soon)
  • 16:32:12 <NamelessCoder> for example, yes
  • 16:32:16 <mneuhaus> nice
  • 16:32:37 <NamelessCoder> basically every damn part of the engine can be switched at runtime. Compatibility mode per-extension, anyone?
  • 16:32:43 <mneuhaus> what i sometimes think other template engines do better is
  • 16:32:52 <mneuhaus> layout/partial/template vs "extend"
  • 16:33:10 <NamelessCoder> I don't like the "extend" approach at all
  • 16:33:26 <NamelessCoder> I'll choose which and how much of the trinity I need
  • 16:33:34 <mneuhaus> main thing i don't like for example would be optional sections with default content
  • 16:33:42 <NamelessCoder> sometimes just a Template, sometimes Template + Layout, sometimes Template + Partials, sometimes all.
  • 16:33:45 <mneuhaus> main thing i'd like to see i mean
  • 16:34:24 <NamelessCoder> standalone fluid makes both partials and sections optional (as in: skip if not found)
  • 16:34:38 <NamelessCoder> does not have default content support... didn't think about that.
  • 16:34:45 <NamelessCoder> but why the hell not.
  • 16:34:54 <mneuhaus> <section name="foo">default foobar</section>
  • 16:35:00 <mneuhaus> simply yet effective
  • 16:35:16 <NamelessCoder> give me a minute ;)
  • 16:35:22 <mneuhaus> ^^
  • 16:35:56 <mneuhaus> probably relatively easy, didn't have time to dig in yet ^^
  • 16:36:39 <mneuhaus> btw, if you want to see some extbase abomination in typo3 core take a peak at the indexed_search SearchController ^^
  • 16:38:06 <mneuhaus> so, i think i'll hit the hay, up since 6:00 :)
  • 16:38:13 <NamelessCoder> well that was easy
  • 16:38:24 <mneuhaus> will take care of the pr tomorrow :)
  • 16:38:39 <mneuhaus> yea, i tought it wouldn't be much :)
  • 16:39:02 <NamelessCoder> sleep tight - pushing the feature in a minute or so
  • 16:39:08 <NamelessCoder> thanks for suggesting that coolness ;)
  • 16:39:11 <mneuhaus> that way you can have a "default header" in the layout and simply override if you need to
  • 16:39:20 <NamelessCoder> yeah it's going to rule
  • 16:39:23 <mneuhaus> hehe you're welcome :)
  • 16:39:29 <mneuhaus> good night!
  • 16:39:31 <NamelessCoder> {default -> f:render(section: 'Main')}
  • 16:39:32 <NamelessCoder> hehe
  • 16:39:37 <NamelessCoder> yep, this will be nice indeed