# |
Sep 3rd 2019, 15:03 |
neon1024 |
Wowzer! |
# |
Sep 3rd 2019, 15:03 |
alexdd55976 |
infos coming from 3 tables... easy join |
# |
Sep 3rd 2019, 15:02 |
alexdd55976 |
i have a table with 22 results... 346 sql queries are made |
# |
Sep 3rd 2019, 15:02 |
neon1024 |
:grimacing: |
# |
Sep 3rd 2019, 15:02 |
alexdd55976 |
no idea how to call it |
# |
Sep 3rd 2019, 15:02 |
alexdd55976 |
sub-model should be set in air quotes |
# |
Sep 3rd 2019, 15:01 |
alexdd55976 |
a model, that is --- do not ask why --- into multiple files in different folders |
# |
Sep 3rd 2019, 14:56 |
neon1024 |
What’s a sub-model? |
# |
Sep 3rd 2019, 14:54 |
spriz |
>"Oh that project? Yeah, I dunno what happened to it. I guess it went down the drain when X or Y left the company..." |
# |
Sep 3rd 2019, 14:54 |
alexdd55976 |
they guy who coded it, made so many methods in sub-models, that he was not ablte to make one single request to get a list of projects |
# |
Sep 3rd 2019, 14:54 |
spriz |
:) |
# |
Sep 3rd 2019, 14:53 |
spriz |
:cold_sweat: delete it quickly and never mention it again |
# |
Sep 3rd 2019, 14:51 |
alexdd55976 |
:boom: |
# |
Sep 3rd 2019, 14:51 |
alexdd55976 |
project still not live |
# |
Sep 3rd 2019, 14:51 |
alexdd55976 |
btw... last commit: 9 month ago. before that: 2 years ago. inital commit: 5 years ago. |
# |
Sep 3rd 2019, 14:50 |
alexdd55976 |
this is the longterm plan... if you see the million methods, classes, objects divided in like 100 folders... writing it new will save weeks and weeks of migrationwork |
# |
Sep 3rd 2019, 14:49 |
dereuromark |
breath, port it to cake. :slightly_smiling_face: enjoy your cake slice. |
# |
Sep 3rd 2019, 14:49 |
dereuromark |
looks like it is stuck somewhere in 2009 or sth. |
# |
Sep 3rd 2019, 14:48 |
alexdd55976 |
and additionally to that codeception is somehow required.. no idea why... f*uckf*ck*fu*ck |
# |
Sep 3rd 2019, 14:47 |
alexdd55976 |
i need to... we need to write some tests on logic behind it. but composer can not install sh*t... literally no version met any requirements of this project... |
# |
Sep 3rd 2019, 14:45 |
dereuromark |
why are you even looking at it? :slightly_smiling_face: `php: >=5.1.0` looks very modern |
# |
Sep 3rd 2019, 14:45 |
alexdd55976 |
some dev who worked here coded an application with yii and created a mess with code, folders, whatever... |
# |
Sep 3rd 2019, 14:44 |
alexdd55976 |
here is some off topic: why the f*ck is yii such a piece of horse crap? and why is composer not able to fullfill the requirement on packages... :horse: :shit: |
# |
Sep 3rd 2019, 14:43 |
dereuromark |
jep, async for the win |
# |
Sep 3rd 2019, 14:43 |
jotpe |
most non devs will probably hit the "refresh" button :slightly_smiling_face: |
# |
Sep 3rd 2019, 14:43 |
alexdd55976 |
generating those e.g. json files should be triggered through cronjobs.. or changing parent files whatever. on login just loading the content into the user/auth object is fast. |
# |
Sep 3rd 2019, 14:41 |
admad |
devs can always change |
# |
Sep 3rd 2019, 14:41 |
admad |
i guess not really stupid, normal users would find them more useful |
# |
Sep 3rd 2019, 14:41 |
dereuromark |
hehe |
# |
Sep 3rd 2019, 14:41 |
admad |
although all these new laptops have those stupid media keys enabled by default for the function keys in bios |
# |
Sep 3rd 2019, 14:40 |
ricksaccous |
lolll |
# |
Sep 3rd 2019, 14:40 |
admad |
you are make it show a message after 5 min "We admire your patience by now it's time to hit F5" |
# |
Sep 3rd 2019, 14:39 |
ricksaccous |
I've heard of such a case |
# |
Sep 3rd 2019, 14:39 |
ricksaccous |
some people can wait hours for those spinners |
# |
Sep 3rd 2019, 14:38 |
admad |
@dereuromark show them a fancy loading spinner on submit :troll: |
# |
Sep 3rd 2019, 14:37 |
dereuromark |
Until then all cool |
# |
Sep 3rd 2019, 14:37 |
dereuromark |
I would say it matters if becomes seconds :slightly_smiling_face: As people tend to f5 then |
# |
Sep 3rd 2019, 14:37 |
dereuromark |
fair enough |
# |
Sep 3rd 2019, 14:34 |
alexdd55976 |
actually... during login.. speed does not matter... after login it should be in the Authentication to compare to called controller and action. should be super fast then |
# |
Sep 3rd 2019, 14:32 |
dereuromark |
Feel free to help out and make the PRs for the speaking methods. I am sure people will appreciate it. |
# |
Sep 3rd 2019, 14:32 |
dereuromark |
with the options part it cannot really |