# |
Apr 29th 2017, 10:50 |
metoyoko |
is there any downloadable sample dealing with belongsToMany association? thanks |
# |
Apr 29th 2017, 10:46 |
metoyoko |
thanks, I found this active Cakephp community |
# |
Apr 29th 2017, 10:46 |
loginews |
@dakota would you mind looking at the gist issue ? |
# |
Apr 29th 2017, 10:44 |
dereuromark |
before releasing 3.0.1? |
# |
Apr 29th 2017, 10:44 |
dereuromark |
@admad While we are at it regarding search major: "mode (string, defaults to OR) This option is deprecated, please use fieldMode instead." Can we get rid of the old stuff that is deprecated as well? |
# |
Apr 29th 2017, 10:43 |
loginews |
ok |
# |
Apr 29th 2017, 10:43 |
dakota |
http://cakephp.loginonline.net/index.php?n=Index.ComboBoxes> <- Instead of that do: <https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#finding-key-value-pairs |
# |
Apr 29th 2017, 10:41 |
loginews |
so are we now fighting ? :) |
# |
Apr 29th 2017, 10:40 |
dakota |
@loginews Try doing that with a VB6 app that was originally based on a COBAL app :slightly_smiling_face: |
# |
Apr 29th 2017, 10:40 |
admad |
Makes you sound like a grumpy old man who wants to stick to the old ways |
# |
Apr 29th 2017, 10:39 |
loginews |
@dakota got it. I will drop $_SERVER slowly. The apps have to stay running all the time I change the platform..! so hard. |
# |
Apr 29th 2017, 10:39 |
admad |
It's surprising that someone with so much dev experience is complaining about learning something new because the world dynamics have changed |
# |
Apr 29th 2017, 10:37 |
dakota |
I understand fully, BUT don’t use $_SERVER, etc. and use the tools that the framework gives you. CakePHP is designed in such a way that you do not need to follow the conventions |
# |
Apr 29th 2017, 10:36 |
slackebot1 |
right now: https://gist.github.com/loginews/78dbc099fe1689332c299002d361f472 there are no errors, but the EDIT in userparams.ctp does not save the data in param.ADDRESS1. |
# |
Apr 29th 2017, 10:36 |
loginews |
@dakota... if you read what I sent to admad above, my terrible difficulty is that all my apps are already running in MsAccess (but with mysql databases) and I need to drop MsAccess gradually and replace it with php. So... what happens is this: I cannot change my database structure, and hence cannot comply with CakePHP naming conventions. Even so, I have the doctor's system completely running under cakephp and that is a good beginning. I hav |
# |
Apr 29th 2017, 10:36 |
dakota |
@loginews The equivilent is `$this->request->getQuery('page')`, or `$this->request->getQuery('q')`, etc. |
# |
Apr 29th 2017, 10:35 |
admad |
Since you have only dealt with Windows deaktop environment no wonder using linux based server environment involves a learning curve for you |
# |
Apr 29th 2017, 10:34 |
dakota |
That is what the request object is for |
# |
Apr 29th 2017, 10:34 |
dakota |
@loginews http://cakephp.loginonline.net/index.php?n=Index.TheSearchPlugin <- You should never ever ever use any of the PHP superglobals (i.e. `$_SERVER`) |
# |
Apr 29th 2017, 10:34 |
keith |
I’d love to @dakota but not this time sadly |
# |
Apr 29th 2017, 10:32 |
dakota |
>Funnily, some authors claim that as from version 3, CakePHP only handles validation via Modeless Forms Curious where you read that from? |
# |
Apr 29th 2017, 10:32 |
admad |
@loginews i didn't call your experience limited, I call the technology/tools you have been using as limiting. |
# |
Apr 29th 2017, 10:31 |
dakota |
One click install |
# |
Apr 29th 2017, 10:31 |
dakota |
loginews Also, take a look at https://github.com/cakedc/oven |
# |
Apr 29th 2017, 10:30 |
dakota |
There might be online streaming :slightly_smiling_face: |
# |
Apr 29th 2017, 10:29 |
dakota |
but I do understand |
# |
Apr 29th 2017, 10:29 |
dakota |
I’m in South Africa, and I’m attending :P |
# |
Apr 29th 2017, 10:28 |
loginews |
I=in |
# |
Apr 29th 2017, 10:28 |
loginews |
@dakota no. I am too far away. I Mauritius. |
# |
Apr 29th 2017, 10:28 |
dakota |
@loginews (and @keith) |
# |
Apr 29th 2017, 10:28 |
dakota |
Planning on attending CakeFest? |
# |
Apr 29th 2017, 10:28 |
loginews |
@dakota yes. You see, I have been guiding myself to do it in 5 minutes |
# |
Apr 29th 2017, 10:27 |
dakota |
loginews I see it’s more than just the first page, and you do talk about bake :slightly_smiling_face: |
# |
Apr 29th 2017, 10:21 |
dakota |
keith, glad I could help |
# |
Apr 29th 2017, 10:21 |
dakota |
> Php calculates differences between dates using strtotime function. Use Chronos (i.e. the Datetime class) - https://book.cakephp.org/3.0/en/chronos.html |
# |
Apr 29th 2017, 10:21 |
keith |
After being at your talk @dakota crud has made my life a joy |
# |
Apr 29th 2017, 10:20 |
dakota |
> The time it takes to create a CRUD in MsAccess is 5 minutes. The time it takes to do it in CakePHP is in days. Two tools that can make it take less than 5 minutes in CakePHP: Bake (https://book.cakephp.org/3.0/en/bake.html>) and the CRUD plugin (<https://crud.readthedocs.io/>) - Crud plugin combined with the crud-view plugin is even better (<https://crud-view.readthedocs.io/) |
# |
Apr 29th 2017, 10:18 |
dakota |
loginews, I know you are new to CakePHP, so probably haven’t tried everything that it has to offer, but I feel like I need to give you some hints based on your article :slightly_smiling_face: |
# |
Apr 29th 2017, 09:29 |
slackebot1 |
designing a report is also mine. But the job of finding ways to display a field in a report, without running into considerations of centimeters, of colors, etc, is that of the language designer. I am not an employee of HSBC. They are my customers. Being an Msc Maths guy, I can grasp abstract and complex concepts very fast - that is not an issue. I have made a choice and that's CakePHP. Believe me, my opinions are valuable! |
# |
Apr 29th 2017, 09:29 |
slackebot1 |
already working with MsAccess. But you perhaps do not remember the days when Microsoft purchased Foxpro and dumped the product. That was how I was FORCED to work with MsAccess. Microsoft also came up with new products which were not upward compatible. So my decision to go for MySQL and cloud proved to be a good one. I have tried to program more comfortably with php by using phpmyedit and ajaxcrud. You see, the job of writing the HSBC system is mine. T |
# |
Apr 29th 2017, 09:29 |
slackebot1 |
astronomical calculations. I have very long ago disconnected MsAccess from its proprietary db, and used ODBC to connect to MySQL databases. Some routines were written in plain php, and worked well. I currently have software for doctors, for accounting and POS, and for payroll. My experience is in these. I only have to make them run on the cloud, and on the new devices. I do not have to change them. Microsoft was supposed to offer the easiest transitio |