Rewrite of "core" framework basically done!

The huge rewrite is finally done. The application "tests" runs again without errors. I have rewritten the launch part of an application by rewriting many pre-deprecated sections and loosing about 5-7 include files (which is good for performance). "Detection" of the application's name (parameter: app) was very badly written, e.g. $_GET was checked again, even when there was already a Requestable instance around.

This is now finally done and I'm going to rewrite my application "hub" towards these changes. The #GIT repository is here:
#GIT core floss framework php7 rewrite
And remove discouraged ?> end-tag. ;-)
Turning 04:00 a.m. here, turning myself in.
Lot's of code moved and tons of "imported FooBar" and "created namespace" done, still a lot (of same) to do. Plus I need to rewrite socket-container stuff ... And more!
More stuff rewritten, like the socket container, now more methods are working, still a lot ahead.
Had been out to my wife's friend's family this day. Yesterday and this morning I continued to rewrote from direct socket resource (no type-hint possible in #PHP ) to socket container class, including interface (as usual for my programming).
Next hard nut to crack: #UDP sockets "listening" on incoming "connections" (yes, I know, UDP is connection-less).

Wildbienen kann geholfen werden

Insektenhotels und Nisthilfen - Wildbienenschreiner

Willkommen beim Wildbienenschreiner. Wir leifern Ihnen professionell gefertigte Insektenhotels und Nisthilfen aus dem Schwarzwald.
aussterben bienenhotel wildbienen

Coding convention rewrites 2-5-2 of 2-14-2

PR request 3469 is out which contains changes towards a Friendica-wide coding-convention. As requested earlier, I have splitted my 119 (!) files large PR into several small to make it easier for the reviewers (not to review tons of changes but small chunks then).

So as you (dear users) can see, #Friendica is being rewritten in many directions. No new stuff but more clear code where I hope to have later an even more clear code (better understandable by humans, a computer can read any badly formatted code as long as it is valid).

@Friendica Developers

Edit: Here is the link to the PR: https://github.com/friendica/friendica/pull/3469
#Friendica @Friendica Developers code coding-convention friendica php
PR 3473 is up: https://github.com/friendica/friendica/pull/3473 split 6 of 14 of 2nd wave.
Added some changes to include/text.php, in the start of the PR I just rebased the branch towards upstream/develop.
3588 is out and waits for a CR (with fixes).
I ran php util/typo.php again and it failed ????
:D I hope we can also solve that issue with ./vendor/ directory then. Because looked globally (PHP community) most projects using composer install will ignore it because it is considered as "build" (locally recreated) directory.
What is the issue with vendor?
It should be ignored entirely and not committed as it will be rebuild by composer install. If that is to hard/impossible for some users, then they should download pre-built "binary" packages (including vendor).
This is the end goal, however it is a gradual process. For now I believe we don't have a good enough routine to offer a pre-built archive of the latest version of Friendica, also not all the people using the dev branch are aware about the extra steps required to build the dependencies. I'm voluntarily not in the loop anymore so I couldn't give you a timetable, but I believe it is on track to remove vendor from version control eventually.
Sorry, had not continued on it. Maybe when time allows it. And then I have to rebase a lot.

Thumb up for fixing this reposting-loop bug. :-)
Later posts Earlier posts