Re: Is make desktop application in cakephp

2013-08-21 Thread crisuwork
Using ExtJs you can do cool things having Cakephp as layer between DB and Desktop Interface. Check these links: Demo App Cakephp-Extjs http://code.google.com/p/cakephp-extjs-admin/ ExtJs Examples http://www.sencha.com/products/extjs/examples/ On Tuesday, August 20, 2013 8:23:58 PM UTC+2, Anku

Re: Can a single cakephp app connect to multiple databases?

2013-06-07 Thread crisuwork
you can use in /app/config/database.php a db switch like this: class DATABASE_CONFIG { var $default = array('driver' => 'mysql', 'connect' => 'mysql_connect', 'host' => 'localhost', 'login' => 'root', 'password' => '', 'database' => 'db1', 'pref

Re: Directory Protection

2013-05-24 Thread crisuwork
You can convert apache rules into nGinx ;) http://winginx.com/htaccess http://www.anilcetin.com/convert-apache-htaccess-to-nginx/ CakeResponse::file() is just providing the file but does nothing about protecting a folder or images. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find

Re: Directory Protection

2013-05-24 Thread crisuwork
I will say you should start to protect image folder with first level protection which is Apache htaccess rules. There are a lot of pages providing rules to be writen in htaccess file. The second thing maybe will be to think on some key generated name for images, so, instread of * pic_1000.jpg* (

Re: A list of open source webapps to study ?

2012-12-06 Thread crisuwork
You can check these projects from github for if you wnat to read and see how the apps are made: http://maran-emil.de/nodes/52-open-source-cakephp-projects-and-resources http://maran-emil.de/nodes/32-cakephp-open-source-projects-resources and don't forget about Cakephp Cheat Sheet :) http://xesp

Re: Help with multilevel inheritance

2011-10-11 Thread crisuwork
You can also build your own models in model file, using $this- >YourModel->query("Here comes the oracle SQL")..if HABTM does not work using the same table structure. Is just an idea. :) On 11 Okt., 07:16, Zaky Katalan-Ezra wrote: > Supply tables structure. > Environments etc. > > > > > > > > On

Re: AJAX form creation with CakePHP

2011-05-15 Thread crisuwork
I just made such a feature 2 weeks ago using a simple javascript function to generate more input fields with file as type. I attached that function to a button "Add files" and that is. You need than in controller to write a loop to parse all the array from $_FILES and for each file do call a "save(

Re: Blog Video

2009-12-16 Thread crisuwork
What Blog video? On 13 Dez., 03:41, Dave Porter wrote: > Hi Everyone, > > The Blog video appears to be broken ! > Does anyone know if it can be downloaded from somewhere ? > > regards, Dave Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related que

Re: please help me to learn cake php

2009-12-16 Thread crisuwork
First step: Look & Read in cakephp Book this topics: http://book.cakephp.org/view/22/CakePHP-Conventions http://book.cakephp.org/view/39/Configuration http://book.cakephp.org/view/49/Controllers http://book.cakephp.org/view/66/Models http://book.cakephp.org/view/94/Views Second step: Look in cake

Re: Problem with AJAX submission

2009-12-16 Thread crisuwork
You can try to use for test a classic function working with jQuery framework like // jQuery ajax example function ResetPasswordAjax(){ var email = document.getelementbyid("email").value; $.ajax({ type: "GET", url: "http://eopp.de/users/login/"+email+"";, data: "", success: function

Re: form->input keeps value after submit is presed

2009-12-10 Thread crisuwork
Or you can use for ajax a normal jQuery function like: function SaveDataByAjax(postid){ $.ajax({ type: "GET", url: "http://www.domain.com/posts/getviewbyajax/"+postid, data: "", success: function(msg){ ...; } }); spor la treaba ;) > $this->render('url'=>'/posts/view'.$this-

Re: Social Portal Demo developed in Cakephp

2009-11-30 Thread crisuwork
Hi Dave, I import the code of app in repository folder. On 30 Nov., 16:07, crisuwork wrote: > I don't know how to import the code to the subversion repository. I > don't see any option for that. Can you give me some tips for that > action? > > On 30 Nov., 15:11, Dave wr

Re: Social Portal Demo developed in Cakephp

2009-11-30 Thread crisuwork
I don't know how to import the code to the subversion repository. I don't see any option for that. Can you give me some tips for that action? On 30 Nov., 15:11, Dave wrote: > crisuwork will you import the code to the subversion repository please? > > thank you > > On Mon

Re: Social Portal Demo developed in Cakephp

2009-11-30 Thread crisuwork
> query()) b.) no use of securitycomponent, did not notice anything > equal > > On Nov 30, 12:07 am, crisuwork wrote: > > > A Social Portal Demo developed in Cakephp giving You possibility to > > save your favorite music songs from Youtube by categories. Cakephp >

Social Portal Demo developed in Cakephp

2009-11-29 Thread crisuwork
A Social Portal Demo developed in Cakephp giving You possibility to save your favorite music songs from Youtube by categories. Cakephp core version used is 1.2x. The purpose of this application is teaching and understand how Cakephp it works. Available options: Register, Login, Profile Modify, Add

How to refresh divs in CakePHP with onclick javascript action using XMLHttpRequest.

2008-06-05 Thread crisuwork
I just made some updates in my divs from views using XMLHttpRequest. You can read more at: http://maran.pamil-visions.com/Cakephp_Ajax.php If you know other ways to do that, tell me more about. --~--~-~--~~~---~--~~ You received this message because you are subs