Hello. On 25 mayo, 03:49, WebbedIT <[email protected]> wrote: > I didn't make the first few comments ... but in honesty I didn't even > think you could use spaces in MySQL table/field names as I've never > seen a schema in all my time using such a naming convention.
Just because you did not know that it could been done, it does not mean that it will never happen. And it is a natural naming convention, even more when you have relational to object mapping. > But, even though you can use spaces in MySQL you are now using CakePHP > which is built on the principal of 'convention over configuration' and > has a convention for naming database tables and fields so if you > follow it, CakePHP will behave as expected. As I told before, I know what "convention over configuration" is. Ruby on rails appeared a lot before CakePHP, therefore it is hard not to be aware of that concept. I am not trying to destroy that principle. I am not asking for more configuration. I am asking for more convention: just adding my two cents to the convention (spaces work in CakePHP with just one exception). > The fact that no-one else has contributed to your ticket or group post > in well over 2 months shows that others are not encountering this > issue as they are most likely following the CakePHP conventions. Again, you are rushing into conclusions. I am very interested in this thread (but I also missed it too for two months). Therefore, that could also mean that we are too busy. It can be important but not urgent. Etc. > Please bare in mind that CakePHP is not PHP it is an open source > framework, developed by a team of volunteers, that sits on top of PHP > mainly to bring some convention to what is an easy to pickup scripting > language that easily allows for ugly, inefficient code. Also bare in > mind that CakePHP works with a wide range of database platforms and as > such has to apply some convention to those to. You are being condescending. I know what an Open Source project is, and therefore I can contribute to it. In fact, I already have made a couple of contributions finding other bugs: https://trac.cakephp.org/ticket/5628 https://trac.cakephp.org/ticket/5242 I know about ugly code, I never do it. ;-) We are the best programmers in Costa Rica... About, a wide range of databases, spaces work in all of them. In fact, the application I wrote was written with Microsoft SQL Server. Some days ago I ported it to other engines: MySQL and Postgres, just to have fun. By the way, the same that happened in 5242 for mssql happens for mysql and imysql. I will try to send a fix. It is better to be innovative than conservative. ;-) Best regards, B. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
