To English
Anyone have any idea how one could synchronize the data in CakePHP two applications one in localhost in my house and one in the web hosting on the Internet. Let a sample application that manages a directory of people with the fields Name (string), Name (string) and Photo (string). The photo (jpg) is stored within the directory cakephp / app / webroot / files / photos, we set a maximum upload of 1Mb The application has LocalHost views (views) List, View, Add, Edit and Delete. But the Application WebHost only has lists and View That is, anyone can edit, add or delete in the WebHost. As this example reflect that both applications are similar in the data but different in how it is processed. For me the timing of the data from these two applications from localhost to the WebHost, would be reflected in several processes: a) Upgrading the MySQL Database in WebHost with the LocalHost b) Upload photos to WebHost who are new to the LocalHost. c) Eliminate the photos on the WebHost is no longer on the localhost. Anyone have any idea how you could do this kind of synchronization. Or is this type of process is another way to cope. ----------- En Español Alguien tiene idea de cómo se podría sincronizar la data de dos aplicaciones en CakePHP una en localhost en mi casa y otro en el web hosting en Internet. Hagamos una aplicación de ejemplo, que maneja un directorio de personas con los campos Nombre (string), Apellido (string) y Foto (string). La foto (jpg) se almacena dentro del directorio cakephp/ app/webroot/files/fotos , que establecemos con un máximo de subida de 1Mb La aplicación LocalHost tiene las Vistas (views) Listar, Ver, Agregar, Modificar y Borrar. Pero la Aplicación WebHost, solo tiene Listar y Ver. Es decir, nadie puede editar, agregar o borrar en el WebHost. Por lo que este ejemplo reflejaría que ambas aplicaciones son parecidas en la data pero diferentes en como se procesa. Para mi la sincronización de la data de estas dos aplicaciones desde el LocalHost hacia el WebHost, estarían reflejadas en varios procesos: a) Actualizar la Base de datos en MySQL en el WebHost con la del LocalHost b) Subir las fotos al WebHost que están nuevas en el LocalHost. c) Eliminar las fotos en el WebHost que ya no está en el LocaHost. Alguien tiene alguna idea de cómo se pudiera realizar este tipo de sincronización. O es que este tipo de procesos tiene otra forma de manejarse. Gracias,…
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
