Claus Due Profile Banner
Claus Due Profile
Claus Due

@NamelessCoder

Followers
1,061
Following
191
Media
1,092
Statuses
13,455

Open Source developer, expert PHP freelancer, founder of the Fluid Powered TYPO3 extension suite, admirer of logic and reason - and death metal aficionado.

Denmark
Joined June 2011
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
Pinned Tweet
@NamelessCoder
Claus Due
2 years
Hello #TYPO3 ! @busynoggin and I have something special for you today - heavily inspired Fluid 3.0's ability to declare parameters (arguments) for any Fluid template or section, I present to you a little package that lets you do that in any current project:
0
0
6
@NamelessCoder
Claus Due
7 years
Tweet media one
24
59
327
@NamelessCoder
Claus Due
7 years
Tweet media one
1
9
214
@NamelessCoder
Claus Due
4 years
@DarshunKendrick Urgh... if you apply that "logic" to your work as an attorney I am seriously afraid for your clients' well being. "If you have to tell people you're NOT guilty, changes are... you're guilty". This "logic" is so faulty that it's hard to believe any sane person would attempt it.
8
2
176
@NamelessCoder
Claus Due
7 years
@LiteralSalt This is just so incredibly shetarded.
1
6
124
@NamelessCoder
Claus Due
10 months
@LeoKearse Reaching. And failing. It’s a stuffed octopus, and you’re clearly imagining something that just isn’t there. Time to get off Twitter for a bit?
21
1
141
@NamelessCoder
Claus Due
5 years
Hello #TYPO3 . Just wanted to say I finished my proof of concept for this part as well, core-native "grid elements" feature, minus FE implementation which I hope to complete tomorrow (will likely be a DataProcessor and a delegate for use in controllers). Some illustrations:
Tweet media one
Tweet media two
Tweet media three
@NamelessCoder
Claus Due
5 years
And when I'm done with that I'm making it possible to resolve a nested BackendLayout by passing a content record. If all goes well this becomes a nested content grids feature for next TYPO3 version - fully capable of supporting third party solutions, with a clean API.
1
0
9
11
15
75
@NamelessCoder
Claus Due
4 years
Picked up the keys to my new home today. Feels good man!
Tweet media one
Tweet media two
Tweet media three
Tweet media four
18
1
71
@NamelessCoder
Claus Due
7 years
@jordanbpeterson QUICK! HIDE THE EVIDENCE!!! Damn that was quick. Was was that... 15 seconds?
5
0
56
@NamelessCoder
Claus Due
7 years
Here you go, #TYPO3 - a much improved debug for Fluid: * Debug with JS console, no output * Pass-through variables, can be wrapped/chained anywhere * Has xdebug breakpoint support * Dumps also virtual getter-accessible values * App Context sensitive
7
18
59
@NamelessCoder
Claus Due
5 years
Hello #TYPO3 . I’ll be in charge of merging fixes and features for your Fluid, performance and caching needs. Basically this means I’ll be the main person helping you if you make contributions to those areas. Proud to join this team of dedicated people!
5
5
61
@NamelessCoder
Claus Due
5 years
Update: #TYPO3 Fluid 3.0 is very nearly done. It is more or less a redesign from the ground up. The code base is significantly smaller - 11,000 lines of code have been removed. Another 6,500 lines have been changed. Ditching PCRE has very much revolutionised it.
10
17
61
@NamelessCoder
Claus Due
5 years
The #TYPO3 patch is aliiiiive! Only 900 new lines of code including the feature doc and whitespace...
@NamelessCoder
Claus Due
5 years
Hello #TYPO3 . Just wanted to say I finished my proof of concept for this part as well, core-native "grid elements" feature, minus FE implementation which I hope to complete tomorrow (will likely be a DataProcessor and a delegate for use in controllers). Some illustrations:
Tweet media one
Tweet media two
Tweet media three
11
15
75
3
13
57
@NamelessCoder
Claus Due
1 year
@NHJespersen Overså du den ret væsentlige detalje, at standard influenza hvert år slår flere ihjel, uden det får os til at lukke hele samfundet ned i panik? Eller er dit ærinde blot at forsvare den absurd skadelige og totalt uproportionelle panik-nedlukning, som din kære leder påførte os?
4
0
51
@NamelessCoder
Claus Due
6 years
@stillgray At least they didn't add "Russian bot"...
1
0
37
@NamelessCoder
Claus Due
5 years
Time flies when you're having fun. It has been almost 5 years since I extracted #TYPO3 Fluid to a library shared by both #TYPO3 and #NeosCMS /Flow, as well as used independently. I hope everyone is happy with the progress :) With thanks to my co-maintaners and all contributors!
2
3
50
@NamelessCoder
Claus Due
8 years
@Sargon_of_Akkad Say hello to Harambe McHarambeface -
2
28
46
@NamelessCoder
Claus Due
4 years
The VHS extension for #TYPO3 just crossed 1 million total installs. Some celebration is in order :)
8
4
52
@NamelessCoder
Claus Due
7 years
@stillgray Not to speak of the monumentally stupid, jaw-dropping ignorant idea that food has no supply chain until it reaches the kitchen. Magic!
3
8
41
@NamelessCoder
Claus Due
6 years
Excellent news, #TYPO3 ! The three 2019 budget applications I submitted have all been approved. This means that: * There will be a Fluid 3.0 workshop in DK! Yay! * And an attempt that TER becoming a Packagist/composer proxy. * And some days for TYPO3 experiments. I have PLANS!
5
8
51
@NamelessCoder
Claus Due
7 years
That's all, folks! Hard work, coming up with 24 unique tips, and making sure one was ready each day - but I'm glad I did it. Not sure I'll be doing it again next year though, but you never know! Have a merry Christmas and safe new year and thank you for reading! #TYPO3 #Fluid24
11
5
49
@NamelessCoder
Claus Due
2 years
@jordanbpeterson Lack of anonymity does not prevent sadism. While removing anonymity *may* (and I stress MAY) reduce sadism, it also punishes every non-sadistic user who requires anonymity to avoid repercussions (including human rights abuses from governments).
3
4
44
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 10: In TYPO3 #CMS , a global array of default Fluid namespaces exists and can be used to make your namespace available in any template without importing it; or to change/extend the Fluid namespaces the TYPO3 core adds.
Tweet media one
1
20
42
@NamelessCoder
Claus Due
7 years
It is decided. I'll be tweeting a Christmas calendar of #TYPO3 Fluid (and CMS) pro-tips. Tweets will use #TYPO3 and #Fluid24 hash tags. Take one per day and jingle all the way - stay tuned from tomorrow!
3
12
45
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 1: Starting with a small and easy example - Fluid can assign variables in a couple of handy ways. Useful among other things to reduce duplicate identical ViewHelper calls or defining variables before passing to f:render.
Tweet media one
3
20
42
@NamelessCoder
Claus Due
7 years
@Sargon_of_Akkad In today’s episode, @shaun_jen learns that you should be very careful what you ask for, because you just might get it.
2
0
30
@NamelessCoder
Claus Due
7 years
Thanks to the following ppl in #TYPO3 for their work in 2017: @bennimack and @lolli42 for being tirelessly active in development. Riccardo De Contardi for being the forge issue terminator. @mattLefaux for doing more than I realised to move TYPO3 forward. And *everyone* else!
3
16
38
@NamelessCoder
Claus Due
7 years
Half way to the end! Hope everyone is enjoying the #TYPO3 #Fluid24 calendar so far :)
5
0
39
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 15: I've been looking forward to sharing this one most of them all. You can use "contentAs" on f:render to render the tag content and pass it as a variable. You can even nest f:render inside f:render to make both wrap and body render from partials/sections.
Tweet media one
3
19
36
@NamelessCoder
Claus Due
4 years
At this tweet's timestamp, UNIXTIME is precisely 1600000000. Happy roundaversary!
0
4
34
@NamelessCoder
Claus Due
8 years
It's alive! My new #TYPO3 production: RPC. Video tour and further links on - hope you enjoy!
Tweet media one
5
13
36
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 3: Fluid has a parsing modifier which can disable Fluid's parser in one template file, even if you use f:render to render the template. Useful when including for example Mustache or namespaced XML template chunks.
Tweet media one
1
15
37
@NamelessCoder
Claus Due
5 years
Currently tearing the 2069 lines internal-API #TYPO3 PageLayoutView into bits and pieces, then welding the pieces back together into smaller, purpose-specific units with BackendLayout as the public API for it all. This ancient thing is terribly dusty and need to be cleaned.
4
1
34
@NamelessCoder
Claus Due
5 years
Oh right! It's that time of year again. If I counted it right, this month marks my 11th year of involvement with #TYPO3 . No regrets! 11 years of making things better. 11 years of making a living doing free software. 11 years full of great people.
1
1
33
@NamelessCoder
Claus Due
5 years
Achievement unlocked: replace #TYPO3 Fluid's regular expressions with ASCII sequencing voodoo that has no stack recursion, doesn't care about escaping of inline syntax and correctly ignores JS/CSS. And is smaller and faster than the regular expressions. Productive week so far.
2
6
34
@NamelessCoder
Claus Due
6 years
@stillgray Four of those five died by wand, two were killed because of a wand, and the last one killed(?) at least two baddies with one. Loving the irony, it couldn't be more complete.
0
0
24
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 2: Fluid can do simple math operations, making it easier to create things like progress status (or bars) based on raw input numbers.
Tweet media one
1
13
35
@NamelessCoder
Claus Due
1 year
@Ian_Parsley @SpankySpankster Try to think for just one moment what that silly argument actually says about communist countries…
0
0
29
@NamelessCoder
Claus Due
7 years
#TYPO3 Fluid pro-tip: Fluid can natively cast CSV to array to use in for example loops.
Tweet media one
3
15
34
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 14: Fluid has "if" and "else" behaviors, but it also does "else-if" which can be used to add a condition to an "else" node, making Fluid continue evaluating until an "else" is matched or a final "else" without condition is found.
Tweet media one
0
16
33
@NamelessCoder
Claus Due
7 years
@jordanbpeterson Clearly an idol of Kek
0
0
24
@NamelessCoder
Claus Due
2 years
Tweet media one
1
4
31
@NamelessCoder
Claus Due
10 months
@Dave_Goldcrest @LeoKearse That’s because it isn’t.
3
0
27
@NamelessCoder
Claus Due
7 years
In two days I will have worked with #TYPO3 for exactly 9 whole years. I’ve done other things too of course, but TYPO3 was always there.
4
2
31
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 24: Merry Christmas! By popular demand, the final tip is a strategy that combines several other tips, with the goal of avoiding escaping of quotes in Fluid. I’ll write a bit in this thread about the benefits of using that kind of strategy in your templates.
Tweet media one
1
10
29
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 5: Fluid supports variable access with dynamic names/parts of name.
Tweet media one
1
10
30
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 4: There are two main ways you can render default output when an optional section or partial (or section in partial) is not found. Particularly useful when you render sections with a dynamic name coming from a variable.
Tweet media one
0
13
29
@NamelessCoder
Claus Due
1 year
Hey #TYPO3 - it finally happened: Flux v10.0.0 is released! It features TYPO3v12 compatibility, drops support for TYPO3v8 and v9 - and contains an absolute heap of bug fixes. This version is a breaking major release, including removals of code/features. An info thread.
2
4
30
@NamelessCoder
Claus Due
5 years
Ahoy #TYPO3 ! The VHS extension has been updated to version 6.0.0. Being a new major version, it contains a couple of breaking changes - namely the removal of some deprecated classes (for which core-native alternatives now exist). Changelog can be found at
1
4
28
@NamelessCoder
Claus Due
8 years
Finally got this addition to for #TYPO3 working smoothly. Next up, making it pretty.
2
6
28
@NamelessCoder
Claus Due
5 years
Hello #TYPO3 developers! Fluid 3.0 is coming closer and we are having a workshop in Denmark to focus on type strictness, parameterised templates and more. If you’d like to help, and learn and influence how Fluid works in the next version, then apply now!
2
18
27
@NamelessCoder
Claus Due
3 years
26 years of constant pain is over... ...Internet Explorer is finally dead!
5
0
25
@NamelessCoder
Claus Due
6 years
That's all, folks! Shut down, work-wise, until 2019. Time to recharge the battery that's been running overtime. Maybe even leave Twitter alone for a week. From me to all of you: have a merry Christmas and a happy new year! See you on the other side :)
2
0
27
@NamelessCoder
Claus Due
7 years
Hands up if you suspected the reasons were indeed political rather than about sexual orientation or telling people "be well" at conferences.
0
8
22
@NamelessCoder
Claus Due
5 years
On a final note, the current state of Fluid 3.0 has no cache - the new engine performs so well that (at least with my use cases) caching is no longer required. The engine is so optimised that it even outperforms unserialize() - parsing is faster than unserializing a stored tree.
2
2
27
@NamelessCoder
Claus Due
8 years
@_ThatGuyT In Denmark, one is extremely illegal and the other is used to violate people's rights and our nation's sovereignty. Guess which?
1
6
19
@NamelessCoder
Claus Due
5 years
Sneak peek at the #TYPO3 Fluid 3.0 demo repository - it’s complete, but may be subject to some changes. Thinking about doing a ~30min live stream on Monday to go through the new features! Feedback is welcome, as it always is.
4
5
23
@NamelessCoder
Claus Due
7 years
#TYPO3 CMS Fluid pro-tip: f:cObject can render content types using ad-hoc emulated/partial tt_content records.
Tweet media one
1
8
24
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 13: It makes sense to use f:section and render it instead to reduce duplication. But it can also make sense to assign the output to a variable and use the variable instead, when the output is always the same. Combine this with previous f:render tips for bonus!
Tweet media one
2
13
25
@NamelessCoder
Claus Due
4 years
PSA: Flux, VHS and indeed all FluidTYPO3 #TYPO3 extensions will continue to be free, as in free beer and free speech. Your donations are not required but are of course always appreciated (and may help to push development and releases to happen quicker)! 10.4 LTS relases pending.
0
6
22
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 9: You can render sections and partials with dynamic names and make it optional, to create different representations for objects that can have multiple types. When used with partials it is a lot easier to customise than a big template with switch/conditions!
Tweet media one
2
10
23
@NamelessCoder
Claus Due
5 years
Hey there #TYPO3 ! I’ve released three new versions for you: * VHS version 5.2.0 * Flux version 9.2.0 * Fluidpages version 5.0.0 100% guaranteed April’s fool joke free.
3
0
22
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 22: There are several ways you can import and ignore namespaces in Fluid, each one has different meaning. Ignoring is particularly useful when your template is XML, or when embedding SVG. Not shown: also possible in PHP via RenderingContext/ViewHelperResolver.
Tweet media one
0
14
23
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 7: Fluid has a whitespace-trimming ViewHelper, f:spaceless, which removes whitespace between but not inside tags.
Tweet media one
3
14
24
@NamelessCoder
Claus Due
5 years
Officially done with all (paid) work for 2019. Time to enjoy some time off. Have a nice Christmas break and merry Friday to all!
2
1
24
@NamelessCoder
Claus Due
5 years
The next major version of #TYPO3 Fluid is a serious improvement for syntax handling, away from regular expressions. Here's a sample of syntax that will be completely valid (pass array as inline child, array improvements, and much more). Will keep updating:
1
6
23
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 12: ViewHelper namespaces can be overlaid by importing to the same namespace alias multiple times. This can be used to merge namespaces or to select ViewHelper overrides from another package; on a per-template or global basis. See also Day 10, works the same!
Tweet media one
1
12
22
@NamelessCoder
Claus Due
6 years
Heavy Metal Detector
Tweet media one
1
6
18
@NamelessCoder
Claus Due
7 years
I wish I knew who to credit with this, but it's been reposted uncredited and google isn't helping. Message is crude but I like the tone!
Tweet media one
1
12
24
@NamelessCoder
Claus Due
5 years
#TYPO3 Fluid workshop is in the bag. Lots of work done to replace regular expressions, add type strictness, clean up legacy code and doc comments, create a documentation entry point and structure - and share all the good ideas about Fluid. More to do still, but there always is :)
1
6
24
@NamelessCoder
Claus Due
7 years
@stillgray This was clearly a trans-species person innocently trying to use the uni-species bathrooms after having made a purchase.
1
1
14
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 17: Tag-based ViewHelpers can support two ways of passing "data-" prefixed attributes. One is ideal for receiving such attributes from an external array. The other is much easier to write. Both can be combined, making one behave like fallbacks/defaults.
Tweet media one
0
13
23
@NamelessCoder
Claus Due
9 years
This one deserves a retweet or twenty. Getting into #TYPO3 for beginners - http://t.co/6gT1LgJCnf
1
27
23
@NamelessCoder
Claus Due
7 years
Achievement unlocked! #TYPO3 FlexForm storage switched to JSON with just 10 lines of code, including a per-field toggle between XML/JSON.
0
5
23
@NamelessCoder
Claus Due
6 years
@Roran_Stehl @LibertarianBlue On behalf of decent Danes, I apologise for Sofie Hagen.
3
0
13
@NamelessCoder
Claus Due
6 years
I've released version 2.6.0 of the #TYPO3 Fluid rendering engine. It contains some pretty significant new features: * Pipe instead of -> as in {var | v:h()} * Inline arguments can be written 100% same as tag attributes * Inline VH: {fluid -> f:inline()}
2
11
22
@NamelessCoder
Claus Due
8 years
If you are a #TYPO3 developer you will know all too well what this is and why I’m working on changing it to this.
4
7
23
@NamelessCoder
Claus Due
7 years
@stillgray @EliotETC @rickyftw You can take those boys out of high school, but you can’t take the high school out of those boys.
2
0
11
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 11: You can use f:or to assign default/fallback values for variables. This can save you from having conditions in the template parts that contain the actual output of variables. Note that a fallback value is only assigned if the variable is precisely NULL!
Tweet media one
1
14
20
@NamelessCoder
Claus Due
5 years
Favorite change this year: "Page is being generated" is gone!
@georg_ringer
Georg Ringer
5 years
A lot of security stuff + new features + NO "page is being generated anymore" #TYPO3
0
7
34
1
3
19
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 6: Fluid supports ternary conditions using variables and simple numbers; but only using variables and simple numbers - e.g. no inline syntax or text. For that, use a normal condition instead.
Tweet media one
1
9
21
@NamelessCoder
Claus Due
8 years
Happy 4th birthday to VHS for #TYPO3 ! 55,000 downloads and more than 80 contributors. Much love and virtual cake for all!
0
3
21
@NamelessCoder
Claus Due
6 years
I didn't forget about #t3kudos ! * 2x Patreon for @cedricziel because I use his PHPStorm plugin literally every day. * 2x Patreon for @ervaude because his blog is still under-appreciated. * But waiting for @helhum to post amazon Christmas wish list... ;)
1
6
20
@NamelessCoder
Claus Due
6 years
I’ve sent three #TYPO3 budget ideas that I hope all get picked up: 1. A small “Fluid 3.0” dev workshop here in Denmark 2. Funds for server team to put TER to sleep and find a new, shiny, git-tag-based way. 3. “Mad Scientist Week Fund” so I can do/continue some crazy experiments.
1
0
18
@NamelessCoder
Claus Due
7 years
@Sugar_Tits_Bear you gotta be more careful what you ask for, Tits. Now this happened.
Tweet media one
3
0
18
@NamelessCoder
Claus Due
5 years
The new Scheduler icon for #TYPO3 is an improvement - but I am going to miss the old egg-timer-what-looks-like-a-South-Park-Canadian-head icon.
Tweet media one
3
1
20
@NamelessCoder
Claus Due
7 years
Are we an open source community or a company which sells access to documentation and promotion materials and requires you to pay in order to be listed? You can all see how I can get confused about this, right?
Tweet media one
3
4
20
@NamelessCoder
Claus Due
6 years
Version 5.1.1 of the VHS extension for #TYPO3 has been released with fixes mainly for TYPO3 9.5 compatibility. Thumbs up to contributors old and new who did almost all the work, I only created a single patch for this version :)
1
1
19
@NamelessCoder
Claus Due
6 years
Milestone for #TYPO3 VHS extension - 250,000 downloads reached, from Packagist (166,000) and TER (85,000). Big thanks for those 100+ people who have helped improve it over the years! …and it makes me very happy that so many people find it useful :)
0
2
19
@NamelessCoder
Claus Due
6 years
@GordonRamsay @breadstkitchen Get chef Ramsay 10cc of kobe beef tartar and a baconwrap bandage, STAT!
0
0
19
@NamelessCoder
Claus Due
4 years
Forever done with living in a city!
Tweet media one
Tweet media two
Tweet media three
2
0
20
@NamelessCoder
Claus Due
6 years
All of the three budget ideas I sent to #TYPO3 have reached enough approval to be included in budget decisions. Thank you everyone who voted! Now I just have to find who did the "Content Strategy/Builder Tool in TYPO3" because I've half done that one already.
2
1
18
@NamelessCoder
Claus Due
5 years
First: escaping quotes in inline syntax is no longer necessary. There are no restrictions on how many sets of quoted strings you can nest without a single escape. No more counting backslashes!
1
0
20
@NamelessCoder
Claus Due
5 years
Here you go, #TYPO3 ! I’m slightly inebriated and it’s Friday 19:35. Perfect time to release an extension: meet “progressor”. Progress bars for slow/long tasks, shown in the backend header. Supports QueryBuilder for “pending” records to monitor DB queues.
1
4
19
@NamelessCoder
Claus Due
7 years
#TYPO3 #Fluid24 Day 8: You can disable HTML entity escaping for an entire file, when you've sanitised all values beforehand or you render formats where potentially unsafe HTML tags is not a concern. Use it to avoid spamming f:format.raw but be careful about when/where you use it!
Tweet media one
0
13
20
@NamelessCoder
Claus Due
4 years
Alright, let me get in on this home-office exhibitionism trend in #VisMigDitHjemmekontor . Debugging tools on screen, heavy-duty debugging tools on wall, heavier-duty death metal on speakers. For debugging.
Tweet media one
4
1
16