Re: How to debug with ZendDebugger / XDebug using Eclipse PDT / Netbeans?

2012-03-20 Thread Thomas
Hi,

I got the debugger running by using the xdebug helper extemsion for firefox 
- details see here:

http://bogdan.org.ua/2009/06/08/debugging-php-like-a-pro-eclipse-pdt-xdebug-helper.html

and this PDF:

http://www.eclipse.org/pdt/documents/XDebugGuideForPDT2.0.pdf

Am Sonntag, 9. November 2008 13:34:53 UTC+1 schrieb Okto Silaban:
>
> Hi,
>
> I've just read some tutorial about debugging CakePHP apps using 
> ZendDebugger or XDebug with Eclipse (PDT) or Netbeans. But all this 
> tutorial told me to deactivate the "pretty url". Meanwhile, some times I 
> need the "pretty url" during the development process.. 
>
> Anyone know best practice to debug CakePHP app using ZendDebugger / XDebug?
>
> Okto.Silaban.Net
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Eclipse + PDT 2.1 - How to include the Cake core application

2010-01-14 Thread Alexandru Ciobanu

On 1/14/2010 12:03 PM, hasentopf wrote:


Can anyone explain how I can include the Cake core application in my
projects???

Many thanks!
   


I'm using Build id: 20090920-1017.
Project -> PHP Include PATH -> Libraries -> Add External Source 
Folder... -> select Core location -> Done.


HTH.
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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Eclipse + PDT 2.1 - How to include the Cake core application

2010-01-14 Thread hasentopf
Can anyone give me an instruction for the new Eclipse / PDT version
how I can include the Cake core application to my projects?

Here: 
http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake

The part of including the Cake core application via "Include Path"
does not work. There is no "Include Path" section in the Project
Settings of PDT 2.1.

Can anyone explain how I can include the Cake core application in my
projects???

Many thanks!
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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Working with cakePHP on Eclipse - PDT 2.0

2009-01-08 Thread Alexandru Ciobanu

RichardAtHome wrote:
> I've never needed a build path for PHP :-)
>
> Here's how I do CakePHP dev with PDT:
>
> 1) Unzip cake to c:\htdocs\projects\my_project
>
> 2) Open up eclipse
>
> 3) Select workspace: c:\htdocs\projects\
>
> 4) Create a new project called "my_project"
>
> 5) Get coding.
>
>   
I use the same method. You can get different 'tweaks' (autocomplete for 
models/views, ) on bakery:
http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Working with cakePHP on Eclipse - PDT 2.0

2009-01-08 Thread RichardAtHome

I've never needed a build path for PHP :-)

Here's how I do CakePHP dev with PDT:

1) Unzip cake to c:\htdocs\projects\my_project

2) Open up eclipse

3) Select workspace: c:\htdocs\projects\

4) Create a new project called "my_project"

5) Get coding.

On Jan 8, 12:32 pm, NirC  wrote:
> Hi All,
>
> I'm working on an Eclipse article, and feature for PDT, that will
> direct and help users to start developing PHP code using CakePHP
> framework.
>
> I would like to supply an archive file that will include the skeleton
> for a CakePHP project, including Build path (for PHP and JavaScript)
> and Include path settings.
>
> If any of you is using PDT 2.0, and can assist, that will be great, as
> I have to admit I'm a Java developer (PDT) and not PHP ... :)
>
> Thanks in advance,
> NirC
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Working with cakePHP on Eclipse - PDT 2.0

2009-01-08 Thread NirC

Hi All,

I'm working on an Eclipse article, and feature for PDT, that will
direct and help users to start developing PHP code using CakePHP
framework.

I would like to supply an archive file that will include the skeleton
for a CakePHP project, including Build path (for PHP and JavaScript)
and Include path settings.

If any of you is using PDT 2.0, and can assist, that will be great, as
I have to admit I'm a Java developer (PDT) and not PHP ... :)

Thanks in advance,
NirC

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How to debug with ZendDebugger / XDebug using Eclipse PDT / Netbeans?

2008-11-09 Thread Lukas

I might try to guess

Try to delete .htaccess file from webroot folder but not from app
folder
Then set the virtual host to eg D:\cake\project\, not  D:\cake\project
\app, so virtal host would use .htaccess form app folder.
For debugger use index.php from D:\cake\project\app, so it woun't
see .htaccess and prety urls


On Nov 9, 2:34 pm, "Okto Silaban" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've just read some tutorial about debugging CakePHP apps using ZendDebugger
> or XDebug with Eclipse (PDT) or Netbeans. But all this tutorial told me to
> deactivate the "pretty url". Meanwhile, some times I need the "pretty url"
> during the development process..
>
> Anyone know best practice to debug CakePHP app using ZendDebugger / XDebug?
>
> Okto.Silaban.Net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



How to debug with ZendDebugger / XDebug using Eclipse PDT / Netbeans?

2008-11-09 Thread Okto Silaban
Hi,

I've just read some tutorial about debugging CakePHP apps using ZendDebugger
or XDebug with Eclipse (PDT) or Netbeans. But all this tutorial told me to
deactivate the "pretty url". Meanwhile, some times I need the "pretty url"
during the development process..

Anyone know best practice to debug CakePHP app using ZendDebugger / XDebug?

Okto.Silaban.Net

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Eclipse / PDT / XAMPP / Windows cakeblog tutorial setup

2008-03-06 Thread Bensoft

You will also want to make sure mod_rewrite in your
{xampp}/apache/conf/httpd.conf file:

  LoadModule rewrite_module modules/mod_rewrite.so

Must be un-commented!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Eclipse PDT

2007-04-27 Thread -Rb

Look under Window > Show View > File Explorer View

or

Check under Window > Show View > Other  FTP may be listed
under a category.

You most likely need to add an eclipse plugin that contains FTP, such
as CFEclipse, WebDAV/FTP or Subclipse.

HTH

-Rb

On Apr 26, 5:09 pm, squidliberty <[EMAIL PROTECTED]> wrote:
> I am migrating from Dreamweaver on WinXP and I'd like to build CakePHP
> sites in Eclipse PDT. I understand that there is FTP support built
> into Eclipse, but I cannot find it. I've looked in both the Server and
> Synchronize views. Can anyone assist me? Thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Eclipse PDT

2007-04-27 Thread sunertl

You can use it via the team-functionality. so if you select
synchronisation for you project you can select webdav, cvs and ftp
(and some more if you installed the plugins).  choosing ftp will let
you 1. let you synchronise your files with your server and 2. simulate
something like versioning by showing if something on the server or
your computer is different from the other location. by selecting the
synchronisation view in the team foler you can integrate it into your
perspective.

On 27 Apr., 01:09, squidliberty <[EMAIL PROTECTED]> wrote:
> I am migrating from Dreamweaver on WinXP and I'd like to build CakePHP
> sites in Eclipse PDT. I understand that there is FTP support built
> into Eclipse, but I cannot find it. I've looked in both the Server and
> Synchronize views. Can anyone assist me? Thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Eclipse PDT

2007-04-26 Thread Craig

Don't look in the views...

Use the export command and select FTp as the output location.


On Apr 27, 9:09 am, squidliberty <[EMAIL PROTECTED]> wrote:
> I am migrating from Dreamweaver on WinXP and I'd like to build CakePHP
> sites in Eclipse PDT. I understand that there is FTP support built
> into Eclipse, but I cannot find it. I've looked in both the Server and
> Synchronize views. Can anyone assist me? Thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Eclipse PDT

2007-04-26 Thread squidliberty

I am migrating from Dreamweaver on WinXP and I'd like to build CakePHP
sites in Eclipse PDT. I understand that there is FTP support built
into Eclipse, but I cannot find it. I've looked in both the Server and
Synchronize views. Can anyone assist me? Thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



I used templates to quickly create Model and Controller files in Eclipse+PDT.

2007-02-14 Thread jinhr

I am tired of creating a new Model or Controller file by typing long
long codes as following to fit CakePHP convention:

 var $name = xxx;
 var $belongsTo = array(blah blah blah);
 var $hasMany = array(blah blah blah);

 var $use = ...
 var $scaffold...

So, I define a Model templates in Eclipse to save some my time. I just
need:

1) Eclipse 3.2.1
2) PDT, PHP Development Tool (http://www.eclipse.org/php/)

I will use Model template as example, you can do same thing for
Controller template.

==Step 1: To Create a PHP template==
Click Eclipse Menu: Window -> Preferences -> PHP -> Templates. You can
see a list of php code templates. Click "New..." button, do following
in the new window:

Name: input "CakePHP New Model";
Context: pick "New PHP", neither "PHP" nor "PHPDoc".
Description: "Create a new CakePHP Model definition file"
Pattern: Copy following boring codes you hate to type by yourself into
"Pattern":

/*start sample codes*/
 array('className' => 'Aaa',
  'conditions'=> '',
  'order' => '',
  'foreignKey'=> 'aaa_id',
 ),
   'Bbb' => array('className'   
  => 'Bbb',
  'conditions'=> '',
  'order' => '',
  'foreignKey'=> 'bbb_id',
 ),
  );


var $$hasMany = array('Ccc' => array('className' => 'Ccc',
'conditions'=> '1',
'order' =>
'Ccc.modified DESC',
'limit' => '100',
'foreignKey'=> '',
'dependent' => true,
'exclusive' => false,
'finderQuery'   => '',
   ),
);

function MyOwnFunction()
{

}
*/
}

?>
/*endsample codes*/


Notice you can insert some variable. Also notice that double-dollar "$
$" means the character single-dollar "$".  Click "OK" to save this PHP
file template.


==Step 2: To Create a blank model file using PHP template==
In your PHP Navigator (which shows your project folders and files),
choose "/app/models/" mouse right-click to choose "New" -> "PHP File",
after inputting file name, the next window asks you to "Select PHP
Template", choose "CakePHP New Model" which is defined by you in Step
1. You can see "preview" beneath. Click "finish", you can get a new
model file with those long long codes prepared for you to edit. (For
example, you should rename the model name from "X", uncomment and
edit $belongsTo or $hasMany to use them.

It cost me 5 minute to define this PHP template, save me half minute
for each model. Eventually I am better off.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---