IRC logs

20140316

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

IRC log range: 20140316*

20140316

  • 13:24:00 <randomresult> NamelessCoder u r there?
  • 13:24:12 <randomresult> or someone else from the team?
  • 13:25:44 <NamelessCoder> what's up Harry?
  • 13:26:21 <randomresult> guess what: i understood something!
  • 13:26:22 <randomresult> :)
  • 13:26:39 <NamelessCoder> hehe
  • 13:26:39 <randomresult> what contentcontrollers are for... an im loving it.
  • 13:27:15 <randomresult> so i placed all my if-conditions in there and now my template (section main) is very clean.
  • 13:27:27 <NamelessCoder> indeed
  • 13:27:45 <randomresult> so now my question: the contentcontroller is for the frontend... is there something for the backend as well?
  • 13:28:13 <randomresult> i have a lot of if-condions and switchcases for the backendsection (confinguration) too
  • 13:28:17 <NamelessCoder> depends on what you mean
  • 13:29:05 <randomresult> ok. i will paste u my template... and then another question... im checking my extension using builder.
  • 13:29:14 <NamelessCoder> you have a few options: custom Provider, custom FormComponents or custom control ViewHelpers like fx custom conditions
  • 13:29:22 <NamelessCoder> ideal I think would be custom form components
  • 13:30:05 <randomresult> and builder tells me some warnings and errors. .. is there any documentation or something? cause its... not very specific.
  • 13:30:17 <NamelessCoder> https://github.com/FluidTYPO3/documentation/tree/rewrite/4.AdvancedProviders/4.3.CustomFormObjects but still not filled in :(
  • 13:30:18 <randomresult> ok. i will look at custom form components.
  • 13:30:55 <randomresult> hehe...
  • 13:31:01 <NamelessCoder> do you have large pieces of shared form fields?
  • 13:31:31 <randomresult> shared over fce templates?
  • 13:31:36 <NamelessCoder> yes
  • 13:31:46 <randomresult> not really, not yet
  • 13:32:03 <NamelessCoder> how many FCEs do you have?
  • 13:32:15 <randomresult> puh
  • 13:32:22 <randomresult> right now?
  • 13:32:28 <randomresult> 12 maybe
  • 13:32:30 <NamelessCoder> ok
  • 13:32:35 <randomresult> some grids
  • 13:32:41 <randomresult> some slider
  • 13:32:48 <NamelessCoder> I'll teach you something you're going to love
  • 13:32:54 <NamelessCoder> even more than controllers I think ;)
  • 13:33:06 <NamelessCoder> FluidTYPO3\Flux\Form can be subclassed
  • 13:33:28 <NamelessCoder> if you do that, you can create PHP representations of all your forms and use those instead
  • 13:33:39 <NamelessCoder> - and remove the Configuration section from your templates ;)
  • 13:33:57 <randomresult> example?
  • 13:34:03 <NamelessCoder> no examples exist
  • 13:34:10 <randomresult> you know ur crazy dont u?
  • 13:34:17 <NamelessCoder> yeah, I know :)
  • 13:34:30 <randomresult> this happens if u listen to HM
  • 13:34:39 <NamelessCoder> hehehe yeah
  • 13:35:43 <randomresult> ok. ok. will there be some examples in the future?
  • 13:36:45 <NamelessCoder> https://gist.github.com/NamelessCoder/9582594
  • 13:37:13 <NamelessCoder> using $this->createContainer('Section'); etc. you can build all the components that normally get parsed from the Flux template
  • 13:37:45 <NamelessCoder> intiializing the custom object so it gets filled with these nested child components - sections, containers, fields, wizards and even the grid
  • 13:38:02 <NamelessCoder> to then use your special Form along with your templates....
  • 13:40:00 <NamelessCoder> https://gist.github.com/NamelessCoder/9582594 updated
  • 13:40:24 <NamelessCoder> comes with no warranty, I wrote it directly - completely untested
  • 13:40:48 <randomresult> ok. i will check.
  • 13:40:56 <randomresult> where do u get all this from?
  • 13:41:05 <randomresult> ur on christal?
  • 13:41:13 <NamelessCoder> hehe
  • 13:41:31 <NamelessCoder> no, just reasonably clever I guess ;)
  • 13:41:43 <randomresult> this was a serious question
  • 13:42:49 <NamelessCoder> I don't know where I get it from... in this case it was originally a simple idea (viewhelpers) which was refined into PHP objects so they could be used in more ways
  • 13:43:29 <randomresult> we are getting close, that i will not use any extensions no more...
  • 13:43:40 <NamelessCoder> you should rarely need it
  • 13:44:14 <randomresult> i know
  • 13:44:16 <NamelessCoder> oh btw...
  • 13:44:32 <NamelessCoder> when you've learned making these custom forms, you can start using them instead of TCA, too
  • 13:44:50 <randomresult> oh btw sounds like "i have on more thing... " (st.jobs.)
  • 13:44:59 <NamelessCoder> ...and you've almost reached the bottom internals then :)
  • 13:45:45 <randomresult> puh. ok. i will now bring my son to bed. and then get crazy again!
  • 13:45:49 <randomresult> thx. a. lot.
  • 13:46:02 <NamelessCoder> such Forms will also be supported by EXT:fromage (for example, letting you construct a Form, passing it to view, then using a ViewHelper to create an FE form based on the Form instance)
  • 13:46:10 <NamelessCoder> so it is indeed a very good thing to learn!
  • 13:46:19 <NamelessCoder> it is also MUCH faster than Fluid ;)
  • 13:46:31 <NamelessCoder> and you're welcome, of course
  • 13:46:46 <randomresult> i never took a closer look at fromage.
  • 13:47:00 <randomresult> i will. will u update view as well?
  • 13:47:02 <NamelessCoder> it's not ready for use at all, will take months to complete
  • 13:47:12 <NamelessCoder> but it will do what I described =)
  • 13:47:19 <randomresult> :)
  • 13:47:31 <randomresult> and please... fluidcontent_core
  • 13:47:42 <NamelessCoder> gaah last thing, then I will stop... Forms can also be defined in TypoScript.
  • 13:48:12 <randomresult> you are so fu*ing crazy. all of u. scares me a bit
  • 13:48:28 <randomresult> brb
  • 14:39:19 <16WAA5X52> [vhs] bjo3rnf pushed 2 new commits to master: https://github.com/FluidTYPO3/vhs/compare/f3215a681ce9...06d7fd8d9082
  • 14:39:19 <16WAA5X52> vhs/master 5b9807e Claus Due: [FEATURE] Cookie-less domain prefix setting...
  • 14:39:20 <23LAAULTQ> [vhs] bjo3rnf closed pull request #491: [FEATURE] Cookie-less domain prefix setting (master...cookielessmonster) https://github.com/FluidTYPO3/vhs/pull/491
  • 14:39:20 <16WAA5X52> vhs/master 06d7fd8 Björn Fromme: Merge pull request #491 from NamelessCoder/cookielessmonster...