# |
Nov 15th 2019, 08:17 |
kgb.acct.personal |
Not that large but "max allowed memory" error is triggered when large amount of data is queried for export |
# |
Nov 15th 2019, 08:16 |
admad |
exactly how large is "large"? |
# |
Nov 15th 2019, 08:15 |
admad |
unbuffered query and stream to csv file |
# |
Nov 15th 2019, 08:14 |
kgb.acct.personal |
@admad I mean from table to CSV :cakephp: |
# |
Nov 15th 2019, 08:13 |
admad |
@kgb.acct.personal one way is: directly load csv file into temp database table, perform cleanup / alterations required, then copy/move rows to required table |
# |
Nov 15th 2019, 08:12 |
jotpe |
Unfortunately my Client wants xlsx output :S |
# |
Nov 15th 2019, 08:11 |
kgb.acct.personal |
Speaking of CSVs. What strategy do you use when exporting large amount of data? |
# |
Nov 15th 2019, 08:11 |
admad |
wisest choice is to generate CSVs :slightly_smiling_face: |
# |
Nov 15th 2019, 08:07 |
jotpe |
or better use PHPExcel directly? |
# |
Nov 15th 2019, 08:07 |
jotpe |
and https://github.com/robotusers/cakephp-excel |
# |
Nov 15th 2019, 08:07 |
jotpe |
https://github.com/dakota/CakeExcel |
# |
Nov 15th 2019, 08:07 |
jotpe |
What's a wise choice to generate Excel Files? Awesome list has 2 Excel Plugins, but both updated 3years ago. |
# |
Nov 15th 2019, 07:08 |
jotpe |
Morning, people! And thanks @admad |
# |
Nov 14th 2019, 20:06 |
alexmax |
I find it a bit strange that the deprecation notices aren't context-dependent - i.e. they don't have a different deprecation depending on if you're using the old method as a getter or a setter. |
# |
Nov 14th 2019, 18:40 |
shifat.it |
started |
# |
Nov 14th 2019, 18:40 |
shifat.it |
ok |
# |
Nov 14th 2019, 17:39 |
admad |
@jotpe `Time extends MutableDateTime`, `MutableDateTime extends DateTime` |
# |
Nov 14th 2019, 17:34 |
jotpe |
Does `Cake\I18n\Time` throw any exceptions like PHP's `DateTime` does? Found nothin in the Api |
# |
Nov 14th 2019, 17:23 |
jotpe |
ty @dereuromark |
# |
Nov 14th 2019, 17:23 |
jotpe |
Ay sorry, was just to stupid to google the correct way :slightly_smiling_face: |
# |
Nov 14th 2019, 17:22 |
dereuromark |
Time class, not helper |
# |
Nov 14th 2019, 17:21 |
jotpe |
What is the correct use of the TimeHelper in a Controller again? |
# |
Nov 14th 2019, 17:20 |
dereuromark |
that said: cake is still compatible to windows usually just fine. |
# |
Nov 14th 2019, 17:20 |
dereuromark |
many of us use docker though, or at least cakebox. especially on windows you usually want a unix OS to run your websites. |
# |
Nov 14th 2019, 17:19 |
dereuromark |
https://book.cakephp.org/3/en/quickstart.html |
# |
Nov 14th 2019, 17:18 |
shifat.it |
Just send a doc / link to follow |
# |
Nov 14th 2019, 17:18 |
shifat.it |
i did the something but it doesn't work like this |
# |
Nov 14th 2019, 17:17 |
shifat.it |
for any PHP project what I do .. - open xampp (start apache ,start mysql) - then put the project into htdocs folder |
# |
Nov 14th 2019, 17:16 |
shifat.it |
ok 1 min |
# |
Nov 14th 2019, 17:16 |
dereuromark |
there is docs, and tutorials. |
# |
Nov 14th 2019, 17:16 |
dereuromark |
start using and trying it first, you cant contribute to something you dont know yet how it works. |
# |
Nov 14th 2019, 17:15 |
shifat.it |
using XAMPP |
# |
Nov 14th 2019, 17:14 |
shifat.it |
I really dont know how to run it |
# |
Nov 14th 2019, 17:14 |
shifat.it |
I cloned it |
# |
Nov 14th 2019, 17:13 |
dereuromark |
there are always some issues to solve, many of them have open ones or check directly the core ones: https://github.com/cakephp/cakephp/issues |
# |
Nov 14th 2019, 17:13 |
shifat.it |
So basically I want to contribute and improve my skill |
# |
Nov 14th 2019, 17:13 |
shifat.it |
but there is no issue to solve |
# |
Nov 14th 2019, 17:12 |
shifat.it |
got it |
# |
Nov 14th 2019, 17:12 |
dereuromark |
Here are a lot of open source resources around the framework, mainly plugins and alike. |
# |
Nov 14th 2019, 17:11 |
slackebot1 |
!tell @shifat.it about awesome |
# |
Nov 14th 2019, 17:11 |
slackebot1 |
Command sent from Slack by dereuromark: |