# |
Oct 4th 2018, 12:46 |
admad |
doesn't need anything extra, diactoros already provides a stream reponse class but you need to understand how to generate a streaming response in php in general |
# |
Oct 4th 2018, 12:46 |
btx |
I was also thinking of generating the XML on a CRON but I’d hit the same memory issue at the cli level |
# |
Oct 4th 2018, 12:45 |
btx |
@admad is that something that needs special libs? or is it as “simple” as using javascript to keep calling paginated data until the resultset is empty? |
# |
Oct 4th 2018, 12:43 |
drkhshOy |
But won't that show the base widget a lot of times? I mean widgetShowAll is recursive |
# |
Oct 4th 2018, 12:43 |
drkhshOy |
use imgur |
# |
Oct 4th 2018, 12:43 |
admad |
streaming is what you are looking for |
# |
Oct 4th 2018, 12:43 |
drkhshOy |
koala_man presented a more compelling use case |
# |
Oct 4th 2018, 12:43 |
drkhshOy |
its like a very gay song |
# |
Oct 4th 2018, 12:43 |
drkhshOy |
rf? |
# |
Oct 4th 2018, 12:43 |
btx |
that’s because I’m not sure what approach is best (or even an option) |
# |
Oct 4th 2018, 12:43 |
admad |
cake's View will always buffer, if you want to stream than you need to create a streaming response yourself |
# |
Oct 4th 2018, 12:42 |
admad |
first get your terms right: buffering and streaming are kinda opposite :slightly_smiling_face: |
# |
Oct 4th 2018, 12:42 |
btx |
does anyone know if it’s possible to buffer/stream/etc large datasets to a Cake view? I have an XML view that needs to display a large dataset (10k-30k records) and i’m hitting memory errors (as is to be expected) |
# |
Oct 4th 2018, 12:41 |
vinicius.big |
they are all in the last version |
# |
Oct 4th 2018, 12:15 |
vinicius.big |
I've just checked the versions: ``` cakephp/cakephp: 3.6.12 cakedc/auth: 3.0.0 cakedc/users: 7.0.2 ``` |
# |
Oct 4th 2018, 12:14 |
vinicius.big |
I did a fresh install for `Cakephp` and `CakeDC/Users` So, Its suppose to do the last version |
# |
Oct 4th 2018, 11:55 |
admad |
slack threads are awful |
# |
Oct 4th 2018, 11:54 |
admad |
thanks :slightly_smiling_face: |
# |
Oct 4th 2018, 11:49 |
nwokigM |
And pZombie that's what the linked Wikipedia page does |
# |
Oct 4th 2018, 11:49 |
nwokigM |
https://i.imgur.com/DS62QMd.png any CAD gurus around? |
# |
Oct 4th 2018, 11:49 |
nwokigM |
but when i run it .. |
# |
Oct 4th 2018, 11:47 |
neothermic |
@neon1024 You mention swift, we're still using it for sendgrid :| |
# |
Oct 4th 2018, 11:46 |
devran |
For work I need to implement a websocket server, but when I looked around I could not really find a proper framework that works with cakephp, have any of you used phpsocket.io in combination with cakephp? |
# |
Oct 4th 2018, 11:44 |
devran |
I was wondering if anyone could help me with a question regarding websockets. |
# |
Oct 4th 2018, 11:42 |
wyrihaximus |
Cool sure,got back home yesterday so I'll have a look at it tonight ;) |
# |
Oct 4th 2018, 11:40 |
admad |
i managed to get bake running with cake 4.x using my `cake-4.x` branch for twigview |
# |
Oct 4th 2018, 11:39 |
admad |
please look into getting rid of those phaker error when you have time. |
# |
Oct 4th 2018, 11:38 |
admad |
hehe, hi. we had the discussion on GH after this msg. |
# |
Oct 4th 2018, 11:30 |
Letze |
I searched and they don't see to exist, sadly :-( |
# |
Oct 4th 2018, 11:30 |
Letze |
does anyone know where I can get printed books regarding version 3.x ? |
# |
Oct 4th 2018, 11:27 |
wyrihaximus |
I am now :P |
# |
Oct 4th 2018, 11:14 |
Leeds |
guides get outdated and inaccurate |
# |
Oct 4th 2018, 11:14 |
Leeds |
Pick a copy of DandF for sure |
# |
Oct 4th 2018, 11:14 |
Leeds |
if one of the Recursives reaches the end of its catamorphism before the other, i want to return the result of the finished one and the remainder of the other |
# |
Oct 4th 2018, 11:14 |
Leeds |
YouMight, try ./join #voyager |
# |
Oct 4th 2018, 11:07 |
spriz |
Ah okay - I never thought of anything I’d need over SMTP’ing |
# |
Oct 4th 2018, 11:07 |
narendravaghela |
and the requirement itself. |
# |
Oct 4th 2018, 11:07 |
narendravaghela |
But it depends on ESP |
# |
Oct 4th 2018, 11:07 |
narendravaghela |
For more options and control I guess |
# |
Oct 4th 2018, 11:05 |
spriz |
besides some perf I’d guess |
# |
Oct 4th 2018, 11:05 |
spriz |
I mean - what’s the benefit on using specific implementations to their APIs? |